@powerlines/plugin-env 0.15.113 → 0.15.114
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/helpers/reflect.cjs +13 -0
- package/dist/helpers/reflect.mjs +13 -0
- package/dist/packages/plugin-alloy/src/types/plugin.d.mts +3 -4
- package/dist/plugin-alloy/src/types/plugin.d.cts +3 -4
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.mts +1 -1
- package/package.json +9 -9
package/dist/helpers/reflect.cjs
CHANGED
|
@@ -55,8 +55,17 @@ const __ΩCreateEnvReflectionOptions = [
|
|
|
55
55
|
"PPn!n\"J4#8P\"7$4%8Mw&y"
|
|
56
56
|
];
|
|
57
57
|
var BaseEnv = class {
|
|
58
|
+
APP_NAME;
|
|
59
|
+
APP_VERSION;
|
|
60
|
+
BUILD_ID;
|
|
61
|
+
BUILD_TIMESTAMP;
|
|
62
|
+
BUILD_CHECKSUM;
|
|
63
|
+
RELEASE_ID;
|
|
64
|
+
RELEASE_TAG;
|
|
65
|
+
ORGANIZATION;
|
|
58
66
|
PLATFORM = "neutral";
|
|
59
67
|
MODE = "production";
|
|
68
|
+
ENVIRONMENT;
|
|
60
69
|
DEBUG = false;
|
|
61
70
|
TEST = false;
|
|
62
71
|
MINIMAL = false;
|
|
@@ -65,6 +74,9 @@ var BaseEnv = class {
|
|
|
65
74
|
FORCE_HYPERLINK = false;
|
|
66
75
|
STACKTRACE = false;
|
|
67
76
|
INCLUDE_ERROR_DATA = false;
|
|
77
|
+
ERROR_URL;
|
|
78
|
+
DEFAULT_TIMEZONE;
|
|
79
|
+
DEFAULT_LOCALE;
|
|
68
80
|
CI = false;
|
|
69
81
|
static __type = [
|
|
70
82
|
"APP_NAME",
|
|
@@ -135,6 +147,7 @@ var BaseEnv = class {
|
|
|
135
147
|
];
|
|
136
148
|
};
|
|
137
149
|
var BaseSecrets = class {
|
|
150
|
+
ENCRYPTION_KEY;
|
|
138
151
|
static __type = [
|
|
139
152
|
"ENCRYPTION_KEY",
|
|
140
153
|
() => require_types_runtime.__ΩSecretsInterface,
|
package/dist/helpers/reflect.mjs
CHANGED
|
@@ -54,8 +54,17 @@ const __ΩCreateEnvReflectionOptions = [
|
|
|
54
54
|
"PPn!n\"J4#8P\"7$4%8Mw&y"
|
|
55
55
|
];
|
|
56
56
|
var BaseEnv = class {
|
|
57
|
+
APP_NAME;
|
|
58
|
+
APP_VERSION;
|
|
59
|
+
BUILD_ID;
|
|
60
|
+
BUILD_TIMESTAMP;
|
|
61
|
+
BUILD_CHECKSUM;
|
|
62
|
+
RELEASE_ID;
|
|
63
|
+
RELEASE_TAG;
|
|
64
|
+
ORGANIZATION;
|
|
57
65
|
PLATFORM = "neutral";
|
|
58
66
|
MODE = "production";
|
|
67
|
+
ENVIRONMENT;
|
|
59
68
|
DEBUG = false;
|
|
60
69
|
TEST = false;
|
|
61
70
|
MINIMAL = false;
|
|
@@ -64,6 +73,9 @@ var BaseEnv = class {
|
|
|
64
73
|
FORCE_HYPERLINK = false;
|
|
65
74
|
STACKTRACE = false;
|
|
66
75
|
INCLUDE_ERROR_DATA = false;
|
|
76
|
+
ERROR_URL;
|
|
77
|
+
DEFAULT_TIMEZONE;
|
|
78
|
+
DEFAULT_LOCALE;
|
|
67
79
|
CI = false;
|
|
68
80
|
static __type = [
|
|
69
81
|
"APP_NAME",
|
|
@@ -134,6 +146,7 @@ var BaseEnv = class {
|
|
|
134
146
|
];
|
|
135
147
|
};
|
|
136
148
|
var BaseSecrets = class {
|
|
149
|
+
ENCRYPTION_KEY;
|
|
137
150
|
static __type = [
|
|
138
151
|
"ENCRYPTION_KEY",
|
|
139
152
|
() => __ΩSecretsInterface,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { UserConfig } from "../../../powerlines/src/types/config.mjs";
|
|
2
|
-
import { ResolvedConfig } from "../../../powerlines/src/types/resolved.mjs";
|
|
3
1
|
import { PluginContext } from "../../../powerlines/src/types/context.mjs";
|
|
2
|
+
import { BabelPluginResolvedConfig, BabelPluginUserConfig } from "../../../plugin-babel/src/types/plugin.mjs";
|
|
4
3
|
import { Children, PrintTreeOptions } from "@alloy-js/core";
|
|
5
4
|
|
|
6
5
|
//#region ../plugin-alloy/src/types/plugin.d.ts
|
|
@@ -24,10 +23,10 @@ type AlloyPluginOptions = Partial<PrintTreeOptions> & {
|
|
|
24
23
|
*/
|
|
25
24
|
markdown?: boolean;
|
|
26
25
|
};
|
|
27
|
-
type AlloyPluginUserConfig =
|
|
26
|
+
type AlloyPluginUserConfig = BabelPluginUserConfig & {
|
|
28
27
|
alloy?: AlloyPluginOptions;
|
|
29
28
|
};
|
|
30
|
-
type AlloyPluginResolvedConfig =
|
|
29
|
+
type AlloyPluginResolvedConfig = BabelPluginResolvedConfig & {
|
|
31
30
|
alloy: AlloyPluginOptions;
|
|
32
31
|
};
|
|
33
32
|
type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { UserConfig } from "../../../powerlines/src/types/config.cjs";
|
|
2
|
-
import { ResolvedConfig } from "../../../powerlines/src/types/resolved.cjs";
|
|
3
1
|
import { PluginContext } from "../../../powerlines/src/types/context.cjs";
|
|
2
|
+
import { BabelPluginResolvedConfig, BabelPluginUserConfig } from "../../../plugin-babel/src/types/plugin.cjs";
|
|
4
3
|
import { Children, PrintTreeOptions } from "@alloy-js/core";
|
|
5
4
|
|
|
6
5
|
//#region ../plugin-alloy/src/types/plugin.d.ts
|
|
@@ -24,10 +23,10 @@ type AlloyPluginOptions = Partial<PrintTreeOptions> & {
|
|
|
24
23
|
*/
|
|
25
24
|
markdown?: boolean;
|
|
26
25
|
};
|
|
27
|
-
type AlloyPluginUserConfig =
|
|
26
|
+
type AlloyPluginUserConfig = BabelPluginUserConfig & {
|
|
28
27
|
alloy?: AlloyPluginOptions;
|
|
29
28
|
};
|
|
30
|
-
type AlloyPluginResolvedConfig =
|
|
29
|
+
type AlloyPluginResolvedConfig = BabelPluginResolvedConfig & {
|
|
31
30
|
alloy: AlloyPluginOptions;
|
|
32
31
|
};
|
|
33
32
|
type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Reflection } from "../deepkit/src/types.cjs";
|
|
2
|
+
import { BabelPluginContext, BabelPluginOptions, BabelPluginResolvedConfig, BabelPluginUserConfig } from "../plugin-babel/src/types/plugin.cjs";
|
|
2
3
|
import { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, AlloyPluginUserConfig } from "../plugin-alloy/src/types/plugin.cjs";
|
|
3
4
|
import "../plugin-alloy/src/types/index.cjs";
|
|
4
5
|
import { AutoMDPluginOptions } from "../plugin-automd/src/types/plugin.cjs";
|
|
5
|
-
import { BabelPluginContext, BabelPluginOptions, BabelPluginResolvedConfig, BabelPluginUserConfig } from "../plugin-babel/src/types/plugin.cjs";
|
|
6
6
|
import { EnvInterface, SecretsInterface } from "./runtime.cjs";
|
|
7
7
|
import { DotenvConfiguration, TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
8
8
|
import { Children } from "@alloy-js/core";
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Reflection } from "../packages/deepkit/src/types.mjs";
|
|
2
|
+
import { BabelPluginContext, BabelPluginOptions, BabelPluginResolvedConfig, BabelPluginUserConfig } from "../packages/plugin-babel/src/types/plugin.mjs";
|
|
2
3
|
import { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, AlloyPluginUserConfig } from "../packages/plugin-alloy/src/types/plugin.mjs";
|
|
3
4
|
import "../packages/plugin-alloy/src/types/index.mjs";
|
|
4
5
|
import { AutoMDPluginOptions } from "../packages/plugin-automd/src/types/plugin.mjs";
|
|
5
|
-
import { BabelPluginContext, BabelPluginOptions, BabelPluginResolvedConfig, BabelPluginUserConfig } from "../packages/plugin-babel/src/types/plugin.mjs";
|
|
6
6
|
import "../packages/plugin-babel/src/types/index.mjs";
|
|
7
7
|
import { EnvInterface, SecretsInterface } from "./runtime.mjs";
|
|
8
8
|
import { DotenvParseOutput } from "@stryke/env/types";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-env",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.114",
|
|
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": {
|
|
@@ -201,10 +201,10 @@
|
|
|
201
201
|
"@alloy-js/typescript": "^0.22.0",
|
|
202
202
|
"@babel/core": "^7.28.6",
|
|
203
203
|
"@babel/types": "^7.28.6",
|
|
204
|
-
"@powerlines/plugin-alloy": "^0.18.
|
|
205
|
-
"@powerlines/plugin-automd": "^0.1.
|
|
206
|
-
"@powerlines/plugin-babel": "^0.12.
|
|
207
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
204
|
+
"@powerlines/plugin-alloy": "^0.18.106",
|
|
205
|
+
"@powerlines/plugin-automd": "^0.1.216",
|
|
206
|
+
"@powerlines/plugin-babel": "^0.12.225",
|
|
207
|
+
"@powerlines/plugin-plugin": "^0.12.167",
|
|
208
208
|
"@storm-software/config-tools": "^1.189.0",
|
|
209
209
|
"@stryke/capnp": "^0.12.61",
|
|
210
210
|
"@stryke/env": "^0.20.53",
|
|
@@ -214,14 +214,14 @@
|
|
|
214
214
|
"@stryke/type-checks": "^0.5.20",
|
|
215
215
|
"@stryke/types": "^0.10.34",
|
|
216
216
|
"automd": "^0.4.2",
|
|
217
|
-
"powerlines": "^0.37.
|
|
217
|
+
"powerlines": "^0.37.89"
|
|
218
218
|
},
|
|
219
219
|
"devDependencies": {
|
|
220
|
-
"@powerlines/deepkit": "^0.5.
|
|
221
|
-
"@powerlines/plugin-deepkit": "^0.11.
|
|
220
|
+
"@powerlines/deepkit": "^0.5.133",
|
|
221
|
+
"@powerlines/plugin-deepkit": "^0.11.95",
|
|
222
222
|
"@types/node": "^24.10.9",
|
|
223
223
|
"vite": "8.0.0-beta.2"
|
|
224
224
|
},
|
|
225
225
|
"publishConfig": { "access": "public" },
|
|
226
|
-
"gitHead": "
|
|
226
|
+
"gitHead": "fb3079ccb0361ffe89bb357f7a526b6281f8bf71"
|
|
227
227
|
}
|