silgi 0.9.33 → 0.9.35
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/_chunks/index.mjs +50 -50
- package/dist/kit/index.d.mts +1 -5
- package/dist/kit/index.d.ts +1 -5
- package/dist/kit/index.mjs +3 -12
- package/dist/meta/index.d.mts +50 -50
- package/dist/meta/index.d.ts +50 -50
- package/package.json +1 -1
package/dist/_chunks/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const version = "0.9.
|
|
1
|
+
const version = "0.9.35";
|
|
2
2
|
const peerDependencies = {
|
|
3
3
|
"@fastify/deepmerge": "^2.0.2",
|
|
4
4
|
"@nuxt/kit": "^3.15.3",
|
|
@@ -11,57 +11,57 @@ const peerDependencies = {
|
|
|
11
11
|
zod: "^3.24.1"
|
|
12
12
|
};
|
|
13
13
|
const dependencies = {
|
|
14
|
-
"@clack/prompts": "
|
|
15
|
-
"@fastify/deepmerge": "
|
|
16
|
-
"@oxc-parser/wasm": "
|
|
17
|
-
"@standard-schema/spec": "
|
|
18
|
-
c12: "
|
|
19
|
-
chokidar: "
|
|
20
|
-
citty: "
|
|
21
|
-
compatx: "
|
|
22
|
-
consola: "
|
|
23
|
-
defu: "
|
|
24
|
-
destr: "
|
|
25
|
-
"dev-jiti": "
|
|
26
|
-
"dot-prop": "
|
|
27
|
-
dotenv: "
|
|
28
|
-
"escape-string-regexp": "
|
|
29
|
-
globby: "
|
|
30
|
-
hookable: "
|
|
31
|
-
ignore: "
|
|
32
|
-
klona: "
|
|
33
|
-
knitwork: "
|
|
34
|
-
mlly: "
|
|
35
|
-
ofetch: "
|
|
36
|
-
ohash: "
|
|
37
|
-
pathe: "
|
|
38
|
-
picocolors: "
|
|
39
|
-
"pkg-types": "
|
|
40
|
-
scule: "
|
|
41
|
-
semver: "
|
|
42
|
-
"std-env": "
|
|
43
|
-
ufo: "
|
|
44
|
-
unctx: "
|
|
45
|
-
unimport: "
|
|
46
|
-
unstorage: "
|
|
47
|
-
untyped: "
|
|
14
|
+
"@clack/prompts": "catalog:",
|
|
15
|
+
"@fastify/deepmerge": "catalog:",
|
|
16
|
+
"@oxc-parser/wasm": "catalog:",
|
|
17
|
+
"@standard-schema/spec": "catalog:",
|
|
18
|
+
c12: "catalog:",
|
|
19
|
+
chokidar: "catalog:",
|
|
20
|
+
citty: "catalog:",
|
|
21
|
+
compatx: "catalog:",
|
|
22
|
+
consola: "catalog:",
|
|
23
|
+
defu: "catalog:",
|
|
24
|
+
destr: "catalog:",
|
|
25
|
+
"dev-jiti": "catalog:",
|
|
26
|
+
"dot-prop": "catalog:",
|
|
27
|
+
dotenv: "catalog:",
|
|
28
|
+
"escape-string-regexp": "catalog:",
|
|
29
|
+
globby: "catalog:",
|
|
30
|
+
hookable: "catalog:",
|
|
31
|
+
ignore: "catalog:",
|
|
32
|
+
klona: "catalog:",
|
|
33
|
+
knitwork: "catalog:",
|
|
34
|
+
mlly: "catalog:",
|
|
35
|
+
ofetch: "catalog:",
|
|
36
|
+
ohash: "catalog:",
|
|
37
|
+
pathe: "catalog:",
|
|
38
|
+
picocolors: "catalog:",
|
|
39
|
+
"pkg-types": "catalog:",
|
|
40
|
+
scule: "catalog:",
|
|
41
|
+
semver: "catalog:",
|
|
42
|
+
"std-env": "catalog:",
|
|
43
|
+
ufo: "catalog:",
|
|
44
|
+
unctx: "catalog:",
|
|
45
|
+
unimport: "catalog:",
|
|
46
|
+
unstorage: "catalog:",
|
|
47
|
+
untyped: "catalog:"
|
|
48
48
|
};
|
|
49
49
|
const devDependencies = {
|
|
50
|
-
"@antfu/eslint-config": "
|
|
51
|
-
"@nuxt/kit": "
|
|
52
|
-
"@nuxt/schema": "
|
|
53
|
-
"@types/node": "
|
|
54
|
-
"@types/semver": "
|
|
55
|
-
"@vitest/coverage-v8": "
|
|
56
|
-
eslint: "
|
|
57
|
-
h3: "
|
|
58
|
-
nitropack: "
|
|
59
|
-
nuxt: "
|
|
60
|
-
typescript: "
|
|
61
|
-
unbuild: "
|
|
62
|
-
vitest: "
|
|
63
|
-
vue: "
|
|
64
|
-
zod: "
|
|
50
|
+
"@antfu/eslint-config": "catalog:",
|
|
51
|
+
"@nuxt/kit": "catalog:",
|
|
52
|
+
"@nuxt/schema": "catalog:",
|
|
53
|
+
"@types/node": "catalog:",
|
|
54
|
+
"@types/semver": "catalog:",
|
|
55
|
+
"@vitest/coverage-v8": "catalog:",
|
|
56
|
+
eslint: "catalog:",
|
|
57
|
+
h3: "catalog:",
|
|
58
|
+
nitropack: "catalog:",
|
|
59
|
+
nuxt: "catalog:",
|
|
60
|
+
typescript: "catalog:",
|
|
61
|
+
unbuild: "catalog:",
|
|
62
|
+
vitest: "catalog:",
|
|
63
|
+
vue: "catalog:",
|
|
64
|
+
zod: "catalog:"
|
|
65
65
|
};
|
|
66
66
|
const packageJson = {
|
|
67
67
|
version: version};
|
package/dist/kit/index.d.mts
CHANGED
|
@@ -14,11 +14,7 @@ declare function tryResolveModule(id: string, url?: string | string[]): Promise<
|
|
|
14
14
|
declare function writeFile(file: string, contents: Buffer | string, log?: boolean): Promise<void>;
|
|
15
15
|
declare function isDirectory(path: string): Promise<boolean>;
|
|
16
16
|
|
|
17
|
-
declare function hash(data: any
|
|
18
|
-
camelCase?: boolean;
|
|
19
|
-
snakeCase?: boolean;
|
|
20
|
-
flatCase?: boolean;
|
|
21
|
-
}): string;
|
|
17
|
+
declare function hash(data: any): string;
|
|
22
18
|
|
|
23
19
|
declare function isNuxt(): boolean;
|
|
24
20
|
declare function isNitro(): boolean;
|
package/dist/kit/index.d.ts
CHANGED
|
@@ -14,11 +14,7 @@ declare function tryResolveModule(id: string, url?: string | string[]): Promise<
|
|
|
14
14
|
declare function writeFile(file: string, contents: Buffer | string, log?: boolean): Promise<void>;
|
|
15
15
|
declare function isDirectory(path: string): Promise<boolean>;
|
|
16
16
|
|
|
17
|
-
declare function hash(data: any
|
|
18
|
-
camelCase?: boolean;
|
|
19
|
-
snakeCase?: boolean;
|
|
20
|
-
flatCase?: boolean;
|
|
21
|
-
}): string;
|
|
17
|
+
declare function hash(data: any): string;
|
|
22
18
|
|
|
23
19
|
declare function isNuxt(): boolean;
|
|
24
20
|
declare function isNitro(): boolean;
|
package/dist/kit/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { relative, resolve, dirname, normalize, isAbsolute, join, parse, basenam
|
|
|
5
5
|
import { colors } from 'consola/utils';
|
|
6
6
|
import { getProperty } from 'dot-prop';
|
|
7
7
|
import { hash as hash$1 } from 'ohash';
|
|
8
|
-
import { camelCase, snakeCase
|
|
8
|
+
import { camelCase, snakeCase } from 'scule';
|
|
9
9
|
import { useSilgi, tryUseSilgiCLI, useSilgiCLI, tryUseSilgi } from 'silgi/core';
|
|
10
10
|
import { defu } from 'defu';
|
|
11
11
|
import { c as checkSilgiCompatibility } from '../cli/compatibility.mjs';
|
|
@@ -72,17 +72,8 @@ async function isDirectory$1(path) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
function hash(data
|
|
76
|
-
|
|
77
|
-
return camelCase(hash$1(data));
|
|
78
|
-
}
|
|
79
|
-
if (type?.snakeCase) {
|
|
80
|
-
return snakeCase(hash$1(data));
|
|
81
|
-
}
|
|
82
|
-
if (type?.flatCase) {
|
|
83
|
-
return flatCase(hash$1(data));
|
|
84
|
-
}
|
|
85
|
-
return flatCase(hash$1(data));
|
|
75
|
+
function hash(data) {
|
|
76
|
+
return camelCase(hash$1(data));
|
|
86
77
|
}
|
|
87
78
|
|
|
88
79
|
function isNuxt() {
|
package/dist/meta/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const version = "0.9.
|
|
1
|
+
const version = "0.9.35";
|
|
2
2
|
const peerDependencies = {
|
|
3
3
|
"@fastify/deepmerge": "^2.0.2",
|
|
4
4
|
"@nuxt/kit": "^3.15.3",
|
|
@@ -11,57 +11,57 @@ const peerDependencies = {
|
|
|
11
11
|
zod: "^3.24.1"
|
|
12
12
|
};
|
|
13
13
|
const dependencies = {
|
|
14
|
-
"@clack/prompts": "
|
|
15
|
-
"@fastify/deepmerge": "
|
|
16
|
-
"@oxc-parser/wasm": "
|
|
17
|
-
"@standard-schema/spec": "
|
|
18
|
-
c12: "
|
|
19
|
-
chokidar: "
|
|
20
|
-
citty: "
|
|
21
|
-
compatx: "
|
|
22
|
-
consola: "
|
|
23
|
-
defu: "
|
|
24
|
-
destr: "
|
|
25
|
-
"dev-jiti": "
|
|
26
|
-
"dot-prop": "
|
|
27
|
-
dotenv: "
|
|
28
|
-
"escape-string-regexp": "
|
|
29
|
-
globby: "
|
|
30
|
-
hookable: "
|
|
31
|
-
ignore: "
|
|
32
|
-
klona: "
|
|
33
|
-
knitwork: "
|
|
34
|
-
mlly: "
|
|
35
|
-
ofetch: "
|
|
36
|
-
ohash: "
|
|
37
|
-
pathe: "
|
|
38
|
-
picocolors: "
|
|
39
|
-
"pkg-types": "
|
|
40
|
-
scule: "
|
|
41
|
-
semver: "
|
|
42
|
-
"std-env": "
|
|
43
|
-
ufo: "
|
|
44
|
-
unctx: "
|
|
45
|
-
unimport: "
|
|
46
|
-
unstorage: "
|
|
47
|
-
untyped: "
|
|
14
|
+
"@clack/prompts": "catalog:",
|
|
15
|
+
"@fastify/deepmerge": "catalog:",
|
|
16
|
+
"@oxc-parser/wasm": "catalog:",
|
|
17
|
+
"@standard-schema/spec": "catalog:",
|
|
18
|
+
c12: "catalog:",
|
|
19
|
+
chokidar: "catalog:",
|
|
20
|
+
citty: "catalog:",
|
|
21
|
+
compatx: "catalog:",
|
|
22
|
+
consola: "catalog:",
|
|
23
|
+
defu: "catalog:",
|
|
24
|
+
destr: "catalog:",
|
|
25
|
+
"dev-jiti": "catalog:",
|
|
26
|
+
"dot-prop": "catalog:",
|
|
27
|
+
dotenv: "catalog:",
|
|
28
|
+
"escape-string-regexp": "catalog:",
|
|
29
|
+
globby: "catalog:",
|
|
30
|
+
hookable: "catalog:",
|
|
31
|
+
ignore: "catalog:",
|
|
32
|
+
klona: "catalog:",
|
|
33
|
+
knitwork: "catalog:",
|
|
34
|
+
mlly: "catalog:",
|
|
35
|
+
ofetch: "catalog:",
|
|
36
|
+
ohash: "catalog:",
|
|
37
|
+
pathe: "catalog:",
|
|
38
|
+
picocolors: "catalog:",
|
|
39
|
+
"pkg-types": "catalog:",
|
|
40
|
+
scule: "catalog:",
|
|
41
|
+
semver: "catalog:",
|
|
42
|
+
"std-env": "catalog:",
|
|
43
|
+
ufo: "catalog:",
|
|
44
|
+
unctx: "catalog:",
|
|
45
|
+
unimport: "catalog:",
|
|
46
|
+
unstorage: "catalog:",
|
|
47
|
+
untyped: "catalog:"
|
|
48
48
|
};
|
|
49
49
|
const devDependencies = {
|
|
50
|
-
"@antfu/eslint-config": "
|
|
51
|
-
"@nuxt/kit": "
|
|
52
|
-
"@nuxt/schema": "
|
|
53
|
-
"@types/node": "
|
|
54
|
-
"@types/semver": "
|
|
55
|
-
"@vitest/coverage-v8": "
|
|
56
|
-
eslint: "
|
|
57
|
-
h3: "
|
|
58
|
-
nitropack: "
|
|
59
|
-
nuxt: "
|
|
60
|
-
typescript: "
|
|
61
|
-
unbuild: "
|
|
62
|
-
vitest: "
|
|
63
|
-
vue: "
|
|
64
|
-
zod: "
|
|
50
|
+
"@antfu/eslint-config": "catalog:",
|
|
51
|
+
"@nuxt/kit": "catalog:",
|
|
52
|
+
"@nuxt/schema": "catalog:",
|
|
53
|
+
"@types/node": "catalog:",
|
|
54
|
+
"@types/semver": "catalog:",
|
|
55
|
+
"@vitest/coverage-v8": "catalog:",
|
|
56
|
+
eslint: "catalog:",
|
|
57
|
+
h3: "catalog:",
|
|
58
|
+
nitropack: "catalog:",
|
|
59
|
+
nuxt: "catalog:",
|
|
60
|
+
typescript: "catalog:",
|
|
61
|
+
unbuild: "catalog:",
|
|
62
|
+
vitest: "catalog:",
|
|
63
|
+
vue: "catalog:",
|
|
64
|
+
zod: "catalog:"
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
export { dependencies, devDependencies, peerDependencies, version };
|
package/dist/meta/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const version = "0.9.
|
|
1
|
+
const version = "0.9.35";
|
|
2
2
|
const peerDependencies = {
|
|
3
3
|
"@fastify/deepmerge": "^2.0.2",
|
|
4
4
|
"@nuxt/kit": "^3.15.3",
|
|
@@ -11,57 +11,57 @@ const peerDependencies = {
|
|
|
11
11
|
zod: "^3.24.1"
|
|
12
12
|
};
|
|
13
13
|
const dependencies = {
|
|
14
|
-
"@clack/prompts": "
|
|
15
|
-
"@fastify/deepmerge": "
|
|
16
|
-
"@oxc-parser/wasm": "
|
|
17
|
-
"@standard-schema/spec": "
|
|
18
|
-
c12: "
|
|
19
|
-
chokidar: "
|
|
20
|
-
citty: "
|
|
21
|
-
compatx: "
|
|
22
|
-
consola: "
|
|
23
|
-
defu: "
|
|
24
|
-
destr: "
|
|
25
|
-
"dev-jiti": "
|
|
26
|
-
"dot-prop": "
|
|
27
|
-
dotenv: "
|
|
28
|
-
"escape-string-regexp": "
|
|
29
|
-
globby: "
|
|
30
|
-
hookable: "
|
|
31
|
-
ignore: "
|
|
32
|
-
klona: "
|
|
33
|
-
knitwork: "
|
|
34
|
-
mlly: "
|
|
35
|
-
ofetch: "
|
|
36
|
-
ohash: "
|
|
37
|
-
pathe: "
|
|
38
|
-
picocolors: "
|
|
39
|
-
"pkg-types": "
|
|
40
|
-
scule: "
|
|
41
|
-
semver: "
|
|
42
|
-
"std-env": "
|
|
43
|
-
ufo: "
|
|
44
|
-
unctx: "
|
|
45
|
-
unimport: "
|
|
46
|
-
unstorage: "
|
|
47
|
-
untyped: "
|
|
14
|
+
"@clack/prompts": "catalog:",
|
|
15
|
+
"@fastify/deepmerge": "catalog:",
|
|
16
|
+
"@oxc-parser/wasm": "catalog:",
|
|
17
|
+
"@standard-schema/spec": "catalog:",
|
|
18
|
+
c12: "catalog:",
|
|
19
|
+
chokidar: "catalog:",
|
|
20
|
+
citty: "catalog:",
|
|
21
|
+
compatx: "catalog:",
|
|
22
|
+
consola: "catalog:",
|
|
23
|
+
defu: "catalog:",
|
|
24
|
+
destr: "catalog:",
|
|
25
|
+
"dev-jiti": "catalog:",
|
|
26
|
+
"dot-prop": "catalog:",
|
|
27
|
+
dotenv: "catalog:",
|
|
28
|
+
"escape-string-regexp": "catalog:",
|
|
29
|
+
globby: "catalog:",
|
|
30
|
+
hookable: "catalog:",
|
|
31
|
+
ignore: "catalog:",
|
|
32
|
+
klona: "catalog:",
|
|
33
|
+
knitwork: "catalog:",
|
|
34
|
+
mlly: "catalog:",
|
|
35
|
+
ofetch: "catalog:",
|
|
36
|
+
ohash: "catalog:",
|
|
37
|
+
pathe: "catalog:",
|
|
38
|
+
picocolors: "catalog:",
|
|
39
|
+
"pkg-types": "catalog:",
|
|
40
|
+
scule: "catalog:",
|
|
41
|
+
semver: "catalog:",
|
|
42
|
+
"std-env": "catalog:",
|
|
43
|
+
ufo: "catalog:",
|
|
44
|
+
unctx: "catalog:",
|
|
45
|
+
unimport: "catalog:",
|
|
46
|
+
unstorage: "catalog:",
|
|
47
|
+
untyped: "catalog:"
|
|
48
48
|
};
|
|
49
49
|
const devDependencies = {
|
|
50
|
-
"@antfu/eslint-config": "
|
|
51
|
-
"@nuxt/kit": "
|
|
52
|
-
"@nuxt/schema": "
|
|
53
|
-
"@types/node": "
|
|
54
|
-
"@types/semver": "
|
|
55
|
-
"@vitest/coverage-v8": "
|
|
56
|
-
eslint: "
|
|
57
|
-
h3: "
|
|
58
|
-
nitropack: "
|
|
59
|
-
nuxt: "
|
|
60
|
-
typescript: "
|
|
61
|
-
unbuild: "
|
|
62
|
-
vitest: "
|
|
63
|
-
vue: "
|
|
64
|
-
zod: "
|
|
50
|
+
"@antfu/eslint-config": "catalog:",
|
|
51
|
+
"@nuxt/kit": "catalog:",
|
|
52
|
+
"@nuxt/schema": "catalog:",
|
|
53
|
+
"@types/node": "catalog:",
|
|
54
|
+
"@types/semver": "catalog:",
|
|
55
|
+
"@vitest/coverage-v8": "catalog:",
|
|
56
|
+
eslint: "catalog:",
|
|
57
|
+
h3: "catalog:",
|
|
58
|
+
nitropack: "catalog:",
|
|
59
|
+
nuxt: "catalog:",
|
|
60
|
+
typescript: "catalog:",
|
|
61
|
+
unbuild: "catalog:",
|
|
62
|
+
vitest: "catalog:",
|
|
63
|
+
vue: "catalog:",
|
|
64
|
+
zod: "catalog:"
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
export { dependencies, devDependencies, peerDependencies, version };
|