Commit a56c80e
committed
fix(deps-graph): keep the existing lockfileVersion on graph merge
Copilot review: convertGraphToLockfile hardcodes lockfileVersion '9.0', so
preferring graph.lockfileVersion in the merge helper could silently downgrade
workspaces whose pnpm writes a newer schema and trigger a full rewrite on the
next install — the opposite of the goal here. Flip the fallback so existing
wins whenever present; graph's value is only used when starting from no
lockfile at all.1 parent 3081743 commit a56c80e
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
546 | 546 | | |
547 | 547 | | |
548 | 548 | | |
549 | | - | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
550 | 554 | | |
551 | 555 | | |
552 | 556 | | |
| |||
0 commit comments