@powerlines/plugin-env 0.15.13 → 0.15.15
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/_virtual/rolldown_runtime.cjs +4 -0
- package/dist/_virtual/rolldown_runtime.mjs +33 -0
- package/dist/babel/plugin.cjs +16 -16
- package/dist/babel/plugin.d.mts +2 -2
- package/dist/babel/plugin.mjs +7 -7
- package/dist/components/docs.cjs +8 -8
- package/dist/components/docs.mjs +5 -5
- package/dist/components/env.cjs +38 -39
- package/dist/components/env.d.mts +2 -2
- package/dist/components/env.mjs +11 -11
- package/dist/helpers/automd-generator.cjs +4 -4
- package/dist/helpers/automd-generator.d.mts +1 -1
- package/dist/helpers/automd-generator.mjs +3 -3
- package/dist/helpers/load.cjs +12 -13
- package/dist/helpers/load.d.mts +2 -2
- package/dist/helpers/load.mjs +10 -10
- package/dist/helpers/persistence.cjs +23 -23
- package/dist/helpers/persistence.d.mts +1 -1
- package/dist/helpers/persistence.mjs +7 -7
- package/dist/helpers/reflect.cjs +9 -9
- package/dist/helpers/reflect.mjs +5 -5
- package/dist/helpers/source-file-env.cjs +1 -1
- package/dist/helpers/source-file-env.mjs +1 -1
- package/dist/index.cjs +28 -26
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +25 -25
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/parse-type-definition.cjs +31 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/parse-type-definition.mjs +31 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/to-array.cjs +8 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/to-array.mjs +7 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.cjs +6 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs +5 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/index.cjs +3 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/index.mjs +5 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.cjs +6 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs +6 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-collection.cjs +1 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-collection.mjs +3 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-object.cjs +13 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs +13 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.cjs +13 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs +13 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-string.cjs +12 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs +11 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/type-detect.cjs +11 -0
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs +12 -0
- package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/is-parent-path.cjs +10 -0
- package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/is-parent-path.mjs +10 -0
- package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/is-type.cjs +13 -0
- package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/is-type.mjs +13 -0
- package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/join-paths.cjs +49 -0
- package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/join-paths.mjs +49 -0
- package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/regex.cjs +9 -0
- package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/regex.mjs +5 -0
- package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/slash.cjs +8 -0
- package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/slash.mjs +7 -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 +346 -0
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/json5.cjs +786 -0
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/json5.mjs +786 -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/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.cjs +23 -0
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.mjs +22 -0
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.cjs +405 -0
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs +404 -0
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/toml.cjs +657 -0
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/toml.mjs +657 -0
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/yaml.cjs +1054 -0
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/yaml.mjs +1054 -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 +42 -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 +45 -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 +285 -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 +68 -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 +1007 -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 +13 -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 +2685 -0
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.cjs +4457 -0
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs +4454 -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 +29 -0
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs +181 -0
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs +176 -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 +17 -0
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs +3967 -0
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs +3962 -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 +11763 -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 +20 -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 +17 -0
- package/dist/node_modules/.pnpm/nypm@0.6.2/node_modules/nypm/dist/shared/nypm.CLjaS_sz.cjs +174 -0
- package/dist/node_modules/.pnpm/nypm@0.6.2/node_modules/nypm/dist/shared/nypm.CLjaS_sz.mjs +172 -0
- package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.cjs +13 -0
- package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs +12 -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/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.cjs +145 -0
- package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs +138 -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 +125 -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 +136 -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 +627 -0
- package/dist/{plugin-alloy → packages/plugin-alloy}/src/types/components.d.mts +1 -1
- package/dist/{plugin-alloy → packages/plugin-alloy}/src/typescript/components/typescript-file.d.mts +1 -1
- package/dist/{plugin-alloy → packages/plugin-alloy}/src/typescript/components/typescript-interface.d.mts +1 -1
- package/dist/{powerlines → packages/powerlines}/src/types/build.d.mts +6 -6
- package/dist/{powerlines → packages/powerlines}/src/types/config.d.mts +1 -2
- package/dist/{powerlines → packages/powerlines}/src/types/context.d.mts +1 -1
- package/dist/{powerlines → packages/powerlines}/src/types/tsconfig.d.mts +1 -1
- package/dist/powerlines/src/types/context.d.cts +1 -1
- package/dist/types/plugin.cjs +19 -18
- package/dist/types/plugin.d.mts +6 -6
- package/dist/types/plugin.mjs +4 -4
- package/dist/types/runtime.cjs +3 -2
- package/dist/types/runtime.d.mts +1 -1
- package/dist/types/runtime.mjs +1 -1
- package/package.json +10 -10
- package/dist/deepkit/schemas/reflection.cjs +0 -5368
- package/dist/deepkit/schemas/reflection.mjs +0 -5365
- package/dist/deepkit/schemas/reflection2.cjs +0 -4112
- package/dist/deepkit/schemas/reflection2.mjs +0 -4110
- package/dist/deepkit/src/capnp.cjs +0 -1692
- package/dist/deepkit/src/capnp.mjs +0 -1690
- package/dist/deepkit/src/esbuild-plugin.cjs +0 -99
- package/dist/deepkit/src/esbuild-plugin.mjs +0 -98
- package/dist/deepkit/src/reflect-type.cjs +0 -40
- package/dist/deepkit/src/reflect-type.mjs +0 -38
- package/dist/deepkit/src/resolve-reflections.cjs +0 -23
- package/dist/deepkit/src/resolve-reflections.mjs +0 -22
- package/dist/deepkit/src/transformer.cjs +0 -92
- package/dist/deepkit/src/transformer.mjs +0 -89
- package/dist/deepkit/src/transpile.cjs +0 -39
- package/dist/deepkit/src/transpile.mjs +0 -37
- package/dist/deepkit/src/types.cjs +0 -22
- package/dist/deepkit/src/types.mjs +0 -21
- package/dist/deepkit/src/utilities.cjs +0 -182
- package/dist/deepkit/src/utilities.mjs +0 -181
- package/dist/plugin-alloy/src/core/components/output.cjs +0 -45
- package/dist/plugin-alloy/src/core/components/output.mjs +0 -44
- package/dist/plugin-alloy/src/core/components/single-line-comment.cjs +0 -22
- package/dist/plugin-alloy/src/core/components/single-line-comment.mjs +0 -21
- package/dist/plugin-alloy/src/core/components/source-file.cjs +0 -64
- package/dist/plugin-alloy/src/core/components/source-file.mjs +0 -62
- package/dist/plugin-alloy/src/core/contexts/context.cjs +0 -136
- package/dist/plugin-alloy/src/core/contexts/context.mjs +0 -128
- package/dist/plugin-alloy/src/core/contexts/index.cjs +0 -2
- package/dist/plugin-alloy/src/core/contexts/index.mjs +0 -4
- package/dist/plugin-alloy/src/core/contexts/reflection.cjs +0 -110
- package/dist/plugin-alloy/src/core/contexts/reflection.mjs +0 -101
- package/dist/plugin-alloy/src/helpers/refkey.cjs +0 -23
- package/dist/plugin-alloy/src/helpers/refkey.mjs +0 -22
- package/dist/plugin-alloy/src/index.cjs +0 -106
- package/dist/plugin-alloy/src/index.mjs +0 -104
- package/dist/plugin-alloy/src/markdown/components/markdown-file.cjs +0 -115
- package/dist/plugin-alloy/src/markdown/components/markdown-file.mjs +0 -114
- package/dist/plugin-alloy/src/markdown/components/markdown-table.cjs +0 -39
- package/dist/plugin-alloy/src/markdown/components/markdown-table.mjs +0 -38
- package/dist/plugin-alloy/src/markdown/contexts/markdown-table.cjs +0 -72
- package/dist/plugin-alloy/src/markdown/contexts/markdown-table.mjs +0 -71
- package/dist/plugin-alloy/src/types/components.cjs +0 -22
- package/dist/plugin-alloy/src/types/components.mjs +0 -21
- package/dist/plugin-alloy/src/types/plugin.cjs +0 -55
- package/dist/plugin-alloy/src/types/plugin.mjs +0 -52
- package/dist/plugin-alloy/src/typescript/components/builtin-file.cjs +0 -57
- package/dist/plugin-alloy/src/typescript/components/builtin-file.mjs +0 -56
- package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.cjs +0 -126
- package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.mjs +0 -124
- package/dist/plugin-alloy/src/typescript/components/tsdoc.cjs +0 -442
- package/dist/plugin-alloy/src/typescript/components/tsdoc.mjs +0 -433
- package/dist/plugin-alloy/src/typescript/components/typescript-file.cjs +0 -212
- package/dist/plugin-alloy/src/typescript/components/typescript-file.mjs +0 -209
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.cjs +0 -68
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.mjs +0 -67
- package/dist/plugin-alloy/src/typescript/components/typescript-object.cjs +0 -124
- package/dist/plugin-alloy/src/typescript/components/typescript-object.mjs +0 -123
- package/dist/plugin-automd/src/index.cjs +0 -127
- package/dist/plugin-automd/src/index.mjs +0 -124
- package/dist/plugin-automd/src/types/plugin.cjs +0 -47
- package/dist/plugin-automd/src/types/plugin.mjs +0 -47
- package/dist/plugin-automd/src/types/toc.cjs +0 -26
- package/dist/plugin-automd/src/types/toc.mjs +0 -25
- package/dist/plugin-babel/src/helpers/ast-utils.cjs +0 -74
- package/dist/plugin-babel/src/helpers/ast-utils.mjs +0 -70
- package/dist/plugin-babel/src/helpers/create-plugin.cjs +0 -71
- package/dist/plugin-babel/src/helpers/create-plugin.mjs +0 -69
- package/dist/plugin-babel/src/helpers/filters.cjs +0 -158
- package/dist/plugin-babel/src/helpers/filters.mjs +0 -154
- package/dist/plugin-babel/src/helpers/index.cjs +0 -5
- package/dist/plugin-babel/src/helpers/index.mjs +0 -7
- package/dist/plugin-babel/src/helpers/module-helpers.cjs +0 -200
- package/dist/plugin-babel/src/helpers/module-helpers.mjs +0 -192
- package/dist/plugin-babel/src/helpers/options.cjs +0 -74
- package/dist/plugin-babel/src/helpers/options.mjs +0 -71
- package/dist/plugin-babel/src/index.cjs +0 -131
- package/dist/plugin-babel/src/index.mjs +0 -129
- package/dist/plugin-babel/src/types/plugin.cjs +0 -42
- package/dist/plugin-babel/src/types/plugin.mjs +0 -39
- package/dist/powerlines/src/internal/helpers/hooks.cjs +0 -137
- package/dist/powerlines/src/internal/helpers/hooks.mjs +0 -135
- package/dist/powerlines/src/lib/build/esbuild.cjs +0 -161
- package/dist/powerlines/src/lib/build/esbuild.mjs +0 -159
- package/dist/powerlines/src/lib/entry.cjs +0 -203
- package/dist/powerlines/src/lib/entry.mjs +0 -201
- package/dist/powerlines/src/lib/logger.cjs +0 -108
- package/dist/powerlines/src/lib/logger.mjs +0 -106
- package/dist/powerlines/src/lib/utilities/bundle.cjs +0 -67
- package/dist/powerlines/src/lib/utilities/bundle.mjs +0 -66
- package/dist/powerlines/src/lib/utilities/resolve.cjs +0 -49
- package/dist/powerlines/src/lib/utilities/resolve.mjs +0 -48
- package/dist/powerlines/src/plugin-utils/paths.cjs +0 -46
- package/dist/powerlines/src/plugin-utils/paths.mjs +0 -45
- package/dist/powerlines/src/types/api.cjs +0 -62
- package/dist/powerlines/src/types/api.mjs +0 -62
- package/dist/powerlines/src/types/babel.cjs +0 -156
- package/dist/powerlines/src/types/babel.mjs +0 -147
- package/dist/powerlines/src/types/build.cjs +0 -127
- package/dist/powerlines/src/types/build.mjs +0 -121
- package/dist/powerlines/src/types/commands.cjs +0 -16
- package/dist/powerlines/src/types/commands.mjs +0 -15
- package/dist/powerlines/src/types/config.cjs +0 -413
- package/dist/powerlines/src/types/config.mjs +0 -391
- package/dist/powerlines/src/types/context.cjs +0 -381
- package/dist/powerlines/src/types/context.mjs +0 -364
- package/dist/powerlines/src/types/fs.cjs +0 -78
- package/dist/powerlines/src/types/fs.mjs +0 -75
- package/dist/powerlines/src/types/hooks.cjs +0 -71
- package/dist/powerlines/src/types/hooks.mjs +0 -68
- package/dist/powerlines/src/types/index.cjs +0 -11
- package/dist/powerlines/src/types/index.mjs +0 -13
- package/dist/powerlines/src/types/plugin.cjs +0 -184
- package/dist/powerlines/src/types/plugin.mjs +0 -178
- package/dist/powerlines/src/types/resolved.cjs +0 -153
- package/dist/powerlines/src/types/resolved.mjs +0 -148
- package/dist/powerlines/src/types/unplugin.cjs +0 -47
- package/dist/powerlines/src/types/unplugin.mjs +0 -46
- /package/dist/{deepkit → packages/deepkit}/schemas/reflection.d.mts +0 -0
- /package/dist/{deepkit → packages/deepkit}/src/types.d.mts +0 -0
- /package/dist/{plugin-alloy → packages/plugin-alloy}/src/core/components/source-file.d.mts +0 -0
- /package/dist/{plugin-alloy → packages/plugin-alloy}/src/types/index.d.mts +0 -0
- /package/dist/{plugin-alloy → packages/plugin-alloy}/src/types/plugin.d.mts +0 -0
- /package/dist/{plugin-alloy → packages/plugin-alloy}/src/typescript/components/builtin-file.d.mts +0 -0
- /package/dist/{plugin-alloy → packages/plugin-alloy}/src/typescript/components/tsdoc.d.mts +0 -0
- /package/dist/{plugin-automd → packages/plugin-automd}/src/types/plugin.d.mts +0 -0
- /package/dist/{plugin-automd → packages/plugin-automd}/src/types/toc.d.mts +0 -0
- /package/dist/{plugin-babel → packages/plugin-babel}/src/types/index.d.mts +0 -0
- /package/dist/{plugin-babel → packages/plugin-babel}/src/types/plugin.d.mts +0 -0
- /package/dist/{powerlines → packages/powerlines}/src/internal/helpers/hooks.d.mts +0 -0
- /package/dist/{powerlines → packages/powerlines}/src/types/api.d.mts +0 -0
- /package/dist/{powerlines → packages/powerlines}/src/types/babel.d.mts +0 -0
- /package/dist/{powerlines → packages/powerlines}/src/types/commands.d.mts +0 -0
- /package/dist/{powerlines → packages/powerlines}/src/types/fs.d.mts +0 -0
- /package/dist/{powerlines → packages/powerlines}/src/types/hooks.d.mts +0 -0
- /package/dist/{powerlines → packages/powerlines}/src/types/index.d.mts +0 -0
- /package/dist/{powerlines → packages/powerlines}/src/types/plugin.d.mts +0 -0
- /package/dist/{powerlines → packages/powerlines}/src/types/resolved.d.mts +0 -0
- /package/dist/{powerlines → packages/powerlines}/src/types/unplugin.d.mts +0 -0
package/dist/helpers/load.cjs
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_config = require('../powerlines/src/types/config.cjs');
|
|
3
2
|
const require_types_plugin = require('../types/plugin.cjs');
|
|
3
|
+
const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/join-paths.cjs');
|
|
4
4
|
const require_helpers_source_file_env = require('./source-file-env.cjs');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
let __stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
5
|
+
const require_defu = require('../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs');
|
|
6
|
+
const require_index = require('../node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.cjs');
|
|
7
|
+
let powerlines_types_config = require("powerlines/types/config");
|
|
9
8
|
let __stryke_env_load_env = require("@stryke/env/load-env");
|
|
10
9
|
let __stryke_string_format_kebab_case = require("@stryke/string-format/kebab-case");
|
|
11
10
|
let __stryke_type_checks_is_set_object = require("@stryke/type-checks/is-set-object");
|
|
12
|
-
let
|
|
11
|
+
let __stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
13
12
|
|
|
14
13
|
//#region src/helpers/load.ts
|
|
15
14
|
function __assignType(fn, args) {
|
|
@@ -24,7 +23,7 @@ async function loadEnvFiles(options, mode, cwd) {
|
|
|
24
23
|
"",
|
|
25
24
|
"P\"2!\"/\""
|
|
26
25
|
])));
|
|
27
|
-
for (const additionalEnvFile of additionalEnvFiles) env =
|
|
26
|
+
for (const additionalEnvFile of additionalEnvFiles) env = require_defu.defu(additionalEnvFile, env);
|
|
28
27
|
}
|
|
29
28
|
return require_helpers_source_file_env.removeEnvPrefix(env);
|
|
30
29
|
}
|
|
@@ -37,7 +36,7 @@ loadEnvFiles.__type = [
|
|
|
37
36
|
"Pn!2\"&2#&2$\"`/%"
|
|
38
37
|
];
|
|
39
38
|
async function loadEnvDirectory(options, directory, mode, cacheDir, packageJson, workspaceConfig) {
|
|
40
|
-
const [envResult, c12Result] = await Promise.all([(loadEnvFiles.Ω = [["!"]], loadEnvFiles(options, mode, directory)),
|
|
39
|
+
const [envResult, c12Result] = await Promise.all([(loadEnvFiles.Ω = [["!"]], loadEnvFiles(options, mode, directory)), require_index.loadConfig({
|
|
41
40
|
cwd: directory,
|
|
42
41
|
name: "storm",
|
|
43
42
|
envName: mode,
|
|
@@ -50,11 +49,11 @@ async function loadEnvDirectory(options, directory, mode, cacheDir, packageJson,
|
|
|
50
49
|
packageJson: true,
|
|
51
50
|
dotenv: true,
|
|
52
51
|
jitiOptions: {
|
|
53
|
-
fsCache:
|
|
52
|
+
fsCache: require_join_paths.o(cacheDir, "jiti"),
|
|
54
53
|
moduleCache: true
|
|
55
54
|
}
|
|
56
55
|
})]);
|
|
57
|
-
return
|
|
56
|
+
return require_defu.defu(envResult, c12Result.config, workspaceConfig);
|
|
58
57
|
}
|
|
59
58
|
loadEnvDirectory.__type = [
|
|
60
59
|
() => require_types_plugin.__ΩEnvPluginOptions,
|
|
@@ -63,7 +62,7 @@ loadEnvDirectory.__type = [
|
|
|
63
62
|
"mode",
|
|
64
63
|
"cacheDir",
|
|
65
64
|
"packageJson",
|
|
66
|
-
() =>
|
|
65
|
+
() => powerlines_types_config.__ΩWorkspaceConfig,
|
|
67
66
|
"workspaceConfig",
|
|
68
67
|
"loadEnvDirectory",
|
|
69
68
|
"Pn!2\"&2#&2$&2%!2&n'2(\"`/)"
|
|
@@ -76,7 +75,7 @@ loadEnvDirectory.__type = [
|
|
|
76
75
|
* @returns An object containing the dotenv configuration.
|
|
77
76
|
*/
|
|
78
77
|
function loadEnvFromContext(context, parsed) {
|
|
79
|
-
return
|
|
78
|
+
return require_defu.defu({
|
|
80
79
|
APP_NAME: (0, __stryke_string_format_kebab_case.kebabCase)(context.config.name || context.packageJson.name?.replace(`/${context.workspaceConfig.namespace}`, "")),
|
|
81
80
|
APP_VERSION: context.packageJson.version,
|
|
82
81
|
BUILD_ID: context.meta.buildId,
|
|
@@ -118,7 +117,7 @@ async function loadEnv(context, options) {
|
|
|
118
117
|
(loadEnvDirectory.Ω = [["!"]], loadEnvDirectory(options, context.workspaceConfig.workspaceRoot, context.config.mode, context.cachePath, context.packageJson, context.workspaceConfig)),
|
|
119
118
|
(loadEnvDirectory.Ω = [["!"]], loadEnvDirectory(options, context.envPaths.config, context.config.mode, context.cachePath, context.packageJson, context.workspaceConfig))
|
|
120
119
|
]);
|
|
121
|
-
return
|
|
120
|
+
return require_defu.defu(loadEnvFromContext(context, process.env), project, workspace, config);
|
|
122
121
|
}
|
|
123
122
|
loadEnv.__type = [
|
|
124
123
|
() => require_types_plugin.__ΩEnvPluginContext,
|
package/dist/helpers/load.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EnvironmentResolvedConfig } from "../powerlines/src/types/resolved.mjs";
|
|
1
|
+
import { EnvironmentResolvedConfig } from "../packages/powerlines/src/types/resolved.mjs";
|
|
2
2
|
import { EnvPluginContext, EnvPluginOptions } from "../types/plugin.mjs";
|
|
3
|
-
import "../powerlines/src/types/index.mjs";
|
|
3
|
+
import "../packages/powerlines/src/types/index.mjs";
|
|
4
4
|
import { DotenvParseOutput } from "@stryke/env/types";
|
|
5
5
|
|
|
6
6
|
//#region src/helpers/load.d.ts
|
package/dist/helpers/load.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { __ΩWorkspaceConfig } from "../powerlines/src/types/config.mjs";
|
|
2
1
|
import { __ΩEnvPluginContext, __ΩEnvPluginOptions } from "../types/plugin.mjs";
|
|
2
|
+
import { o } from "../node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/join-paths.mjs";
|
|
3
3
|
import { removeEnvPrefix } from "./source-file-env.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
4
|
+
import { defu } from "../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs";
|
|
5
|
+
import { loadConfig } from "../node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.mjs";
|
|
6
|
+
import { __ΩWorkspaceConfig } from "powerlines/types/config";
|
|
7
7
|
import { loadEnv as loadEnv$1, loadEnvFile } from "@stryke/env/load-env";
|
|
8
8
|
import { kebabCase } from "@stryke/string-format/kebab-case";
|
|
9
9
|
import { isSetObject } from "@stryke/type-checks/is-set-object";
|
|
10
|
-
import {
|
|
10
|
+
import { isSetString } from "@stryke/type-checks/is-set-string";
|
|
11
11
|
|
|
12
12
|
//#region src/helpers/load.ts
|
|
13
13
|
function __assignType(fn, args) {
|
|
@@ -22,7 +22,7 @@ async function loadEnvFiles(options, mode, cwd) {
|
|
|
22
22
|
"",
|
|
23
23
|
"P\"2!\"/\""
|
|
24
24
|
])));
|
|
25
|
-
for (const additionalEnvFile of additionalEnvFiles) env = defu
|
|
25
|
+
for (const additionalEnvFile of additionalEnvFiles) env = defu(additionalEnvFile, env);
|
|
26
26
|
}
|
|
27
27
|
return removeEnvPrefix(env);
|
|
28
28
|
}
|
|
@@ -48,11 +48,11 @@ async function loadEnvDirectory(options, directory, mode, cacheDir, packageJson,
|
|
|
48
48
|
packageJson: true,
|
|
49
49
|
dotenv: true,
|
|
50
50
|
jitiOptions: {
|
|
51
|
-
fsCache:
|
|
51
|
+
fsCache: o(cacheDir, "jiti"),
|
|
52
52
|
moduleCache: true
|
|
53
53
|
}
|
|
54
54
|
})]);
|
|
55
|
-
return defu
|
|
55
|
+
return defu(envResult, c12Result.config, workspaceConfig);
|
|
56
56
|
}
|
|
57
57
|
loadEnvDirectory.__type = [
|
|
58
58
|
() => __ΩEnvPluginOptions,
|
|
@@ -74,7 +74,7 @@ loadEnvDirectory.__type = [
|
|
|
74
74
|
* @returns An object containing the dotenv configuration.
|
|
75
75
|
*/
|
|
76
76
|
function loadEnvFromContext(context, parsed) {
|
|
77
|
-
return defu
|
|
77
|
+
return defu({
|
|
78
78
|
APP_NAME: kebabCase(context.config.name || context.packageJson.name?.replace(`/${context.workspaceConfig.namespace}`, "")),
|
|
79
79
|
APP_VERSION: context.packageJson.version,
|
|
80
80
|
BUILD_ID: context.meta.buildId,
|
|
@@ -116,7 +116,7 @@ async function loadEnv(context, options) {
|
|
|
116
116
|
(loadEnvDirectory.Ω = [["!"]], loadEnvDirectory(options, context.workspaceConfig.workspaceRoot, context.config.mode, context.cachePath, context.packageJson, context.workspaceConfig)),
|
|
117
117
|
(loadEnvDirectory.Ω = [["!"]], loadEnvDirectory(options, context.envPaths.config, context.config.mode, context.cachePath, context.packageJson, context.workspaceConfig))
|
|
118
118
|
]);
|
|
119
|
-
return defu
|
|
119
|
+
return defu(loadEnvFromContext(context, process.env), project, workspace, config);
|
|
120
120
|
}
|
|
121
121
|
loadEnv.__type = [
|
|
122
122
|
() => __ΩEnvPluginContext,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_context = require('../powerlines/src/types/context.cjs');
|
|
3
2
|
const require_types_plugin = require('../types/plugin.cjs');
|
|
4
|
-
const
|
|
5
|
-
const require_resolve_reflections = require('../deepkit/src/resolve-reflections.cjs');
|
|
6
|
-
const require_reflection = require('../deepkit/schemas/reflection2.cjs');
|
|
3
|
+
const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/join-paths.cjs');
|
|
7
4
|
const require_helpers_reflect = require('./reflect.cjs');
|
|
5
|
+
let powerlines_types_context = require("powerlines/types/context");
|
|
8
6
|
let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
|
7
|
+
let __powerlines_deepkit_capnp = require("@powerlines/deepkit/capnp");
|
|
8
|
+
let __powerlines_deepkit_resolve_reflections = require("@powerlines/deepkit/resolve-reflections");
|
|
9
|
+
let __powerlines_deepkit_schemas_reflection = require("@powerlines/deepkit/schemas/reflection");
|
|
9
10
|
let __stryke_capnp = require("@stryke/capnp");
|
|
10
11
|
__stryke_capnp = require_rolldown_runtime.__toESM(__stryke_capnp);
|
|
11
|
-
let __stryke_path_join_paths = require("@stryke/path/join-paths");
|
|
12
12
|
let __stryke_fs_buffer = require("@stryke/fs/buffer");
|
|
13
13
|
let __stryke_type_checks_is_empty_object = require("@stryke/type-checks/is-empty-object");
|
|
14
14
|
let node_fs = require("node:fs");
|
|
@@ -26,7 +26,7 @@ async function resolveRuntimeTypeFile(context) {
|
|
|
26
26
|
return resolved;
|
|
27
27
|
}
|
|
28
28
|
resolveRuntimeTypeFile.__type = [
|
|
29
|
-
() =>
|
|
29
|
+
() => powerlines_types_context.__ΩUnresolvedContext,
|
|
30
30
|
() => require_types_plugin.__ΩEnvPluginResolvedConfig,
|
|
31
31
|
"context",
|
|
32
32
|
"resolveRuntimeTypeFile",
|
|
@@ -46,7 +46,7 @@ async function getEnvDefaultTypeDefinition(context) {
|
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
getEnvDefaultTypeDefinition.__type = [
|
|
49
|
-
() =>
|
|
49
|
+
() => powerlines_types_context.__ΩUnresolvedContext,
|
|
50
50
|
() => require_types_plugin.__ΩEnvPluginResolvedConfig,
|
|
51
51
|
"context",
|
|
52
52
|
"getEnvDefaultTypeDefinition",
|
|
@@ -65,7 +65,7 @@ async function getSecretsDefaultTypeDefinition(context) {
|
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
getSecretsDefaultTypeDefinition.__type = [
|
|
68
|
-
() =>
|
|
68
|
+
() => powerlines_types_context.__ΩUnresolvedContext,
|
|
69
69
|
() => require_types_plugin.__ΩEnvPluginResolvedConfig,
|
|
70
70
|
"context",
|
|
71
71
|
"getSecretsDefaultTypeDefinition",
|
|
@@ -79,10 +79,10 @@ getSecretsDefaultTypeDefinition.__type = [
|
|
|
79
79
|
* @returns The path to the environment type reflections.
|
|
80
80
|
*/
|
|
81
81
|
function getEnvTypeReflectionsPath(context, name = "env") {
|
|
82
|
-
return (0,
|
|
82
|
+
return require_join_paths.o((0, __powerlines_deepkit_resolve_reflections.getReflectionsPath)(context), "env", `${name}-types.bin`);
|
|
83
83
|
}
|
|
84
84
|
getEnvTypeReflectionsPath.__type = [
|
|
85
|
-
() =>
|
|
85
|
+
() => powerlines_types_context.__ΩContext,
|
|
86
86
|
() => require_types_plugin.__ΩEnvPluginResolvedConfig,
|
|
87
87
|
"context",
|
|
88
88
|
() => require_types_plugin.__ΩEnvType,
|
|
@@ -105,7 +105,7 @@ async function readEnvTypeReflection(context, name = "env") {
|
|
|
105
105
|
if (!context.env.types.env || (0, __stryke_type_checks_is_empty_object.isEmptyObject)(context.env.types.env)) {
|
|
106
106
|
const reflection$1 = require_helpers_reflect.createEnvReflection(context);
|
|
107
107
|
const message = new __stryke_capnp.Message();
|
|
108
|
-
reflection$1.messageRoot = message.initRoot(
|
|
108
|
+
reflection$1.messageRoot = message.initRoot(__powerlines_deepkit_schemas_reflection.SerializedTypes);
|
|
109
109
|
reflection$1.dataBuffer = message.toArrayBuffer();
|
|
110
110
|
context.env.types.env = reflection$1;
|
|
111
111
|
await writeEnvTypeReflection(context, context.env.types.env, name);
|
|
@@ -113,8 +113,8 @@ async function readEnvTypeReflection(context, name = "env") {
|
|
|
113
113
|
return context.env.types.env;
|
|
114
114
|
}
|
|
115
115
|
const buffer = await (0, __stryke_fs_buffer.readFileBuffer)(filePath);
|
|
116
|
-
const messageRoot = new __stryke_capnp.Message(buffer, false).getRoot(
|
|
117
|
-
const reflection = (0, __powerlines_deepkit_vendor_type.resolveClassType)((0, __powerlines_deepkit_vendor_type.deserializeType)(
|
|
116
|
+
const messageRoot = new __stryke_capnp.Message(buffer, false).getRoot(__powerlines_deepkit_schemas_reflection.SerializedTypes);
|
|
117
|
+
const reflection = (0, __powerlines_deepkit_vendor_type.resolveClassType)((0, __powerlines_deepkit_vendor_type.deserializeType)((0, __powerlines_deepkit_capnp.convertFromCapnp)(messageRoot.types)));
|
|
118
118
|
context.env.types[name] = reflection;
|
|
119
119
|
context.env.types[name].messageRoot = messageRoot;
|
|
120
120
|
context.env.types[name].dataBuffer = buffer;
|
|
@@ -141,7 +141,7 @@ readEnvTypeReflection.__type = [
|
|
|
141
141
|
async function writeEnvTypeReflection(context, reflection, name = "env") {
|
|
142
142
|
const serialized = reflection.serializeType();
|
|
143
143
|
const message = new __stryke_capnp.Message();
|
|
144
|
-
|
|
144
|
+
(0, __powerlines_deepkit_capnp.convertToCapnp)(serialized, message.initRoot(__powerlines_deepkit_schemas_reflection.SerializedTypes)._initTypes(serialized.length));
|
|
145
145
|
await (0, __stryke_fs_buffer.writeFileBuffer)(getEnvTypeReflectionsPath(context, name), message.toArrayBuffer());
|
|
146
146
|
}
|
|
147
147
|
writeEnvTypeReflection.__type = [
|
|
@@ -157,7 +157,7 @@ writeEnvTypeReflection.__type = [
|
|
|
157
157
|
"Pn!2\"P\"7#2$n%2&>'\"/(?)"
|
|
158
158
|
];
|
|
159
159
|
function getEnvReflectionsPath(context, name) {
|
|
160
|
-
return (0,
|
|
160
|
+
return require_join_paths.o((0, __powerlines_deepkit_resolve_reflections.getReflectionsPath)(context), "env", `${name}.bin`);
|
|
161
161
|
}
|
|
162
162
|
getEnvReflectionsPath.__type = [
|
|
163
163
|
() => require_types_plugin.__ΩEnvPluginContext,
|
|
@@ -189,7 +189,7 @@ async function readEnvReflection(context) {
|
|
|
189
189
|
});
|
|
190
190
|
reflection$1.name = "Env";
|
|
191
191
|
const message = new __stryke_capnp.Message();
|
|
192
|
-
reflection$1.messageRoot = message.initRoot(
|
|
192
|
+
reflection$1.messageRoot = message.initRoot(__powerlines_deepkit_schemas_reflection.SerializedTypes);
|
|
193
193
|
reflection$1.dataBuffer = message.toArrayBuffer();
|
|
194
194
|
context.env.used.env = reflection$1;
|
|
195
195
|
await writeEnvReflection(context, context.env.used.env, "env");
|
|
@@ -197,8 +197,8 @@ async function readEnvReflection(context) {
|
|
|
197
197
|
return context.env.used.env;
|
|
198
198
|
}
|
|
199
199
|
const buffer = await (0, __stryke_fs_buffer.readFileBuffer)(filePath);
|
|
200
|
-
const messageRoot = new __stryke_capnp.Message(buffer, false).getRoot(
|
|
201
|
-
const reflection = (0, __powerlines_deepkit_vendor_type.resolveClassType)((0, __powerlines_deepkit_vendor_type.deserializeType)(
|
|
200
|
+
const messageRoot = new __stryke_capnp.Message(buffer, false).getRoot(__powerlines_deepkit_schemas_reflection.SerializedTypes);
|
|
201
|
+
const reflection = (0, __powerlines_deepkit_vendor_type.resolveClassType)((0, __powerlines_deepkit_vendor_type.deserializeType)((0, __powerlines_deepkit_capnp.convertFromCapnp)(messageRoot.types)));
|
|
202
202
|
context.env.used.env = reflection;
|
|
203
203
|
context.env.used.env.messageRoot = messageRoot;
|
|
204
204
|
context.env.used.env.dataBuffer = buffer;
|
|
@@ -234,7 +234,7 @@ async function readSecretsReflection(context) {
|
|
|
234
234
|
});
|
|
235
235
|
reflection$1.name = "Secrets";
|
|
236
236
|
const message = new __stryke_capnp.Message();
|
|
237
|
-
reflection$1.messageRoot = message.initRoot(
|
|
237
|
+
reflection$1.messageRoot = message.initRoot(__powerlines_deepkit_schemas_reflection.SerializedTypes);
|
|
238
238
|
reflection$1.dataBuffer = message.toArrayBuffer();
|
|
239
239
|
context.env.used.secrets = reflection$1;
|
|
240
240
|
await writeEnvReflection(context, context.env.used.secrets, "secrets");
|
|
@@ -242,8 +242,8 @@ async function readSecretsReflection(context) {
|
|
|
242
242
|
return context.env.used.secrets;
|
|
243
243
|
}
|
|
244
244
|
const buffer = await (0, __stryke_fs_buffer.readFileBuffer)(filePath);
|
|
245
|
-
const messageRoot = new __stryke_capnp.Message(buffer, false).getRoot(
|
|
246
|
-
const reflection = (0, __powerlines_deepkit_vendor_type.resolveClassType)((0, __powerlines_deepkit_vendor_type.deserializeType)(
|
|
245
|
+
const messageRoot = new __stryke_capnp.Message(buffer, false).getRoot(__powerlines_deepkit_schemas_reflection.SerializedTypes);
|
|
246
|
+
const reflection = (0, __powerlines_deepkit_vendor_type.resolveClassType)((0, __powerlines_deepkit_vendor_type.deserializeType)((0, __powerlines_deepkit_capnp.convertFromCapnp)(messageRoot.types)));
|
|
247
247
|
context.env.used.secrets = reflection;
|
|
248
248
|
context.env.used.secrets.messageRoot = messageRoot;
|
|
249
249
|
context.env.used.secrets.dataBuffer = buffer;
|
|
@@ -267,7 +267,7 @@ readSecretsReflection.__type = [
|
|
|
267
267
|
async function writeEnvReflection(context, reflection, name = "env") {
|
|
268
268
|
const serialized = reflection.serializeType();
|
|
269
269
|
const message = new __stryke_capnp.Message();
|
|
270
|
-
|
|
270
|
+
(0, __powerlines_deepkit_capnp.convertToCapnp)(serialized, message.initRoot(__powerlines_deepkit_schemas_reflection.SerializedTypes)._initTypes(serialized.length));
|
|
271
271
|
await (0, __stryke_fs_buffer.writeFileBuffer)(getEnvReflectionsPath(context, name), message.toArrayBuffer());
|
|
272
272
|
}
|
|
273
273
|
writeEnvReflection.__type = [
|
|
@@ -292,7 +292,7 @@ writeEnvReflection.__type = [
|
|
|
292
292
|
function writeEnvReflectionSync(context, reflection, name = "env") {
|
|
293
293
|
const serialized = reflection.serializeType();
|
|
294
294
|
const message = new __stryke_capnp.Message();
|
|
295
|
-
|
|
295
|
+
(0, __powerlines_deepkit_capnp.convertToCapnp)(serialized, message.initRoot(__powerlines_deepkit_schemas_reflection.SerializedTypes)._initTypes(serialized.length));
|
|
296
296
|
(0, __stryke_fs_buffer.writeFileBufferSync)(getEnvReflectionsPath(context, name), message.toArrayBuffer());
|
|
297
297
|
}
|
|
298
298
|
writeEnvReflectionSync.__type = [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Context, UnresolvedContext } from "../powerlines/src/types/context.mjs";
|
|
1
|
+
import { Context, UnresolvedContext } from "../packages/powerlines/src/types/context.mjs";
|
|
2
2
|
import { EnvPluginContext, EnvPluginResolvedConfig, EnvType } from "../types/plugin.mjs";
|
|
3
3
|
import { ReflectionClass } from "@powerlines/deepkit/vendor/type";
|
|
4
4
|
import { TypeDefinition } from "@stryke/types/configuration";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { __ΩContext, __ΩUnresolvedContext } from "../powerlines/src/types/context.mjs";
|
|
2
1
|
import { __ΩEnvPluginContext, __ΩEnvPluginResolvedConfig, __ΩEnvType } from "../types/plugin.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { getReflectionsPath } from "../deepkit/src/resolve-reflections.mjs";
|
|
5
|
-
import { SerializedTypes } from "../deepkit/schemas/reflection2.mjs";
|
|
2
|
+
import { o } from "../node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/join-paths.mjs";
|
|
6
3
|
import { createEnvReflection } from "./reflect.mjs";
|
|
4
|
+
import { __ΩContext, __ΩUnresolvedContext } from "powerlines/types/context";
|
|
7
5
|
import { ReflectionClass, ReflectionKind, deserializeType, resolveClassType } from "@powerlines/deepkit/vendor/type";
|
|
6
|
+
import { convertFromCapnp, convertToCapnp } from "@powerlines/deepkit/capnp";
|
|
7
|
+
import { getReflectionsPath } from "@powerlines/deepkit/resolve-reflections";
|
|
8
|
+
import { SerializedTypes } from "@powerlines/deepkit/schemas/reflection";
|
|
8
9
|
import * as capnp from "@stryke/capnp";
|
|
9
|
-
import { joinPaths } from "@stryke/path/join-paths";
|
|
10
10
|
import { readFileBuffer, writeFileBuffer, writeFileBufferSync } from "@stryke/fs/buffer";
|
|
11
11
|
import { isEmptyObject } from "@stryke/type-checks/is-empty-object";
|
|
12
12
|
import { existsSync } from "node:fs";
|
|
@@ -77,7 +77,7 @@ getSecretsDefaultTypeDefinition.__type = [
|
|
|
77
77
|
* @returns The path to the environment type reflections.
|
|
78
78
|
*/
|
|
79
79
|
function getEnvTypeReflectionsPath(context, name = "env") {
|
|
80
|
-
return
|
|
80
|
+
return o(getReflectionsPath(context), "env", `${name}-types.bin`);
|
|
81
81
|
}
|
|
82
82
|
getEnvTypeReflectionsPath.__type = [
|
|
83
83
|
() => __ΩContext,
|
|
@@ -155,7 +155,7 @@ writeEnvTypeReflection.__type = [
|
|
|
155
155
|
"Pn!2\"P\"7#2$n%2&>'\"/(?)"
|
|
156
156
|
];
|
|
157
157
|
function getEnvReflectionsPath(context, name) {
|
|
158
|
-
return
|
|
158
|
+
return o(getReflectionsPath(context), "env", `${name}.bin`);
|
|
159
159
|
}
|
|
160
160
|
getEnvReflectionsPath.__type = [
|
|
161
161
|
() => __ΩEnvPluginContext,
|
package/dist/helpers/reflect.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_types_runtime = require('../types/runtime.cjs');
|
|
3
3
|
const require_types_plugin = require('../types/plugin.cjs');
|
|
4
|
-
const
|
|
4
|
+
const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/join-paths.cjs');
|
|
5
|
+
const require_is_parent_path = require('../node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/is-parent-path.cjs');
|
|
5
6
|
const require_helpers_persistence = require('./persistence.cjs');
|
|
6
7
|
let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
|
7
8
|
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
8
|
-
let
|
|
9
|
-
let __stryke_path_is_parent_path = require("@stryke/path/is-parent-path");
|
|
9
|
+
let __powerlines_deepkit_reflect_type = require("@powerlines/deepkit/reflect-type");
|
|
10
10
|
|
|
11
11
|
//#region src/helpers/reflect.ts
|
|
12
12
|
function __assignType(fn, args) {
|
|
@@ -210,11 +210,11 @@ createSecretsReflection.__type = [
|
|
|
210
210
|
];
|
|
211
211
|
async function reflectEnv(context, file, name) {
|
|
212
212
|
let config;
|
|
213
|
-
if (file) config = (0, __powerlines_deepkit_vendor_type.resolveClassType)(await
|
|
214
|
-
file: !
|
|
213
|
+
if (file) config = (0, __powerlines_deepkit_vendor_type.resolveClassType)(await (0, __powerlines_deepkit_reflect_type.reflectType)(context, {
|
|
214
|
+
file: !require_is_parent_path.t(file, context.workspaceConfig.workspaceRoot) ? require_join_paths.o(context.workspaceConfig.workspaceRoot, file) : file,
|
|
215
215
|
name
|
|
216
216
|
}));
|
|
217
|
-
const defaultConfigType = await
|
|
217
|
+
const defaultConfigType = await (0, __powerlines_deepkit_reflect_type.reflectType)(context, await require_helpers_persistence.getEnvDefaultTypeDefinition(context));
|
|
218
218
|
return mergeEnvReflections(context, [
|
|
219
219
|
await require_helpers_persistence.readEnvTypeReflection(context, "env"),
|
|
220
220
|
config,
|
|
@@ -231,11 +231,11 @@ reflectEnv.__type = [
|
|
|
231
231
|
];
|
|
232
232
|
async function reflectSecrets(context, file, name) {
|
|
233
233
|
let config;
|
|
234
|
-
if (file) config = (0, __powerlines_deepkit_vendor_type.resolveClassType)(await
|
|
235
|
-
file: !
|
|
234
|
+
if (file) config = (0, __powerlines_deepkit_vendor_type.resolveClassType)(await (0, __powerlines_deepkit_reflect_type.reflectType)(context, {
|
|
235
|
+
file: !require_is_parent_path.t(file, context.workspaceConfig.workspaceRoot) ? require_join_paths.o(context.workspaceConfig.workspaceRoot, file) : file,
|
|
236
236
|
name
|
|
237
237
|
}));
|
|
238
|
-
const defaultSecretsType = await
|
|
238
|
+
const defaultSecretsType = await (0, __powerlines_deepkit_reflect_type.reflectType)(context, await require_helpers_persistence.getSecretsDefaultTypeDefinition(context));
|
|
239
239
|
return mergeSecretsReflections(context, [
|
|
240
240
|
await require_helpers_persistence.readSecretsReflection(context),
|
|
241
241
|
config,
|
package/dist/helpers/reflect.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { __ΩEnvInterface, __ΩSecretsInterface } from "../types/runtime.mjs";
|
|
2
2
|
import { __ΩEnvPluginContext } from "../types/plugin.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { o } from "../node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/join-paths.mjs";
|
|
4
|
+
import { t } from "../node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/is-parent-path.mjs";
|
|
4
5
|
import { getEnvDefaultTypeDefinition, getSecretsDefaultTypeDefinition, readEnvTypeReflection, readSecretsReflection } from "./persistence.mjs";
|
|
5
6
|
import { ReflectionClass, ReflectionKind, __ΩTypeClass, __ΩTypeObjectLiteral, merge, resolveClassType } from "@powerlines/deepkit/vendor/type";
|
|
6
7
|
import { titleCase } from "@stryke/string-format/title-case";
|
|
7
|
-
import {
|
|
8
|
-
import { isParentPath } from "@stryke/path/is-parent-path";
|
|
8
|
+
import { reflectType } from "@powerlines/deepkit/reflect-type";
|
|
9
9
|
|
|
10
10
|
//#region src/helpers/reflect.ts
|
|
11
11
|
function __assignType(fn, args) {
|
|
@@ -210,7 +210,7 @@ createSecretsReflection.__type = [
|
|
|
210
210
|
async function reflectEnv(context, file, name) {
|
|
211
211
|
let config;
|
|
212
212
|
if (file) config = resolveClassType(await reflectType(context, {
|
|
213
|
-
file: !
|
|
213
|
+
file: !t(file, context.workspaceConfig.workspaceRoot) ? o(context.workspaceConfig.workspaceRoot, file) : file,
|
|
214
214
|
name
|
|
215
215
|
}));
|
|
216
216
|
const defaultConfigType = await reflectType(context, await getEnvDefaultTypeDefinition(context));
|
|
@@ -231,7 +231,7 @@ reflectEnv.__type = [
|
|
|
231
231
|
async function reflectSecrets(context, file, name) {
|
|
232
232
|
let config;
|
|
233
233
|
if (file) config = resolveClassType(await reflectType(context, {
|
|
234
|
-
file: !
|
|
234
|
+
file: !t(file, context.workspaceConfig.workspaceRoot) ? o(context.workspaceConfig.workspaceRoot, file) : file,
|
|
235
235
|
name
|
|
236
236
|
}));
|
|
237
237
|
const defaultSecretsType = await reflectType(context, await getSecretsDefaultTypeDefinition(context));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let __stryke_env_types = require("@stryke/env/types");
|
|
2
3
|
let __stryke_string_format_camel_case = require("@stryke/string-format/camel-case");
|
|
3
4
|
let __stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
|
|
4
|
-
let __stryke_env_types = require("@stryke/env/types");
|
|
5
5
|
|
|
6
6
|
//#region src/helpers/source-file-env.ts
|
|
7
7
|
function __assignType(fn, args) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ENV_PREFIXES } from "@stryke/env/types";
|
|
1
2
|
import { camelCase } from "@stryke/string-format/camel-case";
|
|
2
3
|
import { isString } from "@stryke/type-checks/is-string";
|
|
3
|
-
import { ENV_PREFIXES } from "@stryke/env/types";
|
|
4
4
|
|
|
5
5
|
//#region src/helpers/source-file-env.ts
|
|
6
6
|
function __assignType(fn, args) {
|
package/dist/index.cjs
CHANGED
|
@@ -3,10 +3,13 @@ const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
|
|
|
3
3
|
const require_types_runtime = require('./types/runtime.cjs');
|
|
4
4
|
const require_types_plugin = require('./types/plugin.cjs');
|
|
5
5
|
require('./types/index.cjs');
|
|
6
|
+
const require_join_paths = require('./node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/join-paths.cjs');
|
|
7
|
+
const require_is_parent_path = require('./node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/is-parent-path.cjs');
|
|
6
8
|
const require_helpers_reflect = require('./helpers/reflect.cjs');
|
|
7
9
|
const require_helpers_persistence = require('./helpers/persistence.cjs');
|
|
8
10
|
const require_helpers_template_helpers = require('./helpers/template-helpers.cjs');
|
|
9
11
|
const require_helpers_source_file_env = require('./helpers/source-file-env.cjs');
|
|
12
|
+
const require_defu = require('./node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs');
|
|
10
13
|
const require_helpers_load = require('./helpers/load.cjs');
|
|
11
14
|
const require_helpers_create_reflection_resource = require('./helpers/create-reflection-resource.cjs');
|
|
12
15
|
require('./helpers/index.cjs');
|
|
@@ -16,20 +19,19 @@ const require_components_env = require('./components/env.cjs');
|
|
|
16
19
|
require('./components/index.cjs');
|
|
17
20
|
const require_babel_plugin = require('./babel/plugin.cjs');
|
|
18
21
|
require('./babel/index.cjs');
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const require_index$2 = require('./plugin-babel/src/index.cjs');
|
|
22
|
+
const require_parse_type_definition = require('./node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/parse-type-definition.cjs');
|
|
23
|
+
const require_to_array = require('./node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/to-array.cjs');
|
|
22
24
|
let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
|
23
25
|
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
24
|
-
let defu = require("defu");
|
|
25
|
-
defu = require_rolldown_runtime.__toESM(defu);
|
|
26
|
-
let __stryke_convert_parse_type_definition = require("@stryke/convert/parse-type-definition");
|
|
27
|
-
let __storm_software_config_tools_types = require("@storm-software/config-tools/types");
|
|
28
|
-
let __stryke_convert_to_array = require("@stryke/convert/to-array");
|
|
29
|
-
let __stryke_path_is_parent_path = require("@stryke/path/is-parent-path");
|
|
30
26
|
let __stryke_env_types = require("@stryke/env/types");
|
|
31
27
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
32
|
-
let
|
|
28
|
+
let __storm_software_config_tools_types = require("@storm-software/config-tools/types");
|
|
29
|
+
let __powerlines_plugin_alloy = require("@powerlines/plugin-alloy");
|
|
30
|
+
__powerlines_plugin_alloy = require_rolldown_runtime.__toESM(__powerlines_plugin_alloy);
|
|
31
|
+
let __powerlines_plugin_automd = require("@powerlines/plugin-automd");
|
|
32
|
+
__powerlines_plugin_automd = require_rolldown_runtime.__toESM(__powerlines_plugin_automd);
|
|
33
|
+
let __powerlines_plugin_babel = require("@powerlines/plugin-babel");
|
|
34
|
+
__powerlines_plugin_babel = require_rolldown_runtime.__toESM(__powerlines_plugin_babel);
|
|
33
35
|
let __stryke_fs_exists = require("@stryke/fs/exists");
|
|
34
36
|
let __stryke_fs_helpers = require("@stryke/fs/helpers");
|
|
35
37
|
let __stryke_string_format_constant_case = require("@stryke/string-format/constant-case");
|
|
@@ -40,36 +42,36 @@ let __stryke_string_format_constant_case = require("@stryke/string-format/consta
|
|
|
40
42
|
*/
|
|
41
43
|
const plugin = (options = {}) => {
|
|
42
44
|
return [
|
|
43
|
-
|
|
44
|
-
|
|
45
|
+
(0, __powerlines_plugin_alloy.default)(options.alloy),
|
|
46
|
+
(0, __powerlines_plugin_babel.default)(options.babel),
|
|
45
47
|
{
|
|
46
48
|
name: "env",
|
|
47
49
|
async config() {
|
|
48
50
|
this.log(__storm_software_config_tools_types.LogLevelLabel.TRACE, "Providing default configuration for the Powerlines `env` build plugin.");
|
|
49
51
|
const config = {
|
|
50
|
-
env:
|
|
52
|
+
env: require_defu.defu(options, {
|
|
51
53
|
types: {},
|
|
52
54
|
prefix: []
|
|
53
55
|
}),
|
|
54
56
|
transform: { babel: { plugins: [require_babel_plugin.envBabelPlugin] } }
|
|
55
57
|
};
|
|
56
|
-
if (config.env.types) config.env.types =
|
|
58
|
+
if (config.env.types) config.env.types = require_parse_type_definition.n(config.env.types);
|
|
57
59
|
else {
|
|
58
60
|
this.log(__storm_software_config_tools_types.LogLevelLabel.WARN, "The `env.types` configuration parameter was not provided. Please ensure this is expected.");
|
|
59
61
|
const envDefaultTypeDefinition = await require_helpers_persistence.getEnvDefaultTypeDefinition(this);
|
|
60
|
-
config.env.types =
|
|
62
|
+
config.env.types = require_parse_type_definition.n(`${envDefaultTypeDefinition.file}#${envDefaultTypeDefinition.name}`);
|
|
61
63
|
}
|
|
62
|
-
if (config.env.secrets) config.env.secrets =
|
|
64
|
+
if (config.env.secrets) config.env.secrets = require_parse_type_definition.n(config.env.secrets);
|
|
63
65
|
else {
|
|
64
66
|
const secretsDefaultTypeDefinition = await require_helpers_persistence.getSecretsDefaultTypeDefinition(this);
|
|
65
|
-
config.env.secrets =
|
|
67
|
+
config.env.secrets = require_parse_type_definition.n(`${secretsDefaultTypeDefinition.file}#${secretsDefaultTypeDefinition.name}`);
|
|
66
68
|
}
|
|
67
|
-
config.env.prefix =
|
|
69
|
+
config.env.prefix = require_to_array.e(config.env.prefix ?? []).reduce((ret, prefix) => {
|
|
68
70
|
const formattedPrefix = (0, __stryke_string_format_constant_case.constantCase)(prefix);
|
|
69
71
|
if (!ret.includes(formattedPrefix)) ret.push(formattedPrefix);
|
|
70
72
|
return ret;
|
|
71
73
|
}, [...__stryke_env_types.ENV_PREFIXES, "POWERLINES_"]);
|
|
72
|
-
config.env.prefix =
|
|
74
|
+
config.env.prefix = require_to_array.e(config.env.prefix).reduce((ret, prefix) => {
|
|
73
75
|
if (!ret.includes(prefix.replace(/_$/g, ""))) ret.push(prefix.replace(/_$/g, ""));
|
|
74
76
|
return ret;
|
|
75
77
|
}, []);
|
|
@@ -78,7 +80,7 @@ const plugin = (options = {}) => {
|
|
|
78
80
|
async configResolved() {
|
|
79
81
|
this.log(__storm_software_config_tools_types.LogLevelLabel.TRACE, `Environment plugin configuration has been resolved for the Powerlines project.`);
|
|
80
82
|
this.config.env.inject ??= this.config.projectType === "application";
|
|
81
|
-
this.env =
|
|
83
|
+
this.env = require_defu.defu({ parsed: await require_helpers_load.loadEnv(this, this.config.env) }, this.env ?? {}, {
|
|
82
84
|
types: { env: {} },
|
|
83
85
|
used: {
|
|
84
86
|
env: {},
|
|
@@ -94,10 +96,10 @@ const plugin = (options = {}) => {
|
|
|
94
96
|
if ((0, __stryke_fs_exists.existsSync)(require_helpers_persistence.getEnvTypeReflectionsPath(this, "secrets"))) this.env.types.secrets = await require_helpers_persistence.readEnvTypeReflection(this, "secrets");
|
|
95
97
|
if ((0, __stryke_fs_exists.existsSync)(require_helpers_persistence.getEnvReflectionsPath(this, "secrets"))) this.env.used.secrets = await require_helpers_persistence.readSecretsReflection(this);
|
|
96
98
|
} else {
|
|
97
|
-
this.env.types.env = await require_helpers_reflect.reflectEnv(this, this.config.env.types?.file ?
|
|
99
|
+
this.env.types.env = await require_helpers_reflect.reflectEnv(this, this.config.env.types?.file ? require_is_parent_path.t(this.config.env.types?.file, this.workspaceConfig.workspaceRoot) ? this.config.env.types?.file : require_join_paths.o(this.config.projectRoot, this.config.env.types?.file) : void 0, this.config.env.types?.name);
|
|
98
100
|
if (!this.env.types.env) throw new Error("Failed to find the environment configuration type reflection in the context.");
|
|
99
101
|
await require_helpers_persistence.writeEnvTypeReflection(this, this.env.types.env, "env");
|
|
100
|
-
this.env.types.secrets = await require_helpers_reflect.reflectSecrets(this, this.config.env.secrets?.file ?
|
|
102
|
+
this.env.types.secrets = await require_helpers_reflect.reflectSecrets(this, this.config.env.secrets?.file ? require_is_parent_path.t(this.config.env.secrets?.file, this.workspaceConfig.workspaceRoot) ? this.config.env.secrets?.file : require_join_paths.o(this.config.projectRoot, this.config.env.secrets?.file) : void 0, this.config.env.secrets?.name);
|
|
101
103
|
if (!this.env.types.secrets) throw new Error("Failed to find the secrets configuration type reflection in the context.");
|
|
102
104
|
await require_helpers_persistence.writeEnvTypeReflection(this, this.env.types.secrets, "secrets");
|
|
103
105
|
this.log(__storm_software_config_tools_types.LogLevelLabel.TRACE, `Resolved ${this.env.types.env.getProperties().length ?? 0} environment configuration parameters and ${this.env.types.secrets?.getProperties().length ?? 0} secret configuration parameters`);
|
|
@@ -138,10 +140,10 @@ const plugin = (options = {}) => {
|
|
|
138
140
|
},
|
|
139
141
|
async docs() {
|
|
140
142
|
this.log(__storm_software_config_tools_types.LogLevelLabel.TRACE, "Writing Environment documentation for the Powerlines project artifacts.");
|
|
141
|
-
const outputPath =
|
|
143
|
+
const outputPath = require_join_paths.o(this.config.projectRoot, "docs", "generated");
|
|
142
144
|
if (!(0, __stryke_fs_exists.existsSync)(outputPath)) await (0, __stryke_fs_helpers.createDirectory)(outputPath);
|
|
143
145
|
const reflection = await require_helpers_persistence.readEnvTypeReflection(this, "env");
|
|
144
|
-
const envDocFile =
|
|
146
|
+
const envDocFile = require_join_paths.o(outputPath, "env.md");
|
|
145
147
|
this.log(__storm_software_config_tools_types.LogLevelLabel.TRACE, `Documenting environment variables configuration in "${envDocFile}"`);
|
|
146
148
|
await this.fs.write(envDocFile, `<!-- Generated by ${(0, __stryke_string_format_title_case.titleCase)(this.config.framework) || "Powerlines"} -->
|
|
147
149
|
|
|
@@ -163,7 +165,7 @@ ${reflection.getProperties().filter((property) => property.getNameAsString() !==
|
|
|
163
165
|
{
|
|
164
166
|
name: "env:automd-generator",
|
|
165
167
|
config() {
|
|
166
|
-
return { automd:
|
|
168
|
+
return { automd: require_defu.defu(options.automd ?? {}, { generators: { "env": require_helpers_automd_generator.env(this) } }) };
|
|
167
169
|
}
|
|
168
170
|
},
|
|
169
171
|
{
|
|
@@ -172,7 +174,7 @@ ${reflection.getProperties().filter((property) => property.getNameAsString() !==
|
|
|
172
174
|
return { envPrefix: this.config?.env?.prefix };
|
|
173
175
|
} }
|
|
174
176
|
},
|
|
175
|
-
|
|
177
|
+
(0, __powerlines_plugin_automd.default)(options.automd)
|
|
176
178
|
];
|
|
177
179
|
};
|
|
178
180
|
var src_default = plugin;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Plugin } from "./powerlines/src/types/plugin.mjs";
|
|
1
|
+
import { Plugin } from "./packages/powerlines/src/types/plugin.mjs";
|
|
2
2
|
import { EnvInterface, SecretsInterface, __ΩEnvInterface, __ΩSecretsInterface } from "./types/runtime.mjs";
|
|
3
3
|
import { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvType, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType } from "./types/plugin.mjs";
|
|
4
4
|
import { EnvDocs } from "./components/docs.mjs";
|