@vite-hub/env 0.0.0 → 0.0.1

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.
@@ -0,0 +1,26 @@
1
+ import { i as EnvIntegrationOptions, o as EnvNitroConfigOptions } from "./types-DnbiD9KN.js";
2
+ import { t as env } from "./declarations-DIq2gG-8.js";
3
+ import { openWorkflowEnv } from "./presets.js";
4
+ import { NitroModule } from "nitro/types";
5
+
6
+ //#region src/nitro/module.d.ts
7
+ interface EnvNitroIntegrationOptions extends EnvIntegrationOptions {
8
+ env?: EnvNitroConfigOptions;
9
+ }
10
+ declare function envNitro(options?: EnvNitroIntegrationOptions): NitroModule;
11
+ declare const nitroModule: NitroModule;
12
+ declare module "nitro/types" {
13
+ interface NitroConfig {
14
+ env?: EnvNitroConfigOptions;
15
+ }
16
+ interface NitroOptions {
17
+ env?: EnvNitroConfigOptions;
18
+ }
19
+ }
20
+ declare module "nitro/vite" {
21
+ interface NitroPluginConfig {
22
+ env?: EnvNitroConfigOptions;
23
+ }
24
+ }
25
+ //#endregion
26
+ export { EnvNitroIntegrationOptions, nitroModule as default, env, envNitro, openWorkflowEnv };
package/dist/nitro.js ADDED
@@ -0,0 +1,4 @@
1
+ import { n as env } from "./declarations-DgJVnQyx.js";
2
+ import { openWorkflowEnv } from "./presets.js";
3
+ import { n as nitroModule, t as envNitro } from "./module-C74wPcKe.js";
4
+ export { nitroModule as default, env, envNitro, openWorkflowEnv };