mohdel 0.90.0 → 0.91.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +7 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mohdel",
3
- "version": "0.90.0",
3
+ "version": "0.91.0",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "Christophe Le Bars",
@@ -35,7 +35,7 @@
35
35
  "#core/*": "./js/core/*"
36
36
  },
37
37
  "bin": {
38
- "mo": "./src/cli/index.js"
38
+ "mo": "src/cli/index.js"
39
39
  },
40
40
  "files": [
41
41
  "js",
@@ -52,7 +52,9 @@
52
52
  },
53
53
  "scripts": {
54
54
  "lint": "standard",
55
- "test": "vitest run test/unit",
55
+ "test": "npm run test:js && npm run test:rust",
56
+ "test:js": "vitest run test/unit",
57
+ "test:rust": "cargo test --manifest-path rust/thin-gate/Cargo.toml && cargo test --manifest-path rust/napi-addon/Cargo.toml",
56
58
  "prerelease": "npm run lint && npm run test",
57
59
  "release": "release-it",
58
60
  "test:provider": "vitest run test/integration/provider.test.js",
@@ -62,6 +64,7 @@
62
64
  },
63
65
  "release-it": {
64
66
  "hooks": {
67
+ "before:bump": "grep -q '^## \\[${version}\\]' CHANGELOG.md || (echo 'CHANGELOG.md is missing a ## [${version}] section — add it before releasing.' >&2 && exit 1)",
65
68
  "after:bump": "node scripts/sync-version.js"
66
69
  },
67
70
  "git": {
@@ -84,7 +87,7 @@
84
87
  "@opentelemetry/exporter-trace-otlp-grpc": "^0.215.0",
85
88
  "@opentelemetry/sdk-node": "^0.215.0",
86
89
  "chalk": "^5.4.0",
87
- "mohdel-thin-gate-linux-x64-gnu": "0.90.0"
90
+ "mohdel-thin-gate-linux-x64-gnu": "0.91.0"
88
91
  },
89
92
  "dependencies": {
90
93
  "@anthropic-ai/sdk": "^0.90.0",