diff --git a/.gitignore b/.gitignore index 057e6fb..2473bde 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,6 @@ node_modules/ /docs/dist dist /packages/runtime/dist -/.yalc \ No newline at end of file +/.yalc +/versions.md +autopub.log diff --git a/package.json b/package.json index 03f9ee7..f2b9bf7 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "test:app": "cross-env NODE_OPTIONS=--experimental-vm-modules node node_modules/jest/bin/jest.js -- app", "test:runtime": "cross-env NODE_OPTIONS=--experimental-vm-modules jest runtime --coverage --collectCoverageFrom packages/runtime/dist/runtime.cjs", "publish:auto": "node --inspect -- ./node_modules/autopub/src/index.js", - "publish:mock": "node ./node_modules/flexpub/src/index.js --all --no-ask --dry-run", + "publish:mock": "node ./node_modules/flexpub/src/index.js", "list:package": "node ./packages/autopublish/index.js list", "autopublish": "node ./packages/autopublish/index.js -a --no-ask", "docs:build": " dumi build", @@ -34,7 +34,7 @@ "gulp": "^4.0.2", "inquirer": "^8.2.2", "jest": "^27.5.1", - "logsets": "^1.0.19", + "logsets": "^1.0.20", "pnpm": "^7.8.0", "prettier": "^2.2.1", "rollup": "^2.70.1", @@ -54,4 +54,4 @@ "dependencies": { "autopub": "link:.yalc/autopub" } -} \ No newline at end of file +} diff --git a/packages/babel/package.json b/packages/babel/package.json index 3246283..9133301 100644 --- a/packages/babel/package.json +++ b/packages/babel/package.json @@ -20,5 +20,5 @@ "devDependencies": { "@voerkai18n/autopublish": "workspace:^1.0.2" }, - "lastPublish": "2022-08-20T20:54:29+08:00" -} \ No newline at end of file + "lastPublish": "2022-08-20T12:54:37.848Z" +} diff --git a/packages/cli/package.json b/packages/cli/package.json index 57d1494..4897c99 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -50,5 +50,5 @@ "devDependencies": { "@voerkai18n/autopublish": "workspace:^1.0.2" }, - "lastPublish": "2022-08-26T17:39:52+08:00" -} \ No newline at end of file + "lastPublish": "2022-08-26T09:47:30.913Z" +} diff --git a/packages/formatters/datetime.formatters.js b/packages/formatters/datetime.formatters.js index 38974e9..dc29944 100644 --- a/packages/formatters/datetime.formatters.js +++ b/packages/formatters/datetime.formatters.js @@ -4,7 +4,7 @@ * * import './languages'; * import "voerka-i18n/formatters/datetime"; // 货币格式化器 - * + * * */ diff --git a/packages/formatters/package.json b/packages/formatters/package.json index 77a60fd..0d34d23 100644 --- a/packages/formatters/package.json +++ b/packages/formatters/package.json @@ -19,5 +19,5 @@ "devDependencies": { "@voerkai18n/autopublish": "workspace:^1.0.2" }, - "lastPublish": "2022-09-09T16:55:43+08:00" -} \ No newline at end of file + "lastPublish": "2022-09-09T11:35:36.823Z" +} diff --git a/packages/react/package.json b/packages/react/package.json index 1632509..0872798 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -15,5 +15,5 @@ "devDependencies": { "@voerkai18n/autopublish": "workspace:^1.0.2" }, - "lastPublish": "2022-04-16T09:12:12+08:00" -} \ No newline at end of file + "lastPublish": "2022-04-16T01:12:43.670Z" +} diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 31fb1d9..aba7a1d 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -36,5 +36,5 @@ "rollup-plugin-clear": "^2.0.7", "rollup-plugin-terser": "^7.0.2" }, - "lastPublish": "2022-08-26T17:39:39+08:00" -} \ No newline at end of file + "lastPublish": "2022-08-26T09:47:21.472Z" +} diff --git a/packages/utils/package.json b/packages/utils/package.json index bcb1cab..d36aae5 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -16,5 +16,5 @@ "devDependencies": { "@voerkai18n/autopublish": "workspace:^1.0.2" }, - "lastPublish": "2022-08-20T20:54:07+08:00" -} \ No newline at end of file + "lastPublish": "2022-08-20T12:54:15.135Z" +} diff --git a/packages/vite/package.json b/packages/vite/package.json index 5d1db64..735b1f8 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -15,5 +15,5 @@ "devDependencies": { "@voerkai18n/autopublish": "workspace:^1.0.2" }, - "lastPublish": "2022-08-20T20:54:41+08:00" -} \ No newline at end of file + "lastPublish": "2022-08-20T12:54:54.542Z" +} diff --git a/packages/vue/package.json b/packages/vue/package.json index 573814e..9dab7db 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -12,5 +12,5 @@ "devDependencies": { "@voerkai18n/autopublish": "workspace:^1.0.2" }, - "lastPublish": "2022-08-20T20:54:52+08:00" -} \ No newline at end of file + "lastPublish": "2022-08-20T12:55:04.788Z" +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e471623..a3eb001 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,6 +10,7 @@ importers: '@rollup/plugin-babel': ^5.3.1 '@rollup/plugin-commonjs': ^21.0.2 '@vuepress/client': ^2.0.0-beta.49 + autopub: link:.yalc/autopub commander: ^9.0.0 cross-env: ^7.0.3 dayjs: ^1.11.0 @@ -21,7 +22,7 @@ importers: gulp: ^4.0.2 inquirer: ^8.2.2 jest: ^27.5.1 - logsets: ^1.0.19 + logsets: ^1.0.20 pnpm: ^7.8.0 prettier: ^2.2.1 rollup: ^2.70.1 @@ -31,6 +32,8 @@ importers: vinyl: ^2.2.1 yalc: 1.0.0-pre.53 yorkie: ^2.0.0 + dependencies: + autopub: link:.yalc/autopub devDependencies: '@babel/core': 7.18.10 '@babel/plugin-transform-runtime': 7.18.10_@babel+core@7.18.10 @@ -49,7 +52,7 @@ importers: gulp: 4.0.2 inquirer: 8.2.4 jest: 27.5.1 - logsets: 1.0.19 + logsets: 1.0.20 pnpm: 7.9.0 prettier: 2.7.1 rollup: 2.77.2 @@ -7747,8 +7750,8 @@ packages: deepmerge: 4.2.2 dev: false - /logsets/1.0.19: - resolution: {integrity: sha512-y9wb62Euve7UBr1ZJ841DCYFm+44RRD/9Srka9adG4DlIaPRBa/QDn3lCi/odTddstStRquijcG/UyZRuIObkg==} + /logsets/1.0.20: + resolution: {integrity: sha512-2ch4+TSciSTFAkkIv9tL7xOMe0Tg+XYsR//EAcMW2227bWjscReAoz2GLkjIMJMACHVZIyXmKrohtiV9z6M1iQ==} dependencies: '@babel/runtime-corejs3': 7.18.9 ansicolor: 1.1.100 diff --git a/versions.md b/versions.md deleted file mode 100644 index c129fcf..0000000 --- a/versions.md +++ /dev/null @@ -1,11 +0,0 @@ -# 版本信息 -| 包| 版本 | 最新发布 | 说明| -| --- | :---: | :---: | --- | -|**@voerkai18n/utils**|1.0.13|2022/08/20|公共工具库| -|**@voerkai18n/runtime**|1.1.6|2022/08/26|核心运行时| -|**@voerkai18n/formatters**|1.0.8|2022/09/09|格式化器,提供对要翻译文本的转换功能| -|**@voerkai18n/react**|1.0.4|2022/04/16|React支持,提供语言切换等功能| -|**@voerkai18n/cli**|1.0.39|2022/08/26|命令行工具,用来初始化/提取/编译/自动翻译等工具链| -|**@voerkai18n/babel**|1.0.24|2022/08/20|Babel插件,实现自动导入t函数和自动文本映射| -|**@voerkai18n/vite**|1.0.13|2022/08/20|Vite插件,提供自动插入翻译函数和文本映射等功能| -|**@voerkai18n/vue**|1.0.6|2022/08/20|Vue3插件,提供自动插件翻译函数和语言切换功能| \ No newline at end of file