@powerlines/plugin-env 0.15.49 → 0.15.50
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/plugin.cjs +6 -6
- package/dist/babel/plugin.mjs +6 -6
- package/dist/components/docs.cjs +2 -2
- package/dist/components/docs.mjs +2 -2
- package/dist/components/env.cjs +2 -2
- package/dist/components/env.mjs +2 -2
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/helpers/index.cjs +1 -1
- package/dist/helpers/index.mjs +1 -1
- package/dist/helpers/load.cjs +2 -2
- package/dist/helpers/load.mjs +2 -2
- package/dist/helpers/persistence.cjs +4 -4
- package/dist/helpers/persistence.mjs +4 -4
- package/dist/helpers/reflect.cjs +2 -2
- package/dist/helpers/reflect.mjs +2 -2
- package/dist/index.cjs +15 -15
- package/dist/index.mjs +15 -15
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs +0 -3
- 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/packages/powerlines/src/types/config.d.mts +4 -4
- package/dist/powerlines/src/types/config.d.cts +3 -3
- package/package.json +9 -9
package/dist/babel/plugin.cjs
CHANGED
|
@@ -2,18 +2,18 @@ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
|
2
2
|
const require_types_plugin = require('../types/plugin.cjs');
|
|
3
3
|
const require_helpers_persistence = require('../helpers/persistence.cjs');
|
|
4
4
|
let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
|
5
|
+
let __storm_software_config_tools_types = require("@storm-software/config-tools/types");
|
|
6
|
+
let powerlines_types_babel = require("powerlines/types/babel");
|
|
7
|
+
let __babel_core = require("@babel/core");
|
|
5
8
|
let __powerlines_deepkit_capnp = require("@powerlines/deepkit/capnp");
|
|
6
9
|
let __powerlines_deepkit_schemas_reflection = require("@powerlines/deepkit/schemas/reflection");
|
|
10
|
+
let __powerlines_deepkit_utilities = require("@powerlines/deepkit/utilities");
|
|
11
|
+
let __powerlines_plugin_babel_helpers_create_plugin = require("@powerlines/plugin-babel/helpers/create-plugin");
|
|
12
|
+
let __powerlines_plugin_babel_helpers_module_helpers = require("@powerlines/plugin-babel/helpers/module-helpers");
|
|
7
13
|
let __stryke_capnp = require("@stryke/capnp");
|
|
8
14
|
__stryke_capnp = require_rolldown_runtime.__toESM(__stryke_capnp);
|
|
9
15
|
let __stryke_fs_buffer = require("@stryke/fs/buffer");
|
|
10
16
|
let node_fs = require("node:fs");
|
|
11
|
-
let powerlines_types_babel = require("powerlines/types/babel");
|
|
12
|
-
let __babel_core = require("@babel/core");
|
|
13
|
-
let __powerlines_deepkit_utilities = require("@powerlines/deepkit/utilities");
|
|
14
|
-
let __powerlines_plugin_babel_helpers_create_plugin = require("@powerlines/plugin-babel/helpers/create-plugin");
|
|
15
|
-
let __powerlines_plugin_babel_helpers_module_helpers = require("@powerlines/plugin-babel/helpers/module-helpers");
|
|
16
|
-
let __storm_software_config_tools_types = require("@storm-software/config-tools/types");
|
|
17
17
|
|
|
18
18
|
//#region src/babel/plugin.ts
|
|
19
19
|
function __assignType(fn, args) {
|
package/dist/babel/plugin.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { __ΩEnvPluginContext } from "../types/plugin.mjs";
|
|
2
2
|
import { getEnvReflectionsPath } from "../helpers/persistence.mjs";
|
|
3
3
|
import { ReflectionClass, ReflectionKind, deserializeType, resolveClassType } from "@powerlines/deepkit/vendor/type";
|
|
4
|
-
import {
|
|
5
|
-
import { SerializedTypes } from "@powerlines/deepkit/schemas/reflection";
|
|
6
|
-
import * as capnp from "@stryke/capnp";
|
|
7
|
-
import { readFileBufferSync } from "@stryke/fs/buffer";
|
|
8
|
-
import { existsSync } from "node:fs";
|
|
4
|
+
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
9
5
|
import { __ΩBabelPluginPass } from "powerlines/types/babel";
|
|
10
6
|
import { NodePath } from "@babel/core";
|
|
7
|
+
import { convertFromCapnp } from "@powerlines/deepkit/capnp";
|
|
8
|
+
import { SerializedTypes } from "@powerlines/deepkit/schemas/reflection";
|
|
11
9
|
import { stringifyDefaultValue } from "@powerlines/deepkit/utilities";
|
|
12
10
|
import { createBabelPlugin } from "@powerlines/plugin-babel/helpers/create-plugin";
|
|
13
11
|
import { addImport } from "@powerlines/plugin-babel/helpers/module-helpers";
|
|
14
|
-
import
|
|
12
|
+
import * as capnp from "@stryke/capnp";
|
|
13
|
+
import { readFileBufferSync } from "@stryke/fs/buffer";
|
|
14
|
+
import { existsSync } from "node:fs";
|
|
15
15
|
|
|
16
16
|
//#region src/babel/plugin.ts
|
|
17
17
|
function __assignType(fn, args) {
|
package/dist/components/docs.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.cjs');
|
|
3
3
|
const require_helpers_create_reflection_resource = require('../helpers/create-reflection-resource.cjs');
|
|
4
|
+
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
4
5
|
let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
|
5
6
|
let __alloy_js_core = require("@alloy-js/core");
|
|
6
|
-
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
7
|
-
let __alloy_js_markdown = require("@alloy-js/markdown");
|
|
8
7
|
let __powerlines_plugin_alloy_core_contexts_context = require("@powerlines/plugin-alloy/core/contexts/context");
|
|
8
|
+
let __alloy_js_markdown = require("@alloy-js/markdown");
|
|
9
9
|
let __powerlines_plugin_alloy_markdown_components_markdown_file = require("@powerlines/plugin-alloy/markdown/components/markdown-file");
|
|
10
10
|
let __powerlines_plugin_alloy_markdown_components_markdown_table = require("@powerlines/plugin-alloy/markdown/components/markdown-table");
|
|
11
11
|
|
package/dist/components/docs.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { o } from "../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.mjs";
|
|
2
2
|
import { createReflectionResource } from "../helpers/create-reflection-resource.mjs";
|
|
3
|
+
import { createComponent, createIntrinsic } from "@alloy-js/core/jsx-runtime";
|
|
3
4
|
import { stringifyType } from "@powerlines/deepkit/vendor/type";
|
|
4
5
|
import { Show, code } from "@alloy-js/core";
|
|
5
|
-
import { createComponent, createIntrinsic } from "@alloy-js/core/jsx-runtime";
|
|
6
|
-
import { Heading, Link } from "@alloy-js/markdown";
|
|
7
6
|
import { usePowerlinesSafe } from "@powerlines/plugin-alloy/core/contexts/context";
|
|
7
|
+
import { Heading, Link } from "@alloy-js/markdown";
|
|
8
8
|
import { MarkdownFile } from "@powerlines/plugin-alloy/markdown/components/markdown-file";
|
|
9
9
|
import { MarkdownTable } from "@powerlines/plugin-alloy/markdown/components/markdown-table";
|
|
10
10
|
|
package/dist/components/env.cjs
CHANGED
|
@@ -2,12 +2,12 @@ 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
4
|
const require_helpers_create_reflection_resource = require('../helpers/create-reflection-resource.cjs');
|
|
5
|
+
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
5
6
|
let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
|
6
7
|
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
7
8
|
let __alloy_js_core = require("@alloy-js/core");
|
|
8
|
-
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
9
|
-
let __powerlines_plugin_alloy_core_contexts_context = require("@powerlines/plugin-alloy/core/contexts/context");
|
|
10
9
|
let __alloy_js_typescript = require("@alloy-js/typescript");
|
|
10
|
+
let __powerlines_plugin_alloy_core_contexts_context = require("@powerlines/plugin-alloy/core/contexts/context");
|
|
11
11
|
let __powerlines_plugin_alloy_helpers_refkey = require("@powerlines/plugin-alloy/helpers/refkey");
|
|
12
12
|
let __powerlines_plugin_alloy_typescript_components_builtin_file = require("@powerlines/plugin-alloy/typescript/components/builtin-file");
|
|
13
13
|
let __powerlines_plugin_alloy_typescript_components_tsdoc = require("@powerlines/plugin-alloy/typescript/components/tsdoc");
|
package/dist/components/env.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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
3
|
import { createReflectionResource } from "../helpers/create-reflection-resource.mjs";
|
|
4
|
+
import { createComponent, createIntrinsic, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
4
5
|
import { ReflectionClass, ReflectionKind } from "@powerlines/deepkit/vendor/type";
|
|
5
6
|
import { titleCase } from "@stryke/string-format/title-case";
|
|
6
7
|
import { For, Show, code, computed, splitProps } from "@alloy-js/core";
|
|
7
|
-
import { createComponent, createIntrinsic, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
8
|
-
import { usePowerlinesSafe } from "@powerlines/plugin-alloy/core/contexts/context";
|
|
9
8
|
import { ClassDeclaration, ClassMethod, ElseIfClause, FunctionDeclaration, IfStatement, NewExpression, TypeDeclaration, VarDeclaration } from "@alloy-js/typescript";
|
|
9
|
+
import { usePowerlinesSafe } from "@powerlines/plugin-alloy/core/contexts/context";
|
|
10
10
|
import { refkey } from "@powerlines/plugin-alloy/helpers/refkey";
|
|
11
11
|
import { BuiltinFile } from "@powerlines/plugin-alloy/typescript/components/builtin-file";
|
|
12
12
|
import { TSDoc, TSDocExample, TSDocLink, TSDocParam, TSDocRemarks, TSDocReturns, TSDocThrows } from "@powerlines/plugin-alloy/typescript/components/tsdoc";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_components_docs = require('./docs.cjs');
|
|
2
1
|
const require_components_env = require('./env.cjs');
|
|
2
|
+
const require_components_docs = require('./docs.cjs');
|
|
3
3
|
|
|
4
4
|
exports.EnvBuiltin = require_components_env.EnvBuiltin;
|
|
5
5
|
exports.EnvDocs = require_components_docs.EnvDocs;
|
package/dist/helpers/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_helpers_reflect = require('./reflect.cjs');
|
|
2
2
|
const require_helpers_persistence = require('./persistence.cjs');
|
|
3
|
-
const require_helpers_template_helpers = require('./template-helpers.cjs');
|
|
4
3
|
const require_helpers_source_file_env = require('./source-file-env.cjs');
|
|
5
4
|
const require_helpers_load = require('./load.cjs');
|
|
6
5
|
const require_helpers_create_reflection_resource = require('./create-reflection-resource.cjs');
|
|
6
|
+
const require_helpers_template_helpers = require('./template-helpers.cjs');
|
|
7
7
|
|
|
8
8
|
exports.BaseEnv = require_helpers_reflect.BaseEnv;
|
|
9
9
|
exports.BaseSecrets = require_helpers_reflect.BaseSecrets;
|
package/dist/helpers/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BaseEnv, BaseSecrets, __ΩCreateEnvReflectionOptions, createEnvReflection, createSecretsReflection, mergeEnvReflections, mergeSecretsReflections, reflectEnv, reflectSecrets } from "./reflect.mjs";
|
|
2
2
|
import { getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectionsPath, getSecretsDefaultTypeDefinition, readEnvReflection, readEnvTypeReflection, readSecretsReflection, resolveRuntimeTypeFile, writeEnvReflection, writeEnvReflectionSync, writeEnvTypeReflection } from "./persistence.mjs";
|
|
3
|
-
import { createTemplateReflection } from "./template-helpers.mjs";
|
|
4
3
|
import { formatEnvField, removeEnvPrefix } from "./source-file-env.mjs";
|
|
5
4
|
import { loadEnv, loadEnvFromContext } from "./load.mjs";
|
|
6
5
|
import { createReflectionResource } from "./create-reflection-resource.mjs";
|
|
6
|
+
import { createTemplateReflection } from "./template-helpers.mjs";
|
|
7
7
|
|
|
8
8
|
export { BaseEnv, BaseSecrets, __ΩCreateEnvReflectionOptions, createEnvReflection, createReflectionResource, 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');
|
|
3
2
|
const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.cjs');
|
|
4
|
-
const require_helpers_source_file_env = require('./source-file-env.cjs');
|
|
5
3
|
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');
|
|
6
5
|
const require_index = require('../node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.cjs');
|
|
6
|
+
const require_helpers_source_file_env = require('./source-file-env.cjs');
|
|
7
7
|
let powerlines_types_config = require("powerlines/types/config");
|
|
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";
|
|
2
1
|
import { o } from "../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.mjs";
|
|
3
|
-
import { removeEnvPrefix } from "./source-file-env.mjs";
|
|
4
2
|
import { defu } from "../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs";
|
|
3
|
+
import { __ΩEnvPluginContext, __ΩEnvPluginOptions } from "../types/plugin.mjs";
|
|
5
4
|
import { loadConfig } from "../node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.mjs";
|
|
5
|
+
import { removeEnvPrefix } from "./source-file-env.mjs";
|
|
6
6
|
import { __ΩWorkspaceConfig } from "powerlines/types/config";
|
|
7
7
|
import { loadEnv as loadEnv$1, loadEnvFile } from "@stryke/env/load-env";
|
|
8
8
|
import { kebabCase } from "@stryke/string-format/kebab-case";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_types_plugin = require('../types/plugin.cjs');
|
|
3
2
|
const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.cjs');
|
|
3
|
+
const require_types_plugin = require('../types/plugin.cjs');
|
|
4
4
|
const require_helpers_reflect = require('./reflect.cjs');
|
|
5
5
|
let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
|
6
|
-
let powerlines_types_context = require("powerlines/types/context");
|
|
7
6
|
let __powerlines_deepkit_capnp = require("@powerlines/deepkit/capnp");
|
|
8
|
-
let __powerlines_deepkit_resolve_reflections = require("@powerlines/deepkit/resolve-reflections");
|
|
9
7
|
let __powerlines_deepkit_schemas_reflection = require("@powerlines/deepkit/schemas/reflection");
|
|
10
8
|
let __stryke_capnp = require("@stryke/capnp");
|
|
11
9
|
__stryke_capnp = require_rolldown_runtime.__toESM(__stryke_capnp);
|
|
12
10
|
let __stryke_fs_buffer = require("@stryke/fs/buffer");
|
|
13
|
-
let __stryke_type_checks_is_empty_object = require("@stryke/type-checks/is-empty-object");
|
|
14
11
|
let node_fs = require("node:fs");
|
|
12
|
+
let powerlines_types_context = require("powerlines/types/context");
|
|
13
|
+
let __powerlines_deepkit_resolve_reflections = require("@powerlines/deepkit/resolve-reflections");
|
|
14
|
+
let __stryke_type_checks_is_empty_object = require("@stryke/type-checks/is-empty-object");
|
|
15
15
|
|
|
16
16
|
//#region src/helpers/persistence.ts
|
|
17
17
|
/**
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { __ΩEnvPluginContext, __ΩEnvPluginResolvedConfig, __ΩEnvType } from "../types/plugin.mjs";
|
|
2
1
|
import { o } from "../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.mjs";
|
|
2
|
+
import { __ΩEnvPluginContext, __ΩEnvPluginResolvedConfig, __ΩEnvType } from "../types/plugin.mjs";
|
|
3
3
|
import { createEnvReflection } from "./reflect.mjs";
|
|
4
4
|
import { ReflectionClass, ReflectionKind, deserializeType, resolveClassType } from "@powerlines/deepkit/vendor/type";
|
|
5
|
-
import { __ΩContext, __ΩUnresolvedContext } from "powerlines/types/context";
|
|
6
5
|
import { convertFromCapnp, convertToCapnp } from "@powerlines/deepkit/capnp";
|
|
7
|
-
import { getReflectionsPath } from "@powerlines/deepkit/resolve-reflections";
|
|
8
6
|
import { SerializedTypes } from "@powerlines/deepkit/schemas/reflection";
|
|
9
7
|
import * as capnp from "@stryke/capnp";
|
|
10
8
|
import { readFileBuffer, writeFileBuffer, writeFileBufferSync } from "@stryke/fs/buffer";
|
|
11
|
-
import { isEmptyObject } from "@stryke/type-checks/is-empty-object";
|
|
12
9
|
import { existsSync } from "node:fs";
|
|
10
|
+
import { __ΩContext, __ΩUnresolvedContext } from "powerlines/types/context";
|
|
11
|
+
import { getReflectionsPath } from "@powerlines/deepkit/resolve-reflections";
|
|
12
|
+
import { isEmptyObject } from "@stryke/type-checks/is-empty-object";
|
|
13
13
|
|
|
14
14
|
//#region src/helpers/persistence.ts
|
|
15
15
|
/**
|
package/dist/helpers/reflect.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_is_parent_path = require('../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/is-parent-path.cjs');
|
|
3
|
+
const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.cjs');
|
|
2
4
|
const require_types_runtime = require('../types/runtime.cjs');
|
|
3
5
|
const require_types_plugin = require('../types/plugin.cjs');
|
|
4
|
-
const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.cjs');
|
|
5
|
-
const require_is_parent_path = require('../node_modules/.pnpm/@stryke_path@0.24.3/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");
|
|
8
8
|
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
package/dist/helpers/reflect.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { t } from "../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/is-parent-path.mjs";
|
|
2
|
+
import { o } from "../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.mjs";
|
|
1
3
|
import { __ΩEnvInterface, __ΩSecretsInterface } from "../types/runtime.mjs";
|
|
2
4
|
import { __ΩEnvPluginContext } from "../types/plugin.mjs";
|
|
3
|
-
import { o } from "../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.mjs";
|
|
4
|
-
import { t } from "../node_modules/.pnpm/@stryke_path@0.24.3/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";
|
|
7
7
|
import { titleCase } from "@stryke/string-format/title-case";
|
package/dist/index.cjs
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
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.32/node_modules/@stryke/convert/dist/parse-type-definition.cjs');
|
|
4
|
+
const require_to_array = require('./node_modules/.pnpm/@stryke_convert@0.6.32/node_modules/@stryke/convert/dist/to-array.cjs');
|
|
5
|
+
const require_is_parent_path = require('./node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/is-parent-path.cjs');
|
|
6
|
+
const require_join_paths = require('./node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.cjs');
|
|
7
|
+
const require_defu = require('./node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs');
|
|
3
8
|
const require_types_runtime = require('./types/runtime.cjs');
|
|
4
9
|
const require_types_plugin = require('./types/plugin.cjs');
|
|
5
|
-
require('./types/index.cjs');
|
|
6
|
-
const require_join_paths = require('./node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.cjs');
|
|
7
|
-
const require_is_parent_path = require('./node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/is-parent-path.cjs');
|
|
8
10
|
const require_helpers_reflect = require('./helpers/reflect.cjs');
|
|
9
11
|
const require_helpers_persistence = require('./helpers/persistence.cjs');
|
|
10
|
-
const
|
|
12
|
+
const require_babel_plugin = require('./babel/plugin.cjs');
|
|
11
13
|
const require_helpers_source_file_env = require('./helpers/source-file-env.cjs');
|
|
12
|
-
const require_defu = require('./node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs');
|
|
13
14
|
const require_helpers_load = require('./helpers/load.cjs');
|
|
14
15
|
const require_helpers_create_reflection_resource = require('./helpers/create-reflection-resource.cjs');
|
|
15
|
-
require('./
|
|
16
|
+
const require_components_env = require('./components/env.cjs');
|
|
16
17
|
const require_helpers_automd_generator = require('./helpers/automd-generator.cjs');
|
|
18
|
+
require('./babel/index.cjs');
|
|
17
19
|
const require_components_docs = require('./components/docs.cjs');
|
|
18
|
-
const require_components_env = require('./components/env.cjs');
|
|
19
20
|
require('./components/index.cjs');
|
|
20
|
-
const
|
|
21
|
-
require('./
|
|
22
|
-
|
|
23
|
-
const require_to_array = require('./node_modules/.pnpm/@stryke_convert@0.6.32/node_modules/@stryke/convert/dist/to-array.cjs');
|
|
24
|
-
let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
|
25
|
-
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
26
|
-
let __stryke_env_types = require("@stryke/env/types");
|
|
21
|
+
const require_helpers_template_helpers = require('./helpers/template-helpers.cjs');
|
|
22
|
+
require('./helpers/index.cjs');
|
|
23
|
+
require('./types/index.cjs');
|
|
27
24
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
28
|
-
let
|
|
25
|
+
let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
|
29
26
|
let __powerlines_plugin_alloy = require("@powerlines/plugin-alloy");
|
|
30
27
|
__powerlines_plugin_alloy = require_rolldown_runtime.__toESM(__powerlines_plugin_alloy);
|
|
31
28
|
let __powerlines_plugin_automd = require("@powerlines/plugin-automd");
|
|
32
29
|
__powerlines_plugin_automd = require_rolldown_runtime.__toESM(__powerlines_plugin_automd);
|
|
33
30
|
let __powerlines_plugin_babel = require("@powerlines/plugin-babel");
|
|
34
31
|
__powerlines_plugin_babel = require_rolldown_runtime.__toESM(__powerlines_plugin_babel);
|
|
32
|
+
let __storm_software_config_tools_types = require("@storm-software/config-tools/types");
|
|
33
|
+
let __stryke_env_types = require("@stryke/env/types");
|
|
35
34
|
let __stryke_fs_exists = require("@stryke/fs/exists");
|
|
36
35
|
let __stryke_fs_helpers = require("@stryke/fs/helpers");
|
|
37
36
|
let __stryke_string_format_constant_case = require("@stryke/string-format/constant-case");
|
|
37
|
+
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
38
38
|
|
|
39
39
|
//#region src/index.tsx
|
|
40
40
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
+
import { n } from "./node_modules/.pnpm/@stryke_convert@0.6.32/node_modules/@stryke/convert/dist/parse-type-definition.mjs";
|
|
2
|
+
import { e } from "./node_modules/.pnpm/@stryke_convert@0.6.32/node_modules/@stryke/convert/dist/to-array.mjs";
|
|
3
|
+
import { t } from "./node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/is-parent-path.mjs";
|
|
4
|
+
import { o } from "./node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.mjs";
|
|
5
|
+
import { defu } from "./node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs";
|
|
1
6
|
import { __ΩEnvInterface, __ΩSecretsInterface } from "./types/runtime.mjs";
|
|
2
7
|
import { __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType } from "./types/plugin.mjs";
|
|
3
|
-
import "./types/index.mjs";
|
|
4
|
-
import { o } from "./node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.mjs";
|
|
5
|
-
import { t } from "./node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/is-parent-path.mjs";
|
|
6
8
|
import { BaseEnv, BaseSecrets, __ΩCreateEnvReflectionOptions, createEnvReflection, createSecretsReflection, mergeEnvReflections, mergeSecretsReflections, reflectEnv, reflectSecrets } from "./helpers/reflect.mjs";
|
|
7
9
|
import { getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectionsPath, getSecretsDefaultTypeDefinition, readEnvReflection, readEnvTypeReflection, readSecretsReflection, resolveRuntimeTypeFile, writeEnvReflection, writeEnvReflectionSync, writeEnvTypeReflection } from "./helpers/persistence.mjs";
|
|
8
|
-
import {
|
|
10
|
+
import { envBabelPlugin } from "./babel/plugin.mjs";
|
|
9
11
|
import { formatEnvField, removeEnvPrefix } from "./helpers/source-file-env.mjs";
|
|
10
|
-
import { defu } from "./node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs";
|
|
11
12
|
import { loadEnv, loadEnvFromContext } from "./helpers/load.mjs";
|
|
12
13
|
import { createReflectionResource } from "./helpers/create-reflection-resource.mjs";
|
|
13
|
-
import "./
|
|
14
|
+
import { EnvBuiltin, EnvTypeDefinition } from "./components/env.mjs";
|
|
14
15
|
import { env } from "./helpers/automd-generator.mjs";
|
|
16
|
+
import "./babel/index.mjs";
|
|
15
17
|
import { EnvDocs } from "./components/docs.mjs";
|
|
16
|
-
import { EnvBuiltin, EnvTypeDefinition } from "./components/env.mjs";
|
|
17
18
|
import "./components/index.mjs";
|
|
18
|
-
import {
|
|
19
|
-
import "./
|
|
20
|
-
import
|
|
21
|
-
import { e } from "./node_modules/.pnpm/@stryke_convert@0.6.32/node_modules/@stryke/convert/dist/to-array.mjs";
|
|
22
|
-
import { ReflectionClass, ReflectionKind, stringifyType } from "@powerlines/deepkit/vendor/type";
|
|
23
|
-
import { titleCase } from "@stryke/string-format/title-case";
|
|
24
|
-
import { ENV_PREFIXES } from "@stryke/env/types";
|
|
19
|
+
import { createTemplateReflection } from "./helpers/template-helpers.mjs";
|
|
20
|
+
import "./helpers/index.mjs";
|
|
21
|
+
import "./types/index.mjs";
|
|
25
22
|
import { createComponent } from "@alloy-js/core/jsx-runtime";
|
|
26
|
-
import {
|
|
23
|
+
import { ReflectionClass, ReflectionKind, stringifyType } from "@powerlines/deepkit/vendor/type";
|
|
27
24
|
import alloy from "@powerlines/plugin-alloy";
|
|
28
25
|
import automd from "@powerlines/plugin-automd";
|
|
29
26
|
import babel from "@powerlines/plugin-babel";
|
|
27
|
+
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
28
|
+
import { ENV_PREFIXES } from "@stryke/env/types";
|
|
30
29
|
import { existsSync } from "@stryke/fs/exists";
|
|
31
30
|
import { createDirectory } from "@stryke/fs/helpers";
|
|
32
31
|
import { constantCase } from "@stryke/string-format/constant-case";
|
|
32
|
+
import { titleCase } from "@stryke/string-format/title-case";
|
|
33
33
|
|
|
34
34
|
//#region src/index.tsx
|
|
35
35
|
/**
|
|
@@ -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');
|
|
2
3
|
const require_pathe_M_eThtNZ = require('../../../../pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.cjs');
|
|
3
4
|
const require_main$1 = require('../../../../dotenv@17.2.3/node_modules/dotenv/lib/main.cjs');
|
|
4
5
|
const require_index = require('../../../../exsolve@1.0.8/node_modules/exsolve/dist/index.cjs');
|
|
5
6
|
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";
|
|
2
3
|
import { basename, dirname, extname, join, normalize, resolve } from "../../../../pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs";
|
|
3
4
|
import { require_main } from "../../../../dotenv@17.2.3/node_modules/dotenv/lib/main.mjs";
|
|
4
5
|
import { resolveModulePath } from "../../../../exsolve@1.0.8/node_modules/exsolve/dist/index.mjs";
|
|
5
6
|
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";
|
|
@@ -4,9 +4,6 @@ import { downloadTemplate, registryProvider } from "./shared/giget.OCaTp9b-.mjs"
|
|
|
4
4
|
import "node:fs";
|
|
5
5
|
import "node:os";
|
|
6
6
|
import "node:fs/promises";
|
|
7
|
-
import "node:assert";
|
|
8
|
-
import "node:process";
|
|
9
|
-
import "node:util";
|
|
10
7
|
import "node:child_process";
|
|
11
8
|
|
|
12
9
|
//#region ../../node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs
|
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_pathe_M_eThtNZ = require('../../../../../pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.cjs');
|
|
3
2
|
const require_defu = require('../../../../../defu@6.1.4/node_modules/defu/dist/defu.cjs');
|
|
3
|
+
const require_pathe_M_eThtNZ = require('../../../../../pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.cjs');
|
|
4
4
|
const require_nypm_CLjaS_sz = require('../../../../../nypm@0.6.2/node_modules/nypm/dist/shared/nypm.CLjaS_sz.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 { basename, dirname as dirname$1, resolve as resolve$1 } from "../../../../../pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs";
|
|
2
1
|
import { defu } from "../../../../../defu@6.1.4/node_modules/defu/dist/defu.mjs";
|
|
2
|
+
import { basename, dirname as dirname$1, resolve as resolve$1 } from "../../../../../pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs";
|
|
3
3
|
import { installDependencies } from "../../../../../nypm@0.6.2/node_modules/nypm/dist/shared/nypm.CLjaS_sz.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
|
-
const require_index = require('../../../../destr@2.0.5/node_modules/destr/dist/index.cjs');
|
|
3
2
|
require('../../../../defu@6.1.4/node_modules/defu/dist/defu.cjs');
|
|
3
|
+
const require_index = require('../../../../destr@2.0.5/node_modules/destr/dist/index.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 { destr } from "../../../../destr@2.0.5/node_modules/destr/dist/index.mjs";
|
|
2
1
|
import "../../../../defu@6.1.4/node_modules/defu/dist/defu.mjs";
|
|
2
|
+
import { destr } from "../../../../destr@2.0.5/node_modules/destr/dist/index.mjs";
|
|
3
3
|
import { existsSync, readFileSync } from "node:fs";
|
|
4
4
|
import { resolve } from "node:path";
|
|
5
5
|
import { homedir } from "node:os";
|
|
@@ -4,8 +4,8 @@ import { StoragePort, StoragePreset } from "./fs.mjs";
|
|
|
4
4
|
import { TSConfig } from "./tsconfig.mjs";
|
|
5
5
|
import { PluginContext } from "./context.mjs";
|
|
6
6
|
import { Plugin } from "./plugin.mjs";
|
|
7
|
-
import { transformAsync } from "@babel/core";
|
|
8
7
|
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
8
|
+
import { transformAsync } from "@babel/core";
|
|
9
9
|
import { MaybePromise } from "@stryke/types/base";
|
|
10
10
|
import { PreviewOptions } from "vite";
|
|
11
11
|
import { Format } from "@storm-software/build-tools/types";
|
|
@@ -308,14 +308,14 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
308
308
|
*/
|
|
309
309
|
configFile?: string;
|
|
310
310
|
/**
|
|
311
|
-
* Should the Powerlines
|
|
311
|
+
* Should the Powerlines processes automatically install missing package dependencies?
|
|
312
312
|
*
|
|
313
313
|
* @remarks
|
|
314
|
-
* This
|
|
314
|
+
* When set to `true`, Powerlines will attempt to install any missing dependencies using the package manager detected in the project (e.g., npm, yarn, pnpm). This can be useful for ensuring that all required packages are available during the build and preparation phases.
|
|
315
315
|
*
|
|
316
316
|
* @defaultValue false
|
|
317
317
|
*/
|
|
318
|
-
|
|
318
|
+
autoInstall?: boolean;
|
|
319
319
|
/**
|
|
320
320
|
* Should the compiler processes skip any improvements that make use of cache?
|
|
321
321
|
*
|
|
@@ -308,14 +308,14 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
308
308
|
*/
|
|
309
309
|
configFile?: string;
|
|
310
310
|
/**
|
|
311
|
-
* Should the Powerlines
|
|
311
|
+
* Should the Powerlines processes automatically install missing package dependencies?
|
|
312
312
|
*
|
|
313
313
|
* @remarks
|
|
314
|
-
* This
|
|
314
|
+
* When set to `true`, Powerlines will attempt to install any missing dependencies using the package manager detected in the project (e.g., npm, yarn, pnpm). This can be useful for ensuring that all required packages are available during the build and preparation phases.
|
|
315
315
|
*
|
|
316
316
|
* @defaultValue false
|
|
317
317
|
*/
|
|
318
|
-
|
|
318
|
+
autoInstall?: boolean;
|
|
319
319
|
/**
|
|
320
320
|
* Should the compiler processes skip any improvements that make use of cache?
|
|
321
321
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-env",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.50",
|
|
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": {
|
|
@@ -193,10 +193,10 @@
|
|
|
193
193
|
"@alloy-js/typescript": "^0.22.0",
|
|
194
194
|
"@babel/core": "^7.28.6",
|
|
195
195
|
"@babel/types": "^7.28.6",
|
|
196
|
-
"@powerlines/plugin-alloy": "^0.18.
|
|
197
|
-
"@powerlines/plugin-automd": "^0.1.
|
|
198
|
-
"@powerlines/plugin-babel": "^0.12.
|
|
199
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
196
|
+
"@powerlines/plugin-alloy": "^0.18.47",
|
|
197
|
+
"@powerlines/plugin-automd": "^0.1.161",
|
|
198
|
+
"@powerlines/plugin-babel": "^0.12.170",
|
|
199
|
+
"@powerlines/plugin-plugin": "^0.12.113",
|
|
200
200
|
"@storm-software/config-tools": "^1.188.80",
|
|
201
201
|
"@stryke/capnp": "^0.12.55",
|
|
202
202
|
"@stryke/env": "^0.20.47",
|
|
@@ -206,14 +206,14 @@
|
|
|
206
206
|
"@stryke/type-checks": "^0.5.17",
|
|
207
207
|
"@stryke/types": "^0.10.31",
|
|
208
208
|
"automd": "^0.4.2",
|
|
209
|
-
"powerlines": "^0.37.
|
|
209
|
+
"powerlines": "^0.37.35"
|
|
210
210
|
},
|
|
211
211
|
"devDependencies": {
|
|
212
|
-
"@powerlines/deepkit": "^0.5.
|
|
213
|
-
"@powerlines/plugin-deepkit": "^0.11.
|
|
212
|
+
"@powerlines/deepkit": "^0.5.78",
|
|
213
|
+
"@powerlines/plugin-deepkit": "^0.11.39",
|
|
214
214
|
"@types/node": "^24.10.8",
|
|
215
215
|
"vite": "8.0.0-beta.2"
|
|
216
216
|
},
|
|
217
217
|
"publishConfig": { "access": "public" },
|
|
218
|
-
"gitHead": "
|
|
218
|
+
"gitHead": "65656903e05b8a85e4d46f7449a8c2bd8f90332e"
|
|
219
219
|
}
|