@powerlines/plugin-env 0.14.21 → 0.14.23
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/_virtual/rolldown_runtime.cjs +37 -1
- package/dist/_virtual/rolldown_runtime.mjs +29 -1
- package/dist/babel/index.cjs +1 -1
- package/dist/babel/index.mjs +3 -1
- package/dist/babel/plugin.cjs +120 -4
- package/dist/babel/plugin.d.cts +2 -3
- package/dist/babel/plugin.d.mts +3 -2
- package/dist/babel/plugin.mjs +118 -4
- package/dist/components/docs.cjs +71 -1
- package/dist/components/docs.mjs +70 -1
- package/dist/components/env.cjs +432 -11
- package/dist/components/env.mjs +430 -9
- package/dist/components/index.cjs +6 -1
- package/dist/components/index.mjs +4 -1
- package/dist/deepkit/schemas/reflection.cjs +3940 -1
- package/dist/deepkit/schemas/reflection.mjs +3938 -1
- package/dist/deepkit/schemas/reflection2.cjs +4112 -1
- package/dist/deepkit/schemas/reflection2.mjs +4110 -1
- package/dist/deepkit/src/capnp.cjs +913 -1
- package/dist/deepkit/src/capnp.mjs +911 -1
- package/dist/deepkit/src/esbuild-plugin.cjs +47 -4
- package/dist/deepkit/src/esbuild-plugin.mjs +46 -4
- package/dist/deepkit/src/reflect-type.cjs +22 -1
- package/dist/deepkit/src/reflect-type.mjs +20 -1
- package/dist/deepkit/src/resolve-reflections.cjs +16 -1
- package/dist/deepkit/src/resolve-reflections.mjs +15 -1
- package/dist/deepkit/src/transformer.cjs +52 -1
- package/dist/deepkit/src/transformer.mjs +49 -1
- package/dist/deepkit/src/transpile.cjs +29 -1
- package/dist/deepkit/src/transpile.mjs +27 -1
- package/dist/deepkit/src/utilities.cjs +66 -1
- package/dist/deepkit/src/utilities.mjs +65 -1
- package/dist/deepkit/src/vendor/type-compiler/index.cjs +38 -1
- package/dist/deepkit/src/vendor/type-compiler/index.mjs +19 -1
- package/dist/deepkit/src/vendor/type.cjs +20 -1
- package/dist/deepkit/src/vendor/type.mjs +11 -1
- package/dist/helpers/automd-generator.cjs +22 -1
- package/dist/helpers/automd-generator.mjs +21 -1
- package/dist/helpers/create-reflection-resource.cjs +55 -1
- package/dist/helpers/create-reflection-resource.mjs +54 -1
- package/dist/helpers/index.cjs +6 -1
- package/dist/helpers/index.mjs +8 -1
- package/dist/helpers/load.cjs +83 -1
- package/dist/helpers/load.d.cts +2 -2
- package/dist/helpers/load.d.mts +3 -2
- package/dist/helpers/load.mjs +80 -1
- package/dist/helpers/persistence.cjs +214 -1
- package/dist/helpers/persistence.d.cts +1 -1
- package/dist/helpers/persistence.d.mts +1 -1
- package/dist/helpers/persistence.mjs +202 -1
- package/dist/helpers/reflect.cjs +111 -1
- package/dist/helpers/reflect.mjs +103 -1
- package/dist/helpers/source-file-env.cjs +28 -1
- package/dist/helpers/source-file-env.mjs +26 -1
- package/dist/helpers/template-helpers.cjs +42 -1
- package/dist/helpers/template-helpers.mjs +41 -1
- package/dist/index.cjs +203 -5
- package/dist/index.d.cts +1 -3
- package/dist/index.d.mts +2 -1
- package/dist/index.mjs +170 -5
- package/dist/plugin-alloy/src/core/components/output.cjs +45 -1
- package/dist/plugin-alloy/src/core/components/output.mjs +44 -1
- package/dist/plugin-alloy/src/core/contexts/context.cjs +11 -1
- package/dist/plugin-alloy/src/core/contexts/context.mjs +10 -1
- package/dist/plugin-alloy/src/index.cjs +93 -1
- package/dist/plugin-alloy/src/index.mjs +91 -1
- package/dist/plugin-alloy/src/types/plugin.d.cts +2 -2
- package/dist/plugin-alloy/src/types/plugin.d.mts +2 -2
- package/dist/plugin-automd/src/index.cjs +101 -1
- package/dist/plugin-automd/src/index.mjs +98 -1
- package/dist/plugin-automd/src/types/plugin.d.mts +2 -2
- package/dist/plugin-babel/src/helpers/ast-utils.cjs +10 -1
- package/dist/plugin-babel/src/helpers/ast-utils.mjs +9 -1
- package/dist/plugin-babel/src/helpers/create-plugin.cjs +41 -1
- package/dist/plugin-babel/src/helpers/create-plugin.mjs +39 -1
- package/dist/plugin-babel/src/helpers/filters.cjs +23 -1
- package/dist/plugin-babel/src/helpers/filters.mjs +21 -1
- package/dist/plugin-babel/src/helpers/index.cjs +5 -1
- package/dist/plugin-babel/src/helpers/index.mjs +7 -1
- package/dist/plugin-babel/src/helpers/module-helpers.cjs +38 -1
- package/dist/plugin-babel/src/helpers/module-helpers.mjs +35 -1
- package/dist/plugin-babel/src/helpers/options.cjs +50 -1
- package/dist/plugin-babel/src/helpers/options.mjs +47 -1
- package/dist/plugin-babel/src/index.cjs +91 -1
- package/dist/plugin-babel/src/index.mjs +89 -1
- package/dist/plugin-babel/src/types/plugin.d.cts +2 -2
- package/dist/plugin-babel/src/types/plugin.d.mts +2 -2
- package/dist/powerlines/schemas/fs.d.mts +1 -0
- package/dist/powerlines/src/api.d.mts +7 -0
- package/dist/powerlines/src/index.d.mts +12 -0
- package/dist/powerlines/src/internal/helpers/hooks.d.mts +5 -0
- package/dist/powerlines/src/lib/build/esbuild.cjs +102 -14
- package/dist/powerlines/src/lib/build/esbuild.mjs +100 -14
- package/dist/powerlines/src/lib/entry.cjs +12 -1
- package/dist/powerlines/src/lib/entry.mjs +14 -1
- package/dist/powerlines/src/lib/logger.cjs +41 -1
- package/dist/powerlines/src/lib/logger.mjs +39 -1
- package/dist/powerlines/src/lib/utilities/bundle.cjs +35 -1
- package/dist/powerlines/src/lib/utilities/bundle.mjs +34 -1
- package/dist/powerlines/src/lib/utilities/resolve.cjs +30 -1
- package/dist/powerlines/src/lib/utilities/resolve.mjs +29 -1
- package/dist/powerlines/src/plugin-utils/paths.cjs +1 -1
- package/dist/powerlines/src/plugin-utils/paths.mjs +3 -1
- package/dist/powerlines/src/types/api.d.mts +5 -0
- package/dist/powerlines/src/types/babel.d.cts +3 -2
- package/dist/powerlines/src/types/babel.d.mts +3 -2
- package/dist/powerlines/src/types/commands.d.cts +1 -1
- package/dist/powerlines/src/types/commands.d.mts +2 -2
- package/dist/powerlines/src/types/config.d.cts +5 -5
- package/dist/powerlines/src/types/config.d.mts +6 -6
- package/dist/powerlines/src/types/context.d.cts +28 -4
- package/dist/powerlines/src/types/context.d.mts +30 -6
- package/dist/powerlines/src/types/fs.d.cts +1 -1
- package/dist/powerlines/src/types/fs.d.mts +1 -1
- package/dist/powerlines/src/types/index.d.mts +12 -0
- package/dist/powerlines/src/types/plugin.d.cts +3 -3
- package/dist/powerlines/src/types/plugin.d.mts +4 -4
- package/dist/powerlines/src/types/resolved.d.cts +1 -1
- package/dist/powerlines/src/types/resolved.d.mts +2 -2
- package/dist/powerlines/src/types/tsconfig.d.mts +1 -1
- package/dist/powerlines/src/types/unplugin.d.mts +7 -0
- package/dist/types/index.mjs +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.mjs +1 -1
- package/dist/types/runtime.mjs +1 -1
- package/package.json +16 -16
- package/dist/babel/index.d.cts +0 -1
- package/dist/helpers/index.d.cts +0 -6
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ResolveOptions, VirtualFile, VirtualFileSystemInterface, WriteOptions } from "./fs.mjs";
|
|
2
|
+
import { EnvironmentResolvedConfig, ResolvedConfig, ResolvedEntryTypeDefinition } from "./resolved.mjs";
|
|
2
3
|
import "./plugin.mjs";
|
|
3
|
-
import "./hooks.mjs";
|
|
4
4
|
import { ParsedTypeScriptConfig } from "./tsconfig.mjs";
|
|
5
5
|
import { InlineConfig, LogFn, UserConfig, WorkspaceConfig } from "./config.mjs";
|
|
6
|
-
import
|
|
6
|
+
import "./hooks.mjs";
|
|
7
7
|
import { NonUndefined } from "@stryke/types/base";
|
|
8
8
|
import { EnvPaths } from "@stryke/env/get-env-paths";
|
|
9
9
|
import { FetchRequestOptions } from "@stryke/http/fetch";
|
|
@@ -91,10 +91,18 @@ interface ParseOptions extends ParserOptions {
|
|
|
91
91
|
*/
|
|
92
92
|
allowReturnOutsideFunction?: boolean;
|
|
93
93
|
}
|
|
94
|
+
interface EmitOptions extends WriteOptions {
|
|
95
|
+
/**
|
|
96
|
+
* If true, will emit the file using {@link UnpluginBuildContext.emitFile | the bundler's emit function}.
|
|
97
|
+
*/
|
|
98
|
+
emitWithBundler?: boolean;
|
|
99
|
+
needsCodeReference?: Parameters<UnpluginBuildContext["emitFile"]>[0]["needsCodeReference"];
|
|
100
|
+
originalFileName?: Parameters<UnpluginBuildContext["emitFile"]>[0]["originalFileName"];
|
|
101
|
+
}
|
|
94
102
|
/**
|
|
95
103
|
* Options for emitting entry virtual files
|
|
96
104
|
*/
|
|
97
|
-
type EmitEntryOptions =
|
|
105
|
+
type EmitEntryOptions = EmitOptions & Omit<ResolvedEntryTypeDefinition, "file">;
|
|
98
106
|
/**
|
|
99
107
|
* The unresolved Powerlines context.
|
|
100
108
|
*
|
|
@@ -305,6 +313,22 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
305
313
|
* The Powerlines builtin virtual files
|
|
306
314
|
*/
|
|
307
315
|
getBuiltins: () => Promise<VirtualFile[]>;
|
|
316
|
+
/**
|
|
317
|
+
* Resolves a file and writes it to the VFS if it does not already exist
|
|
318
|
+
*
|
|
319
|
+
* @param code - The source code of the file
|
|
320
|
+
* @param path - The path to write the file to
|
|
321
|
+
* @param options - Additional options for writing the file
|
|
322
|
+
*/
|
|
323
|
+
emit: (code: string, path: string, options?: EmitOptions) => Promise<void>;
|
|
324
|
+
/**
|
|
325
|
+
* Synchronously resolves a file and writes it to the VFS if it does not already exist
|
|
326
|
+
*
|
|
327
|
+
* @param code - The source code of the file
|
|
328
|
+
* @param path - The path to write the file to
|
|
329
|
+
* @param options - Additional options for writing the file
|
|
330
|
+
*/
|
|
331
|
+
emitSync: (code: string, path: string, options?: EmitOptions) => void;
|
|
308
332
|
/**
|
|
309
333
|
* Resolves a builtin virtual file and writes it to the VFS if it does not already exist
|
|
310
334
|
*
|
|
@@ -313,7 +337,7 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
313
337
|
* @param path - An optional path to write the builtin file to
|
|
314
338
|
* @param options - Additional options for writing the builtin file
|
|
315
339
|
*/
|
|
316
|
-
emitBuiltin: (code: string, id: string, path?: string, options?:
|
|
340
|
+
emitBuiltin: (code: string, id: string, path?: string, options?: EmitOptions) => Promise<void>;
|
|
317
341
|
/**
|
|
318
342
|
* Synchronously resolves a builtin virtual file and writes it to the VFS if it does not already exist
|
|
319
343
|
*
|
|
@@ -322,7 +346,7 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
322
346
|
* @param path - An optional path to write the builtin file to
|
|
323
347
|
* @param options - Additional options for writing the builtin file
|
|
324
348
|
*/
|
|
325
|
-
emitBuiltinSync: (code: string, id: string, path?: string, options?:
|
|
349
|
+
emitBuiltinSync: (code: string, id: string, path?: string, options?: EmitOptions) => void;
|
|
326
350
|
/**
|
|
327
351
|
* Resolves a entry virtual file and writes it to the VFS if it does not already exist
|
|
328
352
|
*
|
|
@@ -389,4 +413,4 @@ interface PluginContext<out TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
389
413
|
}
|
|
390
414
|
type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = UnpluginBuildContext & PluginContext<TResolvedConfig>;
|
|
391
415
|
//#endregion
|
|
392
|
-
export { BuildPluginContext, Context, LogLevel, PluginContext, UnresolvedContext };
|
|
416
|
+
export { BuildPluginContext, Context, EmitEntryOptions, EmitOptions, FetchOptions, InitContextOptions, LogLevel, MetaInfo, ParseOptions, PluginContext, Resolver, TransformResult$1 as TransformResult, UnresolvedContext };
|
|
@@ -483,4 +483,4 @@ interface VirtualFileSystemInterface {
|
|
|
483
483
|
dispose: () => Promise<void>;
|
|
484
484
|
}
|
|
485
485
|
//#endregion
|
|
486
|
-
export { ResolveOptions$1 as ResolveOptions, StoragePort, StoragePreset, VirtualFile, VirtualFileSystemInterface, WriteOptions };
|
|
486
|
+
export { ResolveOptions$1 as ResolveOptions, StorageAdapter, StoragePort, StoragePreset, VirtualFile, VirtualFileData, VirtualFileMetadata, VirtualFileSystemInterface, WriteOptions };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BabelPluginPass, BabelTransformPlugin, BabelTransformPluginFilter, BabelTransformPluginOptions, DeclareBabelTransformPluginReturn } from "./babel.mjs";
|
|
2
|
+
import { BuildConfig, BuildResolvedConfig, UnpluginBuildVariant } from "./build.mjs";
|
|
3
|
+
import { ResolveOptions, StorageAdapter, StoragePort, StoragePreset, VirtualFile, VirtualFileData, VirtualFileMetadata, VirtualFileSystemInterface, WriteOptions } from "./fs.mjs";
|
|
4
|
+
import { CommandType, SUPPORTED_COMMANDS } from "./commands.mjs";
|
|
5
|
+
import { BabelResolvedConfig, EnvironmentResolvedConfig, OutputResolvedConfig, ResolvedAssetGlob, ResolvedConfig, ResolvedEntryTypeDefinition } from "./resolved.mjs";
|
|
6
|
+
import { BasePluginHookFunctions, BuildPlugin, ConfigResult, Plugin, PluginBuildPlugins, PluginHook, PluginHookObject, PluginHooks, TypesResult } from "./plugin.mjs";
|
|
7
|
+
import { DeepkitOptions, ParsedTypeScriptConfig, RawReflectionMode, ReflectionLevel, ReflectionMode, TSCompilerOptions, TSConfig } from "./tsconfig.mjs";
|
|
8
|
+
import { BabelUserConfig, BaseConfig, CommonUserConfig, DeployConfig, EnvironmentConfig, InlineConfig, LogFn, OutputConfig, PluginConfig, PluginConfigObject, PluginConfigTuple, PluginFactory, PowerlinesCommand, ProjectType, UserConfig, WorkspaceConfig } from "./config.mjs";
|
|
9
|
+
import "./hooks.mjs";
|
|
10
|
+
import { BuildPluginContext, Context, EmitEntryOptions, EmitOptions, FetchOptions, InitContextOptions, LogLevel, MetaInfo, ParseOptions, PluginContext, Resolver, TransformResult, UnresolvedContext } from "./context.mjs";
|
|
11
|
+
import "./api.mjs";
|
|
12
|
+
import "./unplugin.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { UnpluginBuildVariant } from "./build.cjs";
|
|
2
2
|
import { CommandType } from "./commands.cjs";
|
|
3
|
-
import { BuildPluginContext, PluginContext, UnresolvedContext } from "./context.cjs";
|
|
4
|
-
import { EnvironmentConfig, PluginConfig } from "./config.cjs";
|
|
5
3
|
import { EnvironmentResolvedConfig, ResolvedConfig } from "./resolved.cjs";
|
|
4
|
+
import { EnvironmentConfig, PluginConfig } from "./config.cjs";
|
|
5
|
+
import { BuildPluginContext, PluginContext, UnresolvedContext } from "./context.cjs";
|
|
6
|
+
import { ArrayValues } from "@stryke/types/array";
|
|
6
7
|
import { FunctionLike, MaybePromise } from "@stryke/types/base";
|
|
7
8
|
import { ExternalIdResult, HookFilter, TransformResult, UnpluginOptions } from "unplugin";
|
|
8
|
-
import { ArrayValues } from "@stryke/types/array";
|
|
9
9
|
|
|
10
10
|
//#region ../powerlines/src/types/plugin.d.ts
|
|
11
11
|
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { UnpluginBuildVariant } from "./build.mjs";
|
|
2
2
|
import { CommandType } from "./commands.mjs";
|
|
3
|
-
import { BuildPluginContext, PluginContext, UnresolvedContext } from "./context.mjs";
|
|
4
|
-
import { EnvironmentConfig, PluginConfig } from "./config.mjs";
|
|
5
3
|
import { EnvironmentResolvedConfig, ResolvedConfig } from "./resolved.mjs";
|
|
4
|
+
import { EnvironmentConfig, PluginConfig } from "./config.mjs";
|
|
5
|
+
import { BuildPluginContext, PluginContext, UnresolvedContext } from "./context.mjs";
|
|
6
|
+
import { ArrayValues } from "@stryke/types/array";
|
|
6
7
|
import { FunctionLike, MaybePromise } from "@stryke/types/base";
|
|
7
8
|
import { ExternalIdResult, HookFilter, TransformResult, UnpluginOptions } from "unplugin";
|
|
8
|
-
import { ArrayValues } from "@stryke/types/array";
|
|
9
9
|
|
|
10
10
|
//#region ../powerlines/src/types/plugin.d.ts
|
|
11
11
|
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> {
|
|
@@ -228,4 +228,4 @@ interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<
|
|
|
228
228
|
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<TContext>;
|
|
229
229
|
}
|
|
230
230
|
//#endregion
|
|
231
|
-
export { Plugin };
|
|
231
|
+
export { BasePluginHookFunctions, BuildPlugin, ConfigResult, Plugin, PluginBuildPlugins, PluginHook, PluginHookObject, PluginHooks, TypesResult };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BabelUserConfig, EnvironmentConfig, InlineConfig, OutputConfig, UserConfig } from "./config.cjs";
|
|
2
2
|
import { NonUndefined } from "@stryke/types/base";
|
|
3
|
-
import { AssetGlob } from "@stryke/types/file";
|
|
4
3
|
import { TypeDefinition } from "@stryke/types/configuration";
|
|
4
|
+
import { AssetGlob } from "@stryke/types/file";
|
|
5
5
|
import { ResolvedPreviewOptions } from "vite";
|
|
6
6
|
|
|
7
7
|
//#region ../powerlines/src/types/resolved.d.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./build.mjs";
|
|
2
2
|
import { BabelUserConfig, EnvironmentConfig, InlineConfig, OutputConfig, UserConfig } from "./config.mjs";
|
|
3
3
|
import { NonUndefined } from "@stryke/types/base";
|
|
4
|
-
import { AssetGlob } from "@stryke/types/file";
|
|
5
4
|
import { TypeDefinition } from "@stryke/types/configuration";
|
|
5
|
+
import { AssetGlob } from "@stryke/types/file";
|
|
6
6
|
import { ResolvedPreviewOptions } from "vite";
|
|
7
7
|
|
|
8
8
|
//#region ../powerlines/src/types/resolved.d.ts
|
|
@@ -80,4 +80,4 @@ type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserCon
|
|
|
80
80
|
logLevel: "error" | "warn" | "info" | "debug" | "trace" | null;
|
|
81
81
|
};
|
|
82
82
|
//#endregion
|
|
83
|
-
export { BabelResolvedConfig, EnvironmentResolvedConfig, ResolvedConfig, ResolvedEntryTypeDefinition };
|
|
83
|
+
export { BabelResolvedConfig, EnvironmentResolvedConfig, OutputResolvedConfig, ResolvedAssetGlob, ResolvedConfig, ResolvedEntryTypeDefinition };
|
|
@@ -66,4 +66,4 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
|
|
|
66
66
|
tsconfigFilePath: string;
|
|
67
67
|
};
|
|
68
68
|
//#endregion
|
|
69
|
-
export { ParsedTypeScriptConfig, TSConfig };
|
|
69
|
+
export { DeepkitOptions, ParsedTypeScriptConfig, RawReflectionMode, ReflectionLevel, ReflectionMode, TSCompilerOptions, TSConfig };
|
package/dist/types/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{};
|
|
1
|
+
export { };
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -3,8 +3,8 @@ import { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, Allo
|
|
|
3
3
|
import { AutoMDPluginOptions } from "../plugin-automd/src/types/plugin.cjs";
|
|
4
4
|
import { BabelPluginContext, BabelPluginOptions, BabelPluginResolvedConfig, BabelPluginUserConfig } from "../plugin-babel/src/types/plugin.cjs";
|
|
5
5
|
import { EnvInterface, SecretsInterface } from "./runtime.cjs";
|
|
6
|
-
import { Children } from "@alloy-js/core/jsx-runtime";
|
|
7
6
|
import { DotenvConfiguration, TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
7
|
+
import { Children } from "@alloy-js/core/jsx-runtime";
|
|
8
8
|
import { DotenvParseOutput } from "@stryke/env/types";
|
|
9
9
|
|
|
10
10
|
//#region src/types/plugin.d.ts
|
package/dist/types/plugin.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{};
|
|
1
|
+
export { };
|
package/dist/types/runtime.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{};
|
|
1
|
+
export { };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-env",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.23",
|
|
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,23 +193,23 @@
|
|
|
193
193
|
"@alloy-js/json": "^0.22.0",
|
|
194
194
|
"@babel/core": "^7.28.5",
|
|
195
195
|
"@babel/types": "^7.28.5",
|
|
196
|
-
"@powerlines/deepkit": "^0.5.
|
|
197
|
-
"@powerlines/plugin-alloy": "^0.17.
|
|
198
|
-
"@powerlines/plugin-automd": "^0.1.
|
|
199
|
-
"@powerlines/plugin-babel": "^0.12.
|
|
200
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
201
|
-
"@storm-software/config-tools": "^1.188.
|
|
202
|
-
"@stryke/capnp": "^0.12.
|
|
203
|
-
"@stryke/env": "^0.20.
|
|
204
|
-
"@stryke/fs": "^0.33.
|
|
205
|
-
"@stryke/json": "^0.9.
|
|
206
|
-
"@stryke/string-format": "^0.12.
|
|
207
|
-
"@stryke/type-checks": "^0.5.
|
|
208
|
-
"@stryke/types": "^0.10.
|
|
196
|
+
"@powerlines/deepkit": "^0.5.34",
|
|
197
|
+
"@powerlines/plugin-alloy": "^0.17.2",
|
|
198
|
+
"@powerlines/plugin-automd": "^0.1.119",
|
|
199
|
+
"@powerlines/plugin-babel": "^0.12.128",
|
|
200
|
+
"@powerlines/plugin-plugin": "^0.12.71",
|
|
201
|
+
"@storm-software/config-tools": "^1.188.75",
|
|
202
|
+
"@stryke/capnp": "^0.12.52",
|
|
203
|
+
"@stryke/env": "^0.20.44",
|
|
204
|
+
"@stryke/fs": "^0.33.27",
|
|
205
|
+
"@stryke/json": "^0.9.33",
|
|
206
|
+
"@stryke/string-format": "^0.12.30",
|
|
207
|
+
"@stryke/type-checks": "^0.5.15",
|
|
208
|
+
"@stryke/types": "^0.10.29",
|
|
209
209
|
"automd": "^0.4.2",
|
|
210
|
-
"powerlines": "^0.36.
|
|
210
|
+
"powerlines": "^0.36.24"
|
|
211
211
|
},
|
|
212
212
|
"devDependencies": { "@types/node": "^24.10.4", "vite": "8.0.0-beta.2" },
|
|
213
213
|
"publishConfig": { "access": "public" },
|
|
214
|
-
"gitHead": "
|
|
214
|
+
"gitHead": "4b695d4b3476fd9dd79521f92258d52dab2b8d72"
|
|
215
215
|
}
|
package/dist/babel/index.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { envBabelPlugin } from "./plugin.cjs";
|
package/dist/helpers/index.d.cts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { createReflectionResource } from "./create-reflection-resource.cjs";
|
|
2
|
-
import { loadEnv, loadEnvFromContext } from "./load.cjs";
|
|
3
|
-
import { getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectionsPath, getSecretsDefaultTypeDefinition, readEnvReflection, readEnvTypeReflection, readSecretsReflection, resolveRuntimeTypeFile, writeEnvReflection, writeEnvReflectionSync, writeEnvTypeReflection } from "./persistence.cjs";
|
|
4
|
-
import { BaseEnv, BaseSecrets, CreateEnvReflectionOptions, __ΩCreateEnvReflectionOptions, createEnvReflection, createSecretsReflection, mergeEnvReflections, mergeSecretsReflections, reflectEnv, reflectSecrets } from "./reflect.cjs";
|
|
5
|
-
import { formatEnvField, removeEnvPrefix } from "./source-file-env.cjs";
|
|
6
|
-
import { createTemplateReflection } from "./template-helpers.cjs";
|