Skip to content

Commit 947b281

Browse files
committed
chore(lerna): move to lerna v9
- Move to lerna v9 to get OIDC capabilities. - Force auth in NPM publish action.
1 parent 770abc6 commit 947b281

File tree

4 files changed

+2768
-2725
lines changed

4 files changed

+2768
-2725
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
with:
2626
node-version: '20.x'
2727
registry-url: 'https://registry.npmjs.org'
28+
always-auth: true
2829
- run: yarn install
2930
- run: yarn build
3031
- run: yarn build-browser

lerna.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,5 @@
88
}
99
},
1010
"npmClient": "yarn",
11-
"useWorkspaces": true,
1211
"version": "4.16.1"
1312
}

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"build-browser": "cd packages/mjml-browser && yarn build",
88
"lint": "eslint .",
99
"lint:fix": "eslint . --fix",
10-
"postinstall": "lerna bootstrap",
1110
"prettier": "prettier --write \"packages/**/{src,bin}/**/*.?(js|json)\"",
1211
"test": "lerna run test"
1312
},
@@ -27,7 +26,7 @@
2726
"eslint-config-airbnb-base": "^14.1.0",
2827
"eslint-config-prettier": "^9.1.0",
2928
"eslint-plugin-import": "^2.21.1",
30-
"lerna": "^3.22.1",
29+
"lerna": "^9.0.0",
3130
"mocha": "10",
3231
"open": "^7.3.0",
3332
"prettier": "^3.2.4",

0 commit comments

Comments
 (0)