@powerlines/plugin-env 0.16.24 → 0.16.25
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/components/docs.cjs +1 -1
- package/dist/components/docs.mjs +1 -1
- package/dist/components/env.cjs +2 -2
- package/dist/components/env.mjs +2 -2
- package/dist/helpers/docs-helper.cjs +1 -1
- package/dist/helpers/docs-helper.mjs +1 -1
- package/dist/helpers/index.cjs +2 -2
- package/dist/helpers/index.mjs +2 -2
- package/dist/helpers/load.cjs +2 -2
- package/dist/helpers/load.mjs +2 -2
- package/dist/helpers/persistence.cjs +2 -2
- package/dist/helpers/persistence.mjs +2 -2
- package/dist/helpers/reflect.cjs +1 -1
- package/dist/helpers/reflect.mjs +1 -1
- package/dist/index.cjs +9 -9
- package/dist/index.mjs +9 -9
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.cjs +1 -1
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs +1 -1
- package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs +1 -1
- package/dist/types/plugin.d.mts +1 -1
- package/package.json +8 -8
package/dist/components/docs.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.26.6/node_modules/@stryke/path/dist/join-paths.cjs');
|
|
3
3
|
const require_helpers_docs_helper = require('../helpers/docs-helper.cjs');
|
|
4
|
-
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
5
4
|
let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
|
5
|
+
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
6
6
|
let __alloy_js_core = require("@alloy-js/core");
|
|
7
7
|
let __alloy_js_markdown = require("@alloy-js/markdown");
|
|
8
8
|
let __powerlines_plugin_alloy_core_contexts_context = require("@powerlines/plugin-alloy/core/contexts/context");
|
package/dist/components/docs.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { joinPaths } from "../node_modules/.pnpm/@stryke_path@0.26.6/node_modules/@stryke/path/dist/join-paths.mjs";
|
|
2
2
|
import { getDocsOutputPath } from "../helpers/docs-helper.mjs";
|
|
3
|
-
import { createComponent, createIntrinsic, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
4
3
|
import { stringifyType } from "@powerlines/deepkit/vendor/type";
|
|
4
|
+
import { createComponent, createIntrinsic, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
5
5
|
import { Show, code } from "@alloy-js/core";
|
|
6
6
|
import { Heading, Link } from "@alloy-js/markdown";
|
|
7
7
|
import { usePowerlines } from "@powerlines/plugin-alloy/core/contexts/context";
|
package/dist/components/env.cjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_defu = require('../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs');
|
|
3
3
|
const require_helpers_load = require('../helpers/load.cjs');
|
|
4
|
-
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
5
4
|
let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
|
5
|
+
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
6
|
+
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
6
7
|
let __alloy_js_core = require("@alloy-js/core");
|
|
7
8
|
let __powerlines_plugin_alloy_core_contexts_context = require("@powerlines/plugin-alloy/core/contexts/context");
|
|
8
9
|
let __alloy_js_typescript = require("@alloy-js/typescript");
|
|
@@ -12,7 +13,6 @@ let __powerlines_plugin_alloy_typescript_components_builtin_file = require("@pow
|
|
|
12
13
|
let __powerlines_plugin_alloy_typescript_components_interface_declaration = require("@powerlines/plugin-alloy/typescript/components/interface-declaration");
|
|
13
14
|
let __powerlines_plugin_alloy_typescript_components_object_declaration = require("@powerlines/plugin-alloy/typescript/components/object-declaration");
|
|
14
15
|
let __powerlines_plugin_alloy_typescript_components_tsdoc = require("@powerlines/plugin-alloy/typescript/components/tsdoc");
|
|
15
|
-
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
16
16
|
|
|
17
17
|
//#region src/components/env.tsx
|
|
18
18
|
/**
|
package/dist/components/env.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { defu } from "../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs";
|
|
2
2
|
import { loadEnvFromContext } from "../helpers/load.mjs";
|
|
3
|
-
import { createComponent, createIntrinsic, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
4
3
|
import { ReflectionClass, ReflectionKind } from "@powerlines/deepkit/vendor/type";
|
|
4
|
+
import { titleCase } from "@stryke/string-format/title-case";
|
|
5
|
+
import { createComponent, createIntrinsic, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
5
6
|
import { For, Show, code, computed, splitProps } from "@alloy-js/core";
|
|
6
7
|
import { usePowerlines } from "@powerlines/plugin-alloy/core/contexts/context";
|
|
7
8
|
import { ClassDeclaration, ClassMethod, ElseIfClause, FunctionDeclaration, IfStatement, NewExpression, TypeDeclaration, VarDeclaration } from "@alloy-js/typescript";
|
|
@@ -11,7 +12,6 @@ import { BuiltinFile } from "@powerlines/plugin-alloy/typescript/components/buil
|
|
|
11
12
|
import { InterfaceDeclaration } from "@powerlines/plugin-alloy/typescript/components/interface-declaration";
|
|
12
13
|
import { ObjectDeclaration } from "@powerlines/plugin-alloy/typescript/components/object-declaration";
|
|
13
14
|
import { TSDoc, TSDocExample, TSDocLink, TSDocParam, TSDocRemarks, TSDocReturns, TSDocThrows } from "@powerlines/plugin-alloy/typescript/components/tsdoc";
|
|
14
|
-
import { titleCase } from "@stryke/string-format/title-case";
|
|
15
15
|
|
|
16
16
|
//#region src/components/env.tsx
|
|
17
17
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.26.6/node_modules/@stryke/path/dist/join-paths.cjs');
|
|
2
1
|
const require_types_plugin = require('../types/plugin.cjs');
|
|
2
|
+
const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.26.6/node_modules/@stryke/path/dist/join-paths.cjs');
|
|
3
3
|
|
|
4
4
|
//#region src/helpers/docs-helper.ts
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { joinPaths } from "../node_modules/.pnpm/@stryke_path@0.26.6/node_modules/@stryke/path/dist/join-paths.mjs";
|
|
2
1
|
import { __ΩEnvPluginContext } from "../types/plugin.mjs";
|
|
2
|
+
import { joinPaths } from "../node_modules/.pnpm/@stryke_path@0.26.6/node_modules/@stryke/path/dist/join-paths.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/helpers/docs-helper.ts
|
|
5
5
|
/**
|
package/dist/helpers/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const require_helpers_source_file_env = require('./source-file-env.cjs');
|
|
2
|
-
const require_helpers_load = require('./load.cjs');
|
|
3
1
|
const require_helpers_reflect = require('./reflect.cjs');
|
|
4
2
|
const require_helpers_persistence = require('./persistence.cjs');
|
|
5
3
|
const require_helpers_template_helpers = require('./template-helpers.cjs');
|
|
4
|
+
const require_helpers_source_file_env = require('./source-file-env.cjs');
|
|
5
|
+
const require_helpers_load = require('./load.cjs');
|
|
6
6
|
const require_helpers_create_reflection_resource = require('./create-reflection-resource.cjs');
|
|
7
7
|
|
|
8
8
|
exports.BaseEnv = require_helpers_reflect.BaseEnv;
|
package/dist/helpers/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { formatEnvField, removeEnvPrefix } from "./source-file-env.mjs";
|
|
2
|
-
import { loadEnv, loadEnvFromContext } from "./load.mjs";
|
|
3
1
|
import { BaseEnv, BaseSecrets, __ΩCreateEnvReflectionOptions, createEnvReflection, createSecretsReflection, mergeEnvReflections, mergeSecretsReflections, reflectEnv, reflectSecrets } from "./reflect.mjs";
|
|
4
2
|
import { getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectionsPath, getSecretsDefaultTypeDefinition, readEnvReflection, readEnvTypeReflection, readSecretsReflection, resolveRuntimeTypeFile, writeEnvReflection, writeEnvReflectionSync, writeEnvTypeReflection } from "./persistence.mjs";
|
|
5
3
|
import { createTemplateReflection } from "./template-helpers.mjs";
|
|
4
|
+
import { formatEnvField, removeEnvPrefix } from "./source-file-env.mjs";
|
|
5
|
+
import { loadEnv, loadEnvFromContext } from "./load.mjs";
|
|
6
6
|
import { createReflection } from "./create-reflection-resource.mjs";
|
|
7
7
|
|
|
8
8
|
export { BaseEnv, BaseSecrets, __ΩCreateEnvReflectionOptions, createEnvReflection, createReflection, createSecretsReflection, createTemplateReflection, formatEnvField, getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectionsPath, getSecretsDefaultTypeDefinition, loadEnv, loadEnvFromContext, mergeEnvReflections, mergeSecretsReflections, readEnvReflection, readEnvTypeReflection, readSecretsReflection, reflectEnv, reflectSecrets, removeEnvPrefix, resolveRuntimeTypeFile, writeEnvReflection, writeEnvReflectionSync, writeEnvTypeReflection };
|
package/dist/helpers/load.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_types_plugin = require('../types/plugin.cjs');
|
|
2
3
|
const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.26.6/node_modules/@stryke/path/dist/join-paths.cjs');
|
|
4
|
+
const require_helpers_source_file_env = require('./source-file-env.cjs');
|
|
3
5
|
const require_defu = require('../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs');
|
|
4
|
-
const require_types_plugin = require('../types/plugin.cjs');
|
|
5
6
|
const require_index = require('../node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.cjs');
|
|
6
|
-
const require_helpers_source_file_env = require('./source-file-env.cjs');
|
|
7
7
|
let powerlines = require("powerlines");
|
|
8
8
|
let __stryke_env_load_env = require("@stryke/env/load-env");
|
|
9
9
|
let __stryke_string_format_kebab_case = require("@stryke/string-format/kebab-case");
|
package/dist/helpers/load.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { __ΩEnvPluginContext, __ΩEnvPluginOptions } from "../types/plugin.mjs";
|
|
1
2
|
import { joinPaths } from "../node_modules/.pnpm/@stryke_path@0.26.6/node_modules/@stryke/path/dist/join-paths.mjs";
|
|
3
|
+
import { removeEnvPrefix } from "./source-file-env.mjs";
|
|
2
4
|
import { defu } from "../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs";
|
|
3
|
-
import { __ΩEnvPluginContext, __ΩEnvPluginOptions } from "../types/plugin.mjs";
|
|
4
5
|
import { loadConfig } from "../node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.mjs";
|
|
5
|
-
import { removeEnvPrefix } from "./source-file-env.mjs";
|
|
6
6
|
import { __ΩWorkspaceConfig } from "powerlines";
|
|
7
7
|
import { loadEnv as loadEnv$1, loadEnvFile } from "@stryke/env/load-env";
|
|
8
8
|
import { kebabCase } from "@stryke/string-format/kebab-case";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.26.6/node_modules/@stryke/path/dist/join-paths.cjs');
|
|
3
2
|
const require_types_plugin = require('../types/plugin.cjs');
|
|
3
|
+
const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.26.6/node_modules/@stryke/path/dist/join-paths.cjs');
|
|
4
4
|
const require_helpers_reflect = require('./reflect.cjs');
|
|
5
5
|
let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
|
6
6
|
let powerlines = require("powerlines");
|
|
7
|
-
let node_fs = require("node:fs");
|
|
8
7
|
let __powerlines_deepkit_capnp = require("@powerlines/deepkit/capnp");
|
|
9
8
|
let __powerlines_deepkit_resolve_reflections = require("@powerlines/deepkit/resolve-reflections");
|
|
10
9
|
let __powerlines_deepkit_schemas_reflection = require("@powerlines/deepkit/schemas/reflection");
|
|
@@ -12,6 +11,7 @@ let __stryke_capnp = require("@stryke/capnp");
|
|
|
12
11
|
__stryke_capnp = require_rolldown_runtime.__toESM(__stryke_capnp);
|
|
13
12
|
let __stryke_fs_buffer = require("@stryke/fs/buffer");
|
|
14
13
|
let __stryke_type_checks_is_empty_object = require("@stryke/type-checks/is-empty-object");
|
|
14
|
+
let node_fs = require("node:fs");
|
|
15
15
|
|
|
16
16
|
//#region src/helpers/persistence.ts
|
|
17
17
|
/**
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { joinPaths } from "../node_modules/.pnpm/@stryke_path@0.26.6/node_modules/@stryke/path/dist/join-paths.mjs";
|
|
2
1
|
import { __ΩEnvPluginContext, __ΩEnvPluginResolvedConfig, __ΩEnvType } from "../types/plugin.mjs";
|
|
2
|
+
import { joinPaths } from "../node_modules/.pnpm/@stryke_path@0.26.6/node_modules/@stryke/path/dist/join-paths.mjs";
|
|
3
3
|
import { createEnvReflection } from "./reflect.mjs";
|
|
4
4
|
import { ReflectionClass, ReflectionKind, deserializeType, resolveClassType } from "@powerlines/deepkit/vendor/type";
|
|
5
5
|
import { __ΩContext, __ΩUnresolvedContext } from "powerlines";
|
|
6
|
-
import { existsSync } from "node:fs";
|
|
7
6
|
import { convertFromCapnp, convertToCapnp } from "@powerlines/deepkit/capnp";
|
|
8
7
|
import { getReflectionsPath } from "@powerlines/deepkit/resolve-reflections";
|
|
9
8
|
import { SerializedTypes } from "@powerlines/deepkit/schemas/reflection";
|
|
10
9
|
import * as capnp from "@stryke/capnp";
|
|
11
10
|
import { readFileBuffer, writeFileBuffer, writeFileBufferSync } from "@stryke/fs/buffer";
|
|
12
11
|
import { isEmptyObject } from "@stryke/type-checks/is-empty-object";
|
|
12
|
+
import { existsSync } from "node:fs";
|
|
13
13
|
|
|
14
14
|
//#region src/helpers/persistence.ts
|
|
15
15
|
/**
|
package/dist/helpers/reflect.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.26.6/node_modules/@stryke/path/dist/join-paths.cjs');
|
|
3
2
|
const require_types_runtime = require('../types/runtime.cjs');
|
|
4
3
|
const require_types_plugin = require('../types/plugin.cjs');
|
|
4
|
+
const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.26.6/node_modules/@stryke/path/dist/join-paths.cjs');
|
|
5
5
|
const require_is_parent_path = require('../node_modules/.pnpm/@stryke_path@0.26.6/node_modules/@stryke/path/dist/is-parent-path.cjs');
|
|
6
6
|
const require_helpers_persistence = require('./persistence.cjs');
|
|
7
7
|
let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
package/dist/helpers/reflect.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { joinPaths } from "../node_modules/.pnpm/@stryke_path@0.26.6/node_modules/@stryke/path/dist/join-paths.mjs";
|
|
2
1
|
import { __ΩEnvInterface, __ΩSecretsInterface } from "../types/runtime.mjs";
|
|
3
2
|
import { __ΩEnvPluginContext } from "../types/plugin.mjs";
|
|
3
|
+
import { joinPaths } from "../node_modules/.pnpm/@stryke_path@0.26.6/node_modules/@stryke/path/dist/join-paths.mjs";
|
|
4
4
|
import { isParentPath } from "../node_modules/.pnpm/@stryke_path@0.26.6/node_modules/@stryke/path/dist/is-parent-path.mjs";
|
|
5
5
|
import { getEnvDefaultTypeDefinition, getSecretsDefaultTypeDefinition, readEnvTypeReflection, readSecretsReflection } from "./persistence.mjs";
|
|
6
6
|
import { ReflectionClass, ReflectionKind, __ΩTypeClass, __ΩTypeObjectLiteral, merge, resolveClassType } from "@powerlines/deepkit/vendor/type";
|
package/dist/index.cjs
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
|
|
3
|
-
const require_parse_type_definition = require('./node_modules/.pnpm/@stryke_convert@0.6.40/node_modules/@stryke/convert/dist/parse-type-definition.cjs');
|
|
4
|
-
const require_to_array = require('./node_modules/.pnpm/@stryke_convert@0.6.40/node_modules/@stryke/convert/dist/to-array.cjs');
|
|
5
3
|
const require_join_paths = require('./node_modules/.pnpm/@stryke_path@0.26.6/node_modules/@stryke/path/dist/join-paths.cjs');
|
|
4
|
+
const require_helpers_reflect = require('./helpers/reflect.cjs');
|
|
5
|
+
const require_helpers_persistence = require('./helpers/persistence.cjs');
|
|
6
6
|
const require_defu = require('./node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs');
|
|
7
|
-
const
|
|
7
|
+
const require_helpers_load = require('./helpers/load.cjs');
|
|
8
8
|
const require_helpers_docs_helper = require('./helpers/docs-helper.cjs');
|
|
9
|
+
const require_helpers_automd_generator = require('./helpers/automd-generator.cjs');
|
|
9
10
|
const require_components_docs = require('./components/docs.cjs');
|
|
10
|
-
const require_helpers_load = require('./helpers/load.cjs');
|
|
11
11
|
const require_components_env = require('./components/env.cjs');
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
12
|
+
const require_babel_plugin = require('./babel/plugin.cjs');
|
|
13
|
+
const require_parse_type_definition = require('./node_modules/.pnpm/@stryke_convert@0.6.40/node_modules/@stryke/convert/dist/parse-type-definition.cjs');
|
|
14
|
+
const require_to_array = require('./node_modules/.pnpm/@stryke_convert@0.6.40/node_modules/@stryke/convert/dist/to-array.cjs');
|
|
16
15
|
let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
|
16
|
+
let __stryke_env_types = require("@stryke/env/types");
|
|
17
|
+
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
17
18
|
let __powerlines_plugin_alloy = require("@powerlines/plugin-alloy");
|
|
18
19
|
__powerlines_plugin_alloy = require_rolldown_runtime.__toESM(__powerlines_plugin_alloy);
|
|
19
20
|
let __powerlines_plugin_alloy_render = require("@powerlines/plugin-alloy/render");
|
|
@@ -21,7 +22,6 @@ let __powerlines_plugin_automd = require("@powerlines/plugin-automd");
|
|
|
21
22
|
__powerlines_plugin_automd = require_rolldown_runtime.__toESM(__powerlines_plugin_automd);
|
|
22
23
|
let __powerlines_plugin_babel = require("@powerlines/plugin-babel");
|
|
23
24
|
__powerlines_plugin_babel = require_rolldown_runtime.__toESM(__powerlines_plugin_babel);
|
|
24
|
-
let __stryke_env_types = require("@stryke/env/types");
|
|
25
25
|
let __stryke_fs_exists = require("@stryke/fs/exists");
|
|
26
26
|
let __stryke_string_format_constant_case = require("@stryke/string-format/constant-case");
|
|
27
27
|
let __stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
package/dist/index.mjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { parseTypeDefinition } from "./node_modules/.pnpm/@stryke_convert@0.6.40/node_modules/@stryke/convert/dist/parse-type-definition.mjs";
|
|
2
|
-
import { toArray } from "./node_modules/.pnpm/@stryke_convert@0.6.40/node_modules/@stryke/convert/dist/to-array.mjs";
|
|
3
1
|
import { joinPaths } from "./node_modules/.pnpm/@stryke_path@0.26.6/node_modules/@stryke/path/dist/join-paths.mjs";
|
|
2
|
+
import { reflectEnv, reflectSecrets } from "./helpers/reflect.mjs";
|
|
3
|
+
import { getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectionsPath, getSecretsDefaultTypeDefinition, readEnvReflection, readEnvTypeReflection, readSecretsReflection, writeEnvReflection, writeEnvTypeReflection } from "./helpers/persistence.mjs";
|
|
4
4
|
import { defu } from "./node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs";
|
|
5
|
-
import {
|
|
5
|
+
import { loadEnv } from "./helpers/load.mjs";
|
|
6
6
|
import { getDocsOutputPath } from "./helpers/docs-helper.mjs";
|
|
7
|
+
import { env } from "./helpers/automd-generator.mjs";
|
|
7
8
|
import { EnvDocsFile } from "./components/docs.mjs";
|
|
8
|
-
import { loadEnv } from "./helpers/load.mjs";
|
|
9
9
|
import { EnvBuiltin } from "./components/env.mjs";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { createComponent } from "@alloy-js/core/jsx-runtime";
|
|
10
|
+
import { envBabelPlugin } from "./babel/plugin.mjs";
|
|
11
|
+
import { parseTypeDefinition } from "./node_modules/.pnpm/@stryke_convert@0.6.40/node_modules/@stryke/convert/dist/parse-type-definition.mjs";
|
|
12
|
+
import { toArray } from "./node_modules/.pnpm/@stryke_convert@0.6.40/node_modules/@stryke/convert/dist/to-array.mjs";
|
|
14
13
|
import { ReflectionClass, ReflectionKind } from "@powerlines/deepkit/vendor/type";
|
|
14
|
+
import { ENV_PREFIXES } from "@stryke/env/types";
|
|
15
|
+
import { createComponent } from "@alloy-js/core/jsx-runtime";
|
|
15
16
|
import alloy from "@powerlines/plugin-alloy";
|
|
16
17
|
import { render } from "@powerlines/plugin-alloy/render";
|
|
17
18
|
import automd from "@powerlines/plugin-automd";
|
|
18
19
|
import babel from "@powerlines/plugin-babel";
|
|
19
|
-
import { ENV_PREFIXES } from "@stryke/env/types";
|
|
20
20
|
import { existsSync } from "@stryke/fs/exists";
|
|
21
21
|
import { constantCase } from "@stryke/string-format/constant-case";
|
|
22
22
|
import { isSetString } from "@stryke/type-checks/is-set-string";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_defu = require('../../../../defu@6.1.4/node_modules/defu/dist/defu.cjs');
|
|
3
2
|
const require_pathe_M_eThtNZ = require('../../../../pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.cjs');
|
|
4
3
|
const require_main$1 = require('../../../../dotenv@17.3.1/node_modules/dotenv/lib/main.cjs');
|
|
5
4
|
const require_index = require('../../../../exsolve@1.0.8/node_modules/exsolve/dist/index.cjs');
|
|
6
5
|
const require_jiti = require('../../../../jiti@2.6.1/node_modules/jiti/lib/jiti.cjs');
|
|
6
|
+
const require_defu = require('../../../../defu@6.1.4/node_modules/defu/dist/defu.cjs');
|
|
7
7
|
const require_index$1 = require('../../../../rc9@2.1.2/node_modules/rc9/dist/index.cjs');
|
|
8
8
|
const require_index$2 = require('../../../../pkg-types@2.3.0/node_modules/pkg-types/dist/index.cjs');
|
|
9
9
|
let node_fs = require("node:fs");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { __toESM } from "../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
-
import { defu } from "../../../../defu@6.1.4/node_modules/defu/dist/defu.mjs";
|
|
3
2
|
import { basename, dirname, extname, join, normalize, resolve } from "../../../../pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs";
|
|
4
3
|
import { require_main } from "../../../../dotenv@17.3.1/node_modules/dotenv/lib/main.mjs";
|
|
5
4
|
import { resolveModulePath } from "../../../../exsolve@1.0.8/node_modules/exsolve/dist/index.mjs";
|
|
6
5
|
import { createJiti } from "../../../../jiti@2.6.1/node_modules/jiti/lib/jiti.mjs";
|
|
6
|
+
import { defu } from "../../../../defu@6.1.4/node_modules/defu/dist/defu.mjs";
|
|
7
7
|
import { read, readUser } from "../../../../rc9@2.1.2/node_modules/rc9/dist/index.mjs";
|
|
8
8
|
import { findWorkspaceDir, readPackageJSON } from "../../../../pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs";
|
|
9
9
|
import { existsSync, promises, statSync } from "node:fs";
|
package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_defu = require('../../../../../defu@6.1.4/node_modules/defu/dist/defu.cjs');
|
|
3
2
|
const require_pathe_M_eThtNZ = require('../../../../../pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.cjs');
|
|
3
|
+
const require_defu = require('../../../../../defu@6.1.4/node_modules/defu/dist/defu.cjs');
|
|
4
4
|
const require_index = require('../../../../../nypm@0.6.5/node_modules/nypm/dist/index.cjs');
|
|
5
5
|
const require_proxy$1 = require('../../../../../node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.cjs');
|
|
6
6
|
let node_fs = require("node:fs");
|
package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defu } from "../../../../../defu@6.1.4/node_modules/defu/dist/defu.mjs";
|
|
2
1
|
import { basename, dirname as dirname$1, resolve as resolve$1 } from "../../../../../pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs";
|
|
2
|
+
import { defu } from "../../../../../defu@6.1.4/node_modules/defu/dist/defu.mjs";
|
|
3
3
|
import { installDependencies } from "../../../../../nypm@0.6.5/node_modules/nypm/dist/index.mjs";
|
|
4
4
|
import { require_proxy } from "../../../../../node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs";
|
|
5
5
|
import fs, { createWriteStream, existsSync, readdirSync, renameSync } from "node:fs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
require('../../../../defu@6.1.4/node_modules/defu/dist/defu.cjs');
|
|
3
2
|
const require_index = require('../../../../destr@2.0.5/node_modules/destr/dist/index.cjs');
|
|
3
|
+
require('../../../../defu@6.1.4/node_modules/defu/dist/defu.cjs');
|
|
4
4
|
let node_fs = require("node:fs");
|
|
5
5
|
let node_path = require("node:path");
|
|
6
6
|
let node_os = require("node:os");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../../../defu@6.1.4/node_modules/defu/dist/defu.mjs";
|
|
2
1
|
import { destr } from "../../../../destr@2.0.5/node_modules/destr/dist/index.mjs";
|
|
2
|
+
import "../../../../defu@6.1.4/node_modules/defu/dist/defu.mjs";
|
|
3
3
|
import { existsSync, readFileSync } from "node:fs";
|
|
4
4
|
import { resolve } from "node:path";
|
|
5
5
|
import { homedir } from "node:os";
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EnvInterface, SecretsInterface } from "./runtime.mjs";
|
|
2
|
-
import { DotenvParseOutput } from "@stryke/env/types";
|
|
3
2
|
import { BabelPluginContext, BabelPluginOptions, BabelPluginResolvedConfig, BabelPluginUserConfig } from "@powerlines/plugin-babel/types";
|
|
4
3
|
import { AutoMDPluginOptions } from "@powerlines/plugin-automd/types/plugin";
|
|
5
4
|
import { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, AlloyPluginUserConfig } from "@powerlines/plugin-alloy/types";
|
|
6
5
|
import { Reflection } from "@powerlines/deepkit/types";
|
|
6
|
+
import { DotenvParseOutput } from "@stryke/env/types";
|
|
7
7
|
import { Children } from "@alloy-js/core";
|
|
8
8
|
import { DotenvConfiguration, TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
9
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-env",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.25",
|
|
4
4
|
"type": "module",
|
|
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
|
"repository": {
|
|
@@ -305,10 +305,10 @@
|
|
|
305
305
|
"@alloy-js/typescript": "0.23.0-dev.4",
|
|
306
306
|
"@babel/core": "^7.29.0",
|
|
307
307
|
"@babel/types": "^7.29.0",
|
|
308
|
-
"@powerlines/plugin-alloy": "^0.23.
|
|
309
|
-
"@powerlines/plugin-automd": "^0.1.
|
|
308
|
+
"@powerlines/plugin-alloy": "^0.23.38",
|
|
309
|
+
"@powerlines/plugin-automd": "^0.1.307",
|
|
310
310
|
"@powerlines/plugin-babel": "^0.12.314",
|
|
311
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
311
|
+
"@powerlines/plugin-plugin": "^0.12.258",
|
|
312
312
|
"@storm-software/config-tools": "^1.189.10",
|
|
313
313
|
"@stryke/capnp": "^0.12.68",
|
|
314
314
|
"@stryke/env": "^0.20.60",
|
|
@@ -318,15 +318,15 @@
|
|
|
318
318
|
"@stryke/type-checks": "^0.5.25",
|
|
319
319
|
"@stryke/types": "^0.10.39",
|
|
320
320
|
"automd": "^0.4.3",
|
|
321
|
-
"powerlines": "^0.39.
|
|
321
|
+
"powerlines": "^0.39.15"
|
|
322
322
|
},
|
|
323
323
|
"devDependencies": {
|
|
324
|
-
"@powerlines/deepkit": "^0.6.
|
|
325
|
-
"@powerlines/plugin-deepkit": "^0.11.
|
|
324
|
+
"@powerlines/deepkit": "^0.6.86",
|
|
325
|
+
"@powerlines/plugin-deepkit": "^0.11.186",
|
|
326
326
|
"@types/node": "^25.3.3",
|
|
327
327
|
"vite": "8.0.0-beta.16"
|
|
328
328
|
},
|
|
329
329
|
"publishConfig": { "access": "public" },
|
|
330
330
|
"types": "./dist/index.d.cts",
|
|
331
|
-
"gitHead": "
|
|
331
|
+
"gitHead": "f2965565e6f5dc5f65ab342f6a0cdb12171bdf2b"
|
|
332
332
|
}
|