@powerlines/plugin-env 0.2.0 → 0.3.0
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.d.cts +2 -2
- package/dist/babel/index.d.ts +2 -2
- package/dist/babel/plugin.d.cts +2 -2
- package/dist/babel/plugin.d.ts +2 -2
- package/dist/helpers/index.d.cts +2 -2
- package/dist/helpers/index.d.ts +2 -2
- package/dist/helpers/load.d.cts +2 -2
- package/dist/helpers/load.d.ts +2 -2
- package/dist/helpers/persistence.d.cts +2 -2
- package/dist/helpers/persistence.d.ts +2 -2
- package/dist/helpers/reflect.d.cts +2 -2
- package/dist/helpers/reflect.d.ts +2 -2
- package/dist/helpers/template-helpers.d.cts +2 -2
- package/dist/helpers/template-helpers.d.ts +2 -2
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/{runtime-Cg76ZSEX.d.cts → runtime-2DL8LKdD.d.cts} +14 -18
- package/dist/{runtime-CWg6Y3Nw.d.ts → runtime-Cij6nHdf.d.ts} +14 -18
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/plugin.d.cts +2 -2
- package/dist/types/plugin.d.ts +2 -2
- package/dist/types/runtime.d.cts +2 -2
- package/dist/types/runtime.d.ts +2 -2
- package/package.json +7 -7
package/dist/babel/index.d.cts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
export { envBabelPlugin } from './plugin.cjs';
|
|
2
|
-
import '../runtime-
|
|
2
|
+
import '../runtime-2DL8LKdD.cjs';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/package-json';
|
|
5
5
|
import 'jiti';
|
|
6
6
|
import '@deepkit/type';
|
|
7
|
+
import 'semver';
|
|
7
8
|
import 'unplugin';
|
|
8
9
|
import '@stryke/capnp';
|
|
9
10
|
import '@storm-software/config-tools/types';
|
|
@@ -15,7 +16,6 @@ import '@babel/core';
|
|
|
15
16
|
import '@storm-software/build-tools/types';
|
|
16
17
|
import '@storm-software/config/types';
|
|
17
18
|
import '@babel/helper-plugin-utils';
|
|
18
|
-
import 'semver';
|
|
19
19
|
import '@stryke/types/array';
|
|
20
20
|
import '@stryke/types/tsconfig';
|
|
21
21
|
import 'typescript';
|
package/dist/babel/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
export { envBabelPlugin } from './plugin.js';
|
|
2
|
-
import '../runtime-
|
|
2
|
+
import '../runtime-Cij6nHdf.js';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/package-json';
|
|
5
5
|
import 'jiti';
|
|
6
6
|
import '@deepkit/type';
|
|
7
|
+
import 'semver';
|
|
7
8
|
import 'unplugin';
|
|
8
9
|
import '@stryke/capnp';
|
|
9
10
|
import '@storm-software/config-tools/types';
|
|
@@ -15,7 +16,6 @@ import '@babel/core';
|
|
|
15
16
|
import '@storm-software/build-tools/types';
|
|
16
17
|
import '@storm-software/config/types';
|
|
17
18
|
import '@babel/helper-plugin-utils';
|
|
18
|
-
import 'semver';
|
|
19
19
|
import '@stryke/types/array';
|
|
20
20
|
import '@stryke/types/tsconfig';
|
|
21
21
|
import 'typescript';
|
package/dist/babel/plugin.d.cts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { D as DeclareBabelTransformPluginReturn } from '../runtime-
|
|
1
|
+
import { D as DeclareBabelTransformPluginReturn } from '../runtime-2DL8LKdD.cjs';
|
|
2
2
|
import { EnvPluginContext, EnvPluginResolvedConfig } from '../types/plugin.cjs';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/package-json';
|
|
5
5
|
import 'jiti';
|
|
6
6
|
import '@deepkit/type';
|
|
7
|
+
import 'semver';
|
|
7
8
|
import 'unplugin';
|
|
8
9
|
import '@stryke/capnp';
|
|
9
10
|
import '@storm-software/config-tools/types';
|
|
@@ -15,7 +16,6 @@ import '@babel/core';
|
|
|
15
16
|
import '@storm-software/build-tools/types';
|
|
16
17
|
import '@storm-software/config/types';
|
|
17
18
|
import '@babel/helper-plugin-utils';
|
|
18
|
-
import 'semver';
|
|
19
19
|
import '@stryke/types/array';
|
|
20
20
|
import '@stryke/types/tsconfig';
|
|
21
21
|
import 'typescript';
|
package/dist/babel/plugin.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { D as DeclareBabelTransformPluginReturn } from '../runtime-
|
|
1
|
+
import { D as DeclareBabelTransformPluginReturn } from '../runtime-Cij6nHdf.js';
|
|
2
2
|
import { EnvPluginContext, EnvPluginResolvedConfig } from '../types/plugin.js';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/package-json';
|
|
5
5
|
import 'jiti';
|
|
6
6
|
import '@deepkit/type';
|
|
7
|
+
import 'semver';
|
|
7
8
|
import 'unplugin';
|
|
8
9
|
import '@stryke/capnp';
|
|
9
10
|
import '@storm-software/config-tools/types';
|
|
@@ -15,7 +16,6 @@ import '@babel/core';
|
|
|
15
16
|
import '@storm-software/build-tools/types';
|
|
16
17
|
import '@storm-software/config/types';
|
|
17
18
|
import '@babel/helper-plugin-utils';
|
|
18
|
-
import 'semver';
|
|
19
19
|
import '@stryke/types/array';
|
|
20
20
|
import '@stryke/types/tsconfig';
|
|
21
21
|
import 'typescript';
|
package/dist/helpers/index.d.cts
CHANGED
|
@@ -3,11 +3,12 @@ export { getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectio
|
|
|
3
3
|
export { CreateEnvReflectionOptions, StormBaseEnv, StormBaseSecrets, __ΩCreateEnvReflectionOptions, createEnvReflection, createSecretsReflection, mergeEnvReflections, mergeSecretsReflections, reflectEnv, reflectSecrets } from './reflect.cjs';
|
|
4
4
|
export { formatEnvField, removeEnvPrefix } from './source-file-env.cjs';
|
|
5
5
|
export { createTemplateReflection } from './template-helpers.cjs';
|
|
6
|
-
import '../runtime-
|
|
6
|
+
import '../runtime-2DL8LKdD.cjs';
|
|
7
7
|
import '@stryke/env/get-env-paths';
|
|
8
8
|
import '@stryke/types/package-json';
|
|
9
9
|
import 'jiti';
|
|
10
10
|
import '@deepkit/type';
|
|
11
|
+
import 'semver';
|
|
11
12
|
import 'unplugin';
|
|
12
13
|
import '@stryke/capnp';
|
|
13
14
|
import '@storm-software/config-tools/types';
|
|
@@ -19,7 +20,6 @@ import '@babel/core';
|
|
|
19
20
|
import '@storm-software/build-tools/types';
|
|
20
21
|
import '@storm-software/config/types';
|
|
21
22
|
import '@babel/helper-plugin-utils';
|
|
22
|
-
import 'semver';
|
|
23
23
|
import '@stryke/types/array';
|
|
24
24
|
import '@stryke/types/tsconfig';
|
|
25
25
|
import 'typescript';
|
package/dist/helpers/index.d.ts
CHANGED
|
@@ -3,11 +3,12 @@ export { getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectio
|
|
|
3
3
|
export { CreateEnvReflectionOptions, StormBaseEnv, StormBaseSecrets, __ΩCreateEnvReflectionOptions, createEnvReflection, createSecretsReflection, mergeEnvReflections, mergeSecretsReflections, reflectEnv, reflectSecrets } from './reflect.js';
|
|
4
4
|
export { formatEnvField, removeEnvPrefix } from './source-file-env.js';
|
|
5
5
|
export { createTemplateReflection } from './template-helpers.js';
|
|
6
|
-
import '../runtime-
|
|
6
|
+
import '../runtime-Cij6nHdf.js';
|
|
7
7
|
import '@stryke/env/get-env-paths';
|
|
8
8
|
import '@stryke/types/package-json';
|
|
9
9
|
import 'jiti';
|
|
10
10
|
import '@deepkit/type';
|
|
11
|
+
import 'semver';
|
|
11
12
|
import 'unplugin';
|
|
12
13
|
import '@stryke/capnp';
|
|
13
14
|
import '@storm-software/config-tools/types';
|
|
@@ -19,7 +20,6 @@ import '@babel/core';
|
|
|
19
20
|
import '@storm-software/build-tools/types';
|
|
20
21
|
import '@storm-software/config/types';
|
|
21
22
|
import '@babel/helper-plugin-utils';
|
|
22
|
-
import 'semver';
|
|
23
23
|
import '@stryke/types/array';
|
|
24
24
|
import '@stryke/types/tsconfig';
|
|
25
25
|
import 'typescript';
|
package/dist/helpers/load.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as EnvironmentResolvedConfig } from '../runtime-
|
|
1
|
+
import { a as EnvironmentResolvedConfig } from '../runtime-2DL8LKdD.cjs';
|
|
2
2
|
import * as _storm_software_config_tools_types from '@storm-software/config-tools/types';
|
|
3
3
|
import { DotenvParseOutput } from '@stryke/env/types';
|
|
4
4
|
import { EnvPluginContext, EnvPluginOptions } from '../types/plugin.cjs';
|
|
@@ -6,6 +6,7 @@ import '@stryke/env/get-env-paths';
|
|
|
6
6
|
import '@stryke/types/package-json';
|
|
7
7
|
import 'jiti';
|
|
8
8
|
import '@deepkit/type';
|
|
9
|
+
import 'semver';
|
|
9
10
|
import 'unplugin';
|
|
10
11
|
import '@stryke/capnp';
|
|
11
12
|
import '@stryke/types/base';
|
|
@@ -16,7 +17,6 @@ import '@babel/core';
|
|
|
16
17
|
import '@storm-software/build-tools/types';
|
|
17
18
|
import '@storm-software/config/types';
|
|
18
19
|
import '@babel/helper-plugin-utils';
|
|
19
|
-
import 'semver';
|
|
20
20
|
import '@stryke/types/array';
|
|
21
21
|
import '@stryke/types/tsconfig';
|
|
22
22
|
import 'typescript';
|
package/dist/helpers/load.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as EnvironmentResolvedConfig } from '../runtime-
|
|
1
|
+
import { a as EnvironmentResolvedConfig } from '../runtime-Cij6nHdf.js';
|
|
2
2
|
import * as _storm_software_config_tools_types from '@storm-software/config-tools/types';
|
|
3
3
|
import { DotenvParseOutput } from '@stryke/env/types';
|
|
4
4
|
import { EnvPluginContext, EnvPluginOptions } from '../types/plugin.js';
|
|
@@ -6,6 +6,7 @@ import '@stryke/env/get-env-paths';
|
|
|
6
6
|
import '@stryke/types/package-json';
|
|
7
7
|
import 'jiti';
|
|
8
8
|
import '@deepkit/type';
|
|
9
|
+
import 'semver';
|
|
9
10
|
import 'unplugin';
|
|
10
11
|
import '@stryke/capnp';
|
|
11
12
|
import '@stryke/types/base';
|
|
@@ -16,7 +17,6 @@ import '@babel/core';
|
|
|
16
17
|
import '@storm-software/build-tools/types';
|
|
17
18
|
import '@storm-software/config/types';
|
|
18
19
|
import '@babel/helper-plugin-utils';
|
|
19
|
-
import 'semver';
|
|
20
20
|
import '@stryke/types/array';
|
|
21
21
|
import '@stryke/types/tsconfig';
|
|
22
22
|
import 'typescript';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { TypeDefinition } from '@stryke/types/configuration';
|
|
2
2
|
import { ReflectionClass } from '@deepkit/type';
|
|
3
|
-
import { C as Context } from '../runtime-
|
|
3
|
+
import { C as Context } from '../runtime-2DL8LKdD.cjs';
|
|
4
4
|
import { EnvPluginResolvedConfig, EnvType, EnvPluginContext } from '../types/plugin.cjs';
|
|
5
5
|
import '@stryke/env/get-env-paths';
|
|
6
6
|
import '@stryke/types/package-json';
|
|
7
7
|
import 'jiti';
|
|
8
|
+
import 'semver';
|
|
8
9
|
import 'unplugin';
|
|
9
10
|
import '@stryke/capnp';
|
|
10
11
|
import '@storm-software/config-tools/types';
|
|
@@ -15,7 +16,6 @@ import '@babel/core';
|
|
|
15
16
|
import '@storm-software/build-tools/types';
|
|
16
17
|
import '@storm-software/config/types';
|
|
17
18
|
import '@babel/helper-plugin-utils';
|
|
18
|
-
import 'semver';
|
|
19
19
|
import '@stryke/types/array';
|
|
20
20
|
import '@stryke/types/tsconfig';
|
|
21
21
|
import 'typescript';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { TypeDefinition } from '@stryke/types/configuration';
|
|
2
2
|
import { ReflectionClass } from '@deepkit/type';
|
|
3
|
-
import { C as Context } from '../runtime-
|
|
3
|
+
import { C as Context } from '../runtime-Cij6nHdf.js';
|
|
4
4
|
import { EnvPluginResolvedConfig, EnvType, EnvPluginContext } from '../types/plugin.js';
|
|
5
5
|
import '@stryke/env/get-env-paths';
|
|
6
6
|
import '@stryke/types/package-json';
|
|
7
7
|
import 'jiti';
|
|
8
|
+
import 'semver';
|
|
8
9
|
import 'unplugin';
|
|
9
10
|
import '@stryke/capnp';
|
|
10
11
|
import '@storm-software/config-tools/types';
|
|
@@ -15,7 +16,6 @@ import '@babel/core';
|
|
|
15
16
|
import '@storm-software/build-tools/types';
|
|
16
17
|
import '@storm-software/config/types';
|
|
17
18
|
import '@babel/helper-plugin-utils';
|
|
18
|
-
import 'semver';
|
|
19
19
|
import '@stryke/types/array';
|
|
20
20
|
import '@stryke/types/tsconfig';
|
|
21
21
|
import 'typescript';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { ReflectionClass, TypeObjectLiteral, TypeClass } from '@deepkit/type';
|
|
2
2
|
import { EnvPluginContext } from '../types/plugin.cjs';
|
|
3
|
-
import { E as EnvInterface, S as SecretsInterface } from '../runtime-
|
|
3
|
+
import { E as EnvInterface, S as SecretsInterface } from '../runtime-2DL8LKdD.cjs';
|
|
4
4
|
import '@alloy-js/core/jsx-runtime';
|
|
5
5
|
import '@stryke/env/types';
|
|
6
6
|
import '@stryke/types/configuration';
|
|
7
7
|
import '@stryke/env/get-env-paths';
|
|
8
8
|
import '@stryke/types/package-json';
|
|
9
9
|
import 'jiti';
|
|
10
|
+
import 'semver';
|
|
10
11
|
import 'unplugin';
|
|
11
12
|
import '@stryke/capnp';
|
|
12
13
|
import '@storm-software/config-tools/types';
|
|
@@ -17,7 +18,6 @@ import '@babel/core';
|
|
|
17
18
|
import '@storm-software/build-tools/types';
|
|
18
19
|
import '@storm-software/config/types';
|
|
19
20
|
import '@babel/helper-plugin-utils';
|
|
20
|
-
import 'semver';
|
|
21
21
|
import '@stryke/types/array';
|
|
22
22
|
import '@stryke/types/tsconfig';
|
|
23
23
|
import 'typescript';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { ReflectionClass, TypeObjectLiteral, TypeClass } from '@deepkit/type';
|
|
2
2
|
import { EnvPluginContext } from '../types/plugin.js';
|
|
3
|
-
import { E as EnvInterface, S as SecretsInterface } from '../runtime-
|
|
3
|
+
import { E as EnvInterface, S as SecretsInterface } from '../runtime-Cij6nHdf.js';
|
|
4
4
|
import '@alloy-js/core/jsx-runtime';
|
|
5
5
|
import '@stryke/env/types';
|
|
6
6
|
import '@stryke/types/configuration';
|
|
7
7
|
import '@stryke/env/get-env-paths';
|
|
8
8
|
import '@stryke/types/package-json';
|
|
9
9
|
import 'jiti';
|
|
10
|
+
import 'semver';
|
|
10
11
|
import 'unplugin';
|
|
11
12
|
import '@stryke/capnp';
|
|
12
13
|
import '@storm-software/config-tools/types';
|
|
@@ -17,7 +18,6 @@ import '@babel/core';
|
|
|
17
18
|
import '@storm-software/build-tools/types';
|
|
18
19
|
import '@storm-software/config/types';
|
|
19
20
|
import '@babel/helper-plugin-utils';
|
|
20
|
-
import 'semver';
|
|
21
21
|
import '@stryke/types/array';
|
|
22
22
|
import '@stryke/types/tsconfig';
|
|
23
23
|
import 'typescript';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ReflectionClass } from '@deepkit/type';
|
|
2
2
|
import { EnvPluginContext, EnvType } from '../types/plugin.cjs';
|
|
3
3
|
import '@alloy-js/core/jsx-runtime';
|
|
4
|
-
import '../runtime-
|
|
4
|
+
import '../runtime-2DL8LKdD.cjs';
|
|
5
5
|
import '@stryke/env/get-env-paths';
|
|
6
6
|
import '@stryke/types/package-json';
|
|
7
7
|
import 'jiti';
|
|
8
|
+
import 'semver';
|
|
8
9
|
import 'unplugin';
|
|
9
10
|
import '@stryke/capnp';
|
|
10
11
|
import '@storm-software/config-tools/types';
|
|
@@ -16,7 +17,6 @@ import '@babel/core';
|
|
|
16
17
|
import '@storm-software/build-tools/types';
|
|
17
18
|
import '@storm-software/config/types';
|
|
18
19
|
import '@babel/helper-plugin-utils';
|
|
19
|
-
import 'semver';
|
|
20
20
|
import '@stryke/types/array';
|
|
21
21
|
import '@stryke/types/tsconfig';
|
|
22
22
|
import 'typescript';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ReflectionClass } from '@deepkit/type';
|
|
2
2
|
import { EnvPluginContext, EnvType } from '../types/plugin.js';
|
|
3
3
|
import '@alloy-js/core/jsx-runtime';
|
|
4
|
-
import '../runtime-
|
|
4
|
+
import '../runtime-Cij6nHdf.js';
|
|
5
5
|
import '@stryke/env/get-env-paths';
|
|
6
6
|
import '@stryke/types/package-json';
|
|
7
7
|
import 'jiti';
|
|
8
|
+
import 'semver';
|
|
8
9
|
import 'unplugin';
|
|
9
10
|
import '@stryke/capnp';
|
|
10
11
|
import '@storm-software/config-tools/types';
|
|
@@ -16,7 +17,6 @@ import '@babel/core';
|
|
|
16
17
|
import '@storm-software/build-tools/types';
|
|
17
18
|
import '@storm-software/config/types';
|
|
18
19
|
import '@babel/helper-plugin-utils';
|
|
19
|
-
import 'semver';
|
|
20
20
|
import '@stryke/types/array';
|
|
21
21
|
import '@stryke/types/tsconfig';
|
|
22
22
|
import 'typescript';
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EnvPluginContext, EnvPluginResolvedConfig } from './types/plugin.cjs';
|
|
2
2
|
export { EnvPluginOptions, EnvPluginUserConfig, EnvType, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType } from './types/plugin.cjs';
|
|
3
|
-
import { B as BabelTransformPluginOptions, P as Plugin } from './runtime-
|
|
4
|
-
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from './runtime-
|
|
3
|
+
import { B as BabelTransformPluginOptions, P as Plugin } from './runtime-2DL8LKdD.cjs';
|
|
4
|
+
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from './runtime-2DL8LKdD.cjs';
|
|
5
5
|
import * as _alloy_js_core from '@alloy-js/core';
|
|
6
6
|
import { PrintTreeOptions } from '@alloy-js/core';
|
|
7
7
|
import * as _stryke_types_configuration from '@stryke/types/configuration';
|
|
@@ -20,6 +20,7 @@ import '@stryke/env/get-env-paths';
|
|
|
20
20
|
import '@stryke/types/package-json';
|
|
21
21
|
import 'jiti';
|
|
22
22
|
import '@deepkit/type';
|
|
23
|
+
import 'semver';
|
|
23
24
|
import 'unplugin';
|
|
24
25
|
import '@stryke/capnp';
|
|
25
26
|
import '@storm-software/config-tools/types';
|
|
@@ -29,7 +30,6 @@ import 'vite';
|
|
|
29
30
|
import '@storm-software/build-tools/types';
|
|
30
31
|
import '@storm-software/config/types';
|
|
31
32
|
import '@babel/helper-plugin-utils';
|
|
32
|
-
import 'semver';
|
|
33
33
|
import '@stryke/types/array';
|
|
34
34
|
import '@stryke/types/tsconfig';
|
|
35
35
|
import 'typescript';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EnvPluginContext, EnvPluginResolvedConfig } from './types/plugin.js';
|
|
2
2
|
export { EnvPluginOptions, EnvPluginUserConfig, EnvType, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType } from './types/plugin.js';
|
|
3
|
-
import { B as BabelTransformPluginOptions, P as Plugin } from './runtime-
|
|
4
|
-
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from './runtime-
|
|
3
|
+
import { B as BabelTransformPluginOptions, P as Plugin } from './runtime-Cij6nHdf.js';
|
|
4
|
+
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from './runtime-Cij6nHdf.js';
|
|
5
5
|
import * as _alloy_js_core from '@alloy-js/core';
|
|
6
6
|
import { PrintTreeOptions } from '@alloy-js/core';
|
|
7
7
|
import * as _stryke_types_configuration from '@stryke/types/configuration';
|
|
@@ -20,6 +20,7 @@ import '@stryke/env/get-env-paths';
|
|
|
20
20
|
import '@stryke/types/package-json';
|
|
21
21
|
import 'jiti';
|
|
22
22
|
import '@deepkit/type';
|
|
23
|
+
import 'semver';
|
|
23
24
|
import 'unplugin';
|
|
24
25
|
import '@stryke/capnp';
|
|
25
26
|
import '@storm-software/config-tools/types';
|
|
@@ -29,7 +30,6 @@ import 'vite';
|
|
|
29
30
|
import '@storm-software/build-tools/types';
|
|
30
31
|
import '@storm-software/config/types';
|
|
31
32
|
import '@babel/helper-plugin-utils';
|
|
32
|
-
import 'semver';
|
|
33
33
|
import '@stryke/types/array';
|
|
34
34
|
import '@stryke/types/tsconfig';
|
|
35
35
|
import 'typescript';
|
|
@@ -2,6 +2,7 @@ import { EnvPaths } from '@stryke/env/get-env-paths';
|
|
|
2
2
|
import { PackageJson } from '@stryke/types/package-json';
|
|
3
3
|
import { Jiti } from 'jiti';
|
|
4
4
|
import { ReflectionClass } from '@deepkit/type';
|
|
5
|
+
import { Range } from 'semver';
|
|
5
6
|
import { TransformResult, ExternalIdResult, HookFilter, UnpluginOptions, UnpluginContext, UnpluginBuildContext } from 'unplugin';
|
|
6
7
|
import * as $ from '@stryke/capnp';
|
|
7
8
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
@@ -13,7 +14,6 @@ import { PluginItem, PluginObj, PluginPass, transformAsync } from '@babel/core';
|
|
|
13
14
|
import { Format } from '@storm-software/build-tools/types';
|
|
14
15
|
import { StormWorkspaceConfig } from '@storm-software/config/types';
|
|
15
16
|
import { BabelAPI } from '@babel/helper-plugin-utils';
|
|
16
|
-
import { Range } from 'semver';
|
|
17
17
|
import { ArrayValues } from '@stryke/types/array';
|
|
18
18
|
import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
|
|
19
19
|
import ts from 'typescript';
|
|
@@ -1646,11 +1646,6 @@ type DeclareBabelTransformPluginReturn<TContext extends Context = Context, TOpti
|
|
|
1646
1646
|
declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "release", "finalize"];
|
|
1647
1647
|
type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
|
|
1648
1648
|
|
|
1649
|
-
type PackageDependencyMeta = "dependency" | "devDependency" | {
|
|
1650
|
-
version?: string | Range;
|
|
1651
|
-
type?: "dependency" | "devDependency";
|
|
1652
|
-
};
|
|
1653
|
-
type PackageDependencies = Record<string, PackageDependencyMeta>;
|
|
1654
1649
|
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter | undefined = undefined> {
|
|
1655
1650
|
/**
|
|
1656
1651
|
* The order in which the plugin should be applied.
|
|
@@ -2002,14 +1997,14 @@ interface OutputConfig {
|
|
|
2002
1997
|
*/
|
|
2003
1998
|
builtinPrefix?: string;
|
|
2004
1999
|
/**
|
|
2005
|
-
* The folder where the generated runtime
|
|
2000
|
+
* The folder where the generated runtime artifacts will be located
|
|
2006
2001
|
*
|
|
2007
2002
|
* @remarks
|
|
2008
|
-
* This folder will contain all runtime
|
|
2003
|
+
* This folder will contain all runtime artifacts and builtins generated during the "prepare" phase.
|
|
2009
2004
|
*
|
|
2010
2005
|
* @defaultValue "\{projectRoot\}/.powerlines"
|
|
2011
2006
|
*/
|
|
2012
|
-
|
|
2007
|
+
artifactsFolder?: string;
|
|
2013
2008
|
/**
|
|
2014
2009
|
* The module format of the output files
|
|
2015
2010
|
*
|
|
@@ -2404,13 +2399,6 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
|
|
|
2404
2399
|
* The relative path to the Powerlines workspace root directory
|
|
2405
2400
|
*/
|
|
2406
2401
|
relativeToWorkspaceRoot: string;
|
|
2407
|
-
/**
|
|
2408
|
-
* The path to the \powerlines package
|
|
2409
|
-
*
|
|
2410
|
-
* @remarks
|
|
2411
|
-
* This is used to determine the path to the Powerlines core package, which contains the runtime files.
|
|
2412
|
-
*/
|
|
2413
|
-
corePackagePath: string;
|
|
2414
2402
|
/**
|
|
2415
2403
|
* The Powerlines artifacts directory
|
|
2416
2404
|
*/
|
|
@@ -2440,9 +2428,17 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
|
|
|
2440
2428
|
*/
|
|
2441
2429
|
envPaths: EnvPaths;
|
|
2442
2430
|
/**
|
|
2443
|
-
* The
|
|
2431
|
+
* The file system path to the Powerlines package installation
|
|
2432
|
+
*/
|
|
2433
|
+
powerlinesPath: string;
|
|
2434
|
+
/**
|
|
2435
|
+
* The dependency installations required by the project
|
|
2436
|
+
*/
|
|
2437
|
+
dependencies: Record<string, string | Range>;
|
|
2438
|
+
/**
|
|
2439
|
+
* The development dependency installations required by the project
|
|
2444
2440
|
*/
|
|
2445
|
-
|
|
2441
|
+
devDependencies: Record<string, string | Range>;
|
|
2446
2442
|
/**
|
|
2447
2443
|
* The project's `package.json` file content
|
|
2448
2444
|
*/
|
|
@@ -2,6 +2,7 @@ import { EnvPaths } from '@stryke/env/get-env-paths';
|
|
|
2
2
|
import { PackageJson } from '@stryke/types/package-json';
|
|
3
3
|
import { Jiti } from 'jiti';
|
|
4
4
|
import { ReflectionClass } from '@deepkit/type';
|
|
5
|
+
import { Range } from 'semver';
|
|
5
6
|
import { TransformResult, ExternalIdResult, HookFilter, UnpluginOptions, UnpluginContext, UnpluginBuildContext } from 'unplugin';
|
|
6
7
|
import * as $ from '@stryke/capnp';
|
|
7
8
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
@@ -13,7 +14,6 @@ import { PluginItem, PluginObj, PluginPass, transformAsync } from '@babel/core';
|
|
|
13
14
|
import { Format } from '@storm-software/build-tools/types';
|
|
14
15
|
import { StormWorkspaceConfig } from '@storm-software/config/types';
|
|
15
16
|
import { BabelAPI } from '@babel/helper-plugin-utils';
|
|
16
|
-
import { Range } from 'semver';
|
|
17
17
|
import { ArrayValues } from '@stryke/types/array';
|
|
18
18
|
import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
|
|
19
19
|
import ts from 'typescript';
|
|
@@ -1646,11 +1646,6 @@ type DeclareBabelTransformPluginReturn<TContext extends Context = Context, TOpti
|
|
|
1646
1646
|
declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "release", "finalize"];
|
|
1647
1647
|
type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
|
|
1648
1648
|
|
|
1649
|
-
type PackageDependencyMeta = "dependency" | "devDependency" | {
|
|
1650
|
-
version?: string | Range;
|
|
1651
|
-
type?: "dependency" | "devDependency";
|
|
1652
|
-
};
|
|
1653
|
-
type PackageDependencies = Record<string, PackageDependencyMeta>;
|
|
1654
1649
|
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter | undefined = undefined> {
|
|
1655
1650
|
/**
|
|
1656
1651
|
* The order in which the plugin should be applied.
|
|
@@ -2002,14 +1997,14 @@ interface OutputConfig {
|
|
|
2002
1997
|
*/
|
|
2003
1998
|
builtinPrefix?: string;
|
|
2004
1999
|
/**
|
|
2005
|
-
* The folder where the generated runtime
|
|
2000
|
+
* The folder where the generated runtime artifacts will be located
|
|
2006
2001
|
*
|
|
2007
2002
|
* @remarks
|
|
2008
|
-
* This folder will contain all runtime
|
|
2003
|
+
* This folder will contain all runtime artifacts and builtins generated during the "prepare" phase.
|
|
2009
2004
|
*
|
|
2010
2005
|
* @defaultValue "\{projectRoot\}/.powerlines"
|
|
2011
2006
|
*/
|
|
2012
|
-
|
|
2007
|
+
artifactsFolder?: string;
|
|
2013
2008
|
/**
|
|
2014
2009
|
* The module format of the output files
|
|
2015
2010
|
*
|
|
@@ -2404,13 +2399,6 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
|
|
|
2404
2399
|
* The relative path to the Powerlines workspace root directory
|
|
2405
2400
|
*/
|
|
2406
2401
|
relativeToWorkspaceRoot: string;
|
|
2407
|
-
/**
|
|
2408
|
-
* The path to the \powerlines package
|
|
2409
|
-
*
|
|
2410
|
-
* @remarks
|
|
2411
|
-
* This is used to determine the path to the Powerlines core package, which contains the runtime files.
|
|
2412
|
-
*/
|
|
2413
|
-
corePackagePath: string;
|
|
2414
2402
|
/**
|
|
2415
2403
|
* The Powerlines artifacts directory
|
|
2416
2404
|
*/
|
|
@@ -2440,9 +2428,17 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
|
|
|
2440
2428
|
*/
|
|
2441
2429
|
envPaths: EnvPaths;
|
|
2442
2430
|
/**
|
|
2443
|
-
* The
|
|
2431
|
+
* The file system path to the Powerlines package installation
|
|
2432
|
+
*/
|
|
2433
|
+
powerlinesPath: string;
|
|
2434
|
+
/**
|
|
2435
|
+
* The dependency installations required by the project
|
|
2436
|
+
*/
|
|
2437
|
+
dependencies: Record<string, string | Range>;
|
|
2438
|
+
/**
|
|
2439
|
+
* The development dependency installations required by the project
|
|
2444
2440
|
*/
|
|
2445
|
-
|
|
2441
|
+
devDependencies: Record<string, string | Range>;
|
|
2446
2442
|
/**
|
|
2447
2443
|
* The project's `package.json` file content
|
|
2448
2444
|
*/
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvType, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType } from './plugin.cjs';
|
|
2
|
-
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from '../runtime-
|
|
2
|
+
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from '../runtime-2DL8LKdD.cjs';
|
|
3
3
|
import '@alloy-js/core/jsx-runtime';
|
|
4
4
|
import '@stryke/env/types';
|
|
5
5
|
import '@stryke/types/configuration';
|
|
@@ -7,6 +7,7 @@ import '@stryke/env/get-env-paths';
|
|
|
7
7
|
import '@stryke/types/package-json';
|
|
8
8
|
import 'jiti';
|
|
9
9
|
import '@deepkit/type';
|
|
10
|
+
import 'semver';
|
|
10
11
|
import 'unplugin';
|
|
11
12
|
import '@stryke/capnp';
|
|
12
13
|
import '@storm-software/config-tools/types';
|
|
@@ -17,7 +18,6 @@ import '@babel/core';
|
|
|
17
18
|
import '@storm-software/build-tools/types';
|
|
18
19
|
import '@storm-software/config/types';
|
|
19
20
|
import '@babel/helper-plugin-utils';
|
|
20
|
-
import 'semver';
|
|
21
21
|
import '@stryke/types/array';
|
|
22
22
|
import '@stryke/types/tsconfig';
|
|
23
23
|
import 'typescript';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvType, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType } from './plugin.js';
|
|
2
|
-
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from '../runtime-
|
|
2
|
+
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from '../runtime-Cij6nHdf.js';
|
|
3
3
|
import '@alloy-js/core/jsx-runtime';
|
|
4
4
|
import '@stryke/env/types';
|
|
5
5
|
import '@stryke/types/configuration';
|
|
@@ -7,6 +7,7 @@ import '@stryke/env/get-env-paths';
|
|
|
7
7
|
import '@stryke/types/package-json';
|
|
8
8
|
import 'jiti';
|
|
9
9
|
import '@deepkit/type';
|
|
10
|
+
import 'semver';
|
|
10
11
|
import 'unplugin';
|
|
11
12
|
import '@stryke/capnp';
|
|
12
13
|
import '@storm-software/config-tools/types';
|
|
@@ -17,7 +18,6 @@ import '@babel/core';
|
|
|
17
18
|
import '@storm-software/build-tools/types';
|
|
18
19
|
import '@storm-software/config/types';
|
|
19
20
|
import '@babel/helper-plugin-utils';
|
|
20
|
-
import 'semver';
|
|
21
21
|
import '@stryke/types/array';
|
|
22
22
|
import '@stryke/types/tsconfig';
|
|
23
23
|
import 'typescript';
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Children } from '@alloy-js/core/jsx-runtime';
|
|
2
|
-
import { c as BabelUserConfig, U as UserConfig, R as ResolvedConfig, d as BabelResolvedConfig, e as PluginContext, f as Reflection, E as EnvInterface, S as SecretsInterface } from '../runtime-
|
|
2
|
+
import { c as BabelUserConfig, U as UserConfig, R as ResolvedConfig, d as BabelResolvedConfig, e as PluginContext, f as Reflection, E as EnvInterface, S as SecretsInterface } from '../runtime-2DL8LKdD.cjs';
|
|
3
3
|
import { DotenvParseOutput } from '@stryke/env/types';
|
|
4
4
|
import { DotenvConfiguration, TypeDefinitionParameter, TypeDefinition } from '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/env/get-env-paths';
|
|
6
6
|
import '@stryke/types/package-json';
|
|
7
7
|
import 'jiti';
|
|
8
8
|
import '@deepkit/type';
|
|
9
|
+
import 'semver';
|
|
9
10
|
import 'unplugin';
|
|
10
11
|
import '@stryke/capnp';
|
|
11
12
|
import '@storm-software/config-tools/types';
|
|
@@ -16,7 +17,6 @@ import '@babel/core';
|
|
|
16
17
|
import '@storm-software/build-tools/types';
|
|
17
18
|
import '@storm-software/config/types';
|
|
18
19
|
import '@babel/helper-plugin-utils';
|
|
19
|
-
import 'semver';
|
|
20
20
|
import '@stryke/types/array';
|
|
21
21
|
import '@stryke/types/tsconfig';
|
|
22
22
|
import 'typescript';
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Children } from '@alloy-js/core/jsx-runtime';
|
|
2
|
-
import { c as BabelUserConfig, U as UserConfig, R as ResolvedConfig, d as BabelResolvedConfig, e as PluginContext, f as Reflection, E as EnvInterface, S as SecretsInterface } from '../runtime-
|
|
2
|
+
import { c as BabelUserConfig, U as UserConfig, R as ResolvedConfig, d as BabelResolvedConfig, e as PluginContext, f as Reflection, E as EnvInterface, S as SecretsInterface } from '../runtime-Cij6nHdf.js';
|
|
3
3
|
import { DotenvParseOutput } from '@stryke/env/types';
|
|
4
4
|
import { DotenvConfiguration, TypeDefinitionParameter, TypeDefinition } from '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/env/get-env-paths';
|
|
6
6
|
import '@stryke/types/package-json';
|
|
7
7
|
import 'jiti';
|
|
8
8
|
import '@deepkit/type';
|
|
9
|
+
import 'semver';
|
|
9
10
|
import 'unplugin';
|
|
10
11
|
import '@stryke/capnp';
|
|
11
12
|
import '@storm-software/config-tools/types';
|
|
@@ -16,7 +17,6 @@ import '@babel/core';
|
|
|
16
17
|
import '@storm-software/build-tools/types';
|
|
17
18
|
import '@storm-software/config/types';
|
|
18
19
|
import '@babel/helper-plugin-utils';
|
|
19
|
-
import 'semver';
|
|
20
20
|
import '@stryke/types/array';
|
|
21
21
|
import '@stryke/types/tsconfig';
|
|
22
22
|
import 'typescript';
|
package/dist/types/runtime.d.cts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from '../runtime-
|
|
1
|
+
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from '../runtime-2DL8LKdD.cjs';
|
|
2
2
|
import '@stryke/env/get-env-paths';
|
|
3
3
|
import '@stryke/types/package-json';
|
|
4
4
|
import 'jiti';
|
|
5
5
|
import '@deepkit/type';
|
|
6
|
+
import 'semver';
|
|
6
7
|
import 'unplugin';
|
|
7
8
|
import '@stryke/capnp';
|
|
8
9
|
import '@storm-software/config-tools/types';
|
|
@@ -14,7 +15,6 @@ import '@babel/core';
|
|
|
14
15
|
import '@storm-software/build-tools/types';
|
|
15
16
|
import '@storm-software/config/types';
|
|
16
17
|
import '@babel/helper-plugin-utils';
|
|
17
|
-
import 'semver';
|
|
18
18
|
import '@stryke/types/array';
|
|
19
19
|
import '@stryke/types/tsconfig';
|
|
20
20
|
import 'typescript';
|
package/dist/types/runtime.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from '../runtime-
|
|
1
|
+
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from '../runtime-Cij6nHdf.js';
|
|
2
2
|
import '@stryke/env/get-env-paths';
|
|
3
3
|
import '@stryke/types/package-json';
|
|
4
4
|
import 'jiti';
|
|
5
5
|
import '@deepkit/type';
|
|
6
|
+
import 'semver';
|
|
6
7
|
import 'unplugin';
|
|
7
8
|
import '@stryke/capnp';
|
|
8
9
|
import '@storm-software/config-tools/types';
|
|
@@ -14,7 +15,6 @@ import '@babel/core';
|
|
|
14
15
|
import '@storm-software/build-tools/types';
|
|
15
16
|
import '@storm-software/config/types';
|
|
16
17
|
import '@babel/helper-plugin-utils';
|
|
17
|
-
import 'semver';
|
|
18
18
|
import '@stryke/types/array';
|
|
19
19
|
import '@stryke/types/tsconfig';
|
|
20
20
|
import 'typescript';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-env",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
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": {
|
|
@@ -185,9 +185,9 @@
|
|
|
185
185
|
"@alloy-js/typescript": "^0.20.0",
|
|
186
186
|
"@babel/core": "^7.28.4",
|
|
187
187
|
"@babel/types": "^7.28.4",
|
|
188
|
-
"@powerlines/alloy": "^0.
|
|
189
|
-
"@powerlines/plugin-babel": "^0.
|
|
190
|
-
"@powerlines/plugin-plugin": "^0.
|
|
188
|
+
"@powerlines/alloy": "^0.3.0",
|
|
189
|
+
"@powerlines/plugin-babel": "^0.4.0",
|
|
190
|
+
"@powerlines/plugin-plugin": "^0.4.0",
|
|
191
191
|
"@storm-software/config-tools": "^1.188.6",
|
|
192
192
|
"@stryke/capnp": "^0.11.24",
|
|
193
193
|
"@stryke/env": "^0.19.12",
|
|
@@ -196,12 +196,12 @@
|
|
|
196
196
|
"@stryke/string-format": "^0.12.0",
|
|
197
197
|
"@stryke/type-checks": "^0.3.10",
|
|
198
198
|
"@stryke/types": "^0.10.0",
|
|
199
|
-
"powerlines": "^0.
|
|
199
|
+
"powerlines": "^0.4.0"
|
|
200
200
|
},
|
|
201
201
|
"devDependencies": {
|
|
202
202
|
"@alloy-js/babel-preset": "^0.2.1",
|
|
203
203
|
"@babel/preset-typescript": "^7.27.1",
|
|
204
|
-
"@powerlines/nx": "^0.
|
|
204
|
+
"@powerlines/nx": "^0.4.0",
|
|
205
205
|
"@storm-software/tsup": "^0.2.4",
|
|
206
206
|
"@types/node": "^22.18.11",
|
|
207
207
|
"tsup": "8.4.0",
|
|
@@ -209,5 +209,5 @@
|
|
|
209
209
|
"vite": "^7.1.11"
|
|
210
210
|
},
|
|
211
211
|
"publishConfig": { "access": "public" },
|
|
212
|
-
"gitHead": "
|
|
212
|
+
"gitHead": "f4d0c8a8f0036ac8de46ac96afd9336a390a7268"
|
|
213
213
|
}
|