@kimesh/auto-import 0.2.11 → 0.2.12

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.
Files changed (2) hide show
  1. package/dist/index.d.mts +1 -1
  2. package/package.json +12 -12
package/dist/index.d.mts CHANGED
@@ -325,7 +325,7 @@ declare class ConflictResolver {
325
325
  //#region src/script/injector.d.ts
326
326
  interface InjectionResult {
327
327
  code: string;
328
- map: ReturnType<MagicString["generateMap"]>;
328
+ map: ReturnType<MagicString['generateMap']>;
329
329
  count: number;
330
330
  }
331
331
  declare class ImportInjector {
package/package.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "name": "@kimesh/auto-import",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "description": "OXC-powered auto-import system for Kimesh framework with layer support",
5
- "type": "module",
6
5
  "repository": {
7
6
  "type": "git",
8
7
  "url": "https://github.com/kimeshjs/kimesh.git"
9
8
  },
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "type": "module",
13
+ "main": "./dist/index.mjs",
14
+ "types": "./dist/index.d.mts",
10
15
  "exports": {
11
16
  ".": {
12
17
  "types": "./dist/index.d.mts",
13
18
  "import": "./dist/index.mjs"
14
19
  }
15
20
  },
16
- "main": "./dist/index.mjs",
17
- "types": "./dist/index.d.mts",
18
- "files": [
19
- "dist"
20
- ],
21
21
  "scripts": {
22
22
  "build": "tsdown",
23
23
  "dev": "tsdown --watch",
@@ -25,19 +25,19 @@
25
25
  "test": "vitest"
26
26
  },
27
27
  "dependencies": {
28
- "oxc-parser": "^0.108.0",
29
28
  "@vue/compiler-sfc": "^3.5.26",
29
+ "consola": "^3.4.2",
30
30
  "magic-string": "^0.30.21",
31
+ "oxc-parser": "^0.108.0",
31
32
  "pathe": "^2.0.3",
32
- "consola": "^3.4.2",
33
33
  "unplugin-vue-components": "^28.7.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^25.0.8",
37
- "typescript": "^5.9.3",
38
37
  "tsdown": "^0.20.0-beta.3",
39
- "vitest": "^4.0.17",
40
- "vite": "^8.0.0-beta.8"
38
+ "typescript": "^5.9.3",
39
+ "vite": "^8.0.0-beta.8",
40
+ "vitest": "^4.0.17"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "vite": "^8.0.0-beta.8"