Repository navigation
Pin Bun in the half-upgraded v3 project upgrade test - #20616
otarampinelli wants to merge 1 commit into
Conversation
[Low impact] The PR appears safe to merge. Reviews (3) · Last reviewed commit: "Pin Bun in the half-upgraded v3 project ..." · Reviewed by Greptile |
8c52dba to
d1e8fe5
Compare
|
No actionable comments were generated in the recent review.
|
d1e8fe5 to
46179b3
Compare
Bun 1.4.4 copies the overrides from pnpm-workspace.yaml into package.json. npm cannot parse the pnpm-style `a>b` keys, so the following `npx` calls fail with "Override without name".
46179b3 to
2e177f2
Compare
tThis PR pins Bun to
1.4.3in theupgrades half-upgraded v3 project to v4 (bun)integration test, that test currently fails on every run that actually executes.the test installs
"bun": "^1.0.0", so it picked up Bun 1.4.4 when it came out on Oct 22, bun 1.4.4 copies theoverridesfrompnpm-workspace.yamlintopackage.jsonduringbun install, the test harness puts pnpm-style keys like@tailwindcss/node>tailwindcssthere. The nextnpx @tailwindcss/upgradethen fails because npm can't parse those keys:Test plan
I reproduced the behavior change with a minimal project (one dependency plus a
pnpm-workspace.yamlwith ana>boverride):npx bun@1.4.3 installleavespackage.jsonunchanged.npx bun@1.4.4 installadds anoverridesfield with the pnpm-style key.The
Linux / upgradeintegration job should pass on this PRThis small change was made using claude code