Skip to content

Commit 657ae2f

Browse files
authored
Upgrade to Lerna v3 (facebook#6829)
* Upgrade Lerna to 3.13.2 * Remove independent argument to Lerna * Update publish command
1 parent 2add128 commit 657ae2f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ By default git would use `CRLF` line endings which would cause the scripts to fa
152152
9. Wait for a long time, and it will get published. Don’t worry that it’s stuck. In the end the publish script will prompt for versions before publishing the packages.
153153
10. After publishing, create a GitHub Release with the same text as the changelog entry. See previous Releases for inspiration.
154154

155-
Make sure to test the released version! If you want to be extra careful, you can publish a prerelease by running `npm run publish -- --canary=next --exact --cd-version patch --npm-tag=next` instead of `npm run publish`.
155+
Make sure to test the released version! If you want to be extra careful, you can publish a prerelease by running `npm run publish -- prepatch --canary --preid next --dist-tag next --npm-client npm --force-publish` instead of `npm run publish`.
156156

157157
---
158158

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"globby": "^9.1.0",
2727
"husky": "^1.3.1",
2828
"jest": "24.7.1",
29-
"lerna": "2.9.1",
29+
"lerna": "3.13.2",
3030
"lerna-changelog": "~0.8.2",
3131
"lint-staged": "^8.0.4",
3232
"meow": "^5.0.0",

tasks/publish.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ if [ -z $CI ]; then
4848
fi
4949

5050
# Go!
51-
NPM_CONFIG_OTP="$otp" ./node_modules/.bin/lerna publish --independent --npm-client=npm "$@"
51+
NPM_CONFIG_OTP="$otp" ./node_modules/.bin/lerna publish --npm-client=npm "$@"

0 commit comments

Comments
 (0)