@powerlines/plugin-env 0.15.157 → 0.15.159
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/{automd-generator-DoKLIMuw.mjs → automd-generator-BpvZRK0k.mjs} +2 -2
- package/dist/{automd-generator-DoKLIMuw.mjs.map → automd-generator-BpvZRK0k.mjs.map} +1 -1
- package/dist/{automd-generator-BNg74tyV.cjs → automd-generator-CxG1owAE.cjs} +1 -1
- package/dist/components/docs.cjs +3 -3
- package/dist/components/docs.mjs +3 -3
- package/dist/components/env.cjs +3 -3
- package/dist/components/env.mjs +3 -3
- package/dist/components/index.cjs +5 -5
- package/dist/components/index.mjs +5 -5
- package/dist/{docs-ClXTdyjQ.cjs → docs-E0aCTO7H.cjs} +2 -2
- package/dist/{docs-B4Bd2HuK.mjs → docs-WdCIcQmw.mjs} +3 -3
- package/dist/{docs-B4Bd2HuK.mjs.map → docs-WdCIcQmw.mjs.map} +1 -1
- package/dist/{docs-helper-2fe7M3Th.mjs → docs-helper-BSYSI2cH.mjs} +2 -2
- package/dist/{docs-helper-2fe7M3Th.mjs.map → docs-helper-BSYSI2cH.mjs.map} +1 -1
- package/dist/{docs-helper-4MoQ5-R3.cjs → docs-helper-BWe1dt1m.cjs} +1 -1
- package/dist/{env-iQh74nl2.cjs → env-BSCEigpj.cjs} +1 -1
- package/dist/{env-z7LbFLP0.mjs → env-DqI7dwC-.mjs} +2 -2
- package/dist/{env-z7LbFLP0.mjs.map → env-DqI7dwC-.mjs.map} +1 -1
- package/dist/helpers/automd-generator.cjs +2 -2
- package/dist/helpers/automd-generator.mjs +2 -2
- package/dist/helpers/docs-helper.cjs +2 -2
- package/dist/helpers/docs-helper.mjs +2 -2
- package/dist/helpers/index.cjs +4 -4
- package/dist/helpers/index.mjs +4 -4
- package/dist/helpers/load.cjs +2 -2
- package/dist/helpers/load.mjs +2 -2
- package/dist/helpers/persistence.cjs +2 -2
- package/dist/helpers/persistence.mjs +2 -2
- package/dist/helpers/reflect.cjs +2 -2
- package/dist/helpers/reflect.mjs +2 -2
- package/dist/helpers/template-helpers.cjs +3 -3
- package/dist/helpers/template-helpers.mjs +3 -3
- package/dist/index.cjs +16 -16
- package/dist/index.mjs +16 -16
- package/dist/index.mjs.map +1 -1
- package/dist/{join-paths-Bc4rM2TX.cjs → join-paths-B0RBTuuw.cjs} +30 -15
- package/dist/{join-paths-BMg51Ddi.mjs → join-paths-Dd9KxuyL.mjs} +31 -16
- package/dist/join-paths-Dd9KxuyL.mjs.map +1 -0
- package/dist/{load-DPB0maqs.cjs → load-CC_Pu2Om.cjs} +1 -1
- package/dist/{load-Dr5ybfL7.mjs → load-EM4edkA2.mjs} +2 -2
- package/dist/{load-Dr5ybfL7.mjs.map → load-EM4edkA2.mjs.map} +1 -1
- package/dist/{persistence-BsBxs9wt.mjs → persistence-5S3EirDm.mjs} +3 -3
- package/dist/{persistence-BsBxs9wt.mjs.map → persistence-5S3EirDm.mjs.map} +1 -1
- package/dist/{persistence-D_clXRxP.cjs → persistence-DzS7SzMj.cjs} +2 -2
- package/dist/{template-helpers-CCEjhw1B.mjs → template-helpers-Cw8aba1r.mjs} +2 -2
- package/dist/{template-helpers-CCEjhw1B.mjs.map → template-helpers-Cw8aba1r.mjs.map} +1 -1
- package/dist/{template-helpers-YVcwxmoF.cjs → template-helpers-DoFoTIAC.cjs} +1 -1
- package/package.json +16 -16
- package/dist/join-paths-BMg51Ddi.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as joinPaths } from "./join-paths-
|
|
1
|
+
import { t as joinPaths } from "./join-paths-Dd9KxuyL.mjs";
|
|
2
2
|
import { __ΩUnresolvedContext } from "powerlines/types/context";
|
|
3
3
|
import { defineGenerator } from "automd";
|
|
4
4
|
|
|
@@ -29,4 +29,4 @@ const env = __assignType((context) => defineGenerator({
|
|
|
29
29
|
|
|
30
30
|
//#endregion
|
|
31
31
|
export { env as t };
|
|
32
|
-
//# sourceMappingURL=automd-generator-
|
|
32
|
+
//# sourceMappingURL=automd-generator-BpvZRK0k.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automd-generator-
|
|
1
|
+
{"version":3,"file":"automd-generator-BpvZRK0k.mjs","names":[],"sources":["../src/helpers/automd-generator.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { joinPaths } from \"@stryke/path/join-paths\";\nimport { defineGenerator } from \"automd\";\nimport { UnresolvedContext } from \"powerlines/types/context\";\n\n/**\n * AutoMD generator to generate environment variable documentation\n *\n * @param context - The generator context.\n * @returns The generated documentation content.\n */\nexport const env = (context: UnresolvedContext) =>\n defineGenerator({\n name: \"env\",\n async generate() {\n const envDocFile = joinPaths(\n context.config.projectRoot,\n \"docs\",\n \"generated\",\n \"env.md\"\n );\n\n if (!context.fs.existsSync(envDocFile)) {\n return {\n contents: \"\"\n };\n }\n\n const contents = await context.fs.read(envDocFile);\n\n return {\n contents: contents || \"\"\n };\n }\n });\n"],"mappings":";;;;;AAEA,SAAS,aAAa,IAAI,MAAM;;AAE5B,QAAO;;;;;;;;AA2BX,MAAa,MAAM,cAAE,YAAA,gBAAA;CACjB,MAAM;CACN,UAAU,aAAa,eAAO,WAAA;EAC1B,MAAM,aAAA,UAAA,QAAA,OAAA,aAAA,QAAA,aAAA,SAAA;AACN,MAAI,CAAC,QAAM,GAAA,WAAA,WAAA,CACP,QAAG,EACR,UAAA;AAIC,SAAO,EACN,UAFM,MAAA,QAAA,GAAA,KAAA,WAAA,IAEN,IACH;;CAEL,CAAC,EAAE;OAAO;CAAsB;CAAW;CAAI;CAAQ,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CNVrAnJR.cjs');
|
|
2
|
-
const require_join_paths = require('./join-paths-
|
|
2
|
+
const require_join_paths = require('./join-paths-B0RBTuuw.cjs');
|
|
3
3
|
let powerlines_types_context = require("powerlines/types/context");
|
|
4
4
|
let automd = require("automd");
|
|
5
5
|
|
package/dist/components/docs.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require('../runtime-g0TEIoZK.cjs');
|
|
2
2
|
require('../plugin-CM1TSv1B.cjs');
|
|
3
|
-
require('../join-paths-
|
|
4
|
-
require('../docs-helper-
|
|
5
|
-
const require_docs = require('../docs-
|
|
3
|
+
require('../join-paths-B0RBTuuw.cjs');
|
|
4
|
+
require('../docs-helper-BWe1dt1m.cjs');
|
|
5
|
+
const require_docs = require('../docs-E0aCTO7H.cjs');
|
|
6
6
|
|
|
7
7
|
exports.EnvDocsFile = require_docs.EnvDocsFile;
|
package/dist/components/docs.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../runtime-C5ukCv3P.mjs";
|
|
2
2
|
import "../plugin-eBjQJP6x.mjs";
|
|
3
|
-
import "../join-paths-
|
|
4
|
-
import "../docs-helper-
|
|
5
|
-
import { t as EnvDocsFile } from "../docs-
|
|
3
|
+
import "../join-paths-Dd9KxuyL.mjs";
|
|
4
|
+
import "../docs-helper-BSYSI2cH.mjs";
|
|
5
|
+
import { t as EnvDocsFile } from "../docs-WdCIcQmw.mjs";
|
|
6
6
|
|
|
7
7
|
export { EnvDocsFile };
|
package/dist/components/env.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
require('../runtime-g0TEIoZK.cjs');
|
|
2
2
|
require('../plugin-CM1TSv1B.cjs');
|
|
3
|
-
require('../join-paths-
|
|
3
|
+
require('../join-paths-B0RBTuuw.cjs');
|
|
4
4
|
require('../source-file-env-4Vdtzc5-.cjs');
|
|
5
5
|
require('../defu-CrqNIh1A.cjs');
|
|
6
|
-
require('../load-
|
|
6
|
+
require('../load-CC_Pu2Om.cjs');
|
|
7
7
|
require('../confbox.DA7CpUDY-r6FXRsI6.cjs');
|
|
8
8
|
require('../confbox.DnMsyigM-C13n3X-S.cjs');
|
|
9
|
-
const require_env = require('../env-
|
|
9
|
+
const require_env = require('../env-BSCEigpj.cjs');
|
|
10
10
|
|
|
11
11
|
exports.EnvBuiltin = require_env.EnvBuiltin;
|
|
12
12
|
exports.EnvTypeDefinition = require_env.EnvTypeDefinition;
|
package/dist/components/env.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../runtime-C5ukCv3P.mjs";
|
|
2
2
|
import "../plugin-eBjQJP6x.mjs";
|
|
3
|
-
import "../join-paths-
|
|
3
|
+
import "../join-paths-Dd9KxuyL.mjs";
|
|
4
4
|
import "../source-file-env-Tj-6qobx.mjs";
|
|
5
5
|
import "../defu-DV5Grr85.mjs";
|
|
6
|
-
import "../load-
|
|
6
|
+
import "../load-EM4edkA2.mjs";
|
|
7
7
|
import "../confbox.DA7CpUDY-DShUZ_rW.mjs";
|
|
8
8
|
import "../confbox.DnMsyigM-V6Wj0LPC.mjs";
|
|
9
|
-
import { n as EnvTypeDefinition, t as EnvBuiltin } from "../env-
|
|
9
|
+
import { n as EnvTypeDefinition, t as EnvBuiltin } from "../env-DqI7dwC-.mjs";
|
|
10
10
|
|
|
11
11
|
export { EnvBuiltin, EnvTypeDefinition };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
require('../runtime-g0TEIoZK.cjs');
|
|
2
2
|
require('../plugin-CM1TSv1B.cjs');
|
|
3
|
-
require('../join-paths-
|
|
3
|
+
require('../join-paths-B0RBTuuw.cjs');
|
|
4
4
|
require('../source-file-env-4Vdtzc5-.cjs');
|
|
5
5
|
require('../defu-CrqNIh1A.cjs');
|
|
6
|
-
require('../load-
|
|
6
|
+
require('../load-CC_Pu2Om.cjs');
|
|
7
7
|
require('../confbox.DA7CpUDY-r6FXRsI6.cjs');
|
|
8
8
|
require('../confbox.DnMsyigM-C13n3X-S.cjs');
|
|
9
|
-
require('../docs-helper-
|
|
10
|
-
const require_docs = require('../docs-
|
|
11
|
-
const require_env = require('../env-
|
|
9
|
+
require('../docs-helper-BWe1dt1m.cjs');
|
|
10
|
+
const require_docs = require('../docs-E0aCTO7H.cjs');
|
|
11
|
+
const require_env = require('../env-BSCEigpj.cjs');
|
|
12
12
|
require('../components-BUo6Koax.cjs');
|
|
13
13
|
|
|
14
14
|
exports.EnvBuiltin = require_env.EnvBuiltin;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../runtime-C5ukCv3P.mjs";
|
|
2
2
|
import "../plugin-eBjQJP6x.mjs";
|
|
3
|
-
import "../join-paths-
|
|
3
|
+
import "../join-paths-Dd9KxuyL.mjs";
|
|
4
4
|
import "../source-file-env-Tj-6qobx.mjs";
|
|
5
5
|
import "../defu-DV5Grr85.mjs";
|
|
6
|
-
import "../load-
|
|
6
|
+
import "../load-EM4edkA2.mjs";
|
|
7
7
|
import "../confbox.DA7CpUDY-DShUZ_rW.mjs";
|
|
8
8
|
import "../confbox.DnMsyigM-V6Wj0LPC.mjs";
|
|
9
|
-
import "../docs-helper-
|
|
10
|
-
import { t as EnvDocsFile } from "../docs-
|
|
11
|
-
import { n as EnvTypeDefinition, t as EnvBuiltin } from "../env-
|
|
9
|
+
import "../docs-helper-BSYSI2cH.mjs";
|
|
10
|
+
import { t as EnvDocsFile } from "../docs-WdCIcQmw.mjs";
|
|
11
|
+
import { n as EnvTypeDefinition, t as EnvBuiltin } from "../env-DqI7dwC-.mjs";
|
|
12
12
|
import "../components-DDFmImcI.mjs";
|
|
13
13
|
|
|
14
14
|
export { EnvBuiltin, EnvDocsFile, EnvTypeDefinition };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CNVrAnJR.cjs');
|
|
2
|
-
const require_join_paths = require('./join-paths-
|
|
3
|
-
const require_docs_helper = require('./docs-helper-
|
|
2
|
+
const require_join_paths = require('./join-paths-B0RBTuuw.cjs');
|
|
3
|
+
const require_docs_helper = require('./docs-helper-BWe1dt1m.cjs');
|
|
4
4
|
let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
|
5
5
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
6
6
|
let __alloy_js_core = require("@alloy-js/core");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as joinPaths } from "./join-paths-
|
|
2
|
-
import { t as getDocsOutputPath } from "./docs-helper-
|
|
1
|
+
import { t as joinPaths } from "./join-paths-Dd9KxuyL.mjs";
|
|
2
|
+
import { t as getDocsOutputPath } from "./docs-helper-BSYSI2cH.mjs";
|
|
3
3
|
import { stringifyType } from "@powerlines/deepkit/vendor/type";
|
|
4
4
|
import { createComponent, createIntrinsic, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
5
5
|
import { Show, code } from "@alloy-js/core";
|
|
@@ -64,4 +64,4 @@ function EnvDocsFile(props) {
|
|
|
64
64
|
|
|
65
65
|
//#endregion
|
|
66
66
|
export { EnvDocsFile as t };
|
|
67
|
-
//# sourceMappingURL=docs-
|
|
67
|
+
//# sourceMappingURL=docs-WdCIcQmw.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs-
|
|
1
|
+
{"version":3,"file":"docs-WdCIcQmw.mjs","names":["code","Show","Heading","Link","stringifyType","usePowerlines","MarkdownFile","MarkdownTable","joinPaths","getDocsOutputPath","EnvDocsFile","props","levelOffset","reflection","rest","context","_$createComponent","_$mergeProps","path","children","level","when","packageJson","name","href","title","_$createIntrinsic","data","getProperties","filter","property","getNameAsString","sort","a","b","localeCompare","map","reflectionProperty","trim","description","getDescription","type","getType","replaceAll","defaultValue","hasDefault","String","getDefaultValue","includes","required","isValueRequired"],"sources":["../src/components/docs.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { code, Show } from \"@alloy-js/core\";\nimport { Heading, Link } from \"@alloy-js/markdown\";\nimport {\n ReflectionClass,\n stringifyType\n} from \"@powerlines/deepkit/vendor/type\";\nimport { usePowerlines } from \"@powerlines/plugin-alloy/core/contexts/context\";\nimport {\n MarkdownFile,\n MarkdownFileProps\n} from \"@powerlines/plugin-alloy/markdown/components/markdown-file\";\nimport { MarkdownTable } from \"@powerlines/plugin-alloy/markdown/components/markdown-table\";\nimport { joinPaths } from \"@stryke/path/join\";\nimport { getDocsOutputPath } from \"../helpers/docs-helper\";\nimport { EnvPluginContext } from \"../types/plugin\";\n\nexport interface EnvDocsFileProps extends Partial<MarkdownFileProps> {\n /**\n * The heading level offset to apply to the generated documentation.\n *\n * @remarks\n * This is useful when nesting the documentation within other markdown files.\n *\n * @defaultValue 0\n */\n levelOffset?: number;\n\n reflection: ReflectionClass<any>;\n}\n\n/**\n * Generates the environment configuration markdown documentation for the Powerlines project.\n */\nexport function EnvDocsFile(props: EnvDocsFileProps) {\n const { levelOffset = 0, reflection, ...rest } = props;\n\n const context = usePowerlines<EnvPluginContext>();\n\n return (\n <MarkdownFile\n path={joinPaths(getDocsOutputPath(context), \"env.md\")}\n {...rest}>\n <Heading level={1 + levelOffset}>Environment Configuration</Heading>\n {code`Below is a list of environment variables used by the`}\n <Show when={!!context.packageJson.name}>\n <Link\n href={`https://www.npmjs.com/package/${context.packageJson.name}`}\n title={context.packageJson.name!}\n />\n </Show>\n {code`package. These values can be updated in the \\`.env\\` file in the root of the project.`}\n <hbr />\n <Heading level={2 + levelOffset}>Environment Variables</Heading>\n {code`The below list of environment variables are used as configuration parameters to drive the processing of the application. The data contained in these variables are **not** considered sensitive or confidential. Any values provided in these variables will be available in plain text to the public.`}\n <hbr />\n <MarkdownTable\n data={\n reflection\n ?.getProperties()\n .filter(\n property => property.getNameAsString() !== \"__STORM_INJECTED__\"\n )\n .sort((a, b) =>\n a.getNameAsString().localeCompare(b.getNameAsString())\n )\n .map(reflectionProperty => {\n return {\n name: reflectionProperty.getNameAsString().trim(),\n description: (reflectionProperty.getDescription() ?? \"\").trim(),\n type: stringifyType(reflectionProperty.getType())\n .trim()\n .replaceAll(\" | \", \", or \"),\n defaultValue: reflectionProperty.hasDefault()\n ? String(reflectionProperty.getDefaultValue())?.includes('\"')\n ? reflectionProperty.getDefaultValue()\n : `\\`${reflectionProperty.getDefaultValue()}\\``\n : \"\",\n required: reflectionProperty.isValueRequired() ? \"\" : \"✔\"\n };\n }) ?? []\n }\n />\n </MarkdownFile>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;AAmDA,SAAgBU,YAAYC,OAAyB;CACnD,MAAM,EAAEC,cAAc,GAAGC,YAAY,GAAGC,SAASH;CAEjD,MAAMI,UAAUV,eAAiC;AAEjD,QAAAW,gBACGV,cAAYW,WAAA,EAAA,IACXC,OAAI;AAAA,SAAEV,UAAUC,kBAAkBM,QAAQ,EAAE,SAAS;IAAA,EACjDD,MAAI,EAAA,IAAAK,WAAA;AAAA,SAAA;GAAAH,gBACPd,SAAO;IAACkB,OAAO,IAAIR;IAAWO,UAAA;IAAA,CAAA;GAC9BnB,IAAI;GAAsDgB,gBAC1Df,MAAI;IAAA,IAACoB,OAAI;AAAA,YAAE,CAAC,CAACN,QAAQO,YAAYC;;IAAI,IAAAJ,WAAA;AAAA,YAAAH,gBACnCb,MAAI;MAAA,IACHqB,OAAI;AAAA,cAAE,iCAAiCT,QAAQO,YAAYC;;MAAM,IACjEE,QAAK;AAAA,cAAEV,QAAQO,YAAYC;;MAAI,CAAA;;IAAA,CAAA;GAGlCvB,IAAI;GAAuF0B,gBAAA,OAAA,EAAA,CAAA;GAAAV,gBAE3Fd,SAAO;IAACkB,OAAO,IAAIR;IAAWO,UAAA;IAAA,CAAA;GAC9BnB,IAAI;GAAwS0B,gBAAA,OAAA,EAAA,CAAA;GAAAV,gBAE5ST,eAAa,EAAA,IACZoB,OAAI;AAAA,WACFd,YACIe,eAAe,CAChBC,QACCC,aAAYA,SAASC,iBAAiB,KAAK,qBAC5C,CACAC,MAAMC,GAAGC,MACRD,EAAEF,iBAAiB,CAACI,cAAcD,EAAEH,iBAAiB,CACvD,CAAC,CACAK,KAAIC,uBAAsB;AACzB,YAAO;MACLd,MAAMc,mBAAmBN,iBAAiB,CAACO,MAAM;MACjDC,cAAcF,mBAAmBG,gBAAgB,IAAI,IAAIF,MAAM;MAC/DG,MAAMrC,cAAciC,mBAAmBK,SAAS,CAAC,CAC9CJ,MAAM,CACNK,WAAW,OAAO,QAAQ;MAC7BC,cAAcP,mBAAmBQ,YAAY,GACzCC,OAAOT,mBAAmBU,iBAAiB,CAAC,EAAEC,SAAS,KAAI,GACzDX,mBAAmBU,iBAAiB,GACpC,KAAKV,mBAAmBU,iBAAiB,CAAA,MAC3C;MACJE,UAAUZ,mBAAmBa,iBAAiB,GAAG,KAAK;MACvD;MACD,IAAI,EAAE;MAAA,CAAA;GAAA;IAAA,CAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __ΩEnvPluginContext } from "./plugin-eBjQJP6x.mjs";
|
|
2
|
-
import { t as joinPaths } from "./join-paths-
|
|
2
|
+
import { t as joinPaths } from "./join-paths-Dd9KxuyL.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/helpers/docs-helper.ts
|
|
5
5
|
/**
|
|
@@ -21,4 +21,4 @@ getDocsOutputPath.__type = [
|
|
|
21
21
|
|
|
22
22
|
//#endregion
|
|
23
23
|
export { getDocsOutputPath as t };
|
|
24
|
-
//# sourceMappingURL=docs-helper-
|
|
24
|
+
//# sourceMappingURL=docs-helper-BSYSI2cH.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs-helper-
|
|
1
|
+
{"version":3,"file":"docs-helper-BSYSI2cH.mjs","names":[],"sources":["../src/helpers/docs-helper.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { joinPaths } from \"@stryke/path/join\";\nimport { EnvPluginContext } from \"../types/plugin\";\n\n/**\n * Gets the output path for the generated environment documentation.\n *\n * @param context - The environment plugin context.\n * @returns The output path for the generated environment documentation.\n */\nexport function getDocsOutputPath(context: EnvPluginContext): string {\n return joinPaths(context.config.projectRoot, \"docs\", \"generated\");\n}\n"],"mappings":";;;;;;;;;;AA0BA,SAAE,kBAAA,SAAA;AACE,QAAO,UAAU,QAAQ,OAAO,aAAa,QAAQ,YAAY;;AAErE,kBAAA,SAAA;OAAA;CAAA;CAAA;CAAA;CAAA;CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CNVrAnJR.cjs');
|
|
2
2
|
const require_defu = require('./defu-CrqNIh1A.cjs');
|
|
3
|
-
const require_load = require('./load-
|
|
3
|
+
const require_load = require('./load-CC_Pu2Om.cjs');
|
|
4
4
|
let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
|
5
5
|
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
6
6
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as defu } from "./defu-DV5Grr85.mjs";
|
|
2
|
-
import { n as loadEnvFromContext } from "./load-
|
|
2
|
+
import { n as loadEnvFromContext } from "./load-EM4edkA2.mjs";
|
|
3
3
|
import { ReflectionClass, ReflectionKind } from "@powerlines/deepkit/vendor/type";
|
|
4
4
|
import { titleCase } from "@stryke/string-format/title-case";
|
|
5
5
|
import { createComponent, createIntrinsic, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
@@ -579,4 +579,4 @@ function EnvBuiltin(props) {
|
|
|
579
579
|
|
|
580
580
|
//#endregion
|
|
581
581
|
export { EnvTypeDefinition as n, EnvBuiltin as t };
|
|
582
|
-
//# sourceMappingURL=env-
|
|
582
|
+
//# sourceMappingURL=env-DqI7dwC-.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"env-z7LbFLP0.mjs","names":["code","computed","For","Show","splitProps","ClassDeclaration","ClassMethod","ElseIfClause","FunctionDeclaration","IfStatement","NewExpression","TypeDeclaration","VarDeclaration","ReflectionClass","ReflectionKind","usePowerlines","refkey","BuiltinFile","TSDoc","TSDocExample","TSDocLink","TSDocParam","TSDocRemarks","TSDocReturns","TSDocThrows","TypeScriptInterface","TypescriptObject","titleCase","defu","loadEnvFromContext","EnvTypeDefinition","props","defaultValue","reflection","context","_$createComponent","name","_$createIntrinsic","heading","children","config","env","prefix","map","replace","join","ConfigPropertyConditional","sort","a","b","startsWith","localeCompare","toLowerCase","ConfigPropertyGet","property","index","condition","getNameAsString","when","_$memo","getAlias","length","each","joiner","alias","ConfigPropertySet","createEnvRefkey","envRefkey","envSerializerRefkey","EnvBuiltin","defaultConfig","rest","process","envInstance","result","kind","objectLiteral","description","types","reflectionGetProperties","getProperties","filter","isIgnored","reflectionSetProperties","isReadonly","_$mergeProps","id","imports","Boolean","value","type","doc","initializer","args","target","entryPath","async","parameters","optional","default","returnType","ender"],"sources":["../src/components/env.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport {\n Children,\n code,\n computed,\n For,\n Show,\n splitProps\n} from \"@alloy-js/core\";\nimport {\n ClassDeclaration,\n ClassMethod,\n ElseIfClause,\n FunctionDeclaration,\n IfStatement,\n NewExpression,\n TypeDeclaration,\n VarDeclaration\n} from \"@alloy-js/typescript\";\nimport {\n ReflectionClass,\n ReflectionKind,\n ReflectionProperty\n} from \"@powerlines/deepkit/vendor/type\";\nimport { usePowerlines } from \"@powerlines/plugin-alloy/core/contexts/context\";\nimport { refkey } from \"@powerlines/plugin-alloy/helpers/refkey\";\nimport { ComponentProps } from \"@powerlines/plugin-alloy/types/components\";\nimport {\n BuiltinFile,\n BuiltinFileProps\n} from \"@powerlines/plugin-alloy/typescript/components/builtin-file\";\nimport {\n TSDoc,\n TSDocExample,\n TSDocLink,\n TSDocParam,\n TSDocRemarks,\n TSDocReturns,\n TSDocThrows\n} from \"@powerlines/plugin-alloy/typescript/components/tsdoc\";\nimport {\n TypeScriptInterface,\n TypeScriptInterfaceProps\n} from \"@powerlines/plugin-alloy/typescript/components/typescript-interface\";\nimport { TypescriptObject } from \"@powerlines/plugin-alloy/typescript/components/typescript-object\";\nimport { titleCase } from \"@stryke/string-format/title-case\";\nimport defu from \"defu\";\nimport { loadEnvFromContext } from \"../helpers/load\";\nimport { EnvPluginContext } from \"../types/plugin\";\n\n/**\n * Generates the environment configuration typescript definition for the Powerlines project.\n */\nexport function EnvTypeDefinition(\n props: Omit<TypeScriptInterfaceProps, \"name\">\n) {\n const [{ defaultValue, reflection }] = splitProps(props, [\n \"defaultValue\",\n \"reflection\"\n ]);\n\n const context = usePowerlines<EnvPluginContext>();\n\n return (\n <>\n <TypeScriptInterface\n name=\" EnvBase\"\n defaultValue={defaultValue}\n reflection={reflection}\n export={true}\n />\n <hbr />\n <hbr />\n\n <TSDoc heading=\"The environment configuration object with prefixed keys.\">\n <TSDocRemarks>\n {`The \\`Env\\` type extends the \\`EnvBase\\` interface by including additional keys that are prefixed according to the project's configuration. This allows for flexibility in accessing environment variables with different naming conventions.`}\n </TSDocRemarks>\n </TSDoc>\n <TypeDeclaration name=\"Env\" export={true}>\n {code` {\n [Key in keyof EnvBase as Key ${context.config.env.prefix\n .map(prefix => `| \\`${prefix.replace(/_$/g, \"\")}_\\${Key}\\``)\n .join(\" \")}]: EnvBase[Key];\n}\n`}\n </TypeDeclaration>\n <hbr />\n <hbr />\n </>\n );\n}\n\ninterface ConfigPropertyConditionalProps extends ComponentProps {\n context: EnvPluginContext;\n name: string;\n}\n\nfunction ConfigPropertyConditional(props: ConfigPropertyConditionalProps) {\n const [{ context, name }] = splitProps(props, [\"context\", \"name\"]);\n\n return code`propertyName === \"${name}\" || propertyName.replace(/^(${context.config.env.prefix\n .sort((a, b) =>\n a.startsWith(b) ? -1 : b.startsWith(a) ? 1 : a.localeCompare(b)\n )\n .map(prefix => `${prefix.replace(/_$/, \"\")}_`)\n .join(\"|\")})/g, \"\").toLowerCase().replace(/[\\\\s\\\\-_]+/g, \"\") === \"${name\n .toLowerCase()\n .replace(/[\\s\\-_]+/g, \"\")}\"`;\n}\n\ninterface ConfigPropertyProps extends ComponentProps {\n index: number;\n context: EnvPluginContext;\n property: ReflectionProperty;\n}\n\nfunction ConfigPropertyGet(props: ConfigPropertyProps) {\n const [{ context, property, index }] = splitProps(props, [\n \"context\",\n \"property\",\n \"index\"\n ]);\n\n return (\n <>\n {index === 0 ? (\n <IfStatement\n condition={\n <>\n <ConfigPropertyConditional\n name={property.getNameAsString()}\n context={context}\n />\n <Show\n when={property.getAlias() && property.getAlias().length > 0}>\n {code` || `}\n <For each={property.getAlias()} joiner={code` || `}>\n {alias => (\n <ConfigPropertyConditional name={alias} context={context} />\n )}\n </For>\n </Show>\n </>\n }>\n {code`return target[\"${property.getNameAsString()}\"];`}\n </IfStatement>\n ) : (\n <ElseIfClause\n condition={\n <>\n <ConfigPropertyConditional\n name={property.getNameAsString()}\n context={context}\n />\n <Show\n when={property.getAlias() && property.getAlias().length > 0}>\n {code` || `}\n <For each={property.getAlias()} joiner={code` || `}>\n {alias => (\n <ConfigPropertyConditional name={alias} context={context} />\n )}\n </For>\n </Show>\n </>\n }>\n {code`return target[\"${property.getNameAsString()}\"];`}\n </ElseIfClause>\n )}\n </>\n );\n}\n\nfunction ConfigPropertySet(props: ConfigPropertyProps) {\n const [{ context, property, index }] = splitProps(props, [\n \"context\",\n \"property\",\n \"index\"\n ]);\n\n return (\n <>\n {index === 0 ? (\n <IfStatement\n condition={\n <>\n <ConfigPropertyConditional\n name={property.getNameAsString()}\n context={context}\n />\n <Show\n when={property.getAlias() && property.getAlias().length > 0}>\n {code` || `}\n <For each={property.getAlias()} joiner={code` || `}>\n {alias => (\n <ConfigPropertyConditional name={alias} context={context} />\n )}\n </For>\n </Show>\n </>\n }>\n {code`\n target[\"${property.getNameAsString()}\"] = newValue;\n return true;\n`}\n </IfStatement>\n ) : (\n <ElseIfClause\n condition={\n <>\n <ConfigPropertyConditional\n name={property.getNameAsString()}\n context={context}\n />\n <Show\n when={property.getAlias() && property.getAlias().length > 0}>\n {code` || `}\n <For each={property.getAlias()} joiner={code` || `}>\n {alias => (\n <ConfigPropertyConditional name={alias} context={context} />\n )}\n </For>\n </Show>\n </>\n }>\n {code`\n target[\"${property.getNameAsString()}\"] = newValue;\n return true;\n`}\n </ElseIfClause>\n )}\n </>\n );\n}\n\nexport interface EnvBuiltinProps extends Omit<BuiltinFileProps, \"id\"> {\n defaultConfig?: Children;\n reflection: ReflectionClass<any>;\n}\n\nconst createEnvRefkey = refkey(\"createEnv\");\nconst envRefkey = refkey(\"env\");\nconst envSerializerRefkey = refkey(\"EnvSerializer\");\n\n/**\n * Generates the environment configuration module for the Powerlines project.\n */\nexport function EnvBuiltin(props: EnvBuiltinProps) {\n const [{ defaultConfig, reflection, children }, rest] = splitProps(props, [\n \"defaultConfig\",\n \"reflection\",\n \"children\"\n ]);\n\n const context = usePowerlines<EnvPluginContext>();\n const defaultValue = computed(\n () => context && loadEnvFromContext(context, process.env)\n );\n\n const envInstance = computed(() => {\n const result = new ReflectionClass(\n {\n kind: ReflectionKind.objectLiteral,\n description: `The initial environment configuration state for the ${titleCase(\n context?.config?.name\n )} project.`,\n types: []\n },\n reflection\n );\n\n return result;\n });\n\n const reflectionGetProperties = computed(\n () =>\n reflection\n ?.getProperties()\n .filter(property => !property.isIgnored())\n .sort((a, b) =>\n a.getNameAsString().localeCompare(b.getNameAsString())\n ) ?? []\n );\n const reflectionSetProperties = computed(\n () =>\n reflection\n ?.getProperties()\n .filter(property => !property.isIgnored() && !property.isReadonly())\n .sort((a, b) =>\n a.getNameAsString().localeCompare(b.getNameAsString())\n ) ?? []\n );\n\n return (\n <BuiltinFile\n id=\"env\"\n description=\"The environment configuration module provides an interface to define environment configuration parameters.\"\n {...rest}\n imports={defu(\n {\n \"@powerlines/deepkit/vendor/type\": [\n \"stringify\",\n \"serializer\",\n \"serializeFunction\",\n \"deserializeFunction\",\n \"ReflectionKind\",\n \"Serializer\",\n \"TemplateState\",\n \"Type\",\n \"TypeProperty\",\n \"TypePropertySignature\"\n ]\n },\n rest.imports ?? {}\n )}>\n <Show when={Boolean(reflection)}>\n <EnvTypeDefinition\n defaultValue={defaultValue.value}\n reflection={reflection}\n />\n <hbr />\n <hbr />\n </Show>\n\n <TypescriptObject\n name=\"initialEnv\"\n type=\"Partial<EnvBase>\"\n defaultValue={defaultValue}\n reflection={envInstance}\n export={true}\n const={true}\n doc=\"The initial environment configuration object values for the runtime.\"\n />\n <hbr />\n <hbr />\n\n <TSDoc heading=\"The environment configuration serializer for the Powerlines application.\">\n <TSDocLink>\n {`https://deepkit.io/docs/serialization/serializers`}\n </TSDocLink>\n <TSDocLink>\n {`https://github.com/marcj/untitled-code/blob/master/packages/type/src/serializer.ts#L1918`}\n </TSDocLink>\n <TSDocRemarks>\n {`This serializer is used to serialize and deserialize the Powerlines environment configuration.`}\n </TSDocRemarks>\n </TSDoc>\n <ClassDeclaration\n refkey={envSerializerRefkey}\n name=\"EnvSerializer\"\n extends=\"Serializer\"\n export={true}>\n <ClassMethod\n name=\"constructor\"\n public={true}\n doc=\"Initializes a new instance of the `EnvSerializer` class.\">\n {code`\n super(\"env\");\n\n this.deserializeRegistry.register(\n ReflectionKind.boolean,\n (type: Type, state: TemplateState) => {\n state.addSetter(\n \\`typeof \\${state.accessor.toString()} !== \"boolean\" ? \\${state.accessor.toString()} === 1 || \\${state.accessor.toString()} === \"1\" || \\${state.accessor.toString()}.toLowerCase() === \"t\" || \\${state.accessor.toString()}.toLowerCase() === \"true\" || \\${state.accessor.toString()}.toLowerCase() === \"y\" || \\${state.accessor.toString()}.toLowerCase() === \"yes\" : \\${state.accessor.toString()}\\`\n );\n }\n );\n`}\n </ClassMethod>\n </ClassDeclaration>\n <hbr />\n <hbr />\n\n <TSDoc heading=\"A {@link EnvSerializer | environment configuration serializer} instance for the Powerlines application.\">\n <TSDocLink>\n {`https://deepkit.io/docs/serialization/serializers`}\n </TSDocLink>\n <TSDocLink>\n {`https://github.com/marcj/untitled-code/blob/master/packages/type/src/serializer.ts#L1918`}\n </TSDocLink>\n <TSDocRemarks>\n {`This serializer is used to serialize and deserialize the Powerlines environment configuration.`}\n </TSDocRemarks>\n </TSDoc>\n <VarDeclaration\n name=\"envSerializer\"\n export={false}\n const={true}\n initializer={<NewExpression args={[]} target=\"EnvSerializer\" />}\n />\n <hbr />\n <hbr />\n\n <TSDoc heading=\"Serialize a environment configuration object to JSON data objects (not a JSON string).\">\n <TSDocRemarks>\n {`The resulting JSON object can be stringified using \\`JSON.stringify()\\`.`}\n </TSDocRemarks>\n <TSDocExample>{`const json = serializeEnv(env);`}</TSDocExample>\n <TSDocThrows>\n {`ValidationError when serialization or validation fails.`}\n </TSDocThrows>\n </TSDoc>\n <VarDeclaration\n name=\"serializeEnv\"\n export={true}\n const={true}\n initializer={\"serializeFunction<EnvBase>(envSerializer)\"}\n />\n <hbr />\n <hbr />\n\n <TSDoc heading=\"Deserialize a environment configuration object from JSON data objects to JavaScript objects, without running any validators.\">\n <TSDocRemarks>\n {`Types that are already correct will be used as-is.`}\n </TSDocRemarks>\n <TSDocExample>{`const env = deserializeEnv(json);`}</TSDocExample>\n <TSDocThrows>\n {`ValidationError when deserialization fails.`}\n </TSDocThrows>\n </TSDoc>\n <VarDeclaration\n name=\"deserializeEnv\"\n export={true}\n const={true}\n initializer=\"deserializeFunction<EnvBase>(envSerializer)\"\n />\n <hbr />\n <hbr />\n\n <TSDoc heading=\"Initializes the Powerlines environment configuration module.\">\n <TSDocRemarks>\n {`This function initializes the Powerlines environment configuration object.`}\n </TSDocRemarks>\n <TSDocParam name=\"environmentConfig\">\n {`The dynamic/runtime configuration - this could include the current environment variables or any other environment-specific settings provided by the runtime.`}\n </TSDocParam>\n <TSDocReturns>\n {`The initialized Powerlines configuration object.`}\n </TSDocReturns>\n </TSDoc>\n <Show when={Boolean(context?.entryPath)}>\n <FunctionDeclaration\n refkey={createEnvRefkey}\n async={false}\n export={true}\n name=\"createEnv\"\n parameters={[\n {\n name: \"environmentConfig\",\n type: `Partial<Env>`,\n optional: false,\n default: \"{}\"\n }\n ]}\n returnType=\"Env\">\n {code`\n return new Proxy<Env>(\n deserializeEnv({\n ...initialEnv,\n ...environmentConfig\n }) as Env,\n {\n get: (target: EnvBase, propertyName: string) => { `}\n <hbr />\n\n <For each={reflectionGetProperties}>\n {(property: ReflectionProperty, index: number) => (\n <ConfigPropertyGet\n index={index}\n context={context}\n property={property}\n />\n )}\n </For>\n {code`\n return undefined;\n }, `}\n\n <hbr />\n <hbr />\n {code` set: (target: EnvBase, propertyName: string, newValue: any) => { `}\n <hbr />\n\n <For each={reflectionSetProperties} ender={code` else `}>\n {(property: ReflectionProperty, index: number) => (\n <ConfigPropertySet\n index={index}\n context={context}\n property={property}\n />\n )}\n </For>\n\n <hbr />\n {code`return false;\n }\n }\n );\n`}\n </FunctionDeclaration>\n </Show>\n <hbr />\n <hbr />\n <hbr />\n\n <TSDoc heading=\"The environment configuration object.\">\n <TSDocRemarks>\n {`This object provides access to the environment configuration parameters in the application runtime.`}\n </TSDocRemarks>\n </TSDoc>\n <VarDeclaration\n refkey={envRefkey}\n name=\"env\"\n type=\"Env\"\n export={true}\n const={true}\n initializer={\n <>{code`createEnv(${defaultConfig || \"{}\"} as Partial<Env>);`}</>\n }\n />\n <hbr />\n <hbr />\n\n <VarDeclaration\n export\n const\n name=\"isCI\"\n doc=\"Detect if the application is running in a continuous integration (CI) environment.\"\n initializer={code`Boolean(\n env.CI ||\n env.RUN_ID ||\n env.AGOLA_GIT_REF ||\n env.AC_APPCIRCLE ||\n env.APPVEYOR ||\n env.CODEBUILD ||\n env.TF_BUILD ||\n env.bamboo_planKey ||\n env.BITBUCKET_COMMIT ||\n env.BITRISE_IO ||\n env.BUDDY_WORKSPACE_ID ||\n env.BUILDKITE ||\n env.CIRCLECI ||\n env.CIRRUS_CI ||\n env.CF_BUILD_ID ||\n env.CM_BUILD_ID ||\n env.CI_NAME ||\n env.DRONE ||\n env.DSARI ||\n env.EARTHLY_CI ||\n env.EAS_BUILD ||\n env.GERRIT_PROJECT ||\n env.GITEA_ACTIONS ||\n env.GITHUB_ACTIONS ||\n env.GITLAB_CI ||\n env.GOCD ||\n env.BUILDER_OUTPUT ||\n env.HARNESS_BUILD_ID ||\n env.JENKINS_URL ||\n env.LAYERCI ||\n env.MAGNUM ||\n env.NETLIFY ||\n env.NEVERCODE ||\n env.PROW_JOB_ID ||\n env.RELEASE_BUILD_ID ||\n env.RENDER ||\n env.SAILCI ||\n env.HUDSON ||\n env.SCREWDRIVER ||\n env.SEMAPHORE ||\n env.SOURCEHUT ||\n env.STRIDER ||\n env.TASK_ID ||\n env.RUN_ID ||\n env.TEAMCITY_VERSION ||\n env.TRAVIS ||\n env.VELA ||\n env.NOW_BUILDER ||\n env.APPCENTER_BUILD_ID ||\n env.CI_XCODE_PROJECT ||\n env.XCS || false\n );\n `}\n />\n <hbr />\n <hbr />\n\n <TSDoc heading=\"Detect the \\`mode\\` of the current runtime environment.\">\n <TSDocRemarks>\n {code`The \\`mode\\` is determined by the \\`MODE\\` environment variable, or falls back to the \\`NEXT_PUBLIC_VERCEL_ENV\\`, \\`NODE_ENV\\`, or defaults to \\`production\\`. While the value can potentially be any string, it is generally recommended to only allow a value in the following list:\n - \\`production\\`\n - \\`test\\`\n - \\`development\\`\n `}\n </TSDocRemarks>\n </TSDoc>\n <VarDeclaration\n export\n const\n name=\"mode\"\n initializer={code`String(env.MODE) || \"production\"; `}\n />\n <hbr />\n <hbr />\n\n <VarDeclaration\n export\n const\n name=\"isProduction\"\n doc='Detect if the application is running in `\"production\"` mode'\n initializer={code`[\"prd\", \"prod\", \"production\"].includes(mode.toLowerCase()); `}\n />\n <hbr />\n <hbr />\n\n <VarDeclaration\n export\n const\n name=\"isTest\"\n doc='Detect if the application is running in `\"test\"` mode'\n initializer={code`[\"tst\", \"test\", \"testing\", \"stg\", \"stage\", \"staging\"].includes(mode.toLowerCase()) || env.TEST; `}\n />\n <hbr />\n <hbr />\n\n <VarDeclaration\n export\n const\n name=\"isDevelopment\"\n doc='Detect if the application is running in `\"development\"` mode'\n initializer={code`[\"dev\", \"development\"].includes(mode.toLowerCase()); `}\n />\n <hbr />\n <hbr />\n\n <VarDeclaration\n export\n const\n name=\"isDebug\"\n doc=\"Detect if the application is currently being debugged\"\n initializer={code`Boolean(isDevelopment && env.DEBUG); `}\n />\n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KhFvB,gBAAc;KAAA,UAAA;KAAA,SAAA;KAGbwB,MAAI;KACJuD,KAAG;KACHC,aAAa5F,IAAI;KAAkG,CAAA;IAAAqC,gBAAA,OAAA,EAAA,CAAA;IAAAA,gBAAA,OAAA,EAAA,CAAA;IAAAF,gBAKpHvB,gBAAc;KAAA,UAAA;KAAA,SAAA;KAGbwB,MAAI;KACJuD,KAAG;KACHC,aAAa5F,IAAI;KAAuD,CAAA;IAAAqC,gBAAA,OAAA,EAAA,CAAA;IAAAA,gBAAA,OAAA,EAAA,CAAA;IAAAF,gBAKzEvB,gBAAc;KAAA,UAAA;KAAA,SAAA;KAGbwB,MAAI;KACJuD,KAAG;KACHC,aAAa5F,IAAI;KAAuC,CAAA;IAAAqC,gBAAA,OAAA,EAAA,CAAA;IAAAA,gBAAA,OAAA,EAAA,CAAA;IAAAF,gBAIzDhC,MAAI;KAAA,IAACuD,OAAI;AAAA,aAAE8B,QAAQjD,SAAS;;KAAGA;KAAQ,CAAA;IAAA;;EAAA,CAAA,CAAA"}
|
|
1
|
+
{"version":3,"file":"env-DqI7dwC-.mjs","names":["code","computed","For","Show","splitProps","ClassDeclaration","ClassMethod","ElseIfClause","FunctionDeclaration","IfStatement","NewExpression","TypeDeclaration","VarDeclaration","ReflectionClass","ReflectionKind","usePowerlines","refkey","BuiltinFile","TSDoc","TSDocExample","TSDocLink","TSDocParam","TSDocRemarks","TSDocReturns","TSDocThrows","TypeScriptInterface","TypescriptObject","titleCase","defu","loadEnvFromContext","EnvTypeDefinition","props","defaultValue","reflection","context","_$createComponent","name","_$createIntrinsic","heading","children","config","env","prefix","map","replace","join","ConfigPropertyConditional","sort","a","b","startsWith","localeCompare","toLowerCase","ConfigPropertyGet","property","index","condition","getNameAsString","when","_$memo","getAlias","length","each","joiner","alias","ConfigPropertySet","createEnvRefkey","envRefkey","envSerializerRefkey","EnvBuiltin","defaultConfig","rest","process","envInstance","result","kind","objectLiteral","description","types","reflectionGetProperties","getProperties","filter","isIgnored","reflectionSetProperties","isReadonly","_$mergeProps","id","imports","Boolean","value","type","doc","initializer","args","target","entryPath","async","parameters","optional","default","returnType","ender"],"sources":["../src/components/env.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport {\n Children,\n code,\n computed,\n For,\n Show,\n splitProps\n} from \"@alloy-js/core\";\nimport {\n ClassDeclaration,\n ClassMethod,\n ElseIfClause,\n FunctionDeclaration,\n IfStatement,\n NewExpression,\n TypeDeclaration,\n VarDeclaration\n} from \"@alloy-js/typescript\";\nimport {\n ReflectionClass,\n ReflectionKind,\n ReflectionProperty\n} from \"@powerlines/deepkit/vendor/type\";\nimport { usePowerlines } from \"@powerlines/plugin-alloy/core/contexts/context\";\nimport { refkey } from \"@powerlines/plugin-alloy/helpers/refkey\";\nimport { ComponentProps } from \"@powerlines/plugin-alloy/types/components\";\nimport {\n BuiltinFile,\n BuiltinFileProps\n} from \"@powerlines/plugin-alloy/typescript/components/builtin-file\";\nimport {\n TSDoc,\n TSDocExample,\n TSDocLink,\n TSDocParam,\n TSDocRemarks,\n TSDocReturns,\n TSDocThrows\n} from \"@powerlines/plugin-alloy/typescript/components/tsdoc\";\nimport {\n TypeScriptInterface,\n TypeScriptInterfaceProps\n} from \"@powerlines/plugin-alloy/typescript/components/typescript-interface\";\nimport { TypescriptObject } from \"@powerlines/plugin-alloy/typescript/components/typescript-object\";\nimport { titleCase } from \"@stryke/string-format/title-case\";\nimport defu from \"defu\";\nimport { loadEnvFromContext } from \"../helpers/load\";\nimport { EnvPluginContext } from \"../types/plugin\";\n\n/**\n * Generates the environment configuration typescript definition for the Powerlines project.\n */\nexport function EnvTypeDefinition(\n props: Omit<TypeScriptInterfaceProps, \"name\">\n) {\n const [{ defaultValue, reflection }] = splitProps(props, [\n \"defaultValue\",\n \"reflection\"\n ]);\n\n const context = usePowerlines<EnvPluginContext>();\n\n return (\n <>\n <TypeScriptInterface\n name=\" EnvBase\"\n defaultValue={defaultValue}\n reflection={reflection}\n export={true}\n />\n <hbr />\n <hbr />\n\n <TSDoc heading=\"The environment configuration object with prefixed keys.\">\n <TSDocRemarks>\n {`The \\`Env\\` type extends the \\`EnvBase\\` interface by including additional keys that are prefixed according to the project's configuration. This allows for flexibility in accessing environment variables with different naming conventions.`}\n </TSDocRemarks>\n </TSDoc>\n <TypeDeclaration name=\"Env\" export={true}>\n {code` {\n [Key in keyof EnvBase as Key ${context.config.env.prefix\n .map(prefix => `| \\`${prefix.replace(/_$/g, \"\")}_\\${Key}\\``)\n .join(\" \")}]: EnvBase[Key];\n}\n`}\n </TypeDeclaration>\n <hbr />\n <hbr />\n </>\n );\n}\n\ninterface ConfigPropertyConditionalProps extends ComponentProps {\n context: EnvPluginContext;\n name: string;\n}\n\nfunction ConfigPropertyConditional(props: ConfigPropertyConditionalProps) {\n const [{ context, name }] = splitProps(props, [\"context\", \"name\"]);\n\n return code`propertyName === \"${name}\" || propertyName.replace(/^(${context.config.env.prefix\n .sort((a, b) =>\n a.startsWith(b) ? -1 : b.startsWith(a) ? 1 : a.localeCompare(b)\n )\n .map(prefix => `${prefix.replace(/_$/, \"\")}_`)\n .join(\"|\")})/g, \"\").toLowerCase().replace(/[\\\\s\\\\-_]+/g, \"\") === \"${name\n .toLowerCase()\n .replace(/[\\s\\-_]+/g, \"\")}\"`;\n}\n\ninterface ConfigPropertyProps extends ComponentProps {\n index: number;\n context: EnvPluginContext;\n property: ReflectionProperty;\n}\n\nfunction ConfigPropertyGet(props: ConfigPropertyProps) {\n const [{ context, property, index }] = splitProps(props, [\n \"context\",\n \"property\",\n \"index\"\n ]);\n\n return (\n <>\n {index === 0 ? (\n <IfStatement\n condition={\n <>\n <ConfigPropertyConditional\n name={property.getNameAsString()}\n context={context}\n />\n <Show\n when={property.getAlias() && property.getAlias().length > 0}>\n {code` || `}\n <For each={property.getAlias()} joiner={code` || `}>\n {alias => (\n <ConfigPropertyConditional name={alias} context={context} />\n )}\n </For>\n </Show>\n </>\n }>\n {code`return target[\"${property.getNameAsString()}\"];`}\n </IfStatement>\n ) : (\n <ElseIfClause\n condition={\n <>\n <ConfigPropertyConditional\n name={property.getNameAsString()}\n context={context}\n />\n <Show\n when={property.getAlias() && property.getAlias().length > 0}>\n {code` || `}\n <For each={property.getAlias()} joiner={code` || `}>\n {alias => (\n <ConfigPropertyConditional name={alias} context={context} />\n )}\n </For>\n </Show>\n </>\n }>\n {code`return target[\"${property.getNameAsString()}\"];`}\n </ElseIfClause>\n )}\n </>\n );\n}\n\nfunction ConfigPropertySet(props: ConfigPropertyProps) {\n const [{ context, property, index }] = splitProps(props, [\n \"context\",\n \"property\",\n \"index\"\n ]);\n\n return (\n <>\n {index === 0 ? (\n <IfStatement\n condition={\n <>\n <ConfigPropertyConditional\n name={property.getNameAsString()}\n context={context}\n />\n <Show\n when={property.getAlias() && property.getAlias().length > 0}>\n {code` || `}\n <For each={property.getAlias()} joiner={code` || `}>\n {alias => (\n <ConfigPropertyConditional name={alias} context={context} />\n )}\n </For>\n </Show>\n </>\n }>\n {code`\n target[\"${property.getNameAsString()}\"] = newValue;\n return true;\n`}\n </IfStatement>\n ) : (\n <ElseIfClause\n condition={\n <>\n <ConfigPropertyConditional\n name={property.getNameAsString()}\n context={context}\n />\n <Show\n when={property.getAlias() && property.getAlias().length > 0}>\n {code` || `}\n <For each={property.getAlias()} joiner={code` || `}>\n {alias => (\n <ConfigPropertyConditional name={alias} context={context} />\n )}\n </For>\n </Show>\n </>\n }>\n {code`\n target[\"${property.getNameAsString()}\"] = newValue;\n return true;\n`}\n </ElseIfClause>\n )}\n </>\n );\n}\n\nexport interface EnvBuiltinProps extends Omit<BuiltinFileProps, \"id\"> {\n defaultConfig?: Children;\n reflection: ReflectionClass<any>;\n}\n\nconst createEnvRefkey = refkey(\"createEnv\");\nconst envRefkey = refkey(\"env\");\nconst envSerializerRefkey = refkey(\"EnvSerializer\");\n\n/**\n * Generates the environment configuration module for the Powerlines project.\n */\nexport function EnvBuiltin(props: EnvBuiltinProps) {\n const [{ defaultConfig, reflection, children }, rest] = splitProps(props, [\n \"defaultConfig\",\n \"reflection\",\n \"children\"\n ]);\n\n const context = usePowerlines<EnvPluginContext>();\n const defaultValue = computed(\n () => context && loadEnvFromContext(context, process.env)\n );\n\n const envInstance = computed(() => {\n const result = new ReflectionClass(\n {\n kind: ReflectionKind.objectLiteral,\n description: `The initial environment configuration state for the ${titleCase(\n context?.config?.name\n )} project.`,\n types: []\n },\n reflection\n );\n\n return result;\n });\n\n const reflectionGetProperties = computed(\n () =>\n reflection\n ?.getProperties()\n .filter(property => !property.isIgnored())\n .sort((a, b) =>\n a.getNameAsString().localeCompare(b.getNameAsString())\n ) ?? []\n );\n const reflectionSetProperties = computed(\n () =>\n reflection\n ?.getProperties()\n .filter(property => !property.isIgnored() && !property.isReadonly())\n .sort((a, b) =>\n a.getNameAsString().localeCompare(b.getNameAsString())\n ) ?? []\n );\n\n return (\n <BuiltinFile\n id=\"env\"\n description=\"The environment configuration module provides an interface to define environment configuration parameters.\"\n {...rest}\n imports={defu(\n {\n \"@powerlines/deepkit/vendor/type\": [\n \"stringify\",\n \"serializer\",\n \"serializeFunction\",\n \"deserializeFunction\",\n \"ReflectionKind\",\n \"Serializer\",\n \"TemplateState\",\n \"Type\",\n \"TypeProperty\",\n \"TypePropertySignature\"\n ]\n },\n rest.imports ?? {}\n )}>\n <Show when={Boolean(reflection)}>\n <EnvTypeDefinition\n defaultValue={defaultValue.value}\n reflection={reflection}\n />\n <hbr />\n <hbr />\n </Show>\n\n <TypescriptObject\n name=\"initialEnv\"\n type=\"Partial<EnvBase>\"\n defaultValue={defaultValue}\n reflection={envInstance}\n export={true}\n const={true}\n doc=\"The initial environment configuration object values for the runtime.\"\n />\n <hbr />\n <hbr />\n\n <TSDoc heading=\"The environment configuration serializer for the Powerlines application.\">\n <TSDocLink>\n {`https://deepkit.io/docs/serialization/serializers`}\n </TSDocLink>\n <TSDocLink>\n {`https://github.com/marcj/untitled-code/blob/master/packages/type/src/serializer.ts#L1918`}\n </TSDocLink>\n <TSDocRemarks>\n {`This serializer is used to serialize and deserialize the Powerlines environment configuration.`}\n </TSDocRemarks>\n </TSDoc>\n <ClassDeclaration\n refkey={envSerializerRefkey}\n name=\"EnvSerializer\"\n extends=\"Serializer\"\n export={true}>\n <ClassMethod\n name=\"constructor\"\n public={true}\n doc=\"Initializes a new instance of the `EnvSerializer` class.\">\n {code`\n super(\"env\");\n\n this.deserializeRegistry.register(\n ReflectionKind.boolean,\n (type: Type, state: TemplateState) => {\n state.addSetter(\n \\`typeof \\${state.accessor.toString()} !== \"boolean\" ? \\${state.accessor.toString()} === 1 || \\${state.accessor.toString()} === \"1\" || \\${state.accessor.toString()}.toLowerCase() === \"t\" || \\${state.accessor.toString()}.toLowerCase() === \"true\" || \\${state.accessor.toString()}.toLowerCase() === \"y\" || \\${state.accessor.toString()}.toLowerCase() === \"yes\" : \\${state.accessor.toString()}\\`\n );\n }\n );\n`}\n </ClassMethod>\n </ClassDeclaration>\n <hbr />\n <hbr />\n\n <TSDoc heading=\"A {@link EnvSerializer | environment configuration serializer} instance for the Powerlines application.\">\n <TSDocLink>\n {`https://deepkit.io/docs/serialization/serializers`}\n </TSDocLink>\n <TSDocLink>\n {`https://github.com/marcj/untitled-code/blob/master/packages/type/src/serializer.ts#L1918`}\n </TSDocLink>\n <TSDocRemarks>\n {`This serializer is used to serialize and deserialize the Powerlines environment configuration.`}\n </TSDocRemarks>\n </TSDoc>\n <VarDeclaration\n name=\"envSerializer\"\n export={false}\n const={true}\n initializer={<NewExpression args={[]} target=\"EnvSerializer\" />}\n />\n <hbr />\n <hbr />\n\n <TSDoc heading=\"Serialize a environment configuration object to JSON data objects (not a JSON string).\">\n <TSDocRemarks>\n {`The resulting JSON object can be stringified using \\`JSON.stringify()\\`.`}\n </TSDocRemarks>\n <TSDocExample>{`const json = serializeEnv(env);`}</TSDocExample>\n <TSDocThrows>\n {`ValidationError when serialization or validation fails.`}\n </TSDocThrows>\n </TSDoc>\n <VarDeclaration\n name=\"serializeEnv\"\n export={true}\n const={true}\n initializer={\"serializeFunction<EnvBase>(envSerializer)\"}\n />\n <hbr />\n <hbr />\n\n <TSDoc heading=\"Deserialize a environment configuration object from JSON data objects to JavaScript objects, without running any validators.\">\n <TSDocRemarks>\n {`Types that are already correct will be used as-is.`}\n </TSDocRemarks>\n <TSDocExample>{`const env = deserializeEnv(json);`}</TSDocExample>\n <TSDocThrows>\n {`ValidationError when deserialization fails.`}\n </TSDocThrows>\n </TSDoc>\n <VarDeclaration\n name=\"deserializeEnv\"\n export={true}\n const={true}\n initializer=\"deserializeFunction<EnvBase>(envSerializer)\"\n />\n <hbr />\n <hbr />\n\n <TSDoc heading=\"Initializes the Powerlines environment configuration module.\">\n <TSDocRemarks>\n {`This function initializes the Powerlines environment configuration object.`}\n </TSDocRemarks>\n <TSDocParam name=\"environmentConfig\">\n {`The dynamic/runtime configuration - this could include the current environment variables or any other environment-specific settings provided by the runtime.`}\n </TSDocParam>\n <TSDocReturns>\n {`The initialized Powerlines configuration object.`}\n </TSDocReturns>\n </TSDoc>\n <Show when={Boolean(context?.entryPath)}>\n <FunctionDeclaration\n refkey={createEnvRefkey}\n async={false}\n export={true}\n name=\"createEnv\"\n parameters={[\n {\n name: \"environmentConfig\",\n type: `Partial<Env>`,\n optional: false,\n default: \"{}\"\n }\n ]}\n returnType=\"Env\">\n {code`\n return new Proxy<Env>(\n deserializeEnv({\n ...initialEnv,\n ...environmentConfig\n }) as Env,\n {\n get: (target: EnvBase, propertyName: string) => { `}\n <hbr />\n\n <For each={reflectionGetProperties}>\n {(property: ReflectionProperty, index: number) => (\n <ConfigPropertyGet\n index={index}\n context={context}\n property={property}\n />\n )}\n </For>\n {code`\n return undefined;\n }, `}\n\n <hbr />\n <hbr />\n {code` set: (target: EnvBase, propertyName: string, newValue: any) => { `}\n <hbr />\n\n <For each={reflectionSetProperties} ender={code` else `}>\n {(property: ReflectionProperty, index: number) => (\n <ConfigPropertySet\n index={index}\n context={context}\n property={property}\n />\n )}\n </For>\n\n <hbr />\n {code`return false;\n }\n }\n );\n`}\n </FunctionDeclaration>\n </Show>\n <hbr />\n <hbr />\n <hbr />\n\n <TSDoc heading=\"The environment configuration object.\">\n <TSDocRemarks>\n {`This object provides access to the environment configuration parameters in the application runtime.`}\n </TSDocRemarks>\n </TSDoc>\n <VarDeclaration\n refkey={envRefkey}\n name=\"env\"\n type=\"Env\"\n export={true}\n const={true}\n initializer={\n <>{code`createEnv(${defaultConfig || \"{}\"} as Partial<Env>);`}</>\n }\n />\n <hbr />\n <hbr />\n\n <VarDeclaration\n export\n const\n name=\"isCI\"\n doc=\"Detect if the application is running in a continuous integration (CI) environment.\"\n initializer={code`Boolean(\n env.CI ||\n env.RUN_ID ||\n env.AGOLA_GIT_REF ||\n env.AC_APPCIRCLE ||\n env.APPVEYOR ||\n env.CODEBUILD ||\n env.TF_BUILD ||\n env.bamboo_planKey ||\n env.BITBUCKET_COMMIT ||\n env.BITRISE_IO ||\n env.BUDDY_WORKSPACE_ID ||\n env.BUILDKITE ||\n env.CIRCLECI ||\n env.CIRRUS_CI ||\n env.CF_BUILD_ID ||\n env.CM_BUILD_ID ||\n env.CI_NAME ||\n env.DRONE ||\n env.DSARI ||\n env.EARTHLY_CI ||\n env.EAS_BUILD ||\n env.GERRIT_PROJECT ||\n env.GITEA_ACTIONS ||\n env.GITHUB_ACTIONS ||\n env.GITLAB_CI ||\n env.GOCD ||\n env.BUILDER_OUTPUT ||\n env.HARNESS_BUILD_ID ||\n env.JENKINS_URL ||\n env.LAYERCI ||\n env.MAGNUM ||\n env.NETLIFY ||\n env.NEVERCODE ||\n env.PROW_JOB_ID ||\n env.RELEASE_BUILD_ID ||\n env.RENDER ||\n env.SAILCI ||\n env.HUDSON ||\n env.SCREWDRIVER ||\n env.SEMAPHORE ||\n env.SOURCEHUT ||\n env.STRIDER ||\n env.TASK_ID ||\n env.RUN_ID ||\n env.TEAMCITY_VERSION ||\n env.TRAVIS ||\n env.VELA ||\n env.NOW_BUILDER ||\n env.APPCENTER_BUILD_ID ||\n env.CI_XCODE_PROJECT ||\n env.XCS || false\n );\n `}\n />\n <hbr />\n <hbr />\n\n <TSDoc heading=\"Detect the \\`mode\\` of the current runtime environment.\">\n <TSDocRemarks>\n {code`The \\`mode\\` is determined by the \\`MODE\\` environment variable, or falls back to the \\`NEXT_PUBLIC_VERCEL_ENV\\`, \\`NODE_ENV\\`, or defaults to \\`production\\`. While the value can potentially be any string, it is generally recommended to only allow a value in the following list:\n - \\`production\\`\n - \\`test\\`\n - \\`development\\`\n `}\n </TSDocRemarks>\n </TSDoc>\n <VarDeclaration\n export\n const\n name=\"mode\"\n initializer={code`String(env.MODE) || \"production\"; `}\n />\n <hbr />\n <hbr />\n\n <VarDeclaration\n export\n const\n name=\"isProduction\"\n doc='Detect if the application is running in `\"production\"` mode'\n initializer={code`[\"prd\", \"prod\", \"production\"].includes(mode.toLowerCase()); `}\n />\n <hbr />\n <hbr />\n\n <VarDeclaration\n export\n const\n name=\"isTest\"\n doc='Detect if the application is running in `\"test\"` mode'\n initializer={code`[\"tst\", \"test\", \"testing\", \"stg\", \"stage\", \"staging\"].includes(mode.toLowerCase()) || env.TEST; `}\n />\n <hbr />\n <hbr />\n\n <VarDeclaration\n export\n const\n name=\"isDevelopment\"\n doc='Detect if the application is running in `\"development\"` mode'\n initializer={code`[\"dev\", \"development\"].includes(mode.toLowerCase()); `}\n />\n <hbr />\n <hbr />\n\n <VarDeclaration\n export\n const\n name=\"isDebug\"\n doc=\"Detect if the application is currently being debugged\"\n initializer={code`Boolean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AAA,EAAA,CAAA;IAAAF,gBAKhFvB,gBAAc;KAAA,UAAA;KAAA,SAAA;KAGbwB,MAAI;KACJuD,KAAG;KACHC,aAAa5F,IAAI;KAAkG,CAAA;IAAAqC,gBAAA,OAAA,EAAA,CAAA;IAAAA,gBAAA,OAAA,EAAA,CAAA;IAAAF,gBAKpHvB,gBAAc;KAAA,UAAA;KAAA,SAAA;KAGbwB,MAAI;KACJuD,KAAG;KACHC,aAAa5F,IAAI;KAAuD,CAAA;IAAAqC,gBAAA,OAAA,EAAA,CAAA;IAAAA,gBAAA,OAAA,EAAA,CAAA;IAAAF,gBAKzEvB,gBAAc;KAAA,UAAA;KAAA,SAAA;KAGbwB,MAAI;KACJuD,KAAG;KACHC,aAAa5F,IAAI;KAAuC,CAAA;IAAAqC,gBAAA,OAAA,EAAA,CAAA;IAAAA,gBAAA,OAAA,EAAA,CAAA;IAAAF,gBAIzDhC,MAAI;KAAA,IAACuD,OAAI;AAAA,aAAE8B,QAAQjD,SAAS;;KAAGA;KAAQ,CAAA;IAAA;;EAAA,CAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require('../join-paths-
|
|
2
|
-
const require_automd_generator = require('../automd-generator-
|
|
1
|
+
require('../join-paths-B0RBTuuw.cjs');
|
|
2
|
+
const require_automd_generator = require('../automd-generator-CxG1owAE.cjs');
|
|
3
3
|
|
|
4
4
|
exports.env = require_automd_generator.env;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
require('../runtime-g0TEIoZK.cjs');
|
|
2
2
|
require('../plugin-CM1TSv1B.cjs');
|
|
3
|
-
require('../join-paths-
|
|
4
|
-
const require_docs_helper = require('../docs-helper-
|
|
3
|
+
require('../join-paths-B0RBTuuw.cjs');
|
|
4
|
+
const require_docs_helper = require('../docs-helper-BWe1dt1m.cjs');
|
|
5
5
|
|
|
6
6
|
exports.getDocsOutputPath = require_docs_helper.getDocsOutputPath;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../runtime-C5ukCv3P.mjs";
|
|
2
2
|
import "../plugin-eBjQJP6x.mjs";
|
|
3
|
-
import "../join-paths-
|
|
4
|
-
import { t as getDocsOutputPath } from "../docs-helper-
|
|
3
|
+
import "../join-paths-Dd9KxuyL.mjs";
|
|
4
|
+
import { t as getDocsOutputPath } from "../docs-helper-BSYSI2cH.mjs";
|
|
5
5
|
|
|
6
6
|
export { getDocsOutputPath };
|
package/dist/helpers/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
require('../runtime-g0TEIoZK.cjs');
|
|
2
2
|
require('../plugin-CM1TSv1B.cjs');
|
|
3
|
-
require('../join-paths-
|
|
4
|
-
const require_persistence = require('../persistence-
|
|
5
|
-
const require_template_helpers = require('../template-helpers-
|
|
3
|
+
require('../join-paths-B0RBTuuw.cjs');
|
|
4
|
+
const require_persistence = require('../persistence-DzS7SzMj.cjs');
|
|
5
|
+
const require_template_helpers = require('../template-helpers-DoFoTIAC.cjs');
|
|
6
6
|
const require_source_file_env = require('../source-file-env-4Vdtzc5-.cjs');
|
|
7
7
|
require('../defu-CrqNIh1A.cjs');
|
|
8
|
-
const require_load = require('../load-
|
|
8
|
+
const require_load = require('../load-CC_Pu2Om.cjs');
|
|
9
9
|
require('../confbox.DA7CpUDY-r6FXRsI6.cjs');
|
|
10
10
|
require('../confbox.DnMsyigM-C13n3X-S.cjs');
|
|
11
11
|
const require_create_reflection_resource = require('../create-reflection-resource-d2zdTyOE.cjs');
|
package/dist/helpers/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../runtime-C5ukCv3P.mjs";
|
|
2
2
|
import "../plugin-eBjQJP6x.mjs";
|
|
3
|
-
import "../join-paths-
|
|
4
|
-
import { _ as mergeEnvReflections, a as readEnvReflection, b as reflectSecrets, c as resolveRuntimeTypeFile, d as writeEnvTypeReflection, f as BaseEnv, g as createSecretsReflection, h as createEnvReflection, i as getSecretsDefaultTypeDefinition, l as writeEnvReflection, m as __ΩCreateEnvReflectionOptions, n as getEnvReflectionsPath, o as readEnvTypeReflection, p as BaseSecrets, r as getEnvTypeReflectionsPath, s as readSecretsReflection, t as getEnvDefaultTypeDefinition, u as writeEnvReflectionSync, v as mergeSecretsReflections, y as reflectEnv } from "../persistence-
|
|
5
|
-
import { t as createTemplateReflection } from "../template-helpers-
|
|
3
|
+
import "../join-paths-Dd9KxuyL.mjs";
|
|
4
|
+
import { _ as mergeEnvReflections, a as readEnvReflection, b as reflectSecrets, c as resolveRuntimeTypeFile, d as writeEnvTypeReflection, f as BaseEnv, g as createSecretsReflection, h as createEnvReflection, i as getSecretsDefaultTypeDefinition, l as writeEnvReflection, m as __ΩCreateEnvReflectionOptions, n as getEnvReflectionsPath, o as readEnvTypeReflection, p as BaseSecrets, r as getEnvTypeReflectionsPath, s as readSecretsReflection, t as getEnvDefaultTypeDefinition, u as writeEnvReflectionSync, v as mergeSecretsReflections, y as reflectEnv } from "../persistence-5S3EirDm.mjs";
|
|
5
|
+
import { t as createTemplateReflection } from "../template-helpers-Cw8aba1r.mjs";
|
|
6
6
|
import { n as removeEnvPrefix, t as formatEnvField } from "../source-file-env-Tj-6qobx.mjs";
|
|
7
7
|
import "../defu-DV5Grr85.mjs";
|
|
8
|
-
import { n as loadEnvFromContext, t as loadEnv } from "../load-
|
|
8
|
+
import { n as loadEnvFromContext, t as loadEnv } from "../load-EM4edkA2.mjs";
|
|
9
9
|
import "../confbox.DA7CpUDY-DShUZ_rW.mjs";
|
|
10
10
|
import "../confbox.DnMsyigM-V6Wj0LPC.mjs";
|
|
11
11
|
import { t as createReflection } from "../create-reflection-resource-D0QrD1Td.mjs";
|
package/dist/helpers/load.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
require('../runtime-g0TEIoZK.cjs');
|
|
2
2
|
require('../plugin-CM1TSv1B.cjs');
|
|
3
|
-
require('../join-paths-
|
|
3
|
+
require('../join-paths-B0RBTuuw.cjs');
|
|
4
4
|
require('../source-file-env-4Vdtzc5-.cjs');
|
|
5
5
|
require('../defu-CrqNIh1A.cjs');
|
|
6
|
-
const require_load = require('../load-
|
|
6
|
+
const require_load = require('../load-CC_Pu2Om.cjs');
|
|
7
7
|
require('../confbox.DA7CpUDY-r6FXRsI6.cjs');
|
|
8
8
|
require('../confbox.DnMsyigM-C13n3X-S.cjs');
|
|
9
9
|
|
package/dist/helpers/load.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../runtime-C5ukCv3P.mjs";
|
|
2
2
|
import "../plugin-eBjQJP6x.mjs";
|
|
3
|
-
import "../join-paths-
|
|
3
|
+
import "../join-paths-Dd9KxuyL.mjs";
|
|
4
4
|
import "../source-file-env-Tj-6qobx.mjs";
|
|
5
5
|
import "../defu-DV5Grr85.mjs";
|
|
6
|
-
import { n as loadEnvFromContext, t as loadEnv } from "../load-
|
|
6
|
+
import { n as loadEnvFromContext, t as loadEnv } from "../load-EM4edkA2.mjs";
|
|
7
7
|
import "../confbox.DA7CpUDY-DShUZ_rW.mjs";
|
|
8
8
|
import "../confbox.DnMsyigM-V6Wj0LPC.mjs";
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require('../runtime-g0TEIoZK.cjs');
|
|
2
2
|
require('../plugin-CM1TSv1B.cjs');
|
|
3
|
-
require('../join-paths-
|
|
4
|
-
const require_persistence = require('../persistence-
|
|
3
|
+
require('../join-paths-B0RBTuuw.cjs');
|
|
4
|
+
const require_persistence = require('../persistence-DzS7SzMj.cjs');
|
|
5
5
|
|
|
6
6
|
exports.getEnvDefaultTypeDefinition = require_persistence.getEnvDefaultTypeDefinition;
|
|
7
7
|
exports.getEnvReflectionsPath = require_persistence.getEnvReflectionsPath;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../runtime-C5ukCv3P.mjs";
|
|
2
2
|
import "../plugin-eBjQJP6x.mjs";
|
|
3
|
-
import "../join-paths-
|
|
4
|
-
import { a as readEnvReflection, c as resolveRuntimeTypeFile, d as writeEnvTypeReflection, i as getSecretsDefaultTypeDefinition, l as writeEnvReflection, n as getEnvReflectionsPath, o as readEnvTypeReflection, r as getEnvTypeReflectionsPath, s as readSecretsReflection, t as getEnvDefaultTypeDefinition, u as writeEnvReflectionSync } from "../persistence-
|
|
3
|
+
import "../join-paths-Dd9KxuyL.mjs";
|
|
4
|
+
import { a as readEnvReflection, c as resolveRuntimeTypeFile, d as writeEnvTypeReflection, i as getSecretsDefaultTypeDefinition, l as writeEnvReflection, n as getEnvReflectionsPath, o as readEnvTypeReflection, r as getEnvTypeReflectionsPath, s as readSecretsReflection, t as getEnvDefaultTypeDefinition, u as writeEnvReflectionSync } from "../persistence-5S3EirDm.mjs";
|
|
5
5
|
|
|
6
6
|
export { getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectionsPath, getSecretsDefaultTypeDefinition, readEnvReflection, readEnvTypeReflection, readSecretsReflection, resolveRuntimeTypeFile, writeEnvReflection, writeEnvReflectionSync, writeEnvTypeReflection };
|
package/dist/helpers/reflect.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require('../runtime-g0TEIoZK.cjs');
|
|
2
2
|
require('../plugin-CM1TSv1B.cjs');
|
|
3
|
-
require('../join-paths-
|
|
4
|
-
const require_persistence = require('../persistence-
|
|
3
|
+
require('../join-paths-B0RBTuuw.cjs');
|
|
4
|
+
const require_persistence = require('../persistence-DzS7SzMj.cjs');
|
|
5
5
|
|
|
6
6
|
exports.BaseEnv = require_persistence.BaseEnv;
|
|
7
7
|
exports.BaseSecrets = require_persistence.BaseSecrets;
|
package/dist/helpers/reflect.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../runtime-C5ukCv3P.mjs";
|
|
2
2
|
import "../plugin-eBjQJP6x.mjs";
|
|
3
|
-
import "../join-paths-
|
|
4
|
-
import { _ as mergeEnvReflections, b as reflectSecrets, f as BaseEnv, g as createSecretsReflection, h as createEnvReflection, m as __ΩCreateEnvReflectionOptions, p as BaseSecrets, v as mergeSecretsReflections, y as reflectEnv } from "../persistence-
|
|
3
|
+
import "../join-paths-Dd9KxuyL.mjs";
|
|
4
|
+
import { _ as mergeEnvReflections, b as reflectSecrets, f as BaseEnv, g as createSecretsReflection, h as createEnvReflection, m as __ΩCreateEnvReflectionOptions, p as BaseSecrets, v as mergeSecretsReflections, y as reflectEnv } from "../persistence-5S3EirDm.mjs";
|
|
5
5
|
|
|
6
6
|
export { BaseEnv, BaseSecrets, __ΩCreateEnvReflectionOptions, createEnvReflection, createSecretsReflection, mergeEnvReflections, mergeSecretsReflections, reflectEnv, reflectSecrets };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require('../runtime-g0TEIoZK.cjs');
|
|
2
2
|
require('../plugin-CM1TSv1B.cjs');
|
|
3
|
-
require('../join-paths-
|
|
4
|
-
require('../persistence-
|
|
5
|
-
const require_template_helpers = require('../template-helpers-
|
|
3
|
+
require('../join-paths-B0RBTuuw.cjs');
|
|
4
|
+
require('../persistence-DzS7SzMj.cjs');
|
|
5
|
+
const require_template_helpers = require('../template-helpers-DoFoTIAC.cjs');
|
|
6
6
|
|
|
7
7
|
exports.createTemplateReflection = require_template_helpers.createTemplateReflection;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../runtime-C5ukCv3P.mjs";
|
|
2
2
|
import "../plugin-eBjQJP6x.mjs";
|
|
3
|
-
import "../join-paths-
|
|
4
|
-
import "../persistence-
|
|
5
|
-
import { t as createTemplateReflection } from "../template-helpers-
|
|
3
|
+
import "../join-paths-Dd9KxuyL.mjs";
|
|
4
|
+
import "../persistence-5S3EirDm.mjs";
|
|
5
|
+
import { t as createTemplateReflection } from "../template-helpers-Cw8aba1r.mjs";
|
|
6
6
|
|
|
7
7
|
export { createTemplateReflection };
|