nitropack-nightly 2.11.9-20250403-221607.4a31f6ca → 2.11.9-20250403-225743.861eb65f
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/core/index.mjs +1 -1
- package/dist/kit/index.d.mts +1 -1
- package/dist/kit/index.d.ts +1 -1
- package/dist/meta/index.d.mts +1 -1
- package/dist/meta/index.d.ts +1 -1
- package/dist/meta/index.mjs +1 -1
- package/dist/presets/cloudflare/preset.mjs +1 -0
- package/dist/shared/{nitro.BpdzOEKS.d.mts → nitro.BULiwDWR.d.mts} +2 -1
- package/dist/shared/{nitro.BpdzOEKS.d.ts → nitro.BULiwDWR.d.ts} +2 -1
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +2 -2
package/dist/core/index.mjs
CHANGED
|
@@ -788,7 +788,7 @@ async function _loadUserConfig(configOverrides = {}, opts = {}) {
|
|
|
788
788
|
const loadedConfig = await (opts.watch ? watchConfig : loadConfig)({
|
|
789
789
|
name: "nitro",
|
|
790
790
|
cwd: configOverrides.rootDir,
|
|
791
|
-
dotenv: configOverrides.dev,
|
|
791
|
+
dotenv: opts.dotenv ?? configOverrides.dev,
|
|
792
792
|
extend: { extendKey: ["extends", "preset"] },
|
|
793
793
|
overrides: {
|
|
794
794
|
...configOverrides,
|
package/dist/kit/index.d.mts
CHANGED
package/dist/kit/index.d.ts
CHANGED
package/dist/meta/index.d.mts
CHANGED
package/dist/meta/index.d.ts
CHANGED
package/dist/meta/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { PresetName, PresetOptions, PresetNameInput } from 'nitropack/presets';
|
|
|
5
5
|
import { Unimport } from 'unimport';
|
|
6
6
|
import { BuiltinDriverName, Storage } from 'unstorage';
|
|
7
7
|
import { RollupCommonJSOptions } from '@rollup/plugin-commonjs';
|
|
8
|
-
import { C12InputConfig, ResolvedConfig, ConfigWatcher, WatchConfigOptions } from 'c12';
|
|
8
|
+
import { C12InputConfig, ResolvedConfig, ConfigWatcher, WatchConfigOptions, DotenvOptions } from 'c12';
|
|
9
9
|
import { FSWatcher, ChokidarOptions } from 'chokidar';
|
|
10
10
|
import { DateString, CompatibilityDateSpec, CompatibilityDates } from 'compatx';
|
|
11
11
|
import { ConnectorName } from 'db0';
|
|
@@ -1165,6 +1165,7 @@ interface LoadConfigOptions {
|
|
|
1165
1165
|
watch?: boolean;
|
|
1166
1166
|
c12?: WatchConfigOptions;
|
|
1167
1167
|
compatibilityDate?: CompatibilityDateSpec;
|
|
1168
|
+
dotenv?: boolean | DotenvOptions;
|
|
1168
1169
|
}
|
|
1169
1170
|
interface AppConfig {
|
|
1170
1171
|
[key: string]: any;
|
|
@@ -5,7 +5,7 @@ import { PresetName, PresetOptions, PresetNameInput } from 'nitropack/presets';
|
|
|
5
5
|
import { Unimport } from 'unimport';
|
|
6
6
|
import { BuiltinDriverName, Storage } from 'unstorage';
|
|
7
7
|
import { RollupCommonJSOptions } from '@rollup/plugin-commonjs';
|
|
8
|
-
import { C12InputConfig, ResolvedConfig, ConfigWatcher, WatchConfigOptions } from 'c12';
|
|
8
|
+
import { C12InputConfig, ResolvedConfig, ConfigWatcher, WatchConfigOptions, DotenvOptions } from 'c12';
|
|
9
9
|
import { FSWatcher, ChokidarOptions } from 'chokidar';
|
|
10
10
|
import { DateString, CompatibilityDateSpec, CompatibilityDates } from 'compatx';
|
|
11
11
|
import { ConnectorName } from 'db0';
|
|
@@ -1165,6 +1165,7 @@ interface LoadConfigOptions {
|
|
|
1165
1165
|
watch?: boolean;
|
|
1166
1166
|
c12?: WatchConfigOptions;
|
|
1167
1167
|
compatibilityDate?: CompatibilityDateSpec;
|
|
1168
|
+
dotenv?: boolean | DotenvOptions;
|
|
1168
1169
|
}
|
|
1169
1170
|
interface AppConfig {
|
|
1170
1171
|
[key: string]: any;
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { App, Router, H3Event, RouterMethod } from 'h3';
|
|
2
2
|
import { FetchRequest, FetchOptions, FetchResponse } from 'ofetch';
|
|
3
|
-
import { a as NitroOptions, b as NitroConfig, N as NitroModule } from '../shared/nitro.
|
|
4
|
-
export { A as AppConfig, C as CacheEntry, c as CacheOptions, d as CachedEventHandlerOptions, e as CompressOptions, g as DatabaseConnectionConfig, h as DatabaseConnectionConfigs, D as DatabaseConnectionName, l as DevServerOptions, I as EsbuildOptions, O as HTTPStatusCode, L as LoadConfigOptions, u as Nitro, y as NitroBuildInfo, q as NitroDevEventHandler, n as NitroDevServer, v as NitroDynamicConfig, r as NitroErrorHandler, p as NitroEventHandler, x as NitroFrameworkInfo, s as NitroHooks, t as NitroModuleInput, k as NitroOpenAPIConfig, E as NitroPreset, F as NitroPresetMeta, Q as NitroRouteConfig, o as NitroRouteMeta, T as NitroRouteRules, j as NitroRuntimeConfig, i as NitroRuntimeConfigApp, w as NitroTypes, m as NitroWorker, J as NodeExternalsOptions, B as PrerenderGenerateRoute, z as PrerenderRoute, P as PublicAssetDir, M as RawOptions, R as ResponseCacheEntry, G as RollupConfig, H as RollupVirtualOptions, S as ServerAssetDir, K as ServerAssetOptions, f as StorageMounts, V as VirtualModule } from '../shared/nitro.
|
|
3
|
+
import { a as NitroOptions, b as NitroConfig, N as NitroModule } from '../shared/nitro.BULiwDWR.mjs';
|
|
4
|
+
export { A as AppConfig, C as CacheEntry, c as CacheOptions, d as CachedEventHandlerOptions, e as CompressOptions, g as DatabaseConnectionConfig, h as DatabaseConnectionConfigs, D as DatabaseConnectionName, l as DevServerOptions, I as EsbuildOptions, O as HTTPStatusCode, L as LoadConfigOptions, u as Nitro, y as NitroBuildInfo, q as NitroDevEventHandler, n as NitroDevServer, v as NitroDynamicConfig, r as NitroErrorHandler, p as NitroEventHandler, x as NitroFrameworkInfo, s as NitroHooks, t as NitroModuleInput, k as NitroOpenAPIConfig, E as NitroPreset, F as NitroPresetMeta, Q as NitroRouteConfig, o as NitroRouteMeta, T as NitroRouteRules, j as NitroRuntimeConfig, i as NitroRuntimeConfigApp, w as NitroTypes, m as NitroWorker, J as NodeExternalsOptions, B as PrerenderGenerateRoute, z as PrerenderRoute, P as PublicAssetDir, M as RawOptions, R as ResponseCacheEntry, G as RollupConfig, H as RollupVirtualOptions, S as ServerAssetDir, K as ServerAssetOptions, f as StorageMounts, V as VirtualModule } from '../shared/nitro.BULiwDWR.mjs';
|
|
5
5
|
import { Hookable } from 'hookable';
|
|
6
6
|
import { NitroRuntimeHooks as NitroRuntimeHooks$1 } from 'nitropack';
|
|
7
7
|
import { AbstractRequest, AbstractResponse } from 'node-mock-http';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { App, Router, H3Event, RouterMethod } from 'h3';
|
|
2
2
|
import { FetchRequest, FetchOptions, FetchResponse } from 'ofetch';
|
|
3
|
-
import { a as NitroOptions, b as NitroConfig, N as NitroModule } from '../shared/nitro.
|
|
4
|
-
export { A as AppConfig, C as CacheEntry, c as CacheOptions, d as CachedEventHandlerOptions, e as CompressOptions, g as DatabaseConnectionConfig, h as DatabaseConnectionConfigs, D as DatabaseConnectionName, l as DevServerOptions, I as EsbuildOptions, O as HTTPStatusCode, L as LoadConfigOptions, u as Nitro, y as NitroBuildInfo, q as NitroDevEventHandler, n as NitroDevServer, v as NitroDynamicConfig, r as NitroErrorHandler, p as NitroEventHandler, x as NitroFrameworkInfo, s as NitroHooks, t as NitroModuleInput, k as NitroOpenAPIConfig, E as NitroPreset, F as NitroPresetMeta, Q as NitroRouteConfig, o as NitroRouteMeta, T as NitroRouteRules, j as NitroRuntimeConfig, i as NitroRuntimeConfigApp, w as NitroTypes, m as NitroWorker, J as NodeExternalsOptions, B as PrerenderGenerateRoute, z as PrerenderRoute, P as PublicAssetDir, M as RawOptions, R as ResponseCacheEntry, G as RollupConfig, H as RollupVirtualOptions, S as ServerAssetDir, K as ServerAssetOptions, f as StorageMounts, V as VirtualModule } from '../shared/nitro.
|
|
3
|
+
import { a as NitroOptions, b as NitroConfig, N as NitroModule } from '../shared/nitro.BULiwDWR.js';
|
|
4
|
+
export { A as AppConfig, C as CacheEntry, c as CacheOptions, d as CachedEventHandlerOptions, e as CompressOptions, g as DatabaseConnectionConfig, h as DatabaseConnectionConfigs, D as DatabaseConnectionName, l as DevServerOptions, I as EsbuildOptions, O as HTTPStatusCode, L as LoadConfigOptions, u as Nitro, y as NitroBuildInfo, q as NitroDevEventHandler, n as NitroDevServer, v as NitroDynamicConfig, r as NitroErrorHandler, p as NitroEventHandler, x as NitroFrameworkInfo, s as NitroHooks, t as NitroModuleInput, k as NitroOpenAPIConfig, E as NitroPreset, F as NitroPresetMeta, Q as NitroRouteConfig, o as NitroRouteMeta, T as NitroRouteRules, j as NitroRuntimeConfig, i as NitroRuntimeConfigApp, w as NitroTypes, m as NitroWorker, J as NodeExternalsOptions, B as PrerenderGenerateRoute, z as PrerenderRoute, P as PublicAssetDir, M as RawOptions, R as ResponseCacheEntry, G as RollupConfig, H as RollupVirtualOptions, S as ServerAssetDir, K as ServerAssetOptions, f as StorageMounts, V as VirtualModule } from '../shared/nitro.BULiwDWR.js';
|
|
5
5
|
import { Hookable } from 'hookable';
|
|
6
6
|
import { NitroRuntimeHooks as NitroRuntimeHooks$1 } from 'nitropack';
|
|
7
7
|
import { AbstractRequest, AbstractResponse } from 'node-mock-http';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nitropack-nightly",
|
|
3
|
-
"version": "2.11.9-20250403-
|
|
3
|
+
"version": "2.11.9-20250403-225743.861eb65f",
|
|
4
4
|
"description": "Build and Deploy Universal JavaScript Servers",
|
|
5
5
|
"repository": "nitrojs/nitro",
|
|
6
6
|
"license": "MIT",
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
"serve-placeholder": "^2.0.2",
|
|
157
157
|
"serve-static": "^1.16.2",
|
|
158
158
|
"source-map": "^0.7.4",
|
|
159
|
-
"std-env": "^3.
|
|
159
|
+
"std-env": "^3.9.0",
|
|
160
160
|
"ufo": "^1.5.4",
|
|
161
161
|
"ultrahtml": "^1.5.3",
|
|
162
162
|
"uncrypto": "^0.1.3",
|