Skip to content

Commit 432e283

Browse files
authored
chore: upgrade lerna (#641)
* chore: upgrade lerna * test: trigger canary release * test: canary * test: canary again * fix: script * fix: script * test: canary * fix: reverting test
1 parent 0837692 commit 432e283

File tree

4 files changed

+2714
-3560
lines changed

4 files changed

+2714
-3560
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v16
1+
22

lerna.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
2-
"packages": ["packages/*"],
2+
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
33
"version": "independent",
44
"npmClient": "yarn",
5-
"useWorkspaces": true,
6-
"private": true,
75
"command": {
86
"publish": {
97
"allowBranch": ["master"],

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"private": true,
88
"license": "MIT",
99
"scripts": {
10-
"postinstall": "lerna bootstrap",
1110
"clean": "rimraf coverage && lerna run clean",
1211
"lint": "lerna run lint",
1312
"lint:fix": "lerna run lint -- --fix",
@@ -20,8 +19,8 @@
2019
"cover": "jest --coverage",
2120
"commit": "git-cz",
2221
"release:check": "lerna changed",
23-
"release:latest": "lerna publish --yes --conventional-commits --create-release github --message 'chore(release): publish [ci skip]'",
24-
"release:canary": "NPM_CONFIG_PROVENANCE=true lerna publish --canary --ignore-scripts",
22+
"release:latest": "NPM_CONFIG_PROVENANCE=true lerna publish --yes --conventional-commits --create-release github --message 'chore(release): publish [ci skip]'",
23+
"release:canary": "NPM_CONFIG_PROVENANCE=true lerna publish --canary --yes",
2524
"prepare": "husky install"
2625
},
2726
"workspaces": [
@@ -69,7 +68,7 @@
6968
"husky": "^7.0.2",
7069
"jest": "^29.1.2",
7170
"jest-watch-typeahead": "^2.2.0",
72-
"lerna": "^3.16.4",
71+
"lerna": "^9.0.0",
7372
"lint-staged": "^12.0.2",
7473
"prettier": "^2.4.1",
7574
"ts-jest": "^29.0.3",

0 commit comments

Comments
 (0)