@powerlines/plugin-env 0.16.426 → 0.16.427
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.d.cts +1 -1
- package/dist/babel/plugin.d.mts +1 -1
- package/dist/env-D_Rv1Ho3.d.cts.map +1 -1
- package/dist/helpers/index.cjs +2 -2
- package/dist/helpers/index.mjs +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.mjs +4 -4
- package/dist/schemas/env.cjs +5 -0
- package/dist/schemas/env.mjs +5 -0
- package/package.json +22 -22
package/dist/babel/plugin.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-TonlAu72.cjs";
|
|
2
1
|
import "../index-zrtnqMQn.cjs";
|
|
2
|
+
import { r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-TonlAu72.cjs";
|
|
3
3
|
declare const envBabelPlugin: import("@powerlines/plugin-babel").DeclareBabelTransformPluginReturn<EnvPluginContext<EnvPluginResolvedConfig>, object>;
|
|
4
4
|
export { envBabelPlugin };
|
|
5
5
|
//# sourceMappingURL=plugin.d.cts.map
|
package/dist/babel/plugin.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-Du0dty2t.mjs";
|
|
2
1
|
import "../index-XhWie1j9.mjs";
|
|
2
|
+
import { r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-Du0dty2t.mjs";
|
|
3
3
|
declare const envBabelPlugin: import("@powerlines/plugin-babel").DeclareBabelTransformPluginReturn<EnvPluginContext<EnvPluginResolvedConfig>, object>;
|
|
4
4
|
export { envBabelPlugin };
|
|
5
5
|
//# sourceMappingURL=plugin.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"env-D_Rv1Ho3.d.cts","names":[],"sources":["../src/schemas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;;;;;cAQzB,eAAa,EAAA;;GAWtB,EAAA,KAAA;;;;KAKQ,UAAU,EAAE,aAAa;;;;KAKzB,eAAe,EAAE,aAAa"}
|
package/dist/helpers/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const
|
|
2
|
+
const require_helpers_automd_generator = require("./automd-generator.cjs");
|
|
3
3
|
const require_helpers_load = require("./load.cjs");
|
|
4
4
|
const require_helpers_schema = require("./schema.cjs");
|
|
5
|
-
const
|
|
5
|
+
const require_helpers_source_file_env = require("./source-file-env.cjs");
|
|
6
6
|
|
|
7
7
|
exports.env = require_helpers_automd_generator.env;
|
|
8
8
|
exports.extractEnv = require_helpers_schema.extractEnv;
|
package/dist/helpers/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { env } from "./automd-generator.mjs";
|
|
2
2
|
import { loadEnv, loadEnvFromContext } from "./load.mjs";
|
|
3
3
|
import { extractEnv, getCacheDirectory, getCacheFilePath, getDefaultConfig, getDefaultSecrets, resolveRuntimeSchemaFile, writeEnv } from "./schema.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { formatEnvField, removeEnvPrefix } from "./source-file-env.mjs";
|
|
5
5
|
|
|
6
6
|
export { env, extractEnv, formatEnvField, getCacheDirectory, getCacheFilePath, getDefaultConfig, getDefaultSecrets, loadEnv, loadEnvFromContext, removeEnvPrefix, resolveRuntimeSchemaFile, writeEnv };
|
package/dist/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
2
|
const require_rolldown_runtime = require("./rolldown-runtime-xuxB8TGW.cjs");
|
|
3
3
|
require("./types/index.cjs");
|
|
4
|
-
const
|
|
5
|
-
const require_helpers_schema = require("./helpers/schema.cjs");
|
|
6
|
-
const require_helpers_automd_generator = require("./helpers/automd-generator.cjs");
|
|
4
|
+
const require_babel_plugin = require("./babel/plugin.cjs");
|
|
7
5
|
const require_components_docs = require("./components/docs.cjs");
|
|
8
6
|
const require_components_env_builtin = require("./components/env-builtin.cjs");
|
|
9
|
-
const
|
|
7
|
+
const require_helpers_automd_generator = require("./helpers/automd-generator.cjs");
|
|
8
|
+
const require_helpers_schema = require("./helpers/schema.cjs");
|
|
9
|
+
const require_schemas_env = require("./schemas/env.cjs");
|
|
10
10
|
let _stryke_path_join = require("@stryke/path/join");
|
|
11
11
|
let defu = require("defu");
|
|
12
12
|
defu = require_rolldown_runtime.__toESM(defu, 1);
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./types/index.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { extractEnv, getDefaultConfig, getDefaultSecrets, writeEnv } from "./helpers/schema.mjs";
|
|
4
|
-
import { env } from "./helpers/automd-generator.mjs";
|
|
2
|
+
import { envBabelPlugin } from "./babel/plugin.mjs";
|
|
5
3
|
import { EnvDocsFile } from "./components/docs.mjs";
|
|
6
4
|
import { EnvBuiltin } from "./components/env-builtin.mjs";
|
|
7
|
-
import {
|
|
5
|
+
import { env } from "./helpers/automd-generator.mjs";
|
|
6
|
+
import { extractEnv, getDefaultConfig, getDefaultSecrets, writeEnv } from "./helpers/schema.mjs";
|
|
7
|
+
import { envSchema, secretsSchema } from "./schemas/env.mjs";
|
|
8
8
|
import { joinPaths } from "@stryke/path/join";
|
|
9
9
|
import defu from "defu";
|
|
10
10
|
import { getDocsOutputPath } from "powerlines/plugin-utils";
|
package/dist/schemas/env.cjs
CHANGED
|
@@ -121,18 +121,22 @@ const envSchema = zod.object({
|
|
|
121
121
|
}),
|
|
122
122
|
MINIMAL: zod.boolean().meta({
|
|
123
123
|
description: "An indicator that specifies the current runtime is a minimal environment.",
|
|
124
|
+
runtime: true,
|
|
124
125
|
category: "node"
|
|
125
126
|
}),
|
|
126
127
|
NO_COLOR: zod.boolean().meta({
|
|
127
128
|
description: "An indicator that specifies the current runtime is a no color environment.",
|
|
129
|
+
runtime: true,
|
|
128
130
|
category: "node"
|
|
129
131
|
}),
|
|
130
132
|
FORCE_COLOR: BooleanOrNumberSchema.meta({
|
|
131
133
|
description: "An indicator that specifies the current runtime is a force color environment.",
|
|
134
|
+
runtime: true,
|
|
132
135
|
category: "node"
|
|
133
136
|
}),
|
|
134
137
|
FORCE_HYPERLINK: BooleanOrNumberSchema.meta({
|
|
135
138
|
description: "An indicator that specifies the current runtime should force hyperlinks in terminal output. This variable is used to force hyperlinks in terminal output, even if the terminal does not support them. This is useful for debugging and development purposes.",
|
|
139
|
+
runtime: true,
|
|
136
140
|
category: "node"
|
|
137
141
|
}),
|
|
138
142
|
AGENT_NAME: zod.string().optional().meta({
|
|
@@ -244,6 +248,7 @@ const envSchema = zod.object({
|
|
|
244
248
|
title: "Continuous Integration",
|
|
245
249
|
description: "An indicator that specifies the current runtime is a continuous integration environment.",
|
|
246
250
|
alias: ["CONTINUOUS_INTEGRATION"],
|
|
251
|
+
runtime: true,
|
|
247
252
|
category: "neutral"
|
|
248
253
|
}),
|
|
249
254
|
RUN_ID: zod.string().optional().meta({
|
package/dist/schemas/env.mjs
CHANGED
|
@@ -118,18 +118,22 @@ const envSchema = z.object({
|
|
|
118
118
|
}),
|
|
119
119
|
MINIMAL: z.boolean().meta({
|
|
120
120
|
description: "An indicator that specifies the current runtime is a minimal environment.",
|
|
121
|
+
runtime: true,
|
|
121
122
|
category: "node"
|
|
122
123
|
}),
|
|
123
124
|
NO_COLOR: z.boolean().meta({
|
|
124
125
|
description: "An indicator that specifies the current runtime is a no color environment.",
|
|
126
|
+
runtime: true,
|
|
125
127
|
category: "node"
|
|
126
128
|
}),
|
|
127
129
|
FORCE_COLOR: BooleanOrNumberSchema.meta({
|
|
128
130
|
description: "An indicator that specifies the current runtime is a force color environment.",
|
|
131
|
+
runtime: true,
|
|
129
132
|
category: "node"
|
|
130
133
|
}),
|
|
131
134
|
FORCE_HYPERLINK: BooleanOrNumberSchema.meta({
|
|
132
135
|
description: "An indicator that specifies the current runtime should force hyperlinks in terminal output. This variable is used to force hyperlinks in terminal output, even if the terminal does not support them. This is useful for debugging and development purposes.",
|
|
136
|
+
runtime: true,
|
|
133
137
|
category: "node"
|
|
134
138
|
}),
|
|
135
139
|
AGENT_NAME: z.string().optional().meta({
|
|
@@ -241,6 +245,7 @@ const envSchema = z.object({
|
|
|
241
245
|
title: "Continuous Integration",
|
|
242
246
|
description: "An indicator that specifies the current runtime is a continuous integration environment.",
|
|
243
247
|
alias: ["CONTINUOUS_INTEGRATION"],
|
|
248
|
+
runtime: true,
|
|
244
249
|
category: "neutral"
|
|
245
250
|
}),
|
|
246
251
|
RUN_ID: z.string().optional().meta({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-env",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.427",
|
|
4
4
|
"private": false,
|
|
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
|
"keywords": ["dotenv", "powerlines", "storm-software", "powerlines-plugin"],
|
|
@@ -262,37 +262,37 @@
|
|
|
262
262
|
"@alloy-js/json": "^0.24.0",
|
|
263
263
|
"@alloy-js/markdown": "^0.24.0",
|
|
264
264
|
"@alloy-js/typescript": "^0.24.0",
|
|
265
|
-
"@babel/core": "^8.0.
|
|
266
|
-
"@babel/types": "^8.0.
|
|
265
|
+
"@babel/core": "^8.0.9",
|
|
266
|
+
"@babel/types": "^8.0.8",
|
|
267
267
|
"@power-plant/alloy-js": "^0.0.95",
|
|
268
268
|
"@power-plant/schema": "^0.0.96",
|
|
269
|
-
"@powerlines/core": "^0.48.
|
|
270
|
-
"@powerlines/plugin-alloy": "^0.26.
|
|
271
|
-
"@powerlines/plugin-automd": "^0.1.
|
|
272
|
-
"@powerlines/plugin-babel": "^0.13.
|
|
273
|
-
"@powerlines/plugin-power-plant": "^0.1.
|
|
274
|
-
"@storm-software/config-tools": "^1.190.
|
|
275
|
-
"@stryke/capnp": "^0.12.
|
|
276
|
-
"@stryke/convert": "^0.7.
|
|
277
|
-
"@stryke/env": "^0.20.
|
|
278
|
-
"@stryke/fs": "^0.33.
|
|
279
|
-
"@stryke/helpers": "^0.10.
|
|
280
|
-
"@stryke/json": "^0.15.
|
|
281
|
-
"@stryke/path": "^0.29.
|
|
282
|
-
"@stryke/string-format": "^0.17.
|
|
283
|
-
"@stryke/type-checks": "^0.6.
|
|
284
|
-
"@stryke/types": "^0.12.
|
|
269
|
+
"@powerlines/core": "^0.48.137",
|
|
270
|
+
"@powerlines/plugin-alloy": "^0.26.316",
|
|
271
|
+
"@powerlines/plugin-automd": "^0.1.680",
|
|
272
|
+
"@powerlines/plugin-babel": "^0.13.215",
|
|
273
|
+
"@powerlines/plugin-power-plant": "^0.1.75",
|
|
274
|
+
"@storm-software/config-tools": "^1.190.155",
|
|
275
|
+
"@stryke/capnp": "^0.12.146",
|
|
276
|
+
"@stryke/convert": "^0.7.48",
|
|
277
|
+
"@stryke/env": "^0.20.136",
|
|
278
|
+
"@stryke/fs": "^0.33.119",
|
|
279
|
+
"@stryke/helpers": "^0.10.57",
|
|
280
|
+
"@stryke/json": "^0.15.41",
|
|
281
|
+
"@stryke/path": "^0.29.44",
|
|
282
|
+
"@stryke/string-format": "^0.17.59",
|
|
283
|
+
"@stryke/type-checks": "^0.6.50",
|
|
284
|
+
"@stryke/types": "^0.12.45",
|
|
285
285
|
"automd": "^0.4.3",
|
|
286
286
|
"c12": "^3.3.4",
|
|
287
287
|
"defu": "^6.1.7",
|
|
288
|
-
"powerlines": "^0.47.
|
|
288
|
+
"powerlines": "^0.47.218",
|
|
289
289
|
"zod": "^4.6.7"
|
|
290
290
|
},
|
|
291
291
|
"devDependencies": {
|
|
292
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
292
|
+
"@powerlines/plugin-plugin": "^0.12.631",
|
|
293
293
|
"@types/node": "^25.9.9",
|
|
294
294
|
"vite": "^8.3.5"
|
|
295
295
|
},
|
|
296
296
|
"publishConfig": { "access": "public" },
|
|
297
|
-
"gitHead": "
|
|
297
|
+
"gitHead": "c71daefe09bbd0d26190c3096e0a30120d3a244b"
|
|
298
298
|
}
|