Skip to content

Commit 8f4e720

Browse files
authored
Bump lerna to v4.0.0 (#2608)
* Bump lerna to v4.0.0 * Apply lerna/lerna#2904 * Write to .npmrc
1 parent bb37777 commit 8f4e720

File tree

3 files changed

+1545
-1480
lines changed

3 files changed

+1545
-1480
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ jobs:
8686
release_name: Release ${{ needs.tag.outputs.tag }}
8787
prerelease: false # Note: if prerelease, will be hidden from view in the main page
8888

89+
# From https://github.com/lerna/lerna/issues/2404
90+
- run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
91+
env:
92+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
8993
- name: Publish to npm registry
9094
run: yarn run publish
9195
env:

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"eslint-plugin-no-only-tests": "^2.4.0",
5757
"eslint-plugin-node": "^11.1.0",
5858
"eslint-plugin-prettier": "^3.1.4",
59-
"lerna": "^3.20.2",
59+
"lerna": "^4.0.0",
6060
"mocha": "^8.3.0",
6161
"npm-run-all": "^4.1.5",
6262
"nyc": "^15.1.0",
@@ -71,5 +71,8 @@
7171
"typescript": "^4.2.0",
7272
"webpack": "^5.36.2"
7373
},
74-
"dependencies": {}
74+
"dependencies": {},
75+
"resolutions": {
76+
"libnpmpublish": "4.0.0"
77+
}
7578
}

0 commit comments

Comments
 (0)