Skip to content

Commit 5c43e7b

Browse files
committed
chore: use pure lerna to publish
1 parent 68a2b7e commit 5c43e7b

File tree

2 files changed

+30
-1225
lines changed

2 files changed

+30
-1225
lines changed

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,14 @@
1010
"scripts": {
1111
"start": "cd example && npm start",
1212
"test": "sh -c 'set -e; for dir in packages/*/; do echo \"Testing $dir\"; (cd \"$dir\" && yarn test) || { echo \"\\033[31mERROR: Tests failed for $dir\\033[0m\"; exit 1; }; done'",
13-
"release-patch": "auto shipit --use-version $(node -e \"const [major, minor, patch] = require('./lerna.json').version.split('.'); console.log('' + major + '.' + minor + '.' + (parseInt(patch) + 1));\")",
14-
"release-breaking-minor": "auto shipit --use-version $(node -e \"const [major, minor, patch] = require('./lerna.json').version.split('.'); console.log('' + major + '.' + (parseInt(minor) + 1) + '.' + 0);\")",
13+
"publish-patch": "npx lerna publish patch --conventional-commits",
14+
"publish-breaking-minor": "npx lerna publish minor --conventional-commits",
1515
"docs": "rspress dev --port 3010",
1616
"docs-build": "rspress build",
1717
"docs-preview": "rspress preview --port 3010"
1818
},
1919
"devDependencies": {
20-
"@auto-it/conventional-commits": "^11.3.6",
2120
"@types/react": "~18.2.45",
22-
"auto": "^11.3.6",
2321
"eslint": "^8.56.0",
2422
"eslint-config-cssxjs": "^0.2.0",
2523
"husky": "^4.3.0",

0 commit comments

Comments
 (0)