silgi 0.19.6 → 0.19.8
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 +3 -3
- package/dist/meta/index.d.mts +3 -3
- package/dist/meta/index.d.ts +3 -3
- package/dist/presets/h3/preset.mjs +9 -0
- package/dist/presets/nitro/preset.mjs +9 -0
- package/dist/presets/nuxt/preset.mjs +9 -0
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +5 -5
package/dist/_chunks/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const version = "0.19.
|
|
1
|
+
const version = "0.19.8";
|
|
2
2
|
const peerDependencies = {
|
|
3
|
-
"@fastify/deepmerge": "^
|
|
3
|
+
"@fastify/deepmerge": "^3.0.0",
|
|
4
4
|
"@nuxt/kit": "^3.15.3",
|
|
5
5
|
"@nuxt/schema": "^3.15.4",
|
|
6
6
|
"@silgi/ecosystem": "^0.2.0",
|
|
7
|
-
h3: "^1.
|
|
7
|
+
h3: "^1.15.1",
|
|
8
8
|
nitropack: "^2.10.4",
|
|
9
9
|
nuxt: "^3.15.3",
|
|
10
10
|
typescript: "^5.7.3",
|
package/dist/meta/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const version = "0.19.
|
|
1
|
+
const version = "0.19.8";
|
|
2
2
|
const peerDependencies = {
|
|
3
|
-
"@fastify/deepmerge": "^
|
|
3
|
+
"@fastify/deepmerge": "^3.0.0",
|
|
4
4
|
"@nuxt/kit": "^3.15.3",
|
|
5
5
|
"@nuxt/schema": "^3.15.4",
|
|
6
6
|
"@silgi/ecosystem": "^0.2.0",
|
|
7
|
-
h3: "^1.
|
|
7
|
+
h3: "^1.15.1",
|
|
8
8
|
nitropack: "^2.10.4",
|
|
9
9
|
nuxt: "^3.15.3",
|
|
10
10
|
typescript: "^5.7.3",
|
package/dist/meta/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const version = "0.19.
|
|
1
|
+
const version = "0.19.8";
|
|
2
2
|
const peerDependencies = {
|
|
3
|
-
"@fastify/deepmerge": "^
|
|
3
|
+
"@fastify/deepmerge": "^3.0.0",
|
|
4
4
|
"@nuxt/kit": "^3.15.3",
|
|
5
5
|
"@nuxt/schema": "^3.15.4",
|
|
6
6
|
"@silgi/ecosystem": "^0.2.0",
|
|
7
|
-
h3: "^1.
|
|
7
|
+
h3: "^1.15.1",
|
|
8
8
|
nitropack: "^2.10.4",
|
|
9
9
|
nuxt: "^3.15.3",
|
|
10
10
|
typescript: "^5.7.3",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineSilgiPreset } from "silgi/kit";
|
|
2
|
+
import { peerDependencies } from "silgi/meta";
|
|
2
3
|
const h3 = defineSilgiPreset(
|
|
3
4
|
{
|
|
4
5
|
static: true,
|
|
@@ -8,6 +9,14 @@ const h3 = defineSilgiPreset(
|
|
|
8
9
|
},
|
|
9
10
|
prerender: {
|
|
10
11
|
crawlLinks: true
|
|
12
|
+
},
|
|
13
|
+
hooks: {
|
|
14
|
+
"prepare:installPackages": async (packages) => {
|
|
15
|
+
packages.dependencies = {
|
|
16
|
+
...packages.dependencies,
|
|
17
|
+
h3: peerDependencies.h3
|
|
18
|
+
};
|
|
19
|
+
}
|
|
11
20
|
}
|
|
12
21
|
},
|
|
13
22
|
{
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineSilgiPreset } from "silgi/kit";
|
|
2
|
+
import { peerDependencies } from "silgi/meta";
|
|
2
3
|
const nitro = defineSilgiPreset(
|
|
3
4
|
{
|
|
4
5
|
static: true,
|
|
@@ -24,6 +25,14 @@ const nitro = defineSilgiPreset(
|
|
|
24
25
|
"!{{ silgi.serverDir }}/**"
|
|
25
26
|
]
|
|
26
27
|
},
|
|
28
|
+
hooks: {
|
|
29
|
+
"prepare:installPackages": async (packages) => {
|
|
30
|
+
packages.dependencies = {
|
|
31
|
+
...packages.dependencies,
|
|
32
|
+
h3: peerDependencies.h3
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
},
|
|
27
36
|
storages: ["data", "/assets"]
|
|
28
37
|
},
|
|
29
38
|
{
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineSilgiPreset } from "silgi/kit";
|
|
2
|
+
import { peerDependencies } from "silgi/meta";
|
|
2
3
|
const nuxt = defineSilgiPreset(
|
|
3
4
|
{
|
|
4
5
|
static: true,
|
|
@@ -25,6 +26,14 @@ const nuxt = defineSilgiPreset(
|
|
|
25
26
|
"!{{ silgi.serverDir }}/**"
|
|
26
27
|
]
|
|
27
28
|
},
|
|
29
|
+
hooks: {
|
|
30
|
+
"prepare:installPackages": async (packages) => {
|
|
31
|
+
packages.dependencies = {
|
|
32
|
+
...packages.dependencies,
|
|
33
|
+
h3: peerDependencies.h3
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
},
|
|
28
37
|
storages: ["data", "/assets"]
|
|
29
38
|
},
|
|
30
39
|
{
|
package/dist/types/index.d.mts
CHANGED
|
@@ -535,7 +535,7 @@ interface SilgiRouterTypes {
|
|
|
535
535
|
type BaseSilgiMethodType = 'post' | 'delete' | 'put' | 'get' | keyof SilgiRuntimeMethods | (string & {});
|
|
536
536
|
interface DefaultHooks {
|
|
537
537
|
}
|
|
538
|
-
type DeepPartial<T> = T extends
|
|
538
|
+
type DeepPartial<T> = T extends (...args: any[]) => any ? T : T extends Record<string, any> ? {
|
|
539
539
|
[P in keyof T]?: DeepPartial<T[P]>;
|
|
540
540
|
} : T;
|
|
541
541
|
type Awaitable<T> = T | Promise<T>;
|
|
@@ -796,7 +796,7 @@ interface SilgiCLIOptions extends PresetOptions {
|
|
|
796
796
|
/**
|
|
797
797
|
* Silgi input config (silgi.config)
|
|
798
798
|
*/
|
|
799
|
-
interface SilgiCLIConfig extends DeepPartial<Omit<SilgiCLIOptions, 'preset' | 'compatibilityDate'>>, C12InputConfig<SilgiCLIConfig>, Partial<SilgiModuleOptions> {
|
|
799
|
+
interface SilgiCLIConfig extends DeepPartial<Omit<SilgiCLIOptions, 'preset' | 'compatibilityDate' | '_config' | '_c12'>>, C12InputConfig<SilgiCLIConfig>, Partial<SilgiModuleOptions> {
|
|
800
800
|
preset?: PresetNameInput;
|
|
801
801
|
extends?: string | string[] | SilgiPreset;
|
|
802
802
|
compatibilityDate?: CompatibilityDateSpec;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -535,7 +535,7 @@ interface SilgiRouterTypes {
|
|
|
535
535
|
type BaseSilgiMethodType = 'post' | 'delete' | 'put' | 'get' | keyof SilgiRuntimeMethods | (string & {});
|
|
536
536
|
interface DefaultHooks {
|
|
537
537
|
}
|
|
538
|
-
type DeepPartial<T> = T extends
|
|
538
|
+
type DeepPartial<T> = T extends (...args: any[]) => any ? T : T extends Record<string, any> ? {
|
|
539
539
|
[P in keyof T]?: DeepPartial<T[P]>;
|
|
540
540
|
} : T;
|
|
541
541
|
type Awaitable<T> = T | Promise<T>;
|
|
@@ -796,7 +796,7 @@ interface SilgiCLIOptions extends PresetOptions {
|
|
|
796
796
|
/**
|
|
797
797
|
* Silgi input config (silgi.config)
|
|
798
798
|
*/
|
|
799
|
-
interface SilgiCLIConfig extends DeepPartial<Omit<SilgiCLIOptions, 'preset' | 'compatibilityDate'>>, C12InputConfig<SilgiCLIConfig>, Partial<SilgiModuleOptions> {
|
|
799
|
+
interface SilgiCLIConfig extends DeepPartial<Omit<SilgiCLIOptions, 'preset' | 'compatibilityDate' | '_config' | '_c12'>>, C12InputConfig<SilgiCLIConfig>, Partial<SilgiModuleOptions> {
|
|
800
800
|
preset?: PresetNameInput;
|
|
801
801
|
extends?: string | string[] | SilgiPreset;
|
|
802
802
|
compatibilityDate?: CompatibilityDateSpec;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "silgi",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.19.
|
|
4
|
+
"version": "0.19.8",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"exports": {
|
|
@@ -76,11 +76,11 @@
|
|
|
76
76
|
"runtime-meta.*"
|
|
77
77
|
],
|
|
78
78
|
"peerDependencies": {
|
|
79
|
-
"@fastify/deepmerge": "^
|
|
79
|
+
"@fastify/deepmerge": "^3.0.0",
|
|
80
80
|
"@nuxt/kit": "^3.15.3",
|
|
81
81
|
"@nuxt/schema": "^3.15.4",
|
|
82
82
|
"@silgi/ecosystem": "^0.2.0",
|
|
83
|
-
"h3": "^1.
|
|
83
|
+
"h3": "^1.15.1",
|
|
84
84
|
"nitropack": "^2.10.4",
|
|
85
85
|
"nuxt": "^3.15.3",
|
|
86
86
|
"typescript": "^5.7.3",
|
|
@@ -112,8 +112,8 @@
|
|
|
112
112
|
},
|
|
113
113
|
"dependencies": {
|
|
114
114
|
"@clack/prompts": "^0.10.0",
|
|
115
|
-
"@fastify/deepmerge": "^
|
|
116
|
-
"@oxc-parser/wasm": "^0.
|
|
115
|
+
"@fastify/deepmerge": "^3.0.0",
|
|
116
|
+
"@oxc-parser/wasm": "^0.57.0",
|
|
117
117
|
"@standard-schema/spec": "^1.0.0",
|
|
118
118
|
"c12": "^3.0.2",
|
|
119
119
|
"chokidar": "^4.0.3",
|