@powerlines/plugin-env 0.15.161 → 0.15.162
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/{chunk-CNVrAnJR.cjs → _virtual/rolldown_runtime.cjs} +3 -18
- package/dist/{chunk-CsF2CmBJ.mjs → _virtual/rolldown_runtime.mjs} +1 -1
- package/dist/babel/index.cjs +2 -5
- package/dist/babel/index.d.cts +1 -14
- package/dist/babel/index.d.mts +1 -14
- package/dist/babel/index.mjs +1 -4
- package/dist/babel/plugin.cjs +140 -4
- package/dist/babel/plugin.d.cts +9 -15
- package/dist/babel/plugin.d.cts.map +1 -0
- package/dist/babel/plugin.d.mts +9 -15
- package/dist/babel/plugin.d.mts.map +1 -0
- package/dist/babel/plugin.mjs +140 -4
- package/dist/babel/plugin.mjs.map +1 -0
- package/dist/components/docs.cjs +66 -6
- package/dist/components/docs.d.cts +25 -2
- package/dist/components/docs.d.cts.map +1 -0
- package/dist/components/docs.d.mts +25 -2
- package/dist/components/docs.d.mts.map +1 -0
- package/dist/components/docs.mjs +66 -6
- package/dist/components/docs.mjs.map +1 -0
- package/dist/components/env.cjs +582 -11
- package/dist/components/env.d.cts +23 -2
- package/dist/components/env.d.cts.map +1 -0
- package/dist/components/env.d.mts +23 -2
- package/dist/components/env.d.mts.map +1 -0
- package/dist/components/env.mjs +581 -10
- package/dist/components/env.mjs.map +1 -0
- package/dist/components/index.cjs +5 -15
- package/dist/components/index.d.cts +2 -3
- package/dist/components/index.d.mts +2 -3
- package/dist/components/index.mjs +2 -12
- package/dist/helpers/automd-generator.cjs +31 -3
- package/dist/helpers/automd-generator.mjs +31 -3
- package/dist/helpers/automd-generator.mjs.map +1 -0
- package/dist/helpers/create-reflection-resource.cjs +21 -4
- package/dist/helpers/create-reflection-resource.d.cts +14 -4
- package/dist/helpers/create-reflection-resource.d.cts.map +1 -0
- package/dist/helpers/create-reflection-resource.d.mts +14 -4
- package/dist/helpers/create-reflection-resource.d.mts.map +1 -0
- package/dist/helpers/create-reflection-resource.mjs +22 -4
- package/dist/helpers/create-reflection-resource.mjs.map +1 -0
- package/dist/helpers/docs-helper.cjs +22 -5
- package/dist/helpers/docs-helper.d.cts +1 -2
- package/dist/helpers/docs-helper.d.cts.map +1 -1
- package/dist/helpers/docs-helper.d.mts +1 -2
- package/dist/helpers/docs-helper.d.mts.map +1 -1
- package/dist/helpers/docs-helper.mjs +23 -5
- package/dist/helpers/docs-helper.mjs.map +1 -0
- package/dist/helpers/index.cjs +32 -38
- package/dist/helpers/index.d.cts +6 -9
- package/dist/helpers/index.d.mts +6 -9
- package/dist/helpers/index.mjs +6 -12
- package/dist/helpers/load.cjs +133 -10
- package/dist/helpers/load.d.cts +36 -4
- package/dist/helpers/load.d.cts.map +1 -0
- package/dist/helpers/load.d.mts +36 -4
- package/dist/helpers/load.d.mts.map +1 -0
- package/dist/helpers/load.mjs +132 -9
- package/dist/helpers/load.mjs.map +1 -0
- package/dist/helpers/persistence.cjs +321 -15
- package/dist/helpers/persistence.d.cts +85 -4
- package/dist/helpers/persistence.d.cts.map +1 -0
- package/dist/helpers/persistence.d.mts +85 -4
- package/dist/helpers/persistence.d.mts.map +1 -0
- package/dist/helpers/persistence.mjs +310 -5
- package/dist/helpers/persistence.mjs.map +1 -0
- package/dist/helpers/reflect.cjs +262 -13
- package/dist/helpers/reflect.d.cts +47 -4
- package/dist/helpers/reflect.d.cts.map +1 -0
- package/dist/helpers/reflect.d.mts +47 -4
- package/dist/helpers/reflect.d.mts.map +1 -0
- package/dist/helpers/reflect.mjs +254 -5
- package/dist/helpers/reflect.mjs.map +1 -0
- package/dist/helpers/source-file-env.cjs +57 -3
- package/dist/helpers/source-file-env.d.cts +9 -2
- package/dist/helpers/source-file-env.d.cts.map +1 -0
- package/dist/helpers/source-file-env.d.mts +9 -2
- package/dist/helpers/source-file-env.d.mts.map +1 -0
- package/dist/helpers/source-file-env.mjs +56 -2
- package/dist/helpers/source-file-env.mjs.map +1 -0
- package/dist/helpers/template-helpers.cjs +69 -6
- package/dist/helpers/template-helpers.d.cts +16 -4
- package/dist/helpers/template-helpers.d.cts.map +1 -0
- package/dist/helpers/template-helpers.d.mts +16 -4
- package/dist/helpers/template-helpers.d.mts.map +1 -0
- package/dist/helpers/template-helpers.mjs +69 -6
- package/dist/helpers/template-helpers.mjs.map +1 -0
- package/dist/index.cjs +98 -258
- package/dist/index.d.cts +25 -15
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +25 -15
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +22 -182
- package/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/parse-type-definition.cjs +37 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/parse-type-definition.mjs +38 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/parse-type-definition.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/to-array.cjs +15 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/to-array.mjs +15 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/to-array.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.cjs +15 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs +15 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/index.cjs +3 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/index.mjs +5 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.cjs +6 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs +7 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-collection.cjs +1 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-collection.mjs +3 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-object.cjs +19 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs +20 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.cjs +63 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs +64 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-string.cjs +12 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs +12 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/type-detect.cjs +15 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs +17 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/is-parent-path.cjs +32 -0
- package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/is-parent-path.mjs +33 -0
- package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/is-parent-path.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/is-type.cjs +28 -0
- package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/is-type.mjs +29 -0
- package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/is-type.mjs.map +1 -0
- package/dist/{join-paths-B0RBTuuw.cjs → node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/join-paths.cjs} +13 -65
- package/dist/{join-paths-Dd9KxuyL.mjs → node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/join-paths.mjs} +5 -45
- package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/join-paths.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/regex.cjs +12 -0
- package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/regex.mjs +9 -0
- package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/regex.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/slash.cjs +15 -0
- package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/slash.mjs +15 -0
- package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/slash.mjs.map +1 -0
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.cjs +346 -0
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.mjs +347 -0
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.mjs.map +1 -0
- package/dist/{json5-DEV_07Nb.cjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/json5.cjs} +1 -1
- package/dist/{json5-jq90mF9X.mjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/json5.mjs} +2 -2
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/json5.mjs.map +1 -0
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/jsonc.cjs +3 -0
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/jsonc.mjs +3 -0
- package/dist/{confbox.DA7CpUDY-DShUZ_rW.mjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.cjs} +2 -2
- package/dist/{confbox.DA7CpUDY-r6FXRsI6.cjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.mjs} +2 -7
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.mjs.map +1 -0
- package/dist/{confbox.DnMsyigM-C13n3X-S.cjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.cjs} +3 -13
- package/dist/{confbox.DnMsyigM-V6Wj0LPC.mjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs} +3 -3
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs.map +1 -0
- package/dist/{toml-DvrxV201.cjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/toml.cjs} +1 -1
- package/dist/{toml-uuOYvEAO.mjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/toml.mjs} +2 -2
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/toml.mjs.map +1 -0
- package/dist/{yaml-CQSFMRMS.cjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/yaml.cjs} +1 -1
- package/dist/{yaml-CIn2Gddw.mjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/yaml.mjs} +2 -2
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/yaml.mjs.map +1 -0
- package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs +43 -0
- package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs +43 -0
- package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs.map +1 -0
- package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.cjs +46 -0
- package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs +46 -0
- package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/lib/main.cjs +288 -0
- package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/lib/main.mjs +286 -0
- package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/lib/main.mjs.map +1 -0
- package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/package.cjs +71 -0
- package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/package.mjs +69 -0
- package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/package.mjs.map +1 -0
- package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.cjs +1013 -0
- package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs +1008 -0
- package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.cjs +23 -0
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs +14 -0
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.cjs +2698 -0
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs +2686 -0
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs.map +1 -0
- package/dist/{load-CC_Pu2Om.cjs → node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.cjs} +195 -2332
- package/dist/{load-EM4edkA2.mjs → node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs} +195 -2319
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs.map +1 -0
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.cjs +29 -0
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs +30 -0
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs.map +1 -0
- package/dist/{multipart-parser-aEF5a4Xf.cjs → node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs} +8 -5
- package/dist/{multipart-parser-D65rtMfY.mjs → node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs} +4 -3
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs.map +1 -0
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.cjs +22 -0
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs +18 -0
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs.map +1 -0
- package/dist/{node-Co8KdzkZ.cjs → node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs} +796 -814
- package/dist/{node-D9MigVDD.mjs → node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs} +795 -807
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs.map +1 -0
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.cjs +11768 -0
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs +11764 -0
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs.map +1 -0
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs +25 -0
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.mjs +21 -0
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.mjs.map +1 -0
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.cjs +20 -0
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.mjs +18 -0
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/nypm@0.6.4/node_modules/nypm/dist/index.cjs +194 -0
- package/dist/node_modules/.pnpm/nypm@0.6.4/node_modules/nypm/dist/index.mjs +192 -0
- package/dist/node_modules/.pnpm/nypm@0.6.4/node_modules/nypm/dist/index.mjs.map +1 -0
- package/dist/{dist-BQc8ZRwl.cjs → node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.cjs} +1 -1
- package/dist/{dist-mV5Swt78.mjs → node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs} +1 -1
- package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.cjs +3 -0
- package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.mjs +3 -0
- package/dist/{defu-DV5Grr85.mjs → node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.cjs} +8 -43
- package/dist/{defu-CrqNIh1A.cjs → node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs} +2 -90
- package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs.map +1 -0
- package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.cjs +127 -0
- package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs +126 -0
- package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.cjs +138 -0
- package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs +137 -0
- package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.cjs +629 -0
- package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs +628 -0
- package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs.map +1 -0
- package/dist/types/index.cjs +9 -10
- package/dist/types/index.d.cts +2 -3
- package/dist/types/index.d.mts +2 -3
- package/dist/types/index.mjs +2 -3
- package/dist/types/plugin.cjs +133 -7
- package/dist/types/plugin.d.cts +155 -3
- package/dist/types/plugin.d.cts.map +1 -0
- package/dist/types/plugin.d.mts +155 -3
- package/dist/types/plugin.d.mts.map +1 -0
- package/dist/types/plugin.mjs +129 -3
- package/dist/types/plugin.mjs.map +1 -0
- package/dist/types/runtime.cjs +242 -3
- package/dist/types/runtime.d.cts +792 -2
- package/dist/{runtime-BDzzR4wH.d.cts.map → types/runtime.d.cts.map} +1 -1
- package/dist/types/runtime.d.mts +792 -2
- package/dist/{runtime-lYSIZdMn.d.mts.map → types/runtime.d.mts.map} +1 -1
- package/dist/types/runtime.mjs +241 -2
- package/dist/types/runtime.mjs.map +1 -0
- package/package.json +9 -9
- package/dist/automd-generator-BpvZRK0k.mjs +0 -32
- package/dist/automd-generator-BpvZRK0k.mjs.map +0 -1
- package/dist/automd-generator-CxG1owAE.cjs +0 -37
- package/dist/babel-BZqmdVF4.cjs +0 -0
- package/dist/babel-DgietUY3.mjs +0 -1
- package/dist/components-BUo6Koax.cjs +0 -0
- package/dist/components-DDFmImcI.mjs +0 -1
- package/dist/confbox.DA7CpUDY-DShUZ_rW.mjs.map +0 -1
- package/dist/confbox.DnMsyigM-V6Wj0LPC.mjs.map +0 -1
- package/dist/create-reflection-resource-3svZm2rY.d.cts +0 -14
- package/dist/create-reflection-resource-3svZm2rY.d.cts.map +0 -1
- package/dist/create-reflection-resource-CCpA76Yq.d.mts +0 -14
- package/dist/create-reflection-resource-CCpA76Yq.d.mts.map +0 -1
- package/dist/create-reflection-resource-D0QrD1Td.mjs +0 -23
- package/dist/create-reflection-resource-D0QrD1Td.mjs.map +0 -1
- package/dist/create-reflection-resource-d2zdTyOE.cjs +0 -27
- package/dist/defu-DV5Grr85.mjs.map +0 -1
- package/dist/dist-C_a6goTt.cjs +0 -15282
- package/dist/dist-CjWvISyq.mjs +0 -15271
- package/dist/dist-CjWvISyq.mjs.map +0 -1
- package/dist/dist-mV5Swt78.mjs.map +0 -1
- package/dist/docs-BAKwE4PJ.d.cts +0 -25
- package/dist/docs-BAKwE4PJ.d.cts.map +0 -1
- package/dist/docs-CVf-w8oz.d.mts +0 -25
- package/dist/docs-CVf-w8oz.d.mts.map +0 -1
- package/dist/docs-E0aCTO7H.cjs +0 -72
- package/dist/docs-WdCIcQmw.mjs +0 -67
- package/dist/docs-WdCIcQmw.mjs.map +0 -1
- package/dist/docs-helper-BSYSI2cH.mjs +0 -24
- package/dist/docs-helper-BSYSI2cH.mjs.map +0 -1
- package/dist/docs-helper-BWe1dt1m.cjs +0 -28
- package/dist/env-BSCEigpj.cjs +0 -593
- package/dist/env-D0KBPuAd.d.mts +0 -23
- package/dist/env-D0KBPuAd.d.mts.map +0 -1
- package/dist/env-DqI7dwC-.mjs +0 -582
- package/dist/env-DqI7dwC-.mjs.map +0 -1
- package/dist/env-DwM7pJm7.d.cts +0 -23
- package/dist/env-DwM7pJm7.d.cts.map +0 -1
- package/dist/helpers-45e1bvAO.mjs +0 -1
- package/dist/helpers-DgYP3uej.cjs +0 -0
- package/dist/index-BNRXMhlr.d.mts +0 -1
- package/dist/index-Bdi8CvaN.d.cts +0 -16
- package/dist/index-Bdi8CvaN.d.cts.map +0 -1
- package/dist/index-CEDY7cmG.d.cts +0 -1
- package/dist/index-CREkvfw9.d.mts +0 -1
- package/dist/index-DSiHnMH2.d.cts +0 -1
- package/dist/index-Drhzdkqe.d.mts +0 -16
- package/dist/index-Drhzdkqe.d.mts.map +0 -1
- package/dist/index-dhjtMp5F.d.mts +0 -1
- package/dist/index-uTS5iDq_.d.cts +0 -1
- package/dist/join-paths-Dd9KxuyL.mjs.map +0 -1
- package/dist/json5-jq90mF9X.mjs.map +0 -1
- package/dist/jsonc-CBh70baJ.cjs +0 -4
- package/dist/jsonc-CDLU6bgi.mjs +0 -4
- package/dist/load-EM4edkA2.mjs.map +0 -1
- package/dist/load-GpP6cojj.d.mts +0 -36
- package/dist/load-GpP6cojj.d.mts.map +0 -1
- package/dist/load-PHGmxX_X.d.cts +0 -36
- package/dist/load-PHGmxX_X.d.cts.map +0 -1
- package/dist/multipart-parser-D65rtMfY.mjs.map +0 -1
- package/dist/node-D9MigVDD.mjs.map +0 -1
- package/dist/persistence-5S3EirDm.mjs +0 -586
- package/dist/persistence-5S3EirDm.mjs.map +0 -1
- package/dist/persistence-BR4cUaN6.d.cts +0 -85
- package/dist/persistence-BR4cUaN6.d.cts.map +0 -1
- package/dist/persistence-DrKQZNCv.d.mts +0 -85
- package/dist/persistence-DrKQZNCv.d.mts.map +0 -1
- package/dist/persistence-DzS7SzMj.cjs +0 -712
- package/dist/plugin-CM1TSv1B.cjs +0 -159
- package/dist/plugin-CSVnrdpE.cjs +0 -146
- package/dist/plugin-CSe5f2cD.d.cts +0 -155
- package/dist/plugin-CSe5f2cD.d.cts.map +0 -1
- package/dist/plugin-DMbVjdcQ.d.mts +0 -155
- package/dist/plugin-DMbVjdcQ.d.mts.map +0 -1
- package/dist/plugin-Vyvy9w9Z.mjs +0 -141
- package/dist/plugin-Vyvy9w9Z.mjs.map +0 -1
- package/dist/plugin-eBjQJP6x.mjs +0 -130
- package/dist/plugin-eBjQJP6x.mjs.map +0 -1
- package/dist/reflect-Dm8a3c29.d.cts +0 -47
- package/dist/reflect-Dm8a3c29.d.cts.map +0 -1
- package/dist/reflect-Dpz8ifa0.d.mts +0 -47
- package/dist/reflect-Dpz8ifa0.d.mts.map +0 -1
- package/dist/runtime-BDzzR4wH.d.cts +0 -792
- package/dist/runtime-C5ukCv3P.mjs +0 -242
- package/dist/runtime-C5ukCv3P.mjs.map +0 -1
- package/dist/runtime-g0TEIoZK.cjs +0 -253
- package/dist/runtime-lYSIZdMn.d.mts +0 -792
- package/dist/source-file-env-4Vdtzc5-.cjs +0 -68
- package/dist/source-file-env-Brfopjyr.d.cts +0 -9
- package/dist/source-file-env-Brfopjyr.d.cts.map +0 -1
- package/dist/source-file-env-DWejSP2U.d.mts +0 -9
- package/dist/source-file-env-DWejSP2U.d.mts.map +0 -1
- package/dist/source-file-env-Tj-6qobx.mjs +0 -57
- package/dist/source-file-env-Tj-6qobx.mjs.map +0 -1
- package/dist/template-helpers-1SKodHKt.d.mts +0 -16
- package/dist/template-helpers-1SKodHKt.d.mts.map +0 -1
- package/dist/template-helpers-Cw8aba1r.mjs +0 -70
- package/dist/template-helpers-Cw8aba1r.mjs.map +0 -1
- package/dist/template-helpers-DoFoTIAC.cjs +0 -75
- package/dist/template-helpers-zyitPfMz.d.cts +0 -16
- package/dist/template-helpers-zyitPfMz.d.cts.map +0 -1
- package/dist/toml-uuOYvEAO.mjs.map +0 -1
- package/dist/types-DyPQho_C.mjs +0 -1
- package/dist/types-o3zWarRp.cjs +0 -0
- package/dist/yaml-CIn2Gddw.mjs.map +0 -1
|
@@ -1,16 +1,6 @@
|
|
|
1
|
-
require('
|
|
2
|
-
require('
|
|
3
|
-
require('../join-paths-B0RBTuuw.cjs');
|
|
4
|
-
require('../source-file-env-4Vdtzc5-.cjs');
|
|
5
|
-
require('../defu-CrqNIh1A.cjs');
|
|
6
|
-
require('../load-CC_Pu2Om.cjs');
|
|
7
|
-
require('../confbox.DA7CpUDY-r6FXRsI6.cjs');
|
|
8
|
-
require('../confbox.DnMsyigM-C13n3X-S.cjs');
|
|
9
|
-
require('../docs-helper-BWe1dt1m.cjs');
|
|
10
|
-
const require_docs = require('../docs-E0aCTO7H.cjs');
|
|
11
|
-
const require_env = require('../env-BSCEigpj.cjs');
|
|
12
|
-
require('../components-BUo6Koax.cjs');
|
|
1
|
+
const require_components_docs = require('./docs.cjs');
|
|
2
|
+
const require_components_env = require('./env.cjs');
|
|
13
3
|
|
|
14
|
-
exports.EnvBuiltin =
|
|
15
|
-
exports.EnvDocsFile =
|
|
16
|
-
exports.EnvTypeDefinition =
|
|
4
|
+
exports.EnvBuiltin = require_components_env.EnvBuiltin;
|
|
5
|
+
exports.EnvDocsFile = require_components_docs.EnvDocsFile;
|
|
6
|
+
exports.EnvTypeDefinition = require_components_env.EnvTypeDefinition;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "../index-uTS5iDq_.cjs";
|
|
1
|
+
import { EnvDocsFile, EnvDocsFileProps, __ΩEnvDocsFileProps } from "./docs.cjs";
|
|
2
|
+
import { EnvBuiltin, EnvBuiltinProps, EnvTypeDefinition, __ΩEnvBuiltinProps } from "./env.cjs";
|
|
4
3
|
export { EnvBuiltin, EnvBuiltinProps, EnvDocsFile, EnvDocsFileProps, EnvTypeDefinition, __ΩEnvBuiltinProps, __ΩEnvDocsFileProps };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "../index-BNRXMhlr.mjs";
|
|
1
|
+
import { EnvDocsFile, EnvDocsFileProps, __ΩEnvDocsFileProps } from "./docs.mjs";
|
|
2
|
+
import { EnvBuiltin, EnvBuiltinProps, EnvTypeDefinition, __ΩEnvBuiltinProps } from "./env.mjs";
|
|
4
3
|
export { EnvBuiltin, EnvBuiltinProps, EnvDocsFile, EnvDocsFileProps, EnvTypeDefinition, __ΩEnvBuiltinProps, __ΩEnvDocsFileProps };
|
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import "../join-paths-Dd9KxuyL.mjs";
|
|
4
|
-
import "../source-file-env-Tj-6qobx.mjs";
|
|
5
|
-
import "../defu-DV5Grr85.mjs";
|
|
6
|
-
import "../load-EM4edkA2.mjs";
|
|
7
|
-
import "../confbox.DA7CpUDY-DShUZ_rW.mjs";
|
|
8
|
-
import "../confbox.DnMsyigM-V6Wj0LPC.mjs";
|
|
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
|
-
import "../components-DDFmImcI.mjs";
|
|
1
|
+
import { EnvDocsFile } from "./docs.mjs";
|
|
2
|
+
import { EnvBuiltin, EnvTypeDefinition } from "./env.mjs";
|
|
13
3
|
|
|
14
4
|
export { EnvBuiltin, EnvDocsFile, EnvTypeDefinition };
|
|
@@ -1,4 +1,32 @@
|
|
|
1
|
-
require('../
|
|
2
|
-
const
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/join-paths.cjs');
|
|
3
|
+
let powerlines_types_context = require("powerlines/types/context");
|
|
4
|
+
let automd = require("automd");
|
|
3
5
|
|
|
4
|
-
|
|
6
|
+
//#region src/helpers/automd-generator.ts
|
|
7
|
+
function __assignType(fn, args) {
|
|
8
|
+
fn.__type = args;
|
|
9
|
+
return fn;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* AutoMD generator to generate environment variable documentation
|
|
13
|
+
*
|
|
14
|
+
* @param context - The generator context.
|
|
15
|
+
* @returns The generated documentation content.
|
|
16
|
+
*/
|
|
17
|
+
const env = __assignType((context) => (0, automd.defineGenerator)({
|
|
18
|
+
name: "env",
|
|
19
|
+
generate: __assignType(async function generate() {
|
|
20
|
+
const envDocFile = require_join_paths.joinPaths(context.config.projectRoot, "docs", "generated", "env.md");
|
|
21
|
+
if (!context.fs.existsSync(envDocFile)) return { contents: "" };
|
|
22
|
+
return { contents: await context.fs.read(envDocFile) || "" };
|
|
23
|
+
}, ["generate", "P\"/!"])
|
|
24
|
+
}), [
|
|
25
|
+
() => powerlines_types_context.__ΩUnresolvedContext,
|
|
26
|
+
"context",
|
|
27
|
+
"",
|
|
28
|
+
"Pn!2\"\"/#"
|
|
29
|
+
]);
|
|
30
|
+
|
|
31
|
+
//#endregion
|
|
32
|
+
exports.env = env;
|
|
@@ -1,4 +1,32 @@
|
|
|
1
|
-
import "../join-paths
|
|
2
|
-
import {
|
|
1
|
+
import { joinPaths } from "../node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/join-paths.mjs";
|
|
2
|
+
import { __ΩUnresolvedContext } from "powerlines/types/context";
|
|
3
|
+
import { defineGenerator } from "automd";
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
//#region src/helpers/automd-generator.ts
|
|
6
|
+
function __assignType(fn, args) {
|
|
7
|
+
fn.__type = args;
|
|
8
|
+
return fn;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* AutoMD generator to generate environment variable documentation
|
|
12
|
+
*
|
|
13
|
+
* @param context - The generator context.
|
|
14
|
+
* @returns The generated documentation content.
|
|
15
|
+
*/
|
|
16
|
+
const env = __assignType((context) => defineGenerator({
|
|
17
|
+
name: "env",
|
|
18
|
+
generate: __assignType(async function generate() {
|
|
19
|
+
const envDocFile = joinPaths(context.config.projectRoot, "docs", "generated", "env.md");
|
|
20
|
+
if (!context.fs.existsSync(envDocFile)) return { contents: "" };
|
|
21
|
+
return { contents: await context.fs.read(envDocFile) || "" };
|
|
22
|
+
}, ["generate", "P\"/!"])
|
|
23
|
+
}), [
|
|
24
|
+
() => __ΩUnresolvedContext,
|
|
25
|
+
"context",
|
|
26
|
+
"",
|
|
27
|
+
"Pn!2\"\"/#"
|
|
28
|
+
]);
|
|
29
|
+
|
|
30
|
+
//#endregion
|
|
31
|
+
export { env };
|
|
32
|
+
//# sourceMappingURL=automd-generator.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"automd-generator.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,22 @@
|
|
|
1
|
-
require('../
|
|
2
|
-
require('../plugin-CM1TSv1B.cjs');
|
|
3
|
-
const require_create_reflection_resource = require('../create-reflection-resource-d2zdTyOE.cjs');
|
|
1
|
+
const require_types_plugin = require('../types/plugin.cjs');
|
|
4
2
|
|
|
5
|
-
|
|
3
|
+
//#region src/helpers/create-reflection-resource.ts
|
|
4
|
+
/**
|
|
5
|
+
* Creates a reflection resource for the environment configuration.
|
|
6
|
+
*
|
|
7
|
+
* @param context - The environment plugin context.
|
|
8
|
+
* @returns A resource that provides the reflection of the environment configuration.
|
|
9
|
+
*/
|
|
10
|
+
function createReflection(_context) {
|
|
11
|
+
return {};
|
|
12
|
+
}
|
|
13
|
+
createReflection.__type = [
|
|
14
|
+
() => require_types_plugin.__ΩEnvPluginContext,
|
|
15
|
+
"_context",
|
|
16
|
+
"createReflection",
|
|
17
|
+
"Creates a reflection resource for the environment configuration.",
|
|
18
|
+
"Pn!2\"\"/#?$"
|
|
19
|
+
];
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.createReflection = createReflection;
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { EnvPluginContext } from "../types/plugin.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/helpers/create-reflection-resource.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Creates a reflection resource for the environment configuration.
|
|
7
|
+
*
|
|
8
|
+
* @param context - The environment plugin context.
|
|
9
|
+
* @returns A resource that provides the reflection of the environment configuration.
|
|
10
|
+
*/
|
|
11
|
+
declare function createReflection(_context: EnvPluginContext): {};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { createReflection };
|
|
14
|
+
//# sourceMappingURL=create-reflection-resource.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-reflection-resource.d.cts","names":[],"sources":["../../src/helpers/create-reflection-resource.ts"],"sourcesContent":[],"mappings":";;;;;;AA0BA;;;;iBAAgB,gBAAA,WAA2B"}
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { EnvPluginContext } from "../types/plugin.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/helpers/create-reflection-resource.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Creates a reflection resource for the environment configuration.
|
|
7
|
+
*
|
|
8
|
+
* @param context - The environment plugin context.
|
|
9
|
+
* @returns A resource that provides the reflection of the environment configuration.
|
|
10
|
+
*/
|
|
11
|
+
declare function createReflection(_context: EnvPluginContext): {};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { createReflection };
|
|
14
|
+
//# sourceMappingURL=create-reflection-resource.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-reflection-resource.d.mts","names":[],"sources":["../../src/helpers/create-reflection-resource.ts"],"sourcesContent":[],"mappings":";;;;;;AA0BA;;;;iBAAgB,gBAAA,WAA2B"}
|
|
@@ -1,5 +1,23 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "../plugin-eBjQJP6x.mjs";
|
|
3
|
-
import { t as createReflection } from "../create-reflection-resource-D0QrD1Td.mjs";
|
|
1
|
+
import { __ΩEnvPluginContext } from "../types/plugin.mjs";
|
|
4
2
|
|
|
5
|
-
|
|
3
|
+
//#region src/helpers/create-reflection-resource.ts
|
|
4
|
+
/**
|
|
5
|
+
* Creates a reflection resource for the environment configuration.
|
|
6
|
+
*
|
|
7
|
+
* @param context - The environment plugin context.
|
|
8
|
+
* @returns A resource that provides the reflection of the environment configuration.
|
|
9
|
+
*/
|
|
10
|
+
function createReflection(_context) {
|
|
11
|
+
return {};
|
|
12
|
+
}
|
|
13
|
+
createReflection.__type = [
|
|
14
|
+
() => __ΩEnvPluginContext,
|
|
15
|
+
"_context",
|
|
16
|
+
"createReflection",
|
|
17
|
+
"Creates a reflection resource for the environment configuration.",
|
|
18
|
+
"Pn!2\"\"/#?$"
|
|
19
|
+
];
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { createReflection };
|
|
23
|
+
//# sourceMappingURL=create-reflection-resource.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-reflection-resource.mjs","names":[],"sources":["../../src/helpers/create-reflection-resource.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 { EnvPluginContext } from \"../types/plugin\";\n\n/**\n * Creates a reflection resource for the environment configuration.\n *\n * @param context - The environment plugin context.\n * @returns A resource that provides the reflection of the environment configuration.\n */\nexport function createReflection(_context: EnvPluginContext) {\n // const defaultValue = computed(\n // () => context && loadEnvFromContext(context, process.env)\n // );\n\n return {};\n\n // return computed(() => {\n // result.getProperties().forEach(prop => {\n // const aliases = prop.getAlias();\n // aliases.filter(Boolean).forEach(alias => {\n // result.addProperty({\n // name: alias,\n // optional: prop.isOptional() ? true : undefined,\n // readonly: prop.isReadonly() ? true : undefined,\n // description: prop.getDescription(),\n // visibility: prop.getVisibility(),\n // type: prop.getType(),\n // default: prop.getDefaultValue(),\n // tags: {\n // hidden: prop.isHidden(),\n // ignore: prop.isIgnored(),\n // internal: prop.isInternal(),\n // alias: prop\n // .getAlias()\n // .filter(a => a !== alias)\n // .concat(prop.name),\n // title: prop.getTitle() || titleCase(prop.name),\n // readonly: prop.isReadonly(),\n // permission: prop.getPermission(),\n // domain: prop.getDomain()\n // }\n // });\n // });\n // });\n\n // result.getProperties().forEach(prop => {\n // prop.setDefaultValue(\n // (defaultValue.value as Record<string, any>)?.[prop.getNameAsString()] ??\n // prop\n // .getAlias()\n // .reduce(\n // (ret, alias) =>\n // ret ?? (defaultValue.value as Record<string, any>)?.[alias],\n // undefined\n // ) ??\n // prop.getDefaultValue()\n // );\n // });\n // });\n}\n"],"mappings":";;;;;;;;;;AAYI,QAAO,EAAE;;AA4Cb,iBAAiB,SAAS;OAAO;CAAK;CAAA;CAAA;CAAA;CAAA"}
|
|
@@ -1,6 +1,23 @@
|
|
|
1
|
-
require('../
|
|
2
|
-
require('../
|
|
3
|
-
require('../join-paths-B0RBTuuw.cjs');
|
|
4
|
-
const require_docs_helper = require('../docs-helper-BWe1dt1m.cjs');
|
|
1
|
+
const require_types_plugin = require('../types/plugin.cjs');
|
|
2
|
+
const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/join-paths.cjs');
|
|
5
3
|
|
|
6
|
-
|
|
4
|
+
//#region src/helpers/docs-helper.ts
|
|
5
|
+
/**
|
|
6
|
+
* Gets the output path for the generated environment documentation.
|
|
7
|
+
*
|
|
8
|
+
* @param context - The environment plugin context.
|
|
9
|
+
* @returns The output path for the generated environment documentation.
|
|
10
|
+
*/
|
|
11
|
+
function getDocsOutputPath(context) {
|
|
12
|
+
return require_join_paths.joinPaths(context.config.projectRoot, "docs", "generated");
|
|
13
|
+
}
|
|
14
|
+
getDocsOutputPath.__type = [
|
|
15
|
+
() => require_types_plugin.__ΩEnvPluginContext,
|
|
16
|
+
"context",
|
|
17
|
+
"getDocsOutputPath",
|
|
18
|
+
"Gets the output path for the generated environment documentation.",
|
|
19
|
+
"Pn!2\"&/#?$"
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.getDocsOutputPath = getDocsOutputPath;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs-helper.d.cts","names":[],"sources":["../../src/helpers/docs-helper.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"docs-helper.d.cts","names":[],"sources":["../../src/helpers/docs-helper.ts"],"sourcesContent":[],"mappings":";;;;;;AA2BA;;;;iBAAgB,iBAAA,UAA2B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs-helper.d.mts","names":[],"sources":["../../src/helpers/docs-helper.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"docs-helper.d.mts","names":[],"sources":["../../src/helpers/docs-helper.ts"],"sourcesContent":[],"mappings":";;;;;;AA2BA;;;;iBAAgB,iBAAA,UAA2B"}
|
|
@@ -1,6 +1,24 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "../
|
|
3
|
-
import "../join-paths-Dd9KxuyL.mjs";
|
|
4
|
-
import { t as getDocsOutputPath } from "../docs-helper-BSYSI2cH.mjs";
|
|
1
|
+
import { __ΩEnvPluginContext } from "../types/plugin.mjs";
|
|
2
|
+
import { joinPaths } from "../node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/join-paths.mjs";
|
|
5
3
|
|
|
6
|
-
|
|
4
|
+
//#region src/helpers/docs-helper.ts
|
|
5
|
+
/**
|
|
6
|
+
* Gets the output path for the generated environment documentation.
|
|
7
|
+
*
|
|
8
|
+
* @param context - The environment plugin context.
|
|
9
|
+
* @returns The output path for the generated environment documentation.
|
|
10
|
+
*/
|
|
11
|
+
function getDocsOutputPath(context) {
|
|
12
|
+
return joinPaths(context.config.projectRoot, "docs", "generated");
|
|
13
|
+
}
|
|
14
|
+
getDocsOutputPath.__type = [
|
|
15
|
+
() => __ΩEnvPluginContext,
|
|
16
|
+
"context",
|
|
17
|
+
"getDocsOutputPath",
|
|
18
|
+
"Gets the output path for the generated environment documentation.",
|
|
19
|
+
"Pn!2\"&/#?$"
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
export { getDocsOutputPath };
|
|
24
|
+
//# sourceMappingURL=docs-helper.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docs-helper.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"}
|
package/dist/helpers/index.cjs
CHANGED
|
@@ -1,39 +1,33 @@
|
|
|
1
|
-
require('
|
|
2
|
-
require('
|
|
3
|
-
require('
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
require('../defu-CrqNIh1A.cjs');
|
|
8
|
-
const require_load = require('../load-CC_Pu2Om.cjs');
|
|
9
|
-
require('../confbox.DA7CpUDY-r6FXRsI6.cjs');
|
|
10
|
-
require('../confbox.DnMsyigM-C13n3X-S.cjs');
|
|
11
|
-
const require_create_reflection_resource = require('../create-reflection-resource-d2zdTyOE.cjs');
|
|
12
|
-
require('../helpers-DgYP3uej.cjs');
|
|
1
|
+
const require_helpers_reflect = require('./reflect.cjs');
|
|
2
|
+
const require_helpers_persistence = require('./persistence.cjs');
|
|
3
|
+
const require_helpers_template_helpers = require('./template-helpers.cjs');
|
|
4
|
+
const require_helpers_source_file_env = require('./source-file-env.cjs');
|
|
5
|
+
const require_helpers_load = require('./load.cjs');
|
|
6
|
+
const require_helpers_create_reflection_resource = require('./create-reflection-resource.cjs');
|
|
13
7
|
|
|
14
|
-
exports.BaseEnv =
|
|
15
|
-
exports.BaseSecrets =
|
|
16
|
-
exports.__ΩCreateEnvReflectionOptions =
|
|
17
|
-
exports.createEnvReflection =
|
|
18
|
-
exports.createReflection =
|
|
19
|
-
exports.createSecretsReflection =
|
|
20
|
-
exports.createTemplateReflection =
|
|
21
|
-
exports.formatEnvField =
|
|
22
|
-
exports.getEnvDefaultTypeDefinition =
|
|
23
|
-
exports.getEnvReflectionsPath =
|
|
24
|
-
exports.getEnvTypeReflectionsPath =
|
|
25
|
-
exports.getSecretsDefaultTypeDefinition =
|
|
26
|
-
exports.loadEnv =
|
|
27
|
-
exports.loadEnvFromContext =
|
|
28
|
-
exports.mergeEnvReflections =
|
|
29
|
-
exports.mergeSecretsReflections =
|
|
30
|
-
exports.readEnvReflection =
|
|
31
|
-
exports.readEnvTypeReflection =
|
|
32
|
-
exports.readSecretsReflection =
|
|
33
|
-
exports.reflectEnv =
|
|
34
|
-
exports.reflectSecrets =
|
|
35
|
-
exports.removeEnvPrefix =
|
|
36
|
-
exports.resolveRuntimeTypeFile =
|
|
37
|
-
exports.writeEnvReflection =
|
|
38
|
-
exports.writeEnvReflectionSync =
|
|
39
|
-
exports.writeEnvTypeReflection =
|
|
8
|
+
exports.BaseEnv = require_helpers_reflect.BaseEnv;
|
|
9
|
+
exports.BaseSecrets = require_helpers_reflect.BaseSecrets;
|
|
10
|
+
exports.__ΩCreateEnvReflectionOptions = require_helpers_reflect.__ΩCreateEnvReflectionOptions;
|
|
11
|
+
exports.createEnvReflection = require_helpers_reflect.createEnvReflection;
|
|
12
|
+
exports.createReflection = require_helpers_create_reflection_resource.createReflection;
|
|
13
|
+
exports.createSecretsReflection = require_helpers_reflect.createSecretsReflection;
|
|
14
|
+
exports.createTemplateReflection = require_helpers_template_helpers.createTemplateReflection;
|
|
15
|
+
exports.formatEnvField = require_helpers_source_file_env.formatEnvField;
|
|
16
|
+
exports.getEnvDefaultTypeDefinition = require_helpers_persistence.getEnvDefaultTypeDefinition;
|
|
17
|
+
exports.getEnvReflectionsPath = require_helpers_persistence.getEnvReflectionsPath;
|
|
18
|
+
exports.getEnvTypeReflectionsPath = require_helpers_persistence.getEnvTypeReflectionsPath;
|
|
19
|
+
exports.getSecretsDefaultTypeDefinition = require_helpers_persistence.getSecretsDefaultTypeDefinition;
|
|
20
|
+
exports.loadEnv = require_helpers_load.loadEnv;
|
|
21
|
+
exports.loadEnvFromContext = require_helpers_load.loadEnvFromContext;
|
|
22
|
+
exports.mergeEnvReflections = require_helpers_reflect.mergeEnvReflections;
|
|
23
|
+
exports.mergeSecretsReflections = require_helpers_reflect.mergeSecretsReflections;
|
|
24
|
+
exports.readEnvReflection = require_helpers_persistence.readEnvReflection;
|
|
25
|
+
exports.readEnvTypeReflection = require_helpers_persistence.readEnvTypeReflection;
|
|
26
|
+
exports.readSecretsReflection = require_helpers_persistence.readSecretsReflection;
|
|
27
|
+
exports.reflectEnv = require_helpers_reflect.reflectEnv;
|
|
28
|
+
exports.reflectSecrets = require_helpers_reflect.reflectSecrets;
|
|
29
|
+
exports.removeEnvPrefix = require_helpers_source_file_env.removeEnvPrefix;
|
|
30
|
+
exports.resolveRuntimeTypeFile = require_helpers_persistence.resolveRuntimeTypeFile;
|
|
31
|
+
exports.writeEnvReflection = require_helpers_persistence.writeEnvReflection;
|
|
32
|
+
exports.writeEnvReflectionSync = require_helpers_persistence.writeEnvReflectionSync;
|
|
33
|
+
exports.writeEnvTypeReflection = require_helpers_persistence.writeEnvTypeReflection;
|
package/dist/helpers/index.d.cts
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { n as removeEnvPrefix, t as formatEnvField } from "../source-file-env-Brfopjyr.cjs";
|
|
8
|
-
import { t as createTemplateReflection } from "../template-helpers-zyitPfMz.cjs";
|
|
9
|
-
import "../index-CEDY7cmG.cjs";
|
|
1
|
+
import { createReflection } from "./create-reflection-resource.cjs";
|
|
2
|
+
import { loadEnv, loadEnvFromContext } from "./load.cjs";
|
|
3
|
+
import { getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectionsPath, getSecretsDefaultTypeDefinition, readEnvReflection, readEnvTypeReflection, readSecretsReflection, resolveRuntimeTypeFile, writeEnvReflection, writeEnvReflectionSync, writeEnvTypeReflection } from "./persistence.cjs";
|
|
4
|
+
import { BaseEnv, BaseSecrets, CreateEnvReflectionOptions, __ΩCreateEnvReflectionOptions, createEnvReflection, createSecretsReflection, mergeEnvReflections, mergeSecretsReflections, reflectEnv, reflectSecrets } from "./reflect.cjs";
|
|
5
|
+
import { formatEnvField, removeEnvPrefix } from "./source-file-env.cjs";
|
|
6
|
+
import { createTemplateReflection } from "./template-helpers.cjs";
|
|
10
7
|
export { BaseEnv, BaseSecrets, CreateEnvReflectionOptions, __ΩCreateEnvReflectionOptions, createEnvReflection, createReflection, createSecretsReflection, createTemplateReflection, formatEnvField, getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectionsPath, getSecretsDefaultTypeDefinition, loadEnv, loadEnvFromContext, mergeEnvReflections, mergeSecretsReflections, readEnvReflection, readEnvTypeReflection, readSecretsReflection, reflectEnv, reflectSecrets, removeEnvPrefix, resolveRuntimeTypeFile, writeEnvReflection, writeEnvReflectionSync, writeEnvTypeReflection };
|
package/dist/helpers/index.d.mts
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { n as removeEnvPrefix, t as formatEnvField } from "../source-file-env-DWejSP2U.mjs";
|
|
8
|
-
import { t as createTemplateReflection } from "../template-helpers-1SKodHKt.mjs";
|
|
9
|
-
import "../index-dhjtMp5F.mjs";
|
|
1
|
+
import { createReflection } from "./create-reflection-resource.mjs";
|
|
2
|
+
import { loadEnv, loadEnvFromContext } from "./load.mjs";
|
|
3
|
+
import { getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectionsPath, getSecretsDefaultTypeDefinition, readEnvReflection, readEnvTypeReflection, readSecretsReflection, resolveRuntimeTypeFile, writeEnvReflection, writeEnvReflectionSync, writeEnvTypeReflection } from "./persistence.mjs";
|
|
4
|
+
import { BaseEnv, BaseSecrets, CreateEnvReflectionOptions, __ΩCreateEnvReflectionOptions, createEnvReflection, createSecretsReflection, mergeEnvReflections, mergeSecretsReflections, reflectEnv, reflectSecrets } from "./reflect.mjs";
|
|
5
|
+
import { formatEnvField, removeEnvPrefix } from "./source-file-env.mjs";
|
|
6
|
+
import { createTemplateReflection } from "./template-helpers.mjs";
|
|
10
7
|
export { BaseEnv, BaseSecrets, CreateEnvReflectionOptions, __ΩCreateEnvReflectionOptions, createEnvReflection, createReflection, createSecretsReflection, createTemplateReflection, formatEnvField, getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectionsPath, getSecretsDefaultTypeDefinition, loadEnv, loadEnvFromContext, mergeEnvReflections, mergeSecretsReflections, readEnvReflection, readEnvTypeReflection, readSecretsReflection, reflectEnv, reflectSecrets, removeEnvPrefix, resolveRuntimeTypeFile, writeEnvReflection, writeEnvReflectionSync, writeEnvTypeReflection };
|
package/dist/helpers/index.mjs
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import "../defu-DV5Grr85.mjs";
|
|
8
|
-
import { n as loadEnvFromContext, t as loadEnv } from "../load-EM4edkA2.mjs";
|
|
9
|
-
import "../confbox.DA7CpUDY-DShUZ_rW.mjs";
|
|
10
|
-
import "../confbox.DnMsyigM-V6Wj0LPC.mjs";
|
|
11
|
-
import { t as createReflection } from "../create-reflection-resource-D0QrD1Td.mjs";
|
|
12
|
-
import "../helpers-45e1bvAO.mjs";
|
|
1
|
+
import { BaseEnv, BaseSecrets, __ΩCreateEnvReflectionOptions, createEnvReflection, createSecretsReflection, mergeEnvReflections, mergeSecretsReflections, reflectEnv, reflectSecrets } from "./reflect.mjs";
|
|
2
|
+
import { getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectionsPath, getSecretsDefaultTypeDefinition, readEnvReflection, readEnvTypeReflection, readSecretsReflection, resolveRuntimeTypeFile, writeEnvReflection, writeEnvReflectionSync, writeEnvTypeReflection } from "./persistence.mjs";
|
|
3
|
+
import { createTemplateReflection } from "./template-helpers.mjs";
|
|
4
|
+
import { formatEnvField, removeEnvPrefix } from "./source-file-env.mjs";
|
|
5
|
+
import { loadEnv, loadEnvFromContext } from "./load.mjs";
|
|
6
|
+
import { createReflection } from "./create-reflection-resource.mjs";
|
|
13
7
|
|
|
14
8
|
export { BaseEnv, BaseSecrets, __ΩCreateEnvReflectionOptions, createEnvReflection, createReflection, createSecretsReflection, createTemplateReflection, formatEnvField, getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectionsPath, getSecretsDefaultTypeDefinition, loadEnv, loadEnvFromContext, mergeEnvReflections, mergeSecretsReflections, readEnvReflection, readEnvTypeReflection, readSecretsReflection, reflectEnv, reflectSecrets, removeEnvPrefix, resolveRuntimeTypeFile, writeEnvReflection, writeEnvReflectionSync, writeEnvTypeReflection };
|