-
-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade lerna to lerna 6 #5368
Upgrade lerna to lerna 6 #5368
Changes from all commits
72ea1eb
150b682
e7fa989
93115bb
b230707
e3044b1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
], | ||
"npmClient": "yarn", | ||
"useWorkspaces": true, | ||
"useNx": true, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Major change in Lerna 6 is the new task runner |
||
"version": "1.7.2", | ||
"stream": "true", | ||
"command": { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,8 @@ | |
"clean": "rm -rf ./packages/*/lib ./packages/*/*.tsbuildinfo", | ||
"build": "lerna run build", | ||
"build:docs": "lerna run build:refdocs && ./scripts/prepare-docs.sh", | ||
"build:lib:watch": "lerna run build:lib:watch --parallel", | ||
"build:types:watch": "lerna run build:types:watch --parallel", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @nazarhussain what was the reason for removing |
||
"build:lib:watch": "lerna run build:lib:watch", | ||
"build:types:watch": "lerna run build:types:watch", | ||
"build:watch": "run-p build:lib:watch build:types:watch", | ||
"build:ifchanged": "lerna exec -- ../../scripts/build_if_changed.sh", | ||
"lint": "eslint --color --ext .ts packages/*/src packages/*/test", | ||
|
@@ -63,7 +63,7 @@ | |
"karma-mocha": "^2.0.1", | ||
"karma-spec-reporter": "^0.0.36", | ||
"karma-webpack": "^5.0.0", | ||
"lerna": "^5.5.2", | ||
"lerna": "^6.6.1", | ||
"mocha": "^10.2.0", | ||
"node-gyp": "^9.3.1", | ||
"npm-run-all": "^4.1.5", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had to remove
--ignore-optional
from all CI scripts because of the following issue. The alternative solution didn't worked in our case. The issue is somehow related to NPM and yarn behavior about optional dependencies npm/cli#4828