You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CI_AUTO_MERGE_LOCKFILE.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,12 @@ Add this step before any `git merge` operation in your existing workflows:
87
87
88
88
The `--no-frozen-lockfile` flag allows pnpm to regenerate the lockfile if needed. This is essential for the merge driver to resolve conflicts by creating a new, consistent lockfile.
89
89
90
+
**Note:** The existing `scripts/setup-merge-driver.sh` uses just `pnpm install` without this flag. Both approaches work:
91
+
- `pnpm install`- Simpler, relies on pnpm's default behavior
92
+
- `pnpm install --no-frozen-lockfile`- Explicit, ensures lockfile can be updated
93
+
94
+
For CI environments, `--no-frozen-lockfile` is recommended to be explicit about the intent.
95
+
90
96
### Error Handling
91
97
92
98
If the merge fails for reasons other than lockfile conflicts, the workflow will:
0 commit comments