Skip to content

Commit 1165657

Browse files
committed
test upgrade Lerna
1 parent acff2f9 commit 1165657

File tree

4 files changed

+1675
-1700
lines changed

4 files changed

+1675
-1700
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,5 @@ jobs:
4545
run: yarn || yarn || yarn
4646
- name: Publish Canary release
4747
run: |
48-
yarn canary
48+
yarn canary:bumpVersion
49+
yarn canary:publish

lerna.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"version": "3.9.2",
33
"npmClient": "yarn",
4-
"useWorkspaces": true,
54
"useNx": false,
65
"changelog": {
76
"repo": "facebook/docusaurus",

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
"canary": "yarn canary:bumpVersion && yarn canary:publish",
5151
"canary:getCoreVersion": "node -p \"require('./packages/docusaurus/package.json').version\"",
5252
"canary:version": "echo `yarn --silent canary:getCoreVersion`-canary-`git rev-list --count HEAD`+`git rev-parse --short HEAD`",
53-
"canary:bumpVersion": "yarn lerna version `yarn --silent canary:version` --exact --no-push --yes",
54-
"canary:publish": "yarn lerna publish from-package --dist-tag canary --yes --no-verify-access --loglevel verbose",
53+
"canary:bumpVersion": "yarn lerna version `yarn --silent canary:version` --exact --no-push --yes --loglevel silly",
54+
"canary:publish": "yarn lerna publish from-package --dist-tag canary --yes --no-verify-access --loglevel silly",
5555
"changelog": "lerna-changelog",
5656
"postinstall": "patch-package && yarn lock:update && yarn build:packages",
5757
"prepare": "husky install",
@@ -111,7 +111,7 @@
111111
"jest-environment-jsdom": "^30.2.0",
112112
"jest-serializer-ansi-escapes": "^4.0.0",
113113
"jest-serializer-react-helmet-async": "^1.0.21",
114-
"lerna": "^6.6.2",
114+
"lerna": "^9.0.3",
115115
"lerna-changelog": "^2.2.0",
116116
"lint-staged": "~13.2.3",
117117
"lockfile-lint": "^4.14.0",

0 commit comments

Comments
 (0)