silgi 0.1.2 → 0.1.3

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/cli/index.mjs +20 -6
  2. package/package.json +19 -6
@@ -3,29 +3,42 @@ import consola from 'consola';
3
3
 
4
4
  const name = "silgi";
5
5
  const type = "module";
6
- const version = "0.1.2";
6
+ const version = "0.1.3";
7
7
  const packageManager = "pnpm@9.15.1";
8
8
  const exports = {
9
9
  ".": {
10
10
  "import": {
11
- types: "./dist/index.d.ts",
11
+ types: "./dist/index.d.mts",
12
12
  "default": "./dist/index.mjs"
13
13
  }
14
14
  },
15
15
  "./config": {
16
- types: "./dist/cli/config.d.ts",
16
+ types: "./dist/cli/config.d.mts",
17
17
  "import": "./dist/cli/config.mjs"
18
18
  },
19
19
  "./ecosystem/nitro": {
20
- types: "./dist/ecosystem/nitro/module.d.ts",
20
+ types: "./dist/ecosystem/nitro/module.d.mts",
21
21
  "import": "./dist/ecosystem/nitro/module.mjs"
22
22
  },
23
- "./ecosystem/nitro/module": {
24
- types: "./dist/ecosystem/nitro/module.d.ts",
23
+ "./nuxt": {
24
+ types: "./dist/ecosystem/nitro/module.d.mts",
25
25
  "import": "./dist/ecosystem/nitro/module.mjs"
26
26
  }
27
27
  };
28
28
  const types = "./dist/index.d.ts";
29
+ const typesVersions = {
30
+ "*": {
31
+ "*": [
32
+ "./dist/*"
33
+ ],
34
+ "modules/*": [
35
+ "./dist/modules/*"
36
+ ],
37
+ config: [
38
+ "./dist/cli/config"
39
+ ]
40
+ }
41
+ };
29
42
  const bin = {
30
43
  silgi: "bin/silgi.mjs"
31
44
  };
@@ -96,6 +109,7 @@ const packageJson = {
96
109
  packageManager: packageManager,
97
110
  exports: exports,
98
111
  types: types,
112
+ typesVersions: typesVersions,
99
113
  bin: bin,
100
114
  files: files,
101
115
  scripts: scripts,
package/package.json CHANGED
@@ -1,28 +1,41 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.1.2",
4
+ "version": "0.1.3",
5
5
  "exports": {
6
6
  ".": {
7
7
  "import": {
8
- "types": "./dist/index.d.ts",
8
+ "types": "./dist/index.d.mts",
9
9
  "default": "./dist/index.mjs"
10
10
  }
11
11
  },
12
12
  "./config": {
13
- "types": "./dist/cli/config.d.ts",
13
+ "types": "./dist/cli/config.d.mts",
14
14
  "import": "./dist/cli/config.mjs"
15
15
  },
16
16
  "./ecosystem/nitro": {
17
- "types": "./dist/ecosystem/nitro/module.d.ts",
17
+ "types": "./dist/ecosystem/nitro/module.d.mts",
18
18
  "import": "./dist/ecosystem/nitro/module.mjs"
19
19
  },
20
- "./ecosystem/nitro/module": {
21
- "types": "./dist/ecosystem/nitro/module.d.ts",
20
+ "./nuxt": {
21
+ "types": "./dist/ecosystem/nitro/module.d.mts",
22
22
  "import": "./dist/ecosystem/nitro/module.mjs"
23
23
  }
24
24
  },
25
25
  "types": "./dist/index.d.ts",
26
+ "typesVersions": {
27
+ "*": {
28
+ "*": [
29
+ "./dist/*"
30
+ ],
31
+ "modules/*": [
32
+ "./dist/modules/*"
33
+ ],
34
+ "config": [
35
+ "./dist/cli/config"
36
+ ]
37
+ }
38
+ },
26
39
  "bin": {
27
40
  "silgi": "bin/silgi.mjs"
28
41
  },