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: .claude/commands/bump-alpha-version.md
+10-41Lines changed: 10 additions & 41 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,40 +91,14 @@ Update dependencies in the following package.json files within semver-compatible
91
91
92
92
Run `pnpm install` to update the lockfile with new dependency versions.
93
93
94
-
### 6. Merge pnpm Branch Lockfiles
94
+
### 6. Verify Changes and Fix TypeScript Errors
95
95
96
-
This repository uses pnpm's `gitBranchLockfile` feature (see `pnpm-workspace.yaml`: `gitBranchLockfile: true` with `mergeGitBranchLockfilesBranchPattern: - main`). Feature branches accumulate per-branch lockfiles (`pnpm-lock.<branch-name>.yaml`) that must be periodically merged back into the main `pnpm-lock.yaml` so trunk stays consistent.
97
-
98
-
Run:
99
-
100
-
```bash
101
-
pnpm install --merge-git-branch-lockfiles
102
-
```
103
-
104
-
This command:
105
-
106
-
- Reads all `pnpm-lock.*.yaml` files at the repo root
107
-
- Merges their resolutions into the main `pnpm-lock.yaml`
108
-
- Deletes the per-branch lockfiles
109
-
110
-
After running, verify:
111
-
112
-
```bash
113
-
ls pnpm-lock*.yaml # should show only pnpm-lock.yaml
114
-
git status # confirm any removed branch lockfiles are staged for deletion
115
-
```
116
-
117
-
If there are no branch lockfiles present, this step is effectively a no-op and the main lockfile is left unchanged — still run the command to be safe.
118
-
119
-
### 7. Verify Changes and Fix TypeScript Errors
120
-
121
-
After updating dependencies and merging branch lockfiles, verify everything works correctly:
96
+
After updating dependencies, verify everything works correctly:
122
97
123
98
1.**Run `pnpm install`** to ensure no errors in dependency resolution
124
99
2.**Check all package.json files** have the correct version
125
-
3.**Confirm `pnpm-lock.*.yaml` branch lockfiles are gone** (only `pnpm-lock.yaml` should remain)
126
-
4.**Note any peer dependency warnings**
127
-
5.**Run TypeScript type checking** to detect any type errors caused by updated packages:
100
+
3.**Note any peer dependency warnings**
101
+
4.**Run TypeScript type checking** to detect any type errors caused by updated packages:
0 commit comments