@journeykit/canon 0.9.0 → 0.9.1

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 (2) hide show
  1. package/dist/index.js +4 -0
  2. package/package.json +6 -5
package/dist/index.js CHANGED
@@ -162,3 +162,7 @@ var result = spawnSync(binary, process.argv.slice(2), {
162
162
  stdio: "inherit",
163
163
  env: { ...process.env, CANON_SKILLS_SOURCE: skillsSource }
164
164
  });
165
+ if (result.error) {
166
+ console.error(`canon: failed to run ${binary}: ${result.error.message}`);
167
+ }
168
+ process.exit(result.status ?? 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@journeykit/canon",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "canon — harness knowledge substrate. JS launcher: platform detection + native binary resolution.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -25,13 +25,14 @@
25
25
  "bundle-skills": "bun run scripts/bundle-skills.ts",
26
26
  "build": "bun run bundle-skills && bun build src/index.ts --outdir dist --target node --format esm",
27
27
  "dev": "bun src/index.ts",
28
- "start": "node dist/index.js"
28
+ "start": "node dist/index.js",
29
+ "test": "bun test"
29
30
  },
30
31
  "dependencies": {},
31
32
  "optionalDependencies": {
32
- "@journeykit/canon-core-darwin-arm64": "0.9.0",
33
- "@journeykit/canon-core-linux-x64": "0.9.0",
34
- "@journeykit/canon-core-win32-x64": "0.9.0"
33
+ "@journeykit/canon-core-darwin-arm64": "0.9.1",
34
+ "@journeykit/canon-core-linux-x64": "0.9.1",
35
+ "@journeykit/canon-core-win32-x64": "0.9.1"
35
36
  },
36
37
  "devDependencies": {
37
38
  "@types/node": "^20.0.0",