Skip to content

Commit b2be314

Browse files
cliffhallclaude
andcommitted
fix: sync the lockfile's typescript ranges; scope each CI leg's install
- package-lock.json's workspace entries now record the aligned typescript range. - Each typescript.yml leg installs its own workspace plus the root (--workspace … --include-workspace-root) instead of the whole tree, so no other workspace's prepare (build) runs in its leg. Refs #4864 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
1 parent bfb447f commit b2be314

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎.github/workflows/typescript.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ jobs:
7474
node-version: 22
7575
cache: npm
7676

77-
# At the repo root, not in the package: run from a workspace directory,
78-
# `npm ci` installs only that workspace's dependencies, and the gate's
79-
# tools (Prettier, ESLint) are root devDependencies shared by every
80-
# package.
77+
# This package plus the root: run from a workspace directory, `npm ci`
78+
# installs only that workspace's dependencies, and the gate's tools
79+
# (Prettier, ESLint) are root devDependencies. A bare root `npm ci` would
80+
# instead run every workspace's `prepare` (a build), coupling the legs.
8181
- name: Install dependencies
82-
run: npm ci
82+
run: npm ci --workspace src/${{ matrix.package }} --include-workspace-root
8383

8484
- name: Validate package
8585
working-directory: src/${{ matrix.package }}

‎package-lock.json‎

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)