@lacqjs/nuxt-dict 0.0.6 → 0.0.7

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/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lacqjs/nuxt-dict",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "configKey": "dict",
5
5
  "compatibility": {
6
6
  "nuxt": "^4.4.8"
package/dist/module.mjs CHANGED
@@ -7,7 +7,7 @@ export { createDictTranslator } from '../dist/runtime/utils/dict-translator.js';
7
7
  export { defineDictAdapter } from '../dist/runtime/utils/define-adapter.js';
8
8
 
9
9
  const name = "@lacqjs/nuxt-dict";
10
- const version = "0.0.6";
10
+ const version = "0.0.7";
11
11
  const devDependencies = {
12
12
  nuxt: "^4.4.8"};
13
13
  const pkg = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lacqjs/nuxt-dict",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Nuxt 数据字典模块,提供扁平/树形字典翻译、多语言国际化、三级缓存与 SSR 预取。",
5
5
  "keywords": [
6
6
  "@lacqjs/nuxt-dict",
@@ -21,17 +21,17 @@
21
21
  ],
22
22
  "type": "module",
23
23
  "main": "./dist/module.mjs",
24
- "types": "./dist/types.d.mts",
24
+ "types": "./dist/module.d.mts",
25
25
  "typesVersions": {
26
26
  "*": {
27
27
  ".": [
28
- "./dist/types.d.mts"
28
+ "./dist/module.d.mts"
29
29
  ]
30
30
  }
31
31
  },
32
32
  "exports": {
33
33
  ".": {
34
- "types": "./dist/types.d.mts",
34
+ "types": "./dist/module.d.mts",
35
35
  "import": "./dist/module.mjs"
36
36
  }
37
37
  },
@@ -68,7 +68,7 @@
68
68
  },
69
69
  "documentation": "https://miaozhongfei.github.io/nuxt-dict/",
70
70
  "scripts": {
71
- "cleanup": "pnpx nuxt cleanup || npx nuxt cleanup",
71
+ "cleanup": "(pnpx nuxt cleanup || npx nuxt cleanup) && pnpx rimraf .nuxt .output dist node_modules .data",
72
72
  "clean:install": "pnpm run cleanup && pnpm run docs:cleanup && pnpm run playground:cleanup && pnpm install",
73
73
  "dev": "pnpm run dev:prepare && nuxi dev playground",
74
74
  "dev:build": "nuxi build playground",