Skip to content

Commit 2f5895b

Browse files
committed
fix: repoint moved fleet script paths and wire lockstep:emit-mirror-globs
The scripts/repo migration moved check.mts and update.mts into scripts/fleet/, but packages/cli/package.json still pointed its "check" and "update" scripts at the old ../../scripts/*.mts paths, failing check-script-paths-resolve. The lockstep-emit-mirror-globs.mts script cascaded in (and its sibling lockstep:emit-schema is wired), but the root package.json never got the matching lockstep:emit-mirror-globs alias, so the updating-lockstep skill docs cited a pnpm script that did not resolve, failing check-pnpm-run-citations-resolve. - packages/cli/package.json: check -> ../../scripts/fleet/check.mts - packages/cli/package.json: update -> ../../scripts/fleet/update.mts - package.json: add lockstep:emit-mirror-globs pointing at the existing scripts/fleet/lockstep-emit-mirror-globs.mts shim
1 parent 7e5fa43 commit 2f5895b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"// lockstep": "",
4343
"lockstep": "node scripts/fleet/lockstep.mts",
4444
"lockstep:emit-schema": "node scripts/fleet/lockstep-emit-schema.mts",
45+
"lockstep:emit-mirror-globs": "node scripts/fleet/lockstep-emit-mirror-globs.mts",
4546
"// Setup": "",
4647
"setup": "node scripts/repo/setup.mts",
4748
"postinstall": "node scripts/repo/setup.mts --install --quiet",

packages/cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"build:sea": "node --max-old-space-size=8192 --import=./scripts/load.mts scripts/build-sea.mts",
3636
"build:js": "node scripts/build-js.mts",
3737
"dev:watch": "pnpm run build:watch",
38-
"check": "node ../../scripts/check.mts",
38+
"check": "node ../../scripts/fleet/check.mts",
3939
"check-ci": "pnpm run check",
4040
"lint": "oxlint -c ../../.config/oxlintrc.json",
4141
"lint-ci": "pnpm run lint",
@@ -71,7 +71,7 @@
7171
"test:validate": "node --import=./scripts/load.mts scripts/validate-tests.mts",
7272
"test-ci": "run-s test:prepare test:unit test:validate",
7373
"test-pre-commit": "cross-env PRE_COMMIT=1 pnpm test",
74-
"update": "node ../../scripts/update.mts",
74+
"update": "node ../../scripts/fleet/update.mts",
7575
"verify": "node scripts/verify-package.mts",
7676
"wasm": "node scripts/wasm.mts",
7777
"wasm:build": "node scripts/wasm.mts --build",

0 commit comments

Comments
 (0)