Skip to content

Commit 212b941

Browse files
authored
fix: add packages config to lerna.json (#1996)
## Summary Adds explicit `packages` configuration to `lerna.json` to specify which workspaces Lerna should manage. This restores Lerna's awareness of package locations after the migration to pnpm catalog/workspaces. This PR will fixes [email protected]'s broken dependencies like `workspace:*` Close #1995 ## Changes - Add `packages` field to `lerna.json` listing `packages/*` and `packages/@textlint/*` ## Breaking Changes None ## Test Plan - [ ] Run `pnpm lerna list` and confirm all packages under `packages/*` and `packages/@textlint/*` are detected - [ ] Verify Lerna versioning/publishing commands operate on the expected package set
1 parent a3f50fa commit 212b941

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lerna.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
22
"version": "15.5.3",
33
"npmClient": "pnpm",
4+
"packages": [
5+
"packages/*",
6+
"packages/@textlint/*"
7+
],
48
"includeMergedTags": true,
59
"ignoreChanges": [
610
"**/test/**",

0 commit comments

Comments
 (0)