Skip to content

Commit e80a86b

Browse files
NullVoxPopuliclaude
andcommitted
Include .npmrc in git archive for control dir
Fixes bench:compare failure caused by pnpm lockfile config mismatch when .npmrc (which sets auto-install-peers=false) was missing. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
1 parent 0282c23 commit e80a86b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/bench-compare.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ try {
8383

8484
// Copy package manifests and source (use resolved SHA for reliability)
8585
run(
86-
`git archive ${BASE_REF} -- package.json pnpm-lock.yaml lib/ | tar -x -C "${CONTROL_DIR}"`
86+
`git archive ${BASE_REF} -- package.json pnpm-lock.yaml .npmrc lib/ | tar -x -C "${CONTROL_DIR}"`
8787
);
8888

8989
// ── 2. Install dependencies in control dir ───────────────────────────────

0 commit comments

Comments
 (0)