Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(monorepo): creating packages post-Lerna@7
Updates internal monorepo package creator to use `npm install` instead of `lerna bootstrap`. This fix prevents the following error: ``` node ./bin/create-package.js packages/model ... ERR! bootstrap The "bootstrap" command was removed by default in v7, and is no longer maintained. ERR! bootstrap Learn more about this change at https://lerna.js.org/docs/legacy-package-management Command aborts (code 1 signal null): npx "lerna" "bootstrap" "--scope" "@loopback/model". Error: Process 1192 exits with code 1 signal null at ChildProcess.<anonymous> (/home/user/Documents/git-repos/loopbackio/loopback-next/bin/create-package.js:61:11) at ChildProcess.emit (node:events:519:28) at ChildProcess._handle.onexit (node:internal/child_process:294:12) ``` Signed-off-by: Rifa Achrinza <[email protected]>
- Loading branch information