@weapp-vite/i18n 0.2.8 → 0.2.9
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.
- package/dist/cli.mjs +0 -0
- package/dist/index.mjs +1 -2
- package/package.json +10 -3
package/dist/cli.mjs
CHANGED
|
File without changes
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { createI18n };
|
|
1
|
+
export { createI18n } from "./runtime.mjs";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weapp-vite/i18n",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.9",
|
|
5
5
|
"description": "First-party i18n runtime and compiler for native WeChat mini programs",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/weapp-vite/weapp-vite#readme",
|
|
@@ -71,17 +71,24 @@
|
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@weapp-core/constants": "0.3.
|
|
74
|
+
"@weapp-core/constants": "0.3.1"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"miniprogram-api-typings": "^5.2.3"
|
|
78
78
|
},
|
|
79
|
+
"tsd": {
|
|
80
|
+
"compilerOptions": {
|
|
81
|
+
"module": "NodeNext",
|
|
82
|
+
"moduleResolution": "NodeNext"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
79
85
|
"scripts": {
|
|
80
86
|
"pretest": "pnpm build",
|
|
81
87
|
"dev": "tsdown -w --sourcemap",
|
|
82
88
|
"build": "tsdown",
|
|
83
89
|
"test": "vitest run",
|
|
84
|
-
"test:types": "pnpm build &&
|
|
90
|
+
"test:types": "pnpm build && pnpm run test:types:check",
|
|
91
|
+
"test:types:check": "tsd --files \"test-d/**/*.test-d.ts\"",
|
|
85
92
|
"typecheck": "tsc --noEmit",
|
|
86
93
|
"lint": "eslint .",
|
|
87
94
|
"lint:fix": "eslint . --fix"
|