musubix2 0.4.1 → 0.4.2
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.
- package/.claude/.musubix-managed +1 -1
- package/package.json +3 -2
- package/postinstall.cjs +9 -0
package/.claude/.musubix-managed
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"generator":"musubix2","version":"0.4.0","timestamp":"2026-04-05T11:
|
|
1
|
+
{"generator":"musubix2","version":"0.4.0","timestamp":"2026-04-05T11:55:45.142Z"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "musubix2",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "MUSUBIX2 — Specification Driven Development System",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"files": [
|
|
19
19
|
"dist",
|
|
20
20
|
"bin",
|
|
21
|
+
"postinstall.cjs",
|
|
21
22
|
".github",
|
|
22
23
|
".claude"
|
|
23
24
|
],
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
"clean": "rm -rf dist *.tsbuildinfo",
|
|
50
51
|
"test": "vitest run",
|
|
51
52
|
"typecheck": "tsc --noEmit",
|
|
52
|
-
"postinstall": "node ./
|
|
53
|
+
"postinstall": "node ./postinstall.cjs",
|
|
53
54
|
"prepublishOnly": "npm run build && node scripts/copy-assets.mjs",
|
|
54
55
|
"postpublish": "node scripts/clean-assets.mjs"
|
|
55
56
|
},
|
package/postinstall.cjs
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// postinstall bootstrap — CJS wrapper that never fails npm install.
|
|
2
|
+
// Only activates when MUSUBIX_AUTO_INIT=1.
|
|
3
|
+
try {
|
|
4
|
+
if (process.env.MUSUBIX_AUTO_INIT === '1') {
|
|
5
|
+
import('./dist/interface/cli/postinstall-bootstrap.js').catch(function () {});
|
|
6
|
+
}
|
|
7
|
+
} catch (_) {
|
|
8
|
+
// best-effort — never block npm install
|
|
9
|
+
}
|