|
32 | 32 | "ci": "npm run build && npm run cov", |
33 | 33 | "purge": "npm run clean && rm -rf node_modules && rm -rf pnpm-lock.yaml", |
34 | 34 | "reset": "npm run purge && npm i && npm run ci", |
35 | | - "canary": "npm run build && lerna publish major --canary --preid alpha --dist-tag alpha", |
36 | | - "beta": "sh scripts/publish.sh --npm-tag beta --force-publish=*", |
37 | | - "next": "sh scripts/publish.sh --npm-tag next", |
38 | | - "release": "rm -f ./packages/.DS* && sh scripts/publish.sh", |
| 35 | + "canary": "sh scripts/publish.sh canary", |
| 36 | + "beta": "sh scripts/publish.sh beta", |
| 37 | + "next": "sh scripts/publish.sh next", |
| 38 | + "release": "sh scripts/publish.sh", |
39 | 39 | "bootstrap": "rm -f ./packages/.DS* && lerna bootstrap --concurrency 4", |
40 | 40 | "clean": "lerna clean --yes && rm -rf ./packages/**/package-lock.json && rm -f package-lock.json && rm -rf ./packages/**/pnpm-lock.json ", |
41 | 41 | "build": "sh scripts/build.sh", |
42 | 42 | "authors": "git log --format='%aN <%aE>' | sort -u > AUTHORS", |
43 | | - "version": "node ./scripts/generate_rollback.js && node ./scripts/generate_version.js && node ./scripts/generate_changelog.js && git add .", |
| 43 | + "version": "if [ \"$SKIP_VERSION_SCRIPTS\" != \"true\" ]; then node ./scripts/generate_rollback.js && node ./scripts/generate_version.js && node ./scripts/generate_changelog.js && git add .; fi", |
44 | 44 | "lint": "lerna exec mwts check", |
45 | 45 | "lint:cycle": "lerna exec --ignore @midwayjs/version --ignore @midwayjs/faas-typings --ignore @midwayjs/*-layer --ignore @midwayjs/core -- madge --circular --extensions ts src", |
46 | 46 | "lint:fix": "lerna exec mwts fix", |
|
0 commit comments