silgi 0.27.0 → 0.27.2
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/cli/index.mjs +1 -1
- package/dist/cli/writeTypesAndFiles.mjs +2 -2
- package/dist/presets/_all.gen.mjs +4 -4
- package/dist/presets/_resolve.mjs +1 -1
- package/dist/presets/index.mjs +1 -1
- package/dist/runtime/index.mjs +3 -3
- package/dist/runtime/internal/debug.mjs +1 -1
- package/dist/runtime/internal/index.mjs +6 -6
- package/dist/types/index.d.mts +1 -1
- package/package.json +1 -1
package/dist/cli/index.mjs
CHANGED
|
@@ -189,11 +189,11 @@ async function prepareEnv(silgiConfig) {
|
|
|
189
189
|
label: env.fileName,
|
|
190
190
|
value: env.fileName
|
|
191
191
|
})) : [
|
|
192
|
-
{ label: "Development (.env
|
|
192
|
+
{ label: "Development (.env)", value: ".env" },
|
|
193
193
|
{ label: "Docker (.env.docker)", value: "docker" },
|
|
194
194
|
{ label: "Staging (.env.staging)", value: "staging" },
|
|
195
195
|
{ label: "Testing (.env.testing)", value: "testing" },
|
|
196
|
-
{ label: "Production (.env)", value: "
|
|
196
|
+
{ label: "Production (.env.prod)", value: "prod" }
|
|
197
197
|
]
|
|
198
198
|
});
|
|
199
199
|
const findEnv = customEnvironments?.find((env) => env.fileName === environment);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import _h3
|
|
2
|
-
import _nitro
|
|
3
|
-
import _npmpackage
|
|
4
|
-
import _nuxt
|
|
1
|
+
import _h3 from "./h3/preset.mjs";
|
|
2
|
+
import _nitro from "./nitro/preset.mjs";
|
|
3
|
+
import _npmpackage from "./npmpackage/preset.mjs";
|
|
4
|
+
import _nuxt from "./nuxt/preset.mjs";
|
|
5
5
|
const presets = [
|
|
6
6
|
..._h3,
|
|
7
7
|
..._nitro,
|
package/dist/presets/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { resolvePreset }
|
|
1
|
+
export { resolvePreset } from "./_resolve.mjs";
|
package/dist/runtime/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { initRuntimeConfig, useSilgiRuntimeConfig }
|
|
2
|
-
export { defineSilgiPlugin }
|
|
3
|
-
export { mergeDeep }
|
|
1
|
+
export { initRuntimeConfig, useSilgiRuntimeConfig } from "./internal/config.mjs";
|
|
2
|
+
export { defineSilgiPlugin } from "./internal/plugin.mjs";
|
|
3
|
+
export { mergeDeep } from "./internal/defu.mjs";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
export {
|
|
2
2
|
debugPlugin
|
|
3
|
-
}
|
|
3
|
+
} from "./debug.mjs";
|
|
4
4
|
export {
|
|
5
5
|
mergeDeep
|
|
6
|
-
}
|
|
6
|
+
} from "./defu.mjs";
|
|
7
7
|
export {
|
|
8
8
|
addNitroApp
|
|
9
|
-
}
|
|
9
|
+
} from "./nitro.mjs";
|
|
10
10
|
export {
|
|
11
11
|
useSilgiFetch
|
|
12
|
-
}
|
|
12
|
+
} from "./nuxt.mjs";
|
|
13
13
|
export {
|
|
14
14
|
createSilgiFetch,
|
|
15
15
|
silgi$fetch
|
|
16
|
-
}
|
|
16
|
+
} from "./ofetch.mjs";
|
|
17
17
|
export {
|
|
18
18
|
defineSilgiPlugin,
|
|
19
19
|
silgiPlugin
|
|
20
|
-
}
|
|
20
|
+
} from "./plugin.mjs";
|
package/dist/types/index.d.mts
CHANGED
|
@@ -583,7 +583,7 @@ interface SilgiCLIOptions extends PresetOptions {
|
|
|
583
583
|
commandType: CommandType;
|
|
584
584
|
routeRules: SilgiRouteRules$1;
|
|
585
585
|
environments: DotenvOptions$1[];
|
|
586
|
-
activeEnvironment: string;
|
|
586
|
+
activeEnvironment: 'prod' | 'docker' | 'staging' | 'testing' | '.env' | (string & {});
|
|
587
587
|
envOptions: EnvOptions$1;
|
|
588
588
|
runtimeConfig: SilgiRuntimeConfig$1 & {
|
|
589
589
|
[key: string]: any;
|