@powerlines/plugin-env 0.16.423 → 0.16.424
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/babel/index.cjs +1 -1
- package/dist/babel/plugin.cjs +1 -2
- package/dist/babel/plugin.d.cts +2 -4
- package/dist/babel/plugin.d.cts.map +1 -1
- package/dist/babel/plugin.d.mts +2 -4
- package/dist/babel/plugin.mjs +1 -2
- package/dist/components/docs.cjs +1 -2
- package/dist/components/docs.d.cts +0 -2
- package/dist/components/docs.d.cts.map +1 -1
- package/dist/components/docs.d.mts +0 -2
- package/dist/components/docs.mjs +1 -2
- package/dist/components/env-builtin.cjs +2 -3
- package/dist/components/env-builtin.d.cts +0 -2
- package/dist/components/env-builtin.d.cts.map +1 -1
- package/dist/components/env-builtin.d.mts +0 -2
- package/dist/components/env-builtin.mjs +1 -2
- package/dist/components/index.cjs +2 -2
- package/dist/{env-C6HnpNy5.d.cts → env-D_Rv1Ho3.d.cts} +1 -3
- package/dist/env-D_Rv1Ho3.d.cts.map +1 -0
- package/dist/{env-C6HnpNy5.d.mts → env-D_Rv1Ho3.d.mts} +1 -3
- package/dist/env-D_Rv1Ho3.d.mts.map +1 -0
- package/dist/helpers/automd-generator.cjs +1 -2
- package/dist/helpers/automd-generator.d.cts +0 -2
- package/dist/helpers/automd-generator.d.cts.map +1 -1
- package/dist/helpers/automd-generator.d.mts +0 -2
- package/dist/helpers/automd-generator.mjs +1 -2
- package/dist/helpers/index.cjs +4 -4
- package/dist/helpers/load.cjs +3 -4
- package/dist/helpers/load.d.cts +1 -3
- package/dist/helpers/load.d.cts.map +1 -1
- package/dist/helpers/load.d.mts +1 -3
- package/dist/helpers/load.mjs +1 -2
- package/dist/helpers/schema.cjs +2 -3
- package/dist/helpers/schema.d.cts +1 -3
- package/dist/helpers/schema.d.cts.map +1 -1
- package/dist/helpers/schema.d.mts +1 -3
- package/dist/helpers/schema.mjs +1 -2
- package/dist/helpers/source-file-env.cjs +1 -2
- package/dist/helpers/source-file-env.d.cts +0 -2
- package/dist/helpers/source-file-env.d.cts.map +1 -1
- package/dist/helpers/source-file-env.d.mts +0 -2
- package/dist/helpers/source-file-env.mjs +1 -2
- package/dist/index-CxT8uhoD.d.cts +1 -0
- package/dist/index-DqeAaIgy.d.mts +1 -0
- package/dist/{index-CqmZxgBO.d.mts → index-XhWie1j9.d.mts} +4 -6
- package/dist/index-XhWie1j9.d.mts.map +1 -0
- package/dist/{index-N_SMJR7p.d.cts → index-zrtnqMQn.d.cts} +4 -6
- package/dist/index-zrtnqMQn.d.cts.map +1 -0
- package/dist/index.cjs +9 -10
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +1 -2
- package/dist/{plugin-BkPUgX5Z.d.cts → plugin-Du0dty2t.d.mts} +3 -5
- package/dist/plugin-Du0dty2t.d.mts.map +1 -0
- package/dist/{plugin-DaVohK06.d.mts → plugin-TonlAu72.d.cts} +3 -5
- package/dist/plugin-TonlAu72.d.cts.map +1 -0
- package/dist/{rolldown-runtime-C24Yb2bl.cjs → rolldown-runtime-xuxB8TGW.cjs} +2 -3
- package/dist/schemas/env.cjs +2 -3
- package/dist/schemas/env.d.cts +1 -1
- package/dist/schemas/env.d.mts +1 -1
- package/dist/schemas/env.mjs +1 -2
- package/dist/schemas/index.cjs +1 -1
- package/dist/schemas/index.d.cts +1 -1
- package/dist/schemas/index.d.mts +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/plugin.cjs +2 -3
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.mts +1 -1
- package/dist/types/plugin.mjs +1 -2
- package/package.json +15 -15
- package/dist/env-C6HnpNy5.d.cts.map +0 -1
- package/dist/env-C6HnpNy5.d.mts.map +0 -1
- package/dist/index-BTF5i_WR.d.cts +0 -1
- package/dist/index-CqmZxgBO.d.mts.map +0 -1
- package/dist/index-N_SMJR7p.d.cts.map +0 -1
- package/dist/index-hhwceVTM.d.mts +0 -1
- package/dist/plugin-BkPUgX5Z.d.cts.map +0 -1
- package/dist/plugin-DaVohK06.d.mts.map +0 -1
package/dist/babel/index.cjs
CHANGED
package/dist/babel/plugin.cjs
CHANGED
|
@@ -6,7 +6,7 @@ let _powerlines_plugin_babel_helpers_module_helpers = require("@powerlines/plugi
|
|
|
6
6
|
let _stryke_path_replace = require("@stryke/path/replace");
|
|
7
7
|
let _stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
// src/babel/plugin.ts
|
|
10
10
|
const envBabelPlugin = (0, _powerlines_plugin_babel_helpers_create_plugin.createBabelPlugin)("env", ({ logger, context }) => {
|
|
11
11
|
const config = (0, _power_plant_schema.getProperties)(context.env.config);
|
|
12
12
|
function extractEnv(node, pass, isInjectable = false) {
|
|
@@ -62,5 +62,4 @@ const envBabelPlugin = (0, _powerlines_plugin_babel_helpers_create_plugin.create
|
|
|
62
62
|
} } };
|
|
63
63
|
});
|
|
64
64
|
|
|
65
|
-
//#endregion
|
|
66
65
|
exports.envBabelPlugin = envBabelPlugin;
|
package/dist/babel/plugin.d.cts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-
|
|
2
|
-
import "../index-
|
|
3
|
-
//#region src/babel/plugin.d.ts
|
|
1
|
+
import { r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-TonlAu72.cjs";
|
|
2
|
+
import "../index-zrtnqMQn.cjs";
|
|
4
3
|
declare const envBabelPlugin: import("@powerlines/plugin-babel").DeclareBabelTransformPluginReturn<EnvPluginContext<EnvPluginResolvedConfig>, object>;
|
|
5
|
-
//#endregion
|
|
6
4
|
export { envBabelPlugin };
|
|
7
5
|
//# sourceMappingURL=plugin.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.cts","names":["_$__0.EnvPluginResolvedConfig"],"sources":["../../src/babel/plugin.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.d.cts","names":["_$__0.EnvPluginResolvedConfig"],"sources":["../../src/babel/plugin.ts"],"mappings":";;cAmCa,mDAAc,kCAAA,iBAAdA"}
|
package/dist/babel/plugin.d.mts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-
|
|
2
|
-
import "../index-
|
|
3
|
-
//#region src/babel/plugin.d.ts
|
|
1
|
+
import { r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-Du0dty2t.mjs";
|
|
2
|
+
import "../index-XhWie1j9.mjs";
|
|
4
3
|
declare const envBabelPlugin: import("@powerlines/plugin-babel").DeclareBabelTransformPluginReturn<EnvPluginContext<EnvPluginResolvedConfig>, object>;
|
|
5
|
-
//#endregion
|
|
6
4
|
export { envBabelPlugin };
|
|
7
5
|
//# sourceMappingURL=plugin.d.mts.map
|
package/dist/babel/plugin.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { addImport } from "@powerlines/plugin-babel/helpers/module-helpers";
|
|
|
5
5
|
import { replacePath } from "@stryke/path/replace";
|
|
6
6
|
import { isUndefined } from "@stryke/type-checks/is-undefined";
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
// src/babel/plugin.ts
|
|
9
9
|
const envBabelPlugin = createBabelPlugin("env", ({ logger, context }) => {
|
|
10
10
|
const config = getProperties(context.env.config);
|
|
11
11
|
function extractEnv(node, pass, isInjectable = false) {
|
|
@@ -61,6 +61,5 @@ const envBabelPlugin = createBabelPlugin("env", ({ logger, context }) => {
|
|
|
61
61
|
} } };
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
//#endregion
|
|
65
64
|
export { envBabelPlugin };
|
|
66
65
|
//# sourceMappingURL=plugin.mjs.map
|
package/dist/components/docs.cjs
CHANGED
|
@@ -11,7 +11,7 @@ let _power_plant_alloy_js_markdown_components_markdown_table = require("@power-p
|
|
|
11
11
|
let _power_plant_schema_codegen = require("@power-plant/schema/codegen");
|
|
12
12
|
let _powerlines_plugin_alloy_core_contexts_context = require("@powerlines/plugin-alloy/core/contexts/context");
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
// src/components/docs.tsx
|
|
15
15
|
/**
|
|
16
16
|
* Generates the environment configuration markdown documentation for the Powerlines project.
|
|
17
17
|
*/
|
|
@@ -50,5 +50,4 @@ function EnvDocsFile(props) {
|
|
|
50
50
|
} }));
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
//#endregion
|
|
54
53
|
exports.EnvDocsFile = EnvDocsFile;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { MarkdownFileProps } from "@power-plant/alloy-js/markdown/components/markdown-file";
|
|
2
|
-
//#region src/components/docs.d.ts
|
|
3
2
|
interface EnvDocsFileProps extends Partial<MarkdownFileProps> {
|
|
4
3
|
/**
|
|
5
4
|
* The heading level offset to apply to the generated documentation.
|
|
@@ -15,6 +14,5 @@ interface EnvDocsFileProps extends Partial<MarkdownFileProps> {
|
|
|
15
14
|
* Generates the environment configuration markdown documentation for the Powerlines project.
|
|
16
15
|
*/
|
|
17
16
|
declare function EnvDocsFile(props: EnvDocsFileProps): import("@alloy-js/core").Children;
|
|
18
|
-
//#endregion
|
|
19
17
|
export { EnvDocsFile, EnvDocsFileProps };
|
|
20
18
|
//# sourceMappingURL=docs.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.d.cts","names":[],"sources":["../../src/components/docs.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"docs.d.cts","names":[],"sources":["../../src/components/docs.tsx"],"mappings":";UAiCiB,yBAAyB,QAAQ;;;;;;;;;EAShD;;;;;iBAMc,YAAY,OAAO,4CAAgB"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { MarkdownFileProps } from "@power-plant/alloy-js/markdown/components/markdown-file";
|
|
2
|
-
//#region src/components/docs.d.ts
|
|
3
2
|
interface EnvDocsFileProps extends Partial<MarkdownFileProps> {
|
|
4
3
|
/**
|
|
5
4
|
* The heading level offset to apply to the generated documentation.
|
|
@@ -15,6 +14,5 @@ interface EnvDocsFileProps extends Partial<MarkdownFileProps> {
|
|
|
15
14
|
* Generates the environment configuration markdown documentation for the Powerlines project.
|
|
16
15
|
*/
|
|
17
16
|
declare function EnvDocsFile(props: EnvDocsFileProps): import("@alloy-js/core").Children;
|
|
18
|
-
//#endregion
|
|
19
17
|
export { EnvDocsFile, EnvDocsFileProps };
|
|
20
18
|
//# sourceMappingURL=docs.d.mts.map
|
package/dist/components/docs.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import { MarkdownTable } from "@power-plant/alloy-js/markdown/components/markdow
|
|
|
10
10
|
import { stringifyType } from "@power-plant/schema/codegen";
|
|
11
11
|
import { usePowerlines } from "@powerlines/plugin-alloy/core/contexts/context";
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
// src/components/docs.tsx
|
|
14
14
|
/**
|
|
15
15
|
* Generates the environment configuration markdown documentation for the Powerlines project.
|
|
16
16
|
*/
|
|
@@ -49,6 +49,5 @@ function EnvDocsFile(props) {
|
|
|
49
49
|
} }));
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
//#endregion
|
|
53
52
|
export { EnvDocsFile };
|
|
54
53
|
//# sourceMappingURL=docs.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_helpers_load = require(
|
|
2
|
+
const require_helpers_load = require("../helpers/load.cjs");
|
|
3
3
|
let _power_plant_schema = require("@power-plant/schema");
|
|
4
4
|
let _stryke_type_checks_is_set_object = require("@stryke/type-checks/is-set-object");
|
|
5
5
|
let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
@@ -16,7 +16,7 @@ let _stryke_convert_to_array = require("@stryke/convert/to-array");
|
|
|
16
16
|
let _stryke_helpers_deep_clone = require("@stryke/helpers/deep-clone");
|
|
17
17
|
let _stryke_helpers_get_unique = require("@stryke/helpers/get-unique");
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
// src/components/env-builtin.tsx
|
|
20
20
|
/**
|
|
21
21
|
* Generates the environment configuration typescript definition for the Powerlines project.
|
|
22
22
|
*/
|
|
@@ -490,6 +490,5 @@ function EnvBuiltin(props) {
|
|
|
490
490
|
} }));
|
|
491
491
|
}
|
|
492
492
|
|
|
493
|
-
//#endregion
|
|
494
493
|
exports.EnvBuiltin = EnvBuiltin;
|
|
495
494
|
exports.EnvTypeDefinition = EnvTypeDefinition;
|
|
@@ -2,7 +2,6 @@ import { Children } from "@alloy-js/core";
|
|
|
2
2
|
import { JsonSchemaObject } from "@power-plant/schema";
|
|
3
3
|
import { ComponentProps } from "@power-plant/alloy-js/core/types/components";
|
|
4
4
|
import { BuiltinFileProps } from "@powerlines/plugin-alloy/typescript/components";
|
|
5
|
-
//#region src/components/env-builtin.d.ts
|
|
6
5
|
interface EnvTypeDefinitionProps extends ComponentProps {
|
|
7
6
|
schema: JsonSchemaObject;
|
|
8
7
|
}
|
|
@@ -17,6 +16,5 @@ interface EnvBuiltinProps extends Omit<BuiltinFileProps, "id"> {
|
|
|
17
16
|
* Generates the environment configuration module for the Powerlines project.
|
|
18
17
|
*/
|
|
19
18
|
declare function EnvBuiltin(props: EnvBuiltinProps): Children;
|
|
20
|
-
//#endregion
|
|
21
19
|
export { EnvBuiltin, EnvBuiltinProps, EnvTypeDefinition, EnvTypeDefinitionProps };
|
|
22
20
|
//# sourceMappingURL=env-builtin.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"env-builtin.d.cts","names":[],"sources":["../../src/components/env-builtin.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"env-builtin.d.cts","names":[],"sources":["../../src/components/env-builtin.tsx"],"mappings":";;;;UAmEiB,+BAA+B;EAC9C,QAAQ;;;;;iBAMM,kBAAkB,OAAO,yBAAsB;UA6L9C,wBAAwB,KAAK;EAC5C,gBAAgB;;;;;iBASF,WAAW,OAAO,kBAAe"}
|
|
@@ -2,7 +2,6 @@ import { JsonSchemaObject } from "@power-plant/schema";
|
|
|
2
2
|
import { Children } from "@alloy-js/core";
|
|
3
3
|
import { BuiltinFileProps } from "@powerlines/plugin-alloy/typescript/components";
|
|
4
4
|
import { ComponentProps } from "@power-plant/alloy-js/core/types/components";
|
|
5
|
-
//#region src/components/env-builtin.d.ts
|
|
6
5
|
interface EnvTypeDefinitionProps extends ComponentProps {
|
|
7
6
|
schema: JsonSchemaObject;
|
|
8
7
|
}
|
|
@@ -17,6 +16,5 @@ interface EnvBuiltinProps extends Omit<BuiltinFileProps, "id"> {
|
|
|
17
16
|
* Generates the environment configuration module for the Powerlines project.
|
|
18
17
|
*/
|
|
19
18
|
declare function EnvBuiltin(props: EnvBuiltinProps): Children;
|
|
20
|
-
//#endregion
|
|
21
19
|
export { EnvBuiltin, EnvBuiltinProps, EnvTypeDefinition, EnvTypeDefinitionProps };
|
|
22
20
|
//# sourceMappingURL=env-builtin.d.mts.map
|
|
@@ -15,7 +15,7 @@ import { toArray } from "@stryke/convert/to-array";
|
|
|
15
15
|
import { deepClone } from "@stryke/helpers/deep-clone";
|
|
16
16
|
import { getUnique } from "@stryke/helpers/get-unique";
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
// src/components/env-builtin.tsx
|
|
19
19
|
/**
|
|
20
20
|
* Generates the environment configuration typescript definition for the Powerlines project.
|
|
21
21
|
*/
|
|
@@ -489,6 +489,5 @@ function EnvBuiltin(props) {
|
|
|
489
489
|
} }));
|
|
490
490
|
}
|
|
491
491
|
|
|
492
|
-
//#endregion
|
|
493
492
|
export { EnvBuiltin, EnvTypeDefinition };
|
|
494
493
|
//# sourceMappingURL=env-builtin.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_components_docs = require(
|
|
3
|
-
const require_components_env_builtin = require(
|
|
2
|
+
const require_components_docs = require("./docs.cjs");
|
|
3
|
+
const require_components_env_builtin = require("./env-builtin.cjs");
|
|
4
4
|
|
|
5
5
|
exports.EnvBuiltin = require_components_env_builtin.EnvBuiltin;
|
|
6
6
|
exports.EnvDocsFile = require_components_docs.EnvDocsFile;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
-
//#region src/schemas/env.d.ts
|
|
3
2
|
declare module "zod" {
|
|
4
3
|
interface GlobalMeta {
|
|
5
4
|
/**
|
|
@@ -225,6 +224,5 @@ type Secrets = z.infer<typeof secretsSchema>;
|
|
|
225
224
|
* Input type for {@link secretsSchema}.
|
|
226
225
|
*/
|
|
227
226
|
type SecretsInput = z.input<typeof secretsSchema>;
|
|
228
|
-
//#endregion
|
|
229
227
|
export { LogLevel as a, ModeSchema as c, Runtime as d, RuntimeSchema as f, secretsSchema as g, envSchema as h, EnvInput as i, Platform as l, SecretsInput as m, BooleanOrNumberSchema as n, LogLevelSchema as o, Secrets as p, Env as r, Mode as s, BooleanOrNumber as t, PlatformSchema as u };
|
|
230
|
-
//# sourceMappingURL=env-
|
|
228
|
+
//# sourceMappingURL=env-D_Rv1Ho3.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"env-D_Rv1Ho3.d.cts","names":[],"sources":["../src/schemas/env.ts"],"mappings":";;YAqBY;;;;IAIR;;;;IAKA;;;;IAKA;;;;IAKA;;;;IAKA;;;;IAKA;;;;IAKA;;;;;;cAOS,eAAa,EAAA;;;;;;KACd,UAAU,EAAE,aAAa;;;;cAKxB,gBAAc,EAAA;;;;;KACf,WAAW,EAAE,aAAa;;;;cAKzB,YAAU,EAAA;;;;;KACX,OAAO,EAAE,aAAa;;;;cAKrB,gBAAc,EAAA;;;;;;KACf,WAAW,EAAE,aAAa;;;;cAKzB,uBAAqB,EAAA,mBAAA,EAAA,YAAA,EAAA;KACtB,kBAAkB,EAAE,aAAa;;;;;;;cAQhC,WAAS,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiwBlB,EAAA,KAAA;;;;KAKQ,MAAM,EAAE,aAAa;;;;KAKrB,WAAW,EAAE,aAAa;;;;;;;cAQzB,eAAa,EAAA;;GAWtB,EAAA,KAAA;;;;KAKQ,UAAU,EAAE,aAAa;;;;KAKzB,eAAe,EAAE,aAAa"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
-
//#region src/schemas/env.d.ts
|
|
3
2
|
declare module "zod" {
|
|
4
3
|
interface GlobalMeta {
|
|
5
4
|
/**
|
|
@@ -225,6 +224,5 @@ type Secrets = z.infer<typeof secretsSchema>;
|
|
|
225
224
|
* Input type for {@link secretsSchema}.
|
|
226
225
|
*/
|
|
227
226
|
type SecretsInput = z.input<typeof secretsSchema>;
|
|
228
|
-
//#endregion
|
|
229
227
|
export { LogLevel as a, ModeSchema as c, Runtime as d, RuntimeSchema as f, secretsSchema as g, envSchema as h, EnvInput as i, Platform as l, SecretsInput as m, BooleanOrNumberSchema as n, LogLevelSchema as o, Secrets as p, Env as r, Mode as s, BooleanOrNumber as t, PlatformSchema as u };
|
|
230
|
-
//# sourceMappingURL=env-
|
|
228
|
+
//# sourceMappingURL=env-D_Rv1Ho3.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"env-D_Rv1Ho3.d.mts","names":[],"sources":["../src/schemas/env.ts"],"mappings":""}
|
|
@@ -3,7 +3,7 @@ let _stryke_path_join_paths = require("@stryke/path/join-paths");
|
|
|
3
3
|
let automd = require("automd");
|
|
4
4
|
let powerlines_plugin_utils = require("powerlines/plugin-utils");
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/helpers/automd-generator.ts
|
|
7
7
|
/**
|
|
8
8
|
* AutoMD generator to generate environment variable documentation
|
|
9
9
|
*
|
|
@@ -19,5 +19,4 @@ const env = (context) => (0, automd.defineGenerator)({
|
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
|
|
22
|
-
//#endregion
|
|
23
22
|
exports.env = env;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { UnresolvedContext } from "powerlines";
|
|
2
|
-
//#region src/helpers/automd-generator.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* AutoMD generator to generate environment variable documentation
|
|
5
4
|
*
|
|
@@ -7,6 +6,5 @@ import { UnresolvedContext } from "powerlines";
|
|
|
7
6
|
* @returns The generated documentation content.
|
|
8
7
|
*/
|
|
9
8
|
declare const env: (context: UnresolvedContext) => import("automd").Generator;
|
|
10
|
-
//#endregion
|
|
11
9
|
export { env };
|
|
12
10
|
//# sourceMappingURL=automd-generator.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automd-generator.d.cts","names":[],"sources":["../../src/helpers/automd-generator.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"automd-generator.d.cts","names":[],"sources":["../../src/helpers/automd-generator.ts"],"mappings":";;;;;;;cA6Ba,MAAO,SAAS,uCAAiB"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { UnresolvedContext } from "powerlines";
|
|
2
|
-
//#region src/helpers/automd-generator.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* AutoMD generator to generate environment variable documentation
|
|
5
4
|
*
|
|
@@ -7,6 +6,5 @@ import { UnresolvedContext } from "powerlines";
|
|
|
7
6
|
* @returns The generated documentation content.
|
|
8
7
|
*/
|
|
9
8
|
declare const env: (context: UnresolvedContext) => import("automd").Generator;
|
|
10
|
-
//#endregion
|
|
11
9
|
export { env };
|
|
12
10
|
//# sourceMappingURL=automd-generator.d.mts.map
|
|
@@ -2,7 +2,7 @@ import { joinPaths } from "@stryke/path/join-paths";
|
|
|
2
2
|
import { defineGenerator } from "automd";
|
|
3
3
|
import { getDocsOutputPath } from "powerlines/plugin-utils";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/helpers/automd-generator.ts
|
|
6
6
|
/**
|
|
7
7
|
* AutoMD generator to generate environment variable documentation
|
|
8
8
|
*
|
|
@@ -18,6 +18,5 @@ const env = (context) => defineGenerator({
|
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
//#endregion
|
|
22
21
|
export { env };
|
|
23
22
|
//# sourceMappingURL=automd-generator.mjs.map
|
package/dist/helpers/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_helpers_source_file_env = require(
|
|
3
|
-
const require_helpers_load = require(
|
|
4
|
-
const require_helpers_schema = require(
|
|
5
|
-
const require_helpers_automd_generator = require(
|
|
2
|
+
const require_helpers_source_file_env = require("./source-file-env.cjs");
|
|
3
|
+
const require_helpers_load = require("./load.cjs");
|
|
4
|
+
const require_helpers_schema = require("./schema.cjs");
|
|
5
|
+
const require_helpers_automd_generator = require("./automd-generator.cjs");
|
|
6
6
|
|
|
7
7
|
exports.env = require_helpers_automd_generator.env;
|
|
8
8
|
exports.extractEnv = require_helpers_schema.extractEnv;
|
package/dist/helpers/load.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_rolldown_runtime = require(
|
|
3
|
-
const require_helpers_source_file_env = require(
|
|
2
|
+
const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.cjs");
|
|
3
|
+
const require_helpers_source_file_env = require("./source-file-env.cjs");
|
|
4
4
|
let _power_plant_schema = require("@power-plant/schema");
|
|
5
5
|
let _stryke_type_checks_is_set_object = require("@stryke/type-checks/is-set-object");
|
|
6
6
|
let _storm_software_config_tools_get_config = require("@storm-software/config-tools/get-config");
|
|
@@ -13,7 +13,7 @@ let defu = require("defu");
|
|
|
13
13
|
defu = require_rolldown_runtime.__toESM(defu, 1);
|
|
14
14
|
let powerlines_constants = require("powerlines/constants");
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
// src/helpers/load.ts
|
|
17
17
|
async function loadEnvFiles(options, mode, cwd) {
|
|
18
18
|
let env = await (0, _stryke_env_load_env.loadEnv)(cwd, mode);
|
|
19
19
|
if (options.additionalFiles && options.additionalFiles?.length > 0) {
|
|
@@ -91,6 +91,5 @@ async function loadEnv(context, options = context.config.env) {
|
|
|
91
91
|
return (0, defu.default)(loadEnvFromContext(context, process.env, workspaceConfig), project, workspace, config);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
//#endregion
|
|
95
94
|
exports.loadEnv = loadEnv;
|
|
96
95
|
exports.loadEnvFromContext = loadEnvFromContext;
|
package/dist/helpers/load.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { n as EnvPluginOptions, t as EnvPluginContext } from "../plugin-
|
|
1
|
+
import { n as EnvPluginOptions, t as EnvPluginContext } from "../plugin-TonlAu72.cjs";
|
|
2
2
|
import { WorkspaceConfig } from "powerlines";
|
|
3
3
|
import { DotenvParseOutput } from "@stryke/env/types";
|
|
4
|
-
//#region src/helpers/load.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* Retrieves various dotenv configuration parameters from the context.
|
|
7
6
|
*
|
|
@@ -31,6 +30,5 @@ declare function loadEnvFromContext(context: EnvPluginContext, parsed: DotenvPar
|
|
|
31
30
|
ENVIRONMENT: string;
|
|
32
31
|
};
|
|
33
32
|
declare function loadEnv<TEnv extends DotenvParseOutput = DotenvParseOutput>(context: EnvPluginContext, options?: EnvPluginOptions): Promise<TEnv>;
|
|
34
|
-
//#endregion
|
|
35
33
|
export { loadEnv, loadEnvFromContext };
|
|
36
34
|
//# sourceMappingURL=load.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"load.d.cts","names":[],"sources":["../../src/helpers/load.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"load.d.cts","names":[],"sources":["../../src/helpers/load.ts"],"mappings":";;;;;;;;;;iBAiGgB,mBACd,SAAS,kBACT,QAAQ,mBACR,kBAAkB;;;;;;;;;;;;;;;;;;;;;iBA4DE,QACpB,aAAa,oBAAoB,mBAEjC,SAAS,kBACT,UAAS,mBACR,QAAQ"}
|
package/dist/helpers/load.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { n as EnvPluginOptions, t as EnvPluginContext } from "../plugin-
|
|
1
|
+
import { n as EnvPluginOptions, t as EnvPluginContext } from "../plugin-Du0dty2t.mjs";
|
|
2
2
|
import { DotenvParseOutput } from "@stryke/env/types";
|
|
3
3
|
import { WorkspaceConfig } from "powerlines";
|
|
4
|
-
//#region src/helpers/load.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* Retrieves various dotenv configuration parameters from the context.
|
|
7
6
|
*
|
|
@@ -31,6 +30,5 @@ declare function loadEnvFromContext(context: EnvPluginContext, parsed: DotenvPar
|
|
|
31
30
|
ENVIRONMENT: string;
|
|
32
31
|
};
|
|
33
32
|
declare function loadEnv<TEnv extends DotenvParseOutput = DotenvParseOutput>(context: EnvPluginContext, options?: EnvPluginOptions): Promise<TEnv>;
|
|
34
|
-
//#endregion
|
|
35
33
|
export { loadEnv, loadEnvFromContext };
|
|
36
34
|
//# sourceMappingURL=load.d.mts.map
|
package/dist/helpers/load.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import { loadConfig } from "c12";
|
|
|
10
10
|
import defu from "defu";
|
|
11
11
|
import { DEFAULT_ENVIRONMENT } from "powerlines/constants";
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
// src/helpers/load.ts
|
|
14
14
|
async function loadEnvFiles(options, mode, cwd) {
|
|
15
15
|
let env = await loadEnv$1(cwd, mode);
|
|
16
16
|
if (options.additionalFiles && options.additionalFiles?.length > 0) {
|
|
@@ -88,6 +88,5 @@ async function loadEnv(context, options = context.config.env) {
|
|
|
88
88
|
return defu(loadEnvFromContext(context, process.env, workspaceConfig), project, workspace, config);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
//#endregion
|
|
92
91
|
export { loadEnv, loadEnvFromContext };
|
|
93
92
|
//# sourceMappingURL=load.mjs.map
|
package/dist/helpers/schema.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_helpers_load = require(
|
|
2
|
+
const require_helpers_load = require("./load.cjs");
|
|
3
3
|
let _power_plant_schema = require("@power-plant/schema");
|
|
4
4
|
let _powerlines_plugin_power_plant_helpers = require("@powerlines/plugin-power-plant/helpers");
|
|
5
5
|
let _stryke_path_join = require("@stryke/path/join");
|
|
@@ -7,7 +7,7 @@ let _stryke_type_checks_is_set_array = require("@stryke/type-checks/is-set-array
|
|
|
7
7
|
let _stryke_type_checks_is_set_object = require("@stryke/type-checks/is-set-object");
|
|
8
8
|
let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
// src/helpers/schema.ts
|
|
11
11
|
/**
|
|
12
12
|
* Resolves the runtime Zod schema file for the environment variables.
|
|
13
13
|
*
|
|
@@ -163,7 +163,6 @@ async function writeEnv(context) {
|
|
|
163
163
|
return Promise.all([writeActive(context, "config", context.env.config), writeActive(context, "secrets", context.env.secrets)]);
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
//#endregion
|
|
167
166
|
exports.extractEnv = extractEnv;
|
|
168
167
|
exports.getCacheDirectory = getCacheDirectory;
|
|
169
168
|
exports.getCacheFilePath = getCacheFilePath;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { t as EnvPluginContext } from "../plugin-
|
|
1
|
+
import { t as EnvPluginContext } from "../plugin-TonlAu72.cjs";
|
|
2
2
|
import { UnresolvedContext } from "powerlines";
|
|
3
3
|
import { FileReference } from "@stryke/types/configuration";
|
|
4
|
-
//#region src/helpers/schema.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* Resolves the runtime Zod schema file for the environment variables.
|
|
7
6
|
*
|
|
@@ -48,6 +47,5 @@ declare function extractEnv<TContext extends EnvPluginContext>(context: TContext
|
|
|
48
47
|
* @returns A promise that resolves when the schema has been successfully written to the cache directory.
|
|
49
48
|
*/
|
|
50
49
|
declare function writeEnv<TContext extends EnvPluginContext>(context: TContext): Promise<void[]>;
|
|
51
|
-
//#endregion
|
|
52
50
|
export { extractEnv, getCacheDirectory, getCacheFilePath, getDefaultConfig, getDefaultSecrets, resolveRuntimeSchemaFile, writeEnv };
|
|
53
51
|
//# sourceMappingURL=schema.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.cts","names":[],"sources":["../../src/helpers/schema.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"schema.d.cts","names":[],"sources":["../../src/helpers/schema.ts"],"mappings":";;;;;;;;;iBA0CsB,yBACpB,iBAAiB,mBACjB,SAAS,WAAW;;;;;;;iBAmBA,iBAAiB,iBAAiB,mBACtD,SAAS,WACR,QAAQ;;;;;;;iBAaW,kBAAkB,iBAAiB,mBACvD,SAAS,WACR,QAAQ;;;;;;;iBAaK,kBAAkB,iBAAiB,kBACjD,SAAS;iBAKK,iBAAiB,iBAAiB,kBAChD,SAAS,UACT;;;;;;;;;;iBA+CoB,WAAW,iBAAiB,kBAChD,SAAS,WACR;;;;;;;iBAqNmB,SAAS,iBAAiB,kBAC9C,SAAS,WACR"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { t as EnvPluginContext } from "../plugin-
|
|
1
|
+
import { t as EnvPluginContext } from "../plugin-Du0dty2t.mjs";
|
|
2
2
|
import { UnresolvedContext } from "powerlines";
|
|
3
3
|
import { FileReference } from "@stryke/types/configuration";
|
|
4
|
-
//#region src/helpers/schema.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* Resolves the runtime Zod schema file for the environment variables.
|
|
7
6
|
*
|
|
@@ -48,6 +47,5 @@ declare function extractEnv<TContext extends EnvPluginContext>(context: TContext
|
|
|
48
47
|
* @returns A promise that resolves when the schema has been successfully written to the cache directory.
|
|
49
48
|
*/
|
|
50
49
|
declare function writeEnv<TContext extends EnvPluginContext>(context: TContext): Promise<void[]>;
|
|
51
|
-
//#endregion
|
|
52
50
|
export { extractEnv, getCacheDirectory, getCacheFilePath, getDefaultConfig, getDefaultSecrets, resolveRuntimeSchemaFile, writeEnv };
|
|
53
51
|
//# sourceMappingURL=schema.d.mts.map
|
package/dist/helpers/schema.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { isSetArray } from "@stryke/type-checks/is-set-array";
|
|
|
6
6
|
import { isSetObject } from "@stryke/type-checks/is-set-object";
|
|
7
7
|
import { isSetString } from "@stryke/type-checks/is-set-string";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
// src/helpers/schema.ts
|
|
10
10
|
/**
|
|
11
11
|
* Resolves the runtime Zod schema file for the environment variables.
|
|
12
12
|
*
|
|
@@ -162,6 +162,5 @@ async function writeEnv(context) {
|
|
|
162
162
|
return Promise.all([writeActive(context, "config", context.env.config), writeActive(context, "secrets", context.env.secrets)]);
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
//#endregion
|
|
166
165
|
export { extractEnv, getCacheDirectory, getCacheFilePath, getDefaultConfig, getDefaultSecrets, resolveRuntimeSchemaFile, writeEnv };
|
|
167
166
|
//# sourceMappingURL=schema.mjs.map
|
|
@@ -3,7 +3,7 @@ let _stryke_env_types = require("@stryke/env/types");
|
|
|
3
3
|
let _stryke_string_format_camel_case = require("@stryke/string-format/camel-case");
|
|
4
4
|
let _stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/helpers/source-file-env.ts
|
|
7
7
|
function removeEnvPrefix(env) {
|
|
8
8
|
if ((0, _stryke_type_checks_is_string.isString)(env)) {
|
|
9
9
|
let name = _stryke_env_types.ENV_PREFIXES.reduce((ret, prefix) => {
|
|
@@ -23,6 +23,5 @@ function formatEnvField(key) {
|
|
|
23
23
|
return (0, _stryke_string_format_camel_case.camelCase)(removeEnvPrefix(key));
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
//#endregion
|
|
27
26
|
exports.formatEnvField = formatEnvField;
|
|
28
27
|
exports.removeEnvPrefix = removeEnvPrefix;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { DotenvParseOutput } from "@stryke/env/types";
|
|
2
|
-
//#region src/helpers/source-file-env.d.ts
|
|
3
2
|
type TReturned<TEnv> = TEnv extends string ? string : DotenvParseOutput;
|
|
4
3
|
declare function removeEnvPrefix<TEnv extends DotenvParseOutput | string>(env: TEnv): TReturned<TEnv>;
|
|
5
4
|
declare function formatEnvField(key: string): string;
|
|
6
|
-
//#endregion
|
|
7
5
|
export { formatEnvField, removeEnvPrefix };
|
|
8
6
|
//# sourceMappingURL=source-file-env.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source-file-env.d.cts","names":[],"sources":["../../src/helpers/source-file-env.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"source-file-env.d.cts","names":[],"sources":["../../src/helpers/source-file-env.ts"],"mappings":";KAuBK,UAAU,QAAQ,+BAA+B;iBAEtC,gBAAgB,aAAa,4BAC3C,KAAK,OACJ,UAAU;iBA2BG,eAAe"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { DotenvParseOutput } from "@stryke/env/types";
|
|
2
|
-
//#region src/helpers/source-file-env.d.ts
|
|
3
2
|
type TReturned<TEnv> = TEnv extends string ? string : DotenvParseOutput;
|
|
4
3
|
declare function removeEnvPrefix<TEnv extends DotenvParseOutput | string>(env: TEnv): TReturned<TEnv>;
|
|
5
4
|
declare function formatEnvField(key: string): string;
|
|
6
|
-
//#endregion
|
|
7
5
|
export { formatEnvField, removeEnvPrefix };
|
|
8
6
|
//# sourceMappingURL=source-file-env.d.mts.map
|
|
@@ -2,7 +2,7 @@ import { ENV_PREFIXES } from "@stryke/env/types";
|
|
|
2
2
|
import { camelCase } from "@stryke/string-format/camel-case";
|
|
3
3
|
import { isString } from "@stryke/type-checks/is-string";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/helpers/source-file-env.ts
|
|
6
6
|
function removeEnvPrefix(env) {
|
|
7
7
|
if (isString(env)) {
|
|
8
8
|
let name = ENV_PREFIXES.reduce((ret, prefix) => {
|
|
@@ -22,6 +22,5 @@ function formatEnvField(key) {
|
|
|
22
22
|
return camelCase(removeEnvPrefix(key));
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
//#endregion
|
|
26
25
|
export { formatEnvField, removeEnvPrefix };
|
|
27
26
|
//# sourceMappingURL=source-file-env.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./plugin-TonlAu72.cjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./plugin-Du0dty2t.mjs";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { n as EnvPluginOptions, t as EnvPluginContext } from "./plugin-
|
|
2
|
-
import "./env-
|
|
3
|
-
import "./index-
|
|
1
|
+
import { n as EnvPluginOptions, t as EnvPluginContext } from "./plugin-Du0dty2t.mjs";
|
|
2
|
+
import "./env-D_Rv1Ho3.mjs";
|
|
3
|
+
import "./index-DqeAaIgy.mjs";
|
|
4
4
|
import { Plugin } from "powerlines";
|
|
5
|
-
//#region src/index.d.ts
|
|
6
5
|
declare module "powerlines" {
|
|
7
6
|
interface Config {
|
|
8
7
|
env?: EnvPluginOptions;
|
|
@@ -12,6 +11,5 @@ declare module "powerlines" {
|
|
|
12
11
|
* A Powerlines plugin to inject environment variables into the source code.
|
|
13
12
|
*/
|
|
14
13
|
declare const plugin: <TContext extends EnvPluginContext = EnvPluginContext>(options?: EnvPluginOptions) => Plugin<TContext>[];
|
|
15
|
-
//#endregion
|
|
16
14
|
export { plugin as t };
|
|
17
|
-
//# sourceMappingURL=index-
|
|
15
|
+
//# sourceMappingURL=index-XhWie1j9.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-XhWie1j9.d.mts","names":[],"sources":["../src/index.tsx"],"mappings":""}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { n as EnvPluginOptions, t as EnvPluginContext } from "./plugin-
|
|
2
|
-
import "./env-
|
|
3
|
-
import "./index-
|
|
1
|
+
import { n as EnvPluginOptions, t as EnvPluginContext } from "./plugin-TonlAu72.cjs";
|
|
2
|
+
import "./env-D_Rv1Ho3.cjs";
|
|
3
|
+
import "./index-CxT8uhoD.cjs";
|
|
4
4
|
import { Plugin } from "powerlines";
|
|
5
|
-
//#region src/index.d.ts
|
|
6
5
|
declare module "powerlines" {
|
|
7
6
|
interface Config {
|
|
8
7
|
env?: EnvPluginOptions;
|
|
@@ -12,6 +11,5 @@ declare module "powerlines" {
|
|
|
12
11
|
* A Powerlines plugin to inject environment variables into the source code.
|
|
13
12
|
*/
|
|
14
13
|
declare const plugin: <TContext extends EnvPluginContext = EnvPluginContext>(options?: EnvPluginOptions) => Plugin<TContext>[];
|
|
15
|
-
//#endregion
|
|
16
14
|
export { plugin as t };
|
|
17
|
-
//# sourceMappingURL=index-
|
|
15
|
+
//# sourceMappingURL=index-zrtnqMQn.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-zrtnqMQn.d.cts","names":[],"sources":["../src/index.tsx"],"mappings":";;;;;YAoDY;IACR,MAAM;;;;;;cAOG,SAAU,iBAAiB,mBAAmB,kBACzD,UAAS,qBAyGJ,OAAO"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
|
-
const require_rolldown_runtime = require(
|
|
3
|
-
require(
|
|
4
|
-
const require_schemas_env = require(
|
|
5
|
-
const require_helpers_schema = require(
|
|
6
|
-
const require_helpers_automd_generator = require(
|
|
7
|
-
const require_components_docs = require(
|
|
8
|
-
const require_components_env_builtin = require(
|
|
9
|
-
const require_babel_plugin = require(
|
|
2
|
+
const require_rolldown_runtime = require("./rolldown-runtime-xuxB8TGW.cjs");
|
|
3
|
+
require("./types/index.cjs");
|
|
4
|
+
const require_schemas_env = require("./schemas/env.cjs");
|
|
5
|
+
const require_helpers_schema = require("./helpers/schema.cjs");
|
|
6
|
+
const require_helpers_automd_generator = require("./helpers/automd-generator.cjs");
|
|
7
|
+
const require_components_docs = require("./components/docs.cjs");
|
|
8
|
+
const require_components_env_builtin = require("./components/env-builtin.cjs");
|
|
9
|
+
const require_babel_plugin = require("./babel/plugin.cjs");
|
|
10
10
|
let _stryke_path_join = require("@stryke/path/join");
|
|
11
11
|
let defu = require("defu");
|
|
12
12
|
defu = require_rolldown_runtime.__toESM(defu, 1);
|
|
@@ -19,7 +19,7 @@ let _powerlines_plugin_automd = require("@powerlines/plugin-automd");
|
|
|
19
19
|
let _powerlines_plugin_babel = require("@powerlines/plugin-babel");
|
|
20
20
|
let _stryke_string_format_constant_case = require("@stryke/string-format/constant-case");
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
// src/index.tsx
|
|
23
23
|
/**
|
|
24
24
|
* A Powerlines plugin to inject environment variables into the source code.
|
|
25
25
|
*/
|
|
@@ -87,7 +87,6 @@ const plugin = (options = {}) => {
|
|
|
87
87
|
];
|
|
88
88
|
};
|
|
89
89
|
|
|
90
|
-
//#endregion
|
|
91
90
|
exports.default = plugin;
|
|
92
91
|
exports.plugin = plugin;
|
|
93
92
|
exports.envSchema = require_schemas_env.envSchema;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "./plugin-
|
|
2
|
-
import { g as secretsSchema, h as envSchema, i as EnvInput, m as SecretsInput, p as Secrets, r as Env } from "./env-
|
|
3
|
-
import { t as plugin } from "./index-
|
|
1
|
+
import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "./plugin-TonlAu72.cjs";
|
|
2
|
+
import { g as secretsSchema, h as envSchema, i as EnvInput, m as SecretsInput, p as Secrets, r as Env } from "./env-D_Rv1Ho3.cjs";
|
|
3
|
+
import { t as plugin } from "./index-zrtnqMQn.cjs";
|
|
4
4
|
export { type Env, type EnvInput, EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvSchema, EnvType, type Secrets, type SecretsInput, plugin as default, plugin, envSchema, secretsSchema };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "./plugin-
|
|
2
|
-
import { g as secretsSchema, h as envSchema, i as EnvInput, m as SecretsInput, p as Secrets, r as Env } from "./env-
|
|
3
|
-
import { t as plugin } from "./index-
|
|
1
|
+
import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "./plugin-Du0dty2t.mjs";
|
|
2
|
+
import { g as secretsSchema, h as envSchema, i as EnvInput, m as SecretsInput, p as Secrets, r as Env } from "./env-D_Rv1Ho3.mjs";
|
|
3
|
+
import { t as plugin } from "./index-XhWie1j9.mjs";
|
|
4
4
|
export { type Env, type EnvInput, EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvSchema, EnvType, type Secrets, type SecretsInput, plugin as default, plugin, envSchema, secretsSchema };
|
package/dist/index.mjs
CHANGED
|
@@ -16,7 +16,7 @@ import { plugin as plugin$1 } from "@powerlines/plugin-automd";
|
|
|
16
16
|
import { plugin as plugin$2 } from "@powerlines/plugin-babel";
|
|
17
17
|
import { constantCase } from "@stryke/string-format/constant-case";
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
// src/index.tsx
|
|
20
20
|
/**
|
|
21
21
|
* A Powerlines plugin to inject environment variables into the source code.
|
|
22
22
|
*/
|
|
@@ -84,6 +84,5 @@ const plugin = (options = {}) => {
|
|
|
84
84
|
];
|
|
85
85
|
};
|
|
86
86
|
|
|
87
|
-
//#endregion
|
|
88
87
|
export { plugin as default, plugin, envSchema, secretsSchema };
|
|
89
88
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DotenvParseOutput } from "@stryke/env/types";
|
|
2
2
|
import { JsonSchemaObject, SchemaConfig, SchemaEnvelope } from "@power-plant/schema";
|
|
3
|
+
import { Children } from "@alloy-js/core";
|
|
3
4
|
import { AutoMDPluginOptions } from "@powerlines/plugin-automd/types/plugin";
|
|
4
5
|
import { BabelPluginContext, BabelPluginOptions, BabelPluginResolvedConfig, BabelPluginUserConfig } from "@powerlines/plugin-babel/types";
|
|
5
|
-
import { DotenvParseOutput } from "@stryke/env/types";
|
|
6
6
|
import { RequiredKeys } from "@stryke/types";
|
|
7
7
|
import { DotenvConfiguration } from "@stryke/types/configuration";
|
|
8
|
-
//#region src/types/plugin.d.ts
|
|
9
8
|
type EnvType = "env" | "secrets";
|
|
10
9
|
type EnvPluginOptions = Omit<DotenvConfiguration, "types"> & {
|
|
11
10
|
/**
|
|
@@ -132,6 +131,5 @@ interface EnvPluginContext<TResolvedConfig extends EnvPluginResolvedConfig = Env
|
|
|
132
131
|
injected: string[];
|
|
133
132
|
};
|
|
134
133
|
}
|
|
135
|
-
//#endregion
|
|
136
134
|
export { EnvSchema as a, EnvPluginUserConfig as i, EnvPluginOptions as n, EnvType as o, EnvPluginResolvedConfig as r, EnvPluginContext as t };
|
|
137
|
-
//# sourceMappingURL=plugin-
|
|
135
|
+
//# sourceMappingURL=plugin-Du0dty2t.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-Du0dty2t.d.mts","names":[],"sources":["../src/types/plugin.ts"],"mappings":""}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { DotenvParseOutput } from "@stryke/env/types";
|
|
2
|
-
import { JsonSchemaObject, SchemaConfig, SchemaEnvelope } from "@power-plant/schema";
|
|
3
1
|
import { Children } from "@alloy-js/core";
|
|
2
|
+
import { JsonSchemaObject, SchemaConfig, SchemaEnvelope } from "@power-plant/schema";
|
|
4
3
|
import { AutoMDPluginOptions } from "@powerlines/plugin-automd/types/plugin";
|
|
5
4
|
import { BabelPluginContext, BabelPluginOptions, BabelPluginResolvedConfig, BabelPluginUserConfig } from "@powerlines/plugin-babel/types";
|
|
5
|
+
import { DotenvParseOutput } from "@stryke/env/types";
|
|
6
6
|
import { RequiredKeys } from "@stryke/types";
|
|
7
7
|
import { DotenvConfiguration } from "@stryke/types/configuration";
|
|
8
|
-
//#region src/types/plugin.d.ts
|
|
9
8
|
type EnvType = "env" | "secrets";
|
|
10
9
|
type EnvPluginOptions = Omit<DotenvConfiguration, "types"> & {
|
|
11
10
|
/**
|
|
@@ -132,6 +131,5 @@ interface EnvPluginContext<TResolvedConfig extends EnvPluginResolvedConfig = Env
|
|
|
132
131
|
injected: string[];
|
|
133
132
|
};
|
|
134
133
|
}
|
|
135
|
-
//#endregion
|
|
136
134
|
export { EnvSchema as a, EnvPluginUserConfig as i, EnvPluginOptions as n, EnvType as o, EnvPluginResolvedConfig as r, EnvPluginContext as t };
|
|
137
|
-
//# sourceMappingURL=plugin-
|
|
135
|
+
//# sourceMappingURL=plugin-TonlAu72.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-TonlAu72.d.cts","names":[],"sources":["../src/types/plugin.ts"],"mappings":";;;;;;;KAmCY;KAEA,mBAAmB,KAAK;;;;EAIlC,SAAS;;;;EAKT,UAAU;;;;;;;EAQV;;;;;;EAOA;;;;;;EAOA;;;;;;;EAQA,gBAAgB;;;;;;;EAQhB,QAAQ;;;;;;;EAQR,SAAS;;KAGC,sBAAsB;EAChC,KAAK;;KAGK,0BAA0B;EACpC,KAAK,SAAS,KAAK,2CACjB,aAAa;;;;;;;IAOX;;;;;;;IAQA;;;;;;;IAQA;;;;;;;;;KAUM,YAAY,eAAe;;;;;;;EAOrC;;UAGe,iBACf,wBAAwB,0BAA0B,iCAC1C,mBAAmB;EAC3B;;;;;;;IAOE,QAAQ;;;;;;;IAQR,SAAS;;;;;;;IAQT,QAAQ;;;;;;;IAQR"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// \0rolldown/runtime.js
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -24,8 +24,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
24
24
|
enumerable: true
|
|
25
25
|
}) : target, mod));
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
Object.defineProperty(exports, '__toESM', {
|
|
27
|
+
Object.defineProperty(exports, "__toESM", {
|
|
29
28
|
enumerable: true,
|
|
30
29
|
get: function () {
|
|
31
30
|
return __toESM;
|
package/dist/schemas/env.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_rolldown_runtime = require(
|
|
2
|
+
const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.cjs");
|
|
3
3
|
let zod = require("zod");
|
|
4
4
|
zod = require_rolldown_runtime.__toESM(zod, 1);
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/schemas/env.ts
|
|
7
7
|
/**
|
|
8
8
|
* Runtime environment the application may execute in.
|
|
9
9
|
*/
|
|
@@ -713,7 +713,6 @@ const secretsSchema = zod.object({ ENCRYPTION_KEY: zod.string().meta({
|
|
|
713
713
|
/**
|
|
714
714
|
* Input type for {@link secretsSchema}.
|
|
715
715
|
*/
|
|
716
|
-
//#endregion
|
|
717
716
|
exports.BooleanOrNumberSchema = BooleanOrNumberSchema;
|
|
718
717
|
exports.LogLevelSchema = LogLevelSchema;
|
|
719
718
|
exports.ModeSchema = ModeSchema;
|
package/dist/schemas/env.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as LogLevel, c as ModeSchema, d as Runtime, f as RuntimeSchema, g as secretsSchema, h as envSchema, i as EnvInput, l as Platform, m as SecretsInput, n as BooleanOrNumberSchema, o as LogLevelSchema, p as Secrets, r as Env, s as Mode, t as BooleanOrNumber, u as PlatformSchema } from "../env-
|
|
1
|
+
import { a as LogLevel, c as ModeSchema, d as Runtime, f as RuntimeSchema, g as secretsSchema, h as envSchema, i as EnvInput, l as Platform, m as SecretsInput, n as BooleanOrNumberSchema, o as LogLevelSchema, p as Secrets, r as Env, s as Mode, t as BooleanOrNumber, u as PlatformSchema } from "../env-D_Rv1Ho3.cjs";
|
|
2
2
|
export { BooleanOrNumber, BooleanOrNumberSchema, Env, EnvInput, LogLevel, LogLevelSchema, Mode, ModeSchema, Platform, PlatformSchema, Runtime, RuntimeSchema, Secrets, SecretsInput, envSchema, secretsSchema };
|
package/dist/schemas/env.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as LogLevel, c as ModeSchema, d as Runtime, f as RuntimeSchema, g as secretsSchema, h as envSchema, i as EnvInput, l as Platform, m as SecretsInput, n as BooleanOrNumberSchema, o as LogLevelSchema, p as Secrets, r as Env, s as Mode, t as BooleanOrNumber, u as PlatformSchema } from "../env-
|
|
1
|
+
import { a as LogLevel, c as ModeSchema, d as Runtime, f as RuntimeSchema, g as secretsSchema, h as envSchema, i as EnvInput, l as Platform, m as SecretsInput, n as BooleanOrNumberSchema, o as LogLevelSchema, p as Secrets, r as Env, s as Mode, t as BooleanOrNumber, u as PlatformSchema } from "../env-D_Rv1Ho3.mjs";
|
|
2
2
|
export { BooleanOrNumber, BooleanOrNumberSchema, Env, EnvInput, LogLevel, LogLevelSchema, Mode, ModeSchema, Platform, PlatformSchema, Runtime, RuntimeSchema, Secrets, SecretsInput, envSchema, secretsSchema };
|
package/dist/schemas/env.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/schemas/env.ts
|
|
4
4
|
/**
|
|
5
5
|
* Runtime environment the application may execute in.
|
|
6
6
|
*/
|
|
@@ -710,6 +710,5 @@ const secretsSchema = z.object({ ENCRYPTION_KEY: z.string().meta({
|
|
|
710
710
|
/**
|
|
711
711
|
* Input type for {@link secretsSchema}.
|
|
712
712
|
*/
|
|
713
|
-
//#endregion
|
|
714
713
|
export { BooleanOrNumberSchema, LogLevelSchema, ModeSchema, PlatformSchema, RuntimeSchema, envSchema, secretsSchema };
|
|
715
714
|
//# sourceMappingURL=env.mjs.map
|
package/dist/schemas/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_schemas_env = require(
|
|
2
|
+
const require_schemas_env = require("./env.cjs");
|
|
3
3
|
|
|
4
4
|
exports.BooleanOrNumberSchema = require_schemas_env.BooleanOrNumberSchema;
|
|
5
5
|
exports.LogLevelSchema = require_schemas_env.LogLevelSchema;
|
package/dist/schemas/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as LogLevel, c as ModeSchema, d as Runtime, f as RuntimeSchema, g as secretsSchema, h as envSchema, i as EnvInput, l as Platform, m as SecretsInput, n as BooleanOrNumberSchema, o as LogLevelSchema, p as Secrets, r as Env, s as Mode, t as BooleanOrNumber, u as PlatformSchema } from "../env-
|
|
1
|
+
import { a as LogLevel, c as ModeSchema, d as Runtime, f as RuntimeSchema, g as secretsSchema, h as envSchema, i as EnvInput, l as Platform, m as SecretsInput, n as BooleanOrNumberSchema, o as LogLevelSchema, p as Secrets, r as Env, s as Mode, t as BooleanOrNumber, u as PlatformSchema } from "../env-D_Rv1Ho3.cjs";
|
|
2
2
|
export { BooleanOrNumber, BooleanOrNumberSchema, Env, EnvInput, LogLevel, LogLevelSchema, Mode, ModeSchema, Platform, PlatformSchema, Runtime, RuntimeSchema, Secrets, SecretsInput, envSchema, secretsSchema };
|
package/dist/schemas/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as LogLevel, c as ModeSchema, d as Runtime, f as RuntimeSchema, g as secretsSchema, h as envSchema, i as EnvInput, l as Platform, m as SecretsInput, n as BooleanOrNumberSchema, o as LogLevelSchema, p as Secrets, r as Env, s as Mode, t as BooleanOrNumber, u as PlatformSchema } from "../env-
|
|
1
|
+
import { a as LogLevel, c as ModeSchema, d as Runtime, f as RuntimeSchema, g as secretsSchema, h as envSchema, i as EnvInput, l as Platform, m as SecretsInput, n as BooleanOrNumberSchema, o as LogLevelSchema, p as Secrets, r as Env, s as Mode, t as BooleanOrNumber, u as PlatformSchema } from "../env-D_Rv1Ho3.mjs";
|
|
2
2
|
export { BooleanOrNumber, BooleanOrNumberSchema, Env, EnvInput, LogLevel, LogLevelSchema, Mode, ModeSchema, Platform, PlatformSchema, Runtime, RuntimeSchema, Secrets, SecretsInput, envSchema, secretsSchema };
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-
|
|
2
|
-
import "../index-
|
|
1
|
+
import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-TonlAu72.cjs";
|
|
2
|
+
import "../index-CxT8uhoD.cjs";
|
|
3
3
|
export { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvSchema, EnvType };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-
|
|
2
|
-
import "../index-
|
|
1
|
+
import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-Du0dty2t.mjs";
|
|
2
|
+
import "../index-DqeAaIgy.mjs";
|
|
3
3
|
export { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvSchema, EnvType };
|
package/dist/types/plugin.cjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
// src/types/plugin.ts
|
|
2
2
|
/**
|
|
3
3
|
* The schema for environment variables and secrets used by the plugin.
|
|
4
4
|
*
|
|
5
5
|
* @remarks
|
|
6
6
|
* This schema is the result of parsing the type definitions provided in the {@link EnvPluginOptions.config} and {@link EnvPluginOptions.secrets} options, and is used to validate the loaded environment variables and secrets, as well as to determine which variables should be injected into the source code when the {@link EnvPluginOptions.inject} option is enabled.
|
|
7
|
-
*/
|
|
8
|
-
//#endregion
|
|
7
|
+
*/
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-
|
|
1
|
+
import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-TonlAu72.cjs";
|
|
2
2
|
export { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvSchema, EnvType };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-
|
|
1
|
+
import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-Du0dty2t.mjs";
|
|
2
2
|
export { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvSchema, EnvType };
|
package/dist/types/plugin.mjs
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
// src/types/plugin.ts
|
|
2
2
|
/**
|
|
3
3
|
* The schema for environment variables and secrets used by the plugin.
|
|
4
4
|
*
|
|
5
5
|
* @remarks
|
|
6
6
|
* This schema is the result of parsing the type definitions provided in the {@link EnvPluginOptions.config} and {@link EnvPluginOptions.secrets} options, and is used to validate the loaded environment variables and secrets, as well as to determine which variables should be injected into the source code when the {@link EnvPluginOptions.inject} option is enabled.
|
|
7
7
|
*/
|
|
8
|
-
//#endregion
|
|
9
8
|
export { };
|
|
10
9
|
//# sourceMappingURL=plugin.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-env",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.424",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing a Powerlines plugin for injecting static .env configuration values to the code so that they're accessible at runtime.",
|
|
6
6
|
"keywords": ["dotenv", "powerlines", "storm-software", "powerlines-plugin"],
|
|
@@ -262,16 +262,16 @@
|
|
|
262
262
|
"@alloy-js/json": "^0.24.0",
|
|
263
263
|
"@alloy-js/markdown": "^0.24.0",
|
|
264
264
|
"@alloy-js/typescript": "^0.24.0",
|
|
265
|
-
"@babel/core": "^8.0.
|
|
265
|
+
"@babel/core": "^8.0.7",
|
|
266
266
|
"@babel/types": "^8.0.6",
|
|
267
|
-
"@power-plant/alloy-js": "^0.0.
|
|
268
|
-
"@power-plant/schema": "^0.0.
|
|
269
|
-
"@powerlines/core": "^0.48.
|
|
270
|
-
"@powerlines/plugin-alloy": "^0.26.
|
|
271
|
-
"@powerlines/plugin-automd": "^0.1.
|
|
272
|
-
"@powerlines/plugin-babel": "^0.13.
|
|
273
|
-
"@powerlines/plugin-power-plant": "^0.1.
|
|
274
|
-
"@storm-software/config-tools": "^1.190.
|
|
267
|
+
"@power-plant/alloy-js": "^0.0.95",
|
|
268
|
+
"@power-plant/schema": "^0.0.96",
|
|
269
|
+
"@powerlines/core": "^0.48.134",
|
|
270
|
+
"@powerlines/plugin-alloy": "^0.26.313",
|
|
271
|
+
"@powerlines/plugin-automd": "^0.1.677",
|
|
272
|
+
"@powerlines/plugin-babel": "^0.13.212",
|
|
273
|
+
"@powerlines/plugin-power-plant": "^0.1.72",
|
|
274
|
+
"@storm-software/config-tools": "^1.190.151",
|
|
275
275
|
"@stryke/capnp": "^0.12.145",
|
|
276
276
|
"@stryke/convert": "^0.7.47",
|
|
277
277
|
"@stryke/env": "^0.20.135",
|
|
@@ -285,14 +285,14 @@
|
|
|
285
285
|
"automd": "^0.4.3",
|
|
286
286
|
"c12": "^3.3.4",
|
|
287
287
|
"defu": "^6.1.7",
|
|
288
|
-
"powerlines": "^0.47.
|
|
289
|
-
"zod": "^4.6.
|
|
288
|
+
"powerlines": "^0.47.215",
|
|
289
|
+
"zod": "^4.6.7"
|
|
290
290
|
},
|
|
291
291
|
"devDependencies": {
|
|
292
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
292
|
+
"@powerlines/plugin-plugin": "^0.12.628",
|
|
293
293
|
"@types/node": "^25.9.9",
|
|
294
|
-
"vite": "^8.3.
|
|
294
|
+
"vite": "^8.3.5"
|
|
295
295
|
},
|
|
296
296
|
"publishConfig": { "access": "public" },
|
|
297
|
-
"gitHead": "
|
|
297
|
+
"gitHead": "810bc635d1503594d09d9f0c8c93ea413745a9df"
|
|
298
298
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"env-C6HnpNy5.d.cts","names":[],"sources":["../src/schemas/env.ts"],"mappings":";;;YAqBY;;;;IAIR;;;;IAKA;;;;IAKA;;;;IAKA;;;;IAKA;;;;IAKA;;;;IAKA;;;;;;cAOS,eAAa,EAAA;;;;;;KACd,UAAU,EAAE,aAAa;;;;cAKxB,gBAAc,EAAA;;;;;KACf,WAAW,EAAE,aAAa;;;;cAKzB,YAAU,EAAA;;;;;KACX,OAAO,EAAE,aAAa;;;;cAKrB,gBAAc,EAAA;;;;;;KACf,WAAW,EAAE,aAAa;;;;cAKzB,uBAAqB,EAAA,mBAAA,EAAA,YAAA,EAAA;KACtB,kBAAkB,EAAE,aAAa;;;;;;;cAQhC,WAAS,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiwBlB,EAAA,KAAA;;;;KAKQ,MAAM,EAAE,aAAa;;;;KAKrB,WAAW,EAAE,aAAa;;;;;;;cAQzB,eAAa,EAAA;;GAWtB,EAAA,KAAA;;;;KAKQ,UAAU,EAAE,aAAa;;;;KAKzB,eAAe,EAAE,aAAa"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"env-C6HnpNy5.d.mts","names":[],"sources":["../src/schemas/env.ts"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./plugin-BkPUgX5Z.cjs";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-CqmZxgBO.d.mts","names":[],"sources":["../src/index.tsx"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-N_SMJR7p.d.cts","names":[],"sources":["../src/index.tsx"],"mappings":";;;;;;YAoDY;IACR,MAAM;;;;;;cAOG,SAAU,iBAAiB,mBAAmB,kBACzD,UAAS,qBAyGJ,OAAO"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./plugin-DaVohK06.mjs";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-BkPUgX5Z.d.cts","names":[],"sources":["../src/types/plugin.ts"],"mappings":";;;;;;;;KAmCY;KAEA,mBAAmB,KAAK;;;;EAIlC,SAAS;;;;EAKT,UAAU;;;;;;;EAQV;;;;;;EAOA;;;;;;EAOA;;;;;;;EAQA,gBAAgB;;;;;;;EAQhB,QAAQ;;;;;;;EAQR,SAAS;;KAGC,sBAAsB;EAChC,KAAK;;KAGK,0BAA0B;EACpC,KAAK,SAAS,KAAK,2CACjB,aAAa;;;;;;;IAOX;;;;;;;IAQA;;;;;;;IAQA;;;;;;;;;KAUM,YAAY,eAAe;;;;;;;EAOrC;;UAGe,iBACf,wBAAwB,0BAA0B,iCAC1C,mBAAmB;EAC3B;;;;;;;IAOE,QAAQ;;;;;;;IAQR,SAAS;;;;;;;IAQT,QAAQ;;;;;;;IAQR"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-DaVohK06.d.mts","names":[],"sources":["../src/types/plugin.ts"],"mappings":""}
|