@4399ywkf/core 5.3.0 → 5.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -541,7 +541,7 @@ interface I18nPluginOptions {
541
541
  * 开发流程:
542
542
  * 1. 开发者在 src/locales/default/ 中编写 TypeScript 翻译源文件(有类型推导 + IDE 补全)
543
543
  * 2. 运行 `pnpm i18n:gen` 将 TS 源文件转换为 locales/{defaultLocale}/*.json
544
- * 3. 运行 `pnpm i18n` 使用 @lobehub/i18n-cli 将默认语言 JSON 翻译为其他语言
544
+ * 3. 运行 `pnpm i18n`(ywkf-i18n,来自 @4399ywkf/i18n)将默认语言 JSON 翻译为其他语言
545
545
  * 4. 运行时:开发模式下默认语言直接 import TS,其他场景懒加载 JSON
546
546
  *
547
547
  * @example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@4399ywkf/core",
3
- "version": "5.3.0",
3
+ "version": "5.3.1",
4
4
  "description": "4399运维开发前端框架核心",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -39,16 +39,6 @@
39
39
  "dist",
40
40
  "biome.json"
41
41
  ],
42
- "scripts": {
43
- "build": "tsup",
44
- "dev": "tsup --watch",
45
- "test": "vitest run",
46
- "typecheck": "tsc --noEmit",
47
- "prepublishOnly": "npm run build",
48
- "release": "npm version patch && npm publish --access public",
49
- "release:minor": "npm version minor && npm publish --access public",
50
- "release:major": "npm version major && npm publish --access public"
51
- },
52
42
  "dependencies": {
53
43
  "@rsdoctor/rspack-plugin": "^1.5.17",
54
44
  "@rspack/core": "^2.1.0",
@@ -106,5 +96,14 @@
106
96
  },
107
97
  "publishConfig": {
108
98
  "access": "public"
99
+ },
100
+ "scripts": {
101
+ "build": "tsup",
102
+ "dev": "tsup --watch",
103
+ "test": "vitest run",
104
+ "typecheck": "tsc --noEmit",
105
+ "release": "npm version patch && npm publish --access public",
106
+ "release:minor": "npm version minor && npm publish --access public",
107
+ "release:major": "npm version major && npm publish --access public"
109
108
  }
110
- }
109
+ }