From 9fac585e5e8a617a867fb92bf7d323b1c6f00b80 Mon Sep 17 00:00:00 2001 From: MiaoWoo Date: Wed, 25 Oct 2023 17:44:27 +0800 Subject: [PATCH] chorn: change pack files --- package.json | 2 +- packages/api/package.json | 6 +++--- packages/bukkit/package.json | 6 +++--- packages/bungee/package.json | 6 +++--- packages/common/package.json | 6 +++--- packages/compile/package.json | 6 +++--- packages/container/package.json | 6 +++--- packages/core/package.json | 6 +++--- packages/database/package.json | 6 +++--- packages/i18n/package.json | 6 +++--- packages/molang/package.json | 6 +++--- packages/nashorn/package.json | 6 +++--- packages/nukkit/package.json | 6 +++--- packages/plugin/package.json | 6 +++--- packages/polyfill/package.json | 8 ++++---- packages/protocol/package.json | 6 +++--- packages/qrcode/package.json | 6 +++--- packages/sponge/package.json | 6 +++--- packages/websocket/package.json | 6 +++--- script/push.sh | 2 +- 20 files changed, 57 insertions(+), 57 deletions(-) diff --git a/package.json b/package.json index 96291852..d31cc345 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "lp": "lerna publish --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", - "lpf": "lerna publish from-package --yes", + "lpf": "lerna publish from-package --dist-tag beta --yes", "sync": "./script/sync.sh", "postpublish": "pnpm sync" }, diff --git a/packages/api/package.json b/packages/api/package.json index 59b50585..95ba0088 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -13,9 +13,9 @@ "license": "ISC", "main": "dist/index.js", "files": [ - "dist/*.js", - "dist/*.ts", - "dist/*.map" + "dist/**/*.js", + "dist/**/*.ts", + "dist/**/*.map" ], "scripts": { "clean": "rimraf dist", diff --git a/packages/bukkit/package.json b/packages/bukkit/package.json index f988844b..6ab1f434 100644 --- a/packages/bukkit/package.json +++ b/packages/bukkit/package.json @@ -13,9 +13,9 @@ "license": "ISC", "main": "dist/index.js", "files": [ - "dist/*.js", - "dist/*.ts", - "dist/*.map" + "dist/**/*.js", + "dist/**/*.ts", + "dist/**/*.map" ], "scripts": { "clean": "rimraf dist", diff --git a/packages/bungee/package.json b/packages/bungee/package.json index 4e36353a..e4a9c6e1 100644 --- a/packages/bungee/package.json +++ b/packages/bungee/package.json @@ -13,9 +13,9 @@ "license": "ISC", "main": "dist/index.js", "files": [ - "dist/*.js", - "dist/*.ts", - "dist/*.map" + "dist/**/*.js", + "dist/**/*.ts", + "dist/**/*.map" ], "scripts": { "clean": "rimraf dist", diff --git a/packages/common/package.json b/packages/common/package.json index 40b5b3ba..8719b188 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -13,9 +13,9 @@ "license": "ISC", "main": "dist/index.js", "files": [ - "dist/*.js", - "dist/*.ts", - "dist/*.map" + "dist/**/*.js", + "dist/**/*.ts", + "dist/**/*.map" ], "scripts": { "clean": "rimraf dist", diff --git a/packages/compile/package.json b/packages/compile/package.json index f6223c3c..f642c19f 100644 --- a/packages/compile/package.json +++ b/packages/compile/package.json @@ -13,9 +13,9 @@ "license": "ISC", "main": "dist/index.js", "files": [ - "dist/*.js", - "dist/*.ts", - "dist/*.map" + "dist/**/*.js", + "dist/**/*.ts", + "dist/**/*.map" ], "scripts": { "clean": "rimraf dist", diff --git a/packages/container/package.json b/packages/container/package.json index c3b799c7..f11c7c2c 100644 --- a/packages/container/package.json +++ b/packages/container/package.json @@ -13,9 +13,9 @@ "license": "ISC", "main": "dist/index.js", "files": [ - "dist/*.js", - "dist/*.ts", - "dist/*.map" + "dist/**/*.js", + "dist/**/*.ts", + "dist/**/*.map" ], "scripts": { "clean": "rimraf dist", diff --git a/packages/core/package.json b/packages/core/package.json index 88f5374e..b364fe14 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -13,9 +13,9 @@ "license": "ISC", "main": "dist/index.js", "files": [ - "dist/*.js", - "dist/*.ts", - "dist/*.map" + "dist/**/*.js", + "dist/**/*.ts", + "dist/**/*.map" ], "scripts": { "clean": "rimraf dist", diff --git a/packages/database/package.json b/packages/database/package.json index 12e59520..10bc4263 100644 --- a/packages/database/package.json +++ b/packages/database/package.json @@ -13,9 +13,9 @@ "license": "ISC", "main": "dist/index.js", "files": [ - "dist/*.js", - "dist/*.ts", - "dist/*.map" + "dist/**/*.js", + "dist/**/*.ts", + "dist/**/*.map" ], "scripts": { "clean": "rimraf dist", diff --git a/packages/i18n/package.json b/packages/i18n/package.json index 14d9f5df..a3d8c971 100644 --- a/packages/i18n/package.json +++ b/packages/i18n/package.json @@ -13,9 +13,9 @@ "license": "ISC", "main": "dist/index.js", "files": [ - "dist/*.js", - "dist/*.ts", - "dist/*.map", + "dist/**/*.js", + "dist/**/*.ts", + "dist/**/*.map", "languages" ], "scripts": { diff --git a/packages/molang/package.json b/packages/molang/package.json index 8621674a..6512d11b 100644 --- a/packages/molang/package.json +++ b/packages/molang/package.json @@ -5,9 +5,9 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ - "dist/*.js", - "dist/*.ts", - "dist/*.map" + "dist/**/*.js", + "dist/**/*.ts", + "dist/**/*.map" ], "scripts": { "clean": "rimraf dist", diff --git a/packages/nashorn/package.json b/packages/nashorn/package.json index 6d950468..0005ae4f 100644 --- a/packages/nashorn/package.json +++ b/packages/nashorn/package.json @@ -14,9 +14,9 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ - "dist/*.js", - "dist/*.ts", - "dist/*.map" + "dist/**/*.js", + "dist/**/*.ts", + "dist/**/*.map" ], "scripts": { "clean": "rimraf dist", diff --git a/packages/nukkit/package.json b/packages/nukkit/package.json index 3c09d5ad..9f30ff38 100644 --- a/packages/nukkit/package.json +++ b/packages/nukkit/package.json @@ -13,9 +13,9 @@ "license": "ISC", "main": "dist/index.js", "files": [ - "dist/*.js", - "dist/*.ts", - "dist/*.map" + "dist/**/*.js", + "dist/**/*.ts", + "dist/**/*.map" ], "scripts": { "clean": "rimraf dist", diff --git a/packages/plugin/package.json b/packages/plugin/package.json index b2dd0870..3387d3f2 100644 --- a/packages/plugin/package.json +++ b/packages/plugin/package.json @@ -13,9 +13,9 @@ "license": "ISC", "main": "dist/index.js", "files": [ - "dist/*.js", - "dist/*.ts", - "dist/*.map" + "dist/**/*.js", + "dist/**/*.ts", + "dist/**/*.map" ], "scripts": { "clean": "rimraf dist", diff --git a/packages/polyfill/package.json b/packages/polyfill/package.json index 543ec8ef..90a16f7c 100644 --- a/packages/polyfill/package.json +++ b/packages/polyfill/package.json @@ -8,9 +8,9 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ - "dist/*.js", - "dist/*.ts", - "dist/*.map" + "dist/**/*.js", + "dist/**/*.ts", + "dist/**/*.map" ], "scripts": { "clean": "rimraf dist", @@ -21,7 +21,7 @@ "dependencies": { "@ccms/i18n": "^0.28.0-beta.7", "@ccms/nodejs": "^0.28.0-beta.7", - "core-js": "^3.32.2" + "core-js": "^3.33.1" }, "devDependencies": { "@ccms/nashorn": "^0.28.0-beta.7" diff --git a/packages/protocol/package.json b/packages/protocol/package.json index 2c9bbb25..00292118 100644 --- a/packages/protocol/package.json +++ b/packages/protocol/package.json @@ -14,9 +14,9 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ - "dist/*.js", - "dist/*.ts", - "dist/*.map" + "dist/**/*.js", + "dist/**/*.ts", + "dist/**/*.map" ], "scripts": { "clean": "rimraf dist", diff --git a/packages/qrcode/package.json b/packages/qrcode/package.json index 6a42f08b..2b165767 100644 --- a/packages/qrcode/package.json +++ b/packages/qrcode/package.json @@ -13,9 +13,9 @@ "license": "ISC", "main": "dist/index.js", "files": [ - "dist/*.js", - "dist/*.ts", - "dist/*.map" + "dist/**/*.js", + "dist/**/*.ts", + "dist/**/*.map" ], "scripts": { "clean": "rimraf dist", diff --git a/packages/sponge/package.json b/packages/sponge/package.json index 24766f26..123e281a 100644 --- a/packages/sponge/package.json +++ b/packages/sponge/package.json @@ -13,9 +13,9 @@ "license": "ISC", "main": "dist/index.js", "files": [ - "dist/*.js", - "dist/*.ts", - "dist/*.map" + "dist/**/*.js", + "dist/**/*.ts", + "dist/**/*.map" ], "scripts": { "clean": "rimraf dist", diff --git a/packages/websocket/package.json b/packages/websocket/package.json index 07f65293..ec799c24 100644 --- a/packages/websocket/package.json +++ b/packages/websocket/package.json @@ -13,9 +13,9 @@ "license": "ISC", "main": "dist/index.js", "files": [ - "dist/*.js", - "dist/*.ts", - "dist/*.map" + "dist/**/*.js", + "dist/**/*.ts", + "dist/**/*.map" ], "scripts": { "clean": "rimraf dist", diff --git a/script/push.sh b/script/push.sh index 66bb94c0..421bece0 100755 --- a/script/push.sh +++ b/script/push.sh @@ -1,5 +1,5 @@ #!/bin/bash -DISTTAG=${1:latest} +DISTTAG=${1:beta} for package in `ls packages`; do echo $package pushd packages/$package