chore: change lerna to lerna-lite
This commit is contained in:
parent
4435a239d4
commit
2b7588cf04
@ -1,9 +1,6 @@
|
|||||||
{
|
{
|
||||||
"version": "0.28.0-beta.5",
|
"version": "0.28.0-beta.5",
|
||||||
"npmClient": "pnpm",
|
"npmClient": "pnpm",
|
||||||
"packages": [
|
|
||||||
"packages/*"
|
|
||||||
],
|
|
||||||
"command": {
|
"command": {
|
||||||
"run": {
|
"run": {
|
||||||
"stream": true
|
"stream": true
|
||||||
|
21
package.json
21
package.json
@ -6,7 +6,7 @@
|
|||||||
"author": "MiaoWoo <admin@yumc.pw>",
|
"author": "MiaoWoo <admin@yumc.pw>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"bs": "lerna bootstrap",
|
"bs": "pnpm install",
|
||||||
"clean": "lerna run clean",
|
"clean": "lerna run clean",
|
||||||
"watch": "lerna run watch --parallel",
|
"watch": "lerna run watch --parallel",
|
||||||
"build": "lerna run build",
|
"build": "lerna run build",
|
||||||
@ -17,19 +17,18 @@
|
|||||||
"lpb": "lerna publish prerelease --preid beta --dist-tag beta --force-publish",
|
"lpb": "lerna publish prerelease --preid beta --dist-tag beta --force-publish",
|
||||||
"lpc": "lerna publish --canary --preid beta --pre-dist-tag beta --force-publish",
|
"lpc": "lerna publish --canary --preid beta --pre-dist-tag beta --force-publish",
|
||||||
"lpf": "lerna publish from-package --yes",
|
"lpf": "lerna publish from-package --yes",
|
||||||
"sync": "./script/sync.sh"
|
"sync": "./script/sync.sh",
|
||||||
|
"postpublish": "pnpm sync"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
|
||||||
"packages/*"
|
|
||||||
],
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"lerna": "^7.2.0",
|
"@ccms/nashorn": "^0.28.0-beta.3",
|
||||||
|
"@javatypes/jdk": "^0.0.3",
|
||||||
|
"@lerna-lite/cli": "^2.6.0",
|
||||||
|
"@lerna-lite/publish": "^2.6.0",
|
||||||
|
"@types/node": "^20.8.8",
|
||||||
"reflect-metadata": "^0.1.13",
|
"reflect-metadata": "^0.1.13",
|
||||||
"rimraf": "^5.0.5",
|
"rimraf": "^5.0.5",
|
||||||
"typescript": "^5.2.2",
|
|
||||||
"tslib": "^2.6.2",
|
"tslib": "^2.6.2",
|
||||||
"@types/node": "^20.8.8",
|
"typescript": "^5.2.2"
|
||||||
"@ccms/nashorn": "^0.28.0-beta.3",
|
|
||||||
"@javatypes/jdk": "^0.0.3"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
2153
pnpm-lock.yaml
2153
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -3,6 +3,6 @@ DISTTAG=${1:latest}
|
|||||||
for package in `ls packages`; do
|
for package in `ls packages`; do
|
||||||
echo $package
|
echo $package
|
||||||
pushd packages/$package
|
pushd packages/$package
|
||||||
npm publish --tag ${DISTTAG} --access=public --registry https://registry.npmjs.org
|
pnpm publish --tag ${DISTTAG} --access=public --registry https://registry.npmjs.org
|
||||||
popd
|
popd
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user