Commit aa2f111
Shaw
fix(release): resolve lerna.json from repo root, not packages/
The replace-workspace-versions.js script lives at packages/scripts/<file>,
so workspaceRoot needed three dirnames up to reach the repo root where
lerna.json lives. Previous two-dirname version resolved to packages/
and broke NPM Release with ENOENT for packages/lerna.json.1 parent 01d2c07 commit aa2f111
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
0 commit comments