diff --git a/packages/babel/package.json b/packages/babel/package.json index 22d830a5..a24b8227 100644 --- a/packages/babel/package.json +++ b/packages/babel/package.json @@ -1,6 +1,6 @@ { "name": "@voerkai18n/babel", - "version": "2.1.6", + "version": "2.1.12", "description": "Babel插件,实现自动导入t函数和自动文本映射", "main": "index.js", "homepage": "https://gitee.com/zhangfisher/voerka-i18n", @@ -9,7 +9,7 @@ "url": "git+https://github.com/zhangfisher/voerka-i18n" }, "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "release": "npm publish" }, "author": "wxzhang", "license": "MIT", diff --git a/packages/cli/package.json b/packages/cli/package.json index 5eeaba7f..3f077844 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@voerkai18n/cli", - "version": "2.1.6", + "version": "2.1.12", "description": "命令行工具,用来初始化/提取/编译/自动翻译等工具链", "main": "index.js", "homepage": "https://gitee.com/zhangfisher/voerka-i18n", @@ -19,7 +19,8 @@ "translate": "node ./index.js translate", "extract": "node ./index.js extract -D -e templates/** ", "compile": "node ./index.js compile", - "compile:en": "cross-env LANGUAGE=en node ./index.js compile -d" + "compile:en": "cross-env LANGUAGE=en node ./index.js compile -d", + "release": "npm publish" }, "author": "wxzhang", "license": "MIT", diff --git a/packages/openinula/package.json b/packages/openinula/package.json index 3eef9cd9..14b8b575 100644 --- a/packages/openinula/package.json +++ b/packages/openinula/package.json @@ -1,6 +1,6 @@ { "name": "@voerkai18n/openinula", - "version": "2.1.6", + "version": "2.1.12", "description": "openinula支持,提供语言切换等功能", "main": "dist/index.js", "module": "dist/index.mjs", @@ -17,7 +17,7 @@ ], "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "release": "tsup --metafile && pnpm publish --no-git-checks", + "release": "npm publish", "build": "tsup" }, "author": "wxzhang", diff --git a/packages/react/package.json b/packages/react/package.json index 6554422d..02daec95 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@voerkai18n/react", - "version": "2.1.6", + "version": "2.1.12", "description": "React支持,提供语言切换等功能", "main": "dist/index.js", "module": "dist/index.mjs", @@ -17,7 +17,7 @@ ], "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "release": "tsup --metafile && pnpm publish --no-git-checks", + "release": "npm publish", "build": "tsup" }, "author": "wxzhang", diff --git a/packages/runtime/package.json b/packages/runtime/package.json index f8206d67..952f9d21 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@voerkai18n/runtime", - "version": "2.1.6", + "version": "2.1.12", "description": "runtime of voerkai18n", "main": "./src/index.ts", "homepage": "https://gitee.com/zhangfisher/voerka-i18n", @@ -16,7 +16,7 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "tsup", - "release": "tsup --metafile && pnpm publish --no-git-checks" + "release": "npm publish" }, "author": "wxzhang", "license": "MIT", diff --git a/packages/utils/package.json b/packages/utils/package.json index 6418d7c4..7c045992 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,10 +1,10 @@ { "name": "@voerkai18n/utils", - "version": "2.1.6", + "version": "2.1.12", "description": "公共工具库", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "release": "npm publish" }, "author": "wxzhang", "license": "MIT", diff --git a/packages/vite/package.json b/packages/vite/package.json index 1e24a767..a1903d67 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -1,6 +1,6 @@ { "name": "@voerkai18n/vite", - "version": "2.1.6", + "version": "2.1.12", "description": "Vite插件,提供自动插入翻译函数和文本映射等功能", "homepage": "https://gitee.com/zhangfisher/voerka-i18n", "repository": { @@ -10,7 +10,7 @@ "main": "src/index.js", "types": "src/index.d.ts", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "release": "npm publish" }, "author": "wxzhang", "license": "MIT", diff --git a/packages/vue/package.json b/packages/vue/package.json index c23c0b01..8c0be034 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@voerkai18n/vue", - "version": "2.1.6", + "version": "2.1.12", "description": "voerkai18n for vue3", "access": "public", "main": "dist/index.js", @@ -17,7 +17,7 @@ "types": "dist/index.d.ts" }, "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", + "release": "npm publish", "build": "tsup" }, "author": "wxzhang", diff --git a/packages/vue2/package.json b/packages/vue2/package.json index 7f2f39e5..4efcc9b2 100644 --- a/packages/vue2/package.json +++ b/packages/vue2/package.json @@ -1,6 +1,6 @@ { "name": "@voerkai18n/vue2", - "version": "2.1.6", + "version": "2.1.12", "description": "voerkai18n for vue2", "main": "dist/index.js", "module": "dist/index.mjs", @@ -12,7 +12,7 @@ "types": "dist/index.d.ts" }, "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", + "release": "npm publish", "build": "tsup", "build:watch": "tsup --watch" }, diff --git a/packages/webpack/package.json b/packages/webpack/package.json index bddce51d..5ca44b82 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -1,6 +1,6 @@ { "name": "voerkai18n-loader", - "version": "2.1.6", + "version": "2.1.12", "description": "voerkai18n loader for webpack", "main": "loader.js", "homepage": "https://gitee.com/zhangfisher/voerka-i18n", @@ -9,7 +9,7 @@ "url": "git+https://github.com/zhangfisher/voerka-i18n" }, "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", + "release": "npm publish", "build": "tsup" }, "keywords": [], diff --git a/turbo.json b/turbo.json index f2698c0e..27247959 100644 --- a/turbo.json +++ b/turbo.json @@ -16,6 +16,8 @@ "lint" ] }, + "release": { + }, "test": { "dependsOn": [ "build"