@powerlines/plugin-env 0.15.121 → 0.15.122
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 +0 -4
- package/dist/babel/plugin.cjs +11 -11
- package/dist/babel/plugin.d.mts +2 -2
- package/dist/babel/plugin.mjs +5 -5
- package/dist/components/docs.cjs +8 -8
- package/dist/components/docs.d.mts +1 -1
- package/dist/components/docs.mjs +4 -4
- package/dist/components/env.cjs +43 -42
- package/dist/components/env.d.mts +2 -2
- package/dist/components/env.mjs +11 -11
- package/dist/deepkit/schemas/reflection.cjs +5426 -0
- package/dist/deepkit/schemas/reflection.mjs +5423 -0
- package/dist/deepkit/schemas/reflection2.cjs +4112 -0
- package/dist/deepkit/schemas/reflection2.mjs +4110 -0
- package/dist/deepkit/src/capnp.cjs +1692 -0
- package/dist/deepkit/src/capnp.mjs +1690 -0
- package/dist/deepkit/src/esbuild-plugin.cjs +99 -0
- package/dist/deepkit/src/esbuild-plugin.mjs +98 -0
- package/dist/deepkit/src/reflect-type.cjs +40 -0
- package/dist/deepkit/src/reflect-type.mjs +38 -0
- package/dist/deepkit/src/resolve-reflections.cjs +23 -0
- package/dist/deepkit/src/resolve-reflections.mjs +22 -0
- package/dist/deepkit/src/transformer.cjs +92 -0
- package/dist/deepkit/src/transformer.mjs +89 -0
- package/dist/deepkit/src/transpile.cjs +39 -0
- package/dist/deepkit/src/transpile.mjs +37 -0
- package/dist/deepkit/src/types.cjs +22 -0
- package/dist/deepkit/src/types.mjs +21 -0
- package/dist/deepkit/src/utilities.cjs +184 -0
- package/dist/deepkit/src/utilities.mjs +183 -0
- package/dist/helpers/automd-generator.cjs +4 -4
- package/dist/helpers/automd-generator.d.mts +1 -1
- package/dist/helpers/automd-generator.mjs +2 -2
- package/dist/helpers/docs-helper.cjs +3 -2
- package/dist/helpers/docs-helper.mjs +1 -1
- package/dist/helpers/load.cjs +15 -14
- 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 +5 -5
- package/dist/helpers/reflect.cjs +9 -9
- package/dist/helpers/reflect.mjs +3 -3
- package/dist/helpers/source-file-env.cjs +1 -1
- package/dist/helpers/source-file-env.mjs +1 -1
- package/dist/index.cjs +24 -26
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +14 -14
- package/dist/plugin-alloy/src/core/components/output.cjs +43 -0
- package/dist/plugin-alloy/src/core/components/output.mjs +42 -0
- package/dist/plugin-alloy/src/core/components/single-line-comment.cjs +22 -0
- package/dist/plugin-alloy/src/core/components/single-line-comment.mjs +21 -0
- package/dist/plugin-alloy/src/core/components/source-file.cjs +64 -0
- package/dist/plugin-alloy/src/core/components/source-file.mjs +62 -0
- package/dist/plugin-alloy/src/core/contexts/context.cjs +134 -0
- package/dist/plugin-alloy/src/core/contexts/context.mjs +126 -0
- package/dist/plugin-alloy/src/core/contexts/index.cjs +2 -0
- package/dist/plugin-alloy/src/core/contexts/index.mjs +4 -0
- package/dist/plugin-alloy/src/core/contexts/reflection.cjs +110 -0
- package/dist/plugin-alloy/src/core/contexts/reflection.mjs +101 -0
- package/dist/plugin-alloy/src/helpers/refkey.cjs +23 -0
- package/dist/plugin-alloy/src/helpers/refkey.mjs +22 -0
- package/dist/plugin-alloy/src/index.cjs +105 -0
- package/dist/plugin-alloy/src/index.mjs +103 -0
- package/dist/plugin-alloy/src/markdown/components/markdown-file.cjs +115 -0
- package/dist/plugin-alloy/src/markdown/components/markdown-file.mjs +114 -0
- package/dist/plugin-alloy/src/markdown/components/markdown-table.cjs +39 -0
- package/dist/plugin-alloy/src/markdown/components/markdown-table.mjs +38 -0
- package/dist/plugin-alloy/src/markdown/contexts/markdown-table.cjs +72 -0
- package/dist/plugin-alloy/src/markdown/contexts/markdown-table.mjs +71 -0
- package/dist/plugin-alloy/src/types/components.cjs +22 -0
- package/dist/{packages/plugin-alloy → plugin-alloy}/src/types/components.d.mts +1 -1
- package/dist/plugin-alloy/src/types/components.mjs +21 -0
- package/dist/plugin-alloy/src/types/plugin.cjs +53 -0
- package/dist/plugin-alloy/src/types/plugin.mjs +50 -0
- package/dist/plugin-alloy/src/typescript/components/builtin-file.cjs +62 -0
- package/dist/plugin-alloy/src/typescript/components/builtin-file.mjs +61 -0
- package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.cjs +131 -0
- package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.mjs +129 -0
- package/dist/plugin-alloy/src/typescript/components/tsdoc.cjs +451 -0
- package/dist/{packages/plugin-alloy → plugin-alloy}/src/typescript/components/tsdoc.d.mts +1 -1
- package/dist/plugin-alloy/src/typescript/components/tsdoc.mjs +442 -0
- package/dist/plugin-alloy/src/typescript/components/typescript-file.cjs +216 -0
- package/dist/{packages/plugin-alloy → plugin-alloy}/src/typescript/components/typescript-file.d.mts +1 -1
- package/dist/plugin-alloy/src/typescript/components/typescript-file.mjs +213 -0
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.cjs +72 -0
- package/dist/{packages/plugin-alloy → plugin-alloy}/src/typescript/components/typescript-interface.d.mts +1 -1
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.mjs +71 -0
- package/dist/plugin-alloy/src/typescript/components/typescript-object.cjs +124 -0
- package/dist/plugin-alloy/src/typescript/components/typescript-object.mjs +123 -0
- package/dist/plugin-automd/src/index.cjs +127 -0
- package/dist/plugin-automd/src/index.mjs +124 -0
- package/dist/plugin-automd/src/types/plugin.cjs +47 -0
- package/dist/plugin-automd/src/types/plugin.mjs +47 -0
- package/dist/plugin-automd/src/types/toc.cjs +26 -0
- package/dist/plugin-automd/src/types/toc.mjs +25 -0
- package/dist/plugin-babel/src/helpers/ast-utils.cjs +74 -0
- package/dist/plugin-babel/src/helpers/ast-utils.mjs +70 -0
- package/dist/plugin-babel/src/helpers/create-plugin.cjs +71 -0
- package/dist/plugin-babel/src/helpers/create-plugin.mjs +69 -0
- package/dist/plugin-babel/src/helpers/filters.cjs +158 -0
- package/dist/plugin-babel/src/helpers/filters.mjs +154 -0
- package/dist/plugin-babel/src/helpers/index.cjs +5 -0
- package/dist/plugin-babel/src/helpers/index.mjs +7 -0
- package/dist/plugin-babel/src/helpers/module-helpers.cjs +200 -0
- package/dist/plugin-babel/src/helpers/module-helpers.mjs +192 -0
- package/dist/plugin-babel/src/helpers/options.cjs +73 -0
- package/dist/plugin-babel/src/helpers/options.mjs +70 -0
- package/dist/plugin-babel/src/index.cjs +125 -0
- package/dist/plugin-babel/src/index.mjs +123 -0
- package/dist/plugin-babel/src/types/plugin.cjs +42 -0
- package/dist/plugin-babel/src/types/plugin.mjs +39 -0
- package/dist/powerlines/src/internal/helpers/hooks.cjs +136 -0
- package/dist/powerlines/src/internal/helpers/hooks.mjs +134 -0
- package/dist/powerlines/src/lib/build/esbuild.cjs +142 -0
- package/dist/powerlines/src/lib/build/esbuild.mjs +140 -0
- package/dist/powerlines/src/lib/constants/environments.cjs +6 -0
- package/dist/powerlines/src/lib/constants/environments.mjs +5 -0
- package/dist/powerlines/src/lib/entry.cjs +195 -0
- package/dist/powerlines/src/lib/entry.mjs +194 -0
- package/dist/powerlines/src/lib/logger.cjs +108 -0
- package/dist/powerlines/src/lib/logger.mjs +106 -0
- package/dist/powerlines/src/lib/unplugin/helpers.cjs +41 -0
- package/dist/powerlines/src/lib/unplugin/helpers.mjs +40 -0
- package/dist/powerlines/src/lib/unplugin/module-resolution.cjs +98 -0
- package/dist/powerlines/src/lib/unplugin/module-resolution.mjs +97 -0
- package/dist/powerlines/src/lib/unplugin/plugin.cjs +139 -0
- package/dist/powerlines/src/lib/unplugin/plugin.mjs +138 -0
- package/dist/powerlines/src/lib/utilities/bundle.cjs +74 -0
- package/dist/powerlines/src/lib/utilities/bundle.mjs +72 -0
- package/dist/powerlines/src/lib/utilities/resolve.cjs +69 -0
- package/dist/powerlines/src/lib/utilities/resolve.mjs +68 -0
- package/dist/powerlines/src/lib/utilities/source-file.cjs +68 -0
- package/dist/powerlines/src/lib/utilities/source-file.mjs +66 -0
- package/dist/powerlines/src/plugin-utils/paths.cjs +46 -0
- package/dist/powerlines/src/plugin-utils/paths.mjs +45 -0
- package/dist/powerlines/src/types/api.cjs +62 -0
- package/dist/powerlines/src/types/api.mjs +62 -0
- package/dist/powerlines/src/types/babel.cjs +156 -0
- package/dist/powerlines/src/types/babel.mjs +147 -0
- package/dist/powerlines/src/types/build.cjs +127 -0
- package/dist/{packages/powerlines → powerlines}/src/types/build.d.mts +6 -6
- package/dist/powerlines/src/types/build.mjs +121 -0
- package/dist/powerlines/src/types/commands.cjs +16 -0
- package/dist/powerlines/src/types/commands.mjs +15 -0
- package/dist/powerlines/src/types/config.cjs +420 -0
- package/dist/{packages/powerlines → powerlines}/src/types/config.d.mts +2 -1
- package/dist/powerlines/src/types/config.mjs +397 -0
- package/dist/powerlines/src/types/context.cjs +388 -0
- package/dist/{packages/powerlines → powerlines}/src/types/context.d.mts +2 -2
- package/dist/powerlines/src/types/context.mjs +371 -0
- package/dist/powerlines/src/types/fs.cjs +78 -0
- package/dist/powerlines/src/types/fs.mjs +75 -0
- package/dist/powerlines/src/types/hooks.cjs +71 -0
- package/dist/powerlines/src/types/hooks.mjs +68 -0
- package/dist/powerlines/src/types/index.cjs +11 -0
- package/dist/powerlines/src/types/index.mjs +13 -0
- package/dist/powerlines/src/types/plugin.cjs +184 -0
- package/dist/{packages/powerlines → powerlines}/src/types/plugin.d.mts +1 -1
- package/dist/powerlines/src/types/plugin.mjs +178 -0
- package/dist/powerlines/src/types/resolved.cjs +149 -0
- package/dist/powerlines/src/types/resolved.mjs +144 -0
- package/dist/{packages/powerlines → powerlines}/src/types/tsconfig.d.mts +1 -1
- package/dist/powerlines/src/types/unplugin.cjs +64 -0
- package/dist/{packages/powerlines → powerlines}/src/types/unplugin.d.mts +1 -1
- package/dist/powerlines/src/types/unplugin.mjs +62 -0
- package/dist/types/plugin.cjs +18 -19
- package/dist/types/plugin.d.mts +6 -6
- package/dist/types/plugin.mjs +4 -4
- package/package.json +7 -7
- package/dist/_virtual/rolldown_runtime.mjs +0 -33
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/parse-type-definition.cjs +0 -37
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/parse-type-definition.mjs +0 -37
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/to-array.cjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/to-array.mjs +0 -14
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.cjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs +0 -14
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/index.cjs +0 -3
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/index.mjs +0 -5
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.cjs +0 -6
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs +0 -6
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/is-collection.cjs +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/is-collection.mjs +0 -3
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/is-object.cjs +0 -19
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs +0 -19
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.cjs +0 -63
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs +0 -63
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/is-string.cjs +0 -12
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs +0 -11
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/type-detect.cjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs +0 -16
- package/dist/node_modules/.pnpm/@stryke_path@0.26.0/node_modules/@stryke/path/dist/is-parent-path.cjs +0 -32
- package/dist/node_modules/.pnpm/@stryke_path@0.26.0/node_modules/@stryke/path/dist/is-parent-path.mjs +0 -32
- package/dist/node_modules/.pnpm/@stryke_path@0.26.0/node_modules/@stryke/path/dist/is-type.cjs +0 -28
- package/dist/node_modules/.pnpm/@stryke_path@0.26.0/node_modules/@stryke/path/dist/is-type.mjs +0 -28
- package/dist/node_modules/.pnpm/@stryke_path@0.26.0/node_modules/@stryke/path/dist/join-paths.cjs +0 -106
- package/dist/node_modules/.pnpm/@stryke_path@0.26.0/node_modules/@stryke/path/dist/join-paths.mjs +0 -106
- package/dist/node_modules/.pnpm/@stryke_path@0.26.0/node_modules/@stryke/path/dist/regex.cjs +0 -12
- package/dist/node_modules/.pnpm/@stryke_path@0.26.0/node_modules/@stryke/path/dist/regex.mjs +0 -8
- package/dist/node_modules/.pnpm/@stryke_path@0.26.0/node_modules/@stryke/path/dist/slash.cjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_path@0.26.0/node_modules/@stryke/path/dist/slash.mjs +0 -14
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.cjs +0 -346
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.mjs +0 -346
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/json5.cjs +0 -786
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/json5.mjs +0 -786
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/jsonc.cjs +0 -3
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/jsonc.mjs +0 -3
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.cjs +0 -23
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.mjs +0 -22
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.cjs +0 -405
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs +0 -404
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/toml.cjs +0 -657
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/toml.mjs +0 -657
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/yaml.cjs +0 -1054
- package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/yaml.mjs +0 -1054
- package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs +0 -43
- package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs +0 -42
- package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.cjs +0 -46
- package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs +0 -45
- package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/lib/main.cjs +0 -288
- package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/lib/main.mjs +0 -285
- package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/package.cjs +0 -71
- package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/package.mjs +0 -68
- package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.cjs +0 -1013
- package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs +0 -1007
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.cjs +0 -23
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs +0 -13
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.cjs +0 -2698
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs +0 -2685
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.cjs +0 -4457
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs +0 -4454
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.cjs +0 -29
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs +0 -29
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs +0 -181
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs +0 -176
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.cjs +0 -22
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs +0 -17
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs +0 -3967
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs +0 -3962
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.cjs +0 -11768
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs +0 -11763
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs +0 -25
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.mjs +0 -20
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.cjs +0 -20
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.mjs +0 -17
- package/dist/node_modules/.pnpm/nypm@0.6.4/node_modules/nypm/dist/index.cjs +0 -194
- package/dist/node_modules/.pnpm/nypm@0.6.4/node_modules/nypm/dist/index.mjs +0 -191
- package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.cjs +0 -13
- package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs +0 -12
- package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.cjs +0 -3
- package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.mjs +0 -3
- package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.cjs +0 -145
- package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs +0 -138
- package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.cjs +0 -127
- package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs +0 -125
- package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.cjs +0 -138
- package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs +0 -136
- package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.cjs +0 -629
- package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs +0 -627
- /package/dist/{packages/deepkit → deepkit}/schemas/reflection.d.mts +0 -0
- /package/dist/{packages/deepkit → deepkit}/src/types.d.mts +0 -0
- /package/dist/{packages/plugin-alloy → plugin-alloy}/src/core/components/source-file.d.mts +0 -0
- /package/dist/{packages/plugin-alloy → plugin-alloy}/src/markdown/components/markdown-file.d.mts +0 -0
- /package/dist/{packages/plugin-alloy → plugin-alloy}/src/types/index.d.mts +0 -0
- /package/dist/{packages/plugin-alloy → plugin-alloy}/src/types/plugin.d.mts +0 -0
- /package/dist/{packages/plugin-alloy → plugin-alloy}/src/typescript/components/builtin-file.d.mts +0 -0
- /package/dist/{packages/plugin-automd → plugin-automd}/src/types/plugin.d.mts +0 -0
- /package/dist/{packages/plugin-automd → plugin-automd}/src/types/toc.d.mts +0 -0
- /package/dist/{packages/plugin-babel → plugin-babel}/src/types/index.d.mts +0 -0
- /package/dist/{packages/plugin-babel → plugin-babel}/src/types/plugin.d.mts +0 -0
- /package/dist/{packages/powerlines → powerlines}/src/internal/helpers/hooks.d.mts +0 -0
- /package/dist/{packages/powerlines → powerlines}/src/types/api.d.mts +0 -0
- /package/dist/{packages/powerlines → powerlines}/src/types/babel.d.mts +0 -0
- /package/dist/{packages/powerlines → powerlines}/src/types/commands.d.mts +0 -0
- /package/dist/{packages/powerlines → powerlines}/src/types/fs.d.mts +0 -0
- /package/dist/{packages/powerlines → powerlines}/src/types/hooks.d.mts +0 -0
- /package/dist/{packages/powerlines → powerlines}/src/types/index.d.mts +0 -0
- /package/dist/{packages/powerlines → powerlines}/src/types/resolved.d.mts +0 -0
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
//#region ../powerlines/src/types/babel.ts
|
|
2
|
+
const __ΩRecord = [
|
|
3
|
+
"K",
|
|
4
|
+
"T",
|
|
5
|
+
"Record",
|
|
6
|
+
"l'e#\"Rb!b\"Pde\"!N#!w#y"
|
|
7
|
+
];
|
|
8
|
+
const __ΩOmit = [
|
|
9
|
+
"T",
|
|
10
|
+
"K",
|
|
11
|
+
() => __ΩPick,
|
|
12
|
+
() => __ΩExclude,
|
|
13
|
+
"Omit",
|
|
14
|
+
"b!b\"e!!e!!ge!\"o$#o##w%y"
|
|
15
|
+
];
|
|
16
|
+
const __ΩRequired = [
|
|
17
|
+
"T",
|
|
18
|
+
"Required",
|
|
19
|
+
"l+e#!e\"!fRb!Pde\"!gN##w\"y"
|
|
20
|
+
];
|
|
21
|
+
const __ΩPick = [
|
|
22
|
+
"T",
|
|
23
|
+
"K",
|
|
24
|
+
"Pick",
|
|
25
|
+
"l+e#!e\"!fRb!b\"Pde\"\"N#!w#y"
|
|
26
|
+
];
|
|
27
|
+
const __ΩExclude = [
|
|
28
|
+
"T",
|
|
29
|
+
"U",
|
|
30
|
+
"Exclude",
|
|
31
|
+
"l6!Re$!RPe#!e$\"qk#%QRb!b\"Pde\"!p)w#y"
|
|
32
|
+
];
|
|
33
|
+
const __ΩBabelPluginPass = [
|
|
34
|
+
"TState",
|
|
35
|
+
"PluginPass",
|
|
36
|
+
"BabelPluginPass",
|
|
37
|
+
"#c!P\"w\"e\"!Kw#y"
|
|
38
|
+
];
|
|
39
|
+
const __ΩBabelTransformPluginFilter = [
|
|
40
|
+
"code",
|
|
41
|
+
"id",
|
|
42
|
+
"",
|
|
43
|
+
"BabelTransformPluginFilter",
|
|
44
|
+
"P&2!&2\")/#w$y"
|
|
45
|
+
];
|
|
46
|
+
const __ΩBabelTransformPlugin = [
|
|
47
|
+
"Context",
|
|
48
|
+
"TContext",
|
|
49
|
+
() => __ΩRecord,
|
|
50
|
+
"TOptions",
|
|
51
|
+
"TState",
|
|
52
|
+
"context",
|
|
53
|
+
"name",
|
|
54
|
+
"LogFn",
|
|
55
|
+
"log",
|
|
56
|
+
"BabelAPI",
|
|
57
|
+
"api",
|
|
58
|
+
"options",
|
|
59
|
+
"dirname",
|
|
60
|
+
"PluginObj",
|
|
61
|
+
"",
|
|
62
|
+
"$$name",
|
|
63
|
+
"BabelTransformPlugin",
|
|
64
|
+
"\"w!c\"&\"o##c$#c%PPe#!2&PP&4'\"w(4)\"w*4+e%\"4,e%!4&&4-M2,\"w.////P&40MKw1y"
|
|
65
|
+
];
|
|
66
|
+
const __ΩBabelTransformPluginOptions = [
|
|
67
|
+
"Context",
|
|
68
|
+
"TContext",
|
|
69
|
+
() => __ΩRecord,
|
|
70
|
+
"TOptions",
|
|
71
|
+
"TState",
|
|
72
|
+
"PluginItem",
|
|
73
|
+
() => __ΩBabelTransformPlugin,
|
|
74
|
+
() => __ΩBabelTransformPlugin,
|
|
75
|
+
() => __ΩBabelTransformPlugin,
|
|
76
|
+
() => __ΩBabelTransformPluginFilter,
|
|
77
|
+
"BabelTransformPluginOptions",
|
|
78
|
+
"\"w!c\"&\"o##c$#c%P\"w&e\"!e\"\"e\"#o'$Pe#!e#\"e##o($e#\"GPe#!e#\"e##o)$e#\"n*GJw+y"
|
|
79
|
+
];
|
|
80
|
+
const __ΩResolvedBabelTransformPluginOptions = [
|
|
81
|
+
"Context",
|
|
82
|
+
"TContext",
|
|
83
|
+
() => __ΩRecord,
|
|
84
|
+
"TOptions",
|
|
85
|
+
"TState",
|
|
86
|
+
"PluginItem",
|
|
87
|
+
() => __ΩBabelTransformPlugin,
|
|
88
|
+
() => __ΩBabelTransformPluginFilter,
|
|
89
|
+
"ResolvedBabelTransformPluginOptions",
|
|
90
|
+
"\"w!c\"&\"o##c$#c%P\"w&Pe#!e#\"e##o'$e#\"Pn(,JGJw)y"
|
|
91
|
+
];
|
|
92
|
+
const __ΩBabelTransformPluginBuilderParams = [
|
|
93
|
+
"Context",
|
|
94
|
+
"TContext",
|
|
95
|
+
() => __ΩRecord,
|
|
96
|
+
"TOptions",
|
|
97
|
+
"name",
|
|
98
|
+
"LogFn",
|
|
99
|
+
"log",
|
|
100
|
+
"BabelAPI",
|
|
101
|
+
"api",
|
|
102
|
+
"options",
|
|
103
|
+
"context",
|
|
104
|
+
"dirname",
|
|
105
|
+
"BabelTransformPluginBuilderParams",
|
|
106
|
+
"\"w!c\"&\"o##c$P&4%\"w&4'\"w(4)e\"\"4*e\"!4+&4,Mw-y"
|
|
107
|
+
];
|
|
108
|
+
const __ΩBabelTransformPluginBuilder = [
|
|
109
|
+
"Context",
|
|
110
|
+
"TContext",
|
|
111
|
+
() => __ΩRecord,
|
|
112
|
+
"TOptions",
|
|
113
|
+
"TState",
|
|
114
|
+
() => __ΩBabelTransformPluginBuilderParams,
|
|
115
|
+
"params",
|
|
116
|
+
"PluginObj",
|
|
117
|
+
"",
|
|
118
|
+
"BabelTransformPluginBuilder",
|
|
119
|
+
"\"w!c\"&\"o##c$\"c%Pe\"!e\"\"o'\"w(/)w*y"
|
|
120
|
+
];
|
|
121
|
+
const __ΩDeclareBabelTransformPluginReturn = [
|
|
122
|
+
"Context",
|
|
123
|
+
"TContext",
|
|
124
|
+
() => __ΩRecord,
|
|
125
|
+
"TOptions",
|
|
126
|
+
"TState",
|
|
127
|
+
() => __ΩOmit,
|
|
128
|
+
() => __ΩBabelTransformPlugin,
|
|
129
|
+
"$$name",
|
|
130
|
+
() => __ΩRequired,
|
|
131
|
+
() => __ΩPick,
|
|
132
|
+
() => __ΩBabelTransformPlugin,
|
|
133
|
+
"$$name",
|
|
134
|
+
"DeclareBabelTransformPluginReturn",
|
|
135
|
+
"\"w!c\"&\"o##c$\"c%Pe\"!e\"\"e\"#o'$.(o&#e\"!e\"\"e\"#o+$.,o*#o)\"Kw-y"
|
|
136
|
+
];
|
|
137
|
+
const __ΩImportSpecifier = [
|
|
138
|
+
"name",
|
|
139
|
+
"module",
|
|
140
|
+
"imported",
|
|
141
|
+
"A non-local import specifier represents an import that is not defined within the current module.",
|
|
142
|
+
"ImportSpecifier",
|
|
143
|
+
"P&4!8&4\"&4#M?$w%y"
|
|
144
|
+
];
|
|
145
|
+
|
|
146
|
+
//#endregion
|
|
147
|
+
export { __ΩBabelPluginPass, __ΩBabelTransformPlugin, __ΩBabelTransformPluginBuilder, __ΩBabelTransformPluginBuilderParams, __ΩBabelTransformPluginFilter, __ΩBabelTransformPluginOptions, __ΩDeclareBabelTransformPluginReturn, __ΩImportSpecifier, __ΩResolvedBabelTransformPluginOptions };
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
|
|
2
|
+
//#region ../powerlines/src/types/build.ts
|
|
3
|
+
const __ΩRecord = [
|
|
4
|
+
"K",
|
|
5
|
+
"T",
|
|
6
|
+
"Record",
|
|
7
|
+
"l'e#\"Rb!b\"Pde\"!N#!w#y"
|
|
8
|
+
];
|
|
9
|
+
const __ΩOmit = [
|
|
10
|
+
"T",
|
|
11
|
+
"K",
|
|
12
|
+
() => __ΩPick,
|
|
13
|
+
() => __ΩExclude,
|
|
14
|
+
"Omit",
|
|
15
|
+
"b!b\"e!!e!!ge!\"o$#o##w%y"
|
|
16
|
+
];
|
|
17
|
+
const __ΩPick = [
|
|
18
|
+
"T",
|
|
19
|
+
"K",
|
|
20
|
+
"Pick",
|
|
21
|
+
"l+e#!e\"!fRb!b\"Pde\"\"N#!w#y"
|
|
22
|
+
];
|
|
23
|
+
const __ΩExclude = [
|
|
24
|
+
"T",
|
|
25
|
+
"U",
|
|
26
|
+
"Exclude",
|
|
27
|
+
"l6!Re$!RPe#!e$\"qk#%QRb!b\"Pde\"!p)w#y"
|
|
28
|
+
];
|
|
29
|
+
const __ΩUnpluginBuilderVariant = [
|
|
30
|
+
"rollup",
|
|
31
|
+
"webpack",
|
|
32
|
+
"rspack",
|
|
33
|
+
"vite",
|
|
34
|
+
"esbuild",
|
|
35
|
+
"farm",
|
|
36
|
+
"unloader",
|
|
37
|
+
"rolldown",
|
|
38
|
+
"bun",
|
|
39
|
+
"UnpluginBuilderVariant",
|
|
40
|
+
"P.!.\".#.$.%.&.'.(.)Jw*y"
|
|
41
|
+
];
|
|
42
|
+
const UNPLUGIN_BUILDER_VARIANTS = [
|
|
43
|
+
"rollup",
|
|
44
|
+
"webpack",
|
|
45
|
+
"rspack",
|
|
46
|
+
"vite",
|
|
47
|
+
"esbuild",
|
|
48
|
+
"farm",
|
|
49
|
+
"unloader",
|
|
50
|
+
"rolldown",
|
|
51
|
+
"bun"
|
|
52
|
+
];
|
|
53
|
+
const BUILDER_VARIANTS = [
|
|
54
|
+
...UNPLUGIN_BUILDER_VARIANTS,
|
|
55
|
+
"tsup",
|
|
56
|
+
"tsdown",
|
|
57
|
+
"unbuild"
|
|
58
|
+
];
|
|
59
|
+
const __ΩBuildConfig = [
|
|
60
|
+
"node",
|
|
61
|
+
"browser",
|
|
62
|
+
"neutral",
|
|
63
|
+
"platform",
|
|
64
|
+
"neutral",
|
|
65
|
+
"The platform to build the project for",
|
|
66
|
+
"polyfill",
|
|
67
|
+
"Array of strings indicating the polyfills to include for the build.",
|
|
68
|
+
"mainFields",
|
|
69
|
+
"`['browser', 'module', 'jsnext:main', 'jsnext']`",
|
|
70
|
+
"Array of strings indicating the order in which fields in a package.json file should be resolved to determine the entry point for a module.",
|
|
71
|
+
"conditions",
|
|
72
|
+
"Array of strings indicating what conditions should be used for module resolution.",
|
|
73
|
+
"extensions",
|
|
74
|
+
"`['.mjs', '.js', '.mts', '.ts', '.jsx', '.tsx', '.json']`",
|
|
75
|
+
"Array of strings indicating what file extensions should be used for module resolution.",
|
|
76
|
+
"dedupe",
|
|
77
|
+
"Array of strings indicating what modules should be deduplicated to a single version in the build.",
|
|
78
|
+
"builtins",
|
|
79
|
+
"Array of strings or regular expressions that indicate what modules are builtin for the environment.",
|
|
80
|
+
() => __ΩRecord,
|
|
81
|
+
"define",
|
|
82
|
+
"Define global variable replacements.",
|
|
83
|
+
() => __ΩRecord,
|
|
84
|
+
"inject",
|
|
85
|
+
"Global variables that will have import statements injected where necessary",
|
|
86
|
+
() => __ΩRecord,
|
|
87
|
+
"find",
|
|
88
|
+
"replacement",
|
|
89
|
+
"alias",
|
|
90
|
+
"The alias mappings to use for module resolution during the build process.",
|
|
91
|
+
"external",
|
|
92
|
+
"A list of modules that should not be bundled, even if they are external dependencies.",
|
|
93
|
+
"noExternal",
|
|
94
|
+
"A list of modules that should always be bundled, even if they are external dependencies.",
|
|
95
|
+
"skipNodeModulesBundle",
|
|
96
|
+
"Should the Powerlines CLI processes skip bundling the `node_modules` directory?",
|
|
97
|
+
"keepProcessEnv",
|
|
98
|
+
true,
|
|
99
|
+
"If true, `process.env` referenced in code will be preserved as-is and evaluated in runtime. Otherwise, it is statically replaced as an empty object.",
|
|
100
|
+
() => __ΩRecord,
|
|
101
|
+
"override",
|
|
102
|
+
"An optional set of override options to apply to the selected build variant.",
|
|
103
|
+
"BuildConfig",
|
|
104
|
+
"PP.!.\".#J4$8>%?&&F4'8?(&F4)8>*?+&F4,8?-&F4.8>/?0&F418?2P&AJF438?4&\"o5#468?7&P&&FJo8#498?:P&&o;#PP&AJ4<&4=MFJ4>8??P&AJF4@8?AP&AJF4B8?C)4D8?E)4F8>G?H&\"oI#4J8?KMwLy"
|
|
105
|
+
];
|
|
106
|
+
const __ΩBuildResolvedConfig = [
|
|
107
|
+
() => __ΩOmit,
|
|
108
|
+
() => __ΩBuildConfig,
|
|
109
|
+
"override",
|
|
110
|
+
"BuildResolvedConfig",
|
|
111
|
+
"n\".#o!#w$y"
|
|
112
|
+
];
|
|
113
|
+
const __ΩESBuildResolvedBuildConfig = [
|
|
114
|
+
() => __ΩOmit,
|
|
115
|
+
"inject",
|
|
116
|
+
() => __ΩBuildResolvedConfig,
|
|
117
|
+
"ESBuildResolvedBuildConfig",
|
|
118
|
+
"P!.\"o!#n#Kw$y"
|
|
119
|
+
];
|
|
120
|
+
|
|
121
|
+
//#endregion
|
|
122
|
+
exports.BUILDER_VARIANTS = BUILDER_VARIANTS;
|
|
123
|
+
exports.UNPLUGIN_BUILDER_VARIANTS = UNPLUGIN_BUILDER_VARIANTS;
|
|
124
|
+
exports.__ΩBuildConfig = __ΩBuildConfig;
|
|
125
|
+
exports.__ΩBuildResolvedConfig = __ΩBuildResolvedConfig;
|
|
126
|
+
exports.__ΩESBuildResolvedBuildConfig = __ΩESBuildResolvedBuildConfig;
|
|
127
|
+
exports.__ΩUnpluginBuilderVariant = __ΩUnpluginBuilderVariant;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { BuildOptions } from "esbuild";
|
|
1
2
|
import { OutputOptions, RollupOptions } from "rollup";
|
|
2
3
|
import { UserConfig } from "@farmfe/core";
|
|
3
4
|
import { Configuration } from "@rspack/core";
|
|
4
|
-
import { BuildOptions } from "@storm-software/tsup/types";
|
|
5
|
+
import { BuildOptions as BuildOptions$1 } from "@storm-software/tsup/types";
|
|
5
6
|
import { UnbuildOptions } from "@storm-software/unbuild/types";
|
|
6
|
-
import { BuildOptions as BuildOptions$1 } from "esbuild";
|
|
7
7
|
import { RolldownOptions } from "rolldown";
|
|
8
8
|
import { UserConfig as UserConfig$1 } from "tsdown";
|
|
9
9
|
import { DepOptimizationOptions, UserConfig as UserConfig$2 } from "vite";
|
|
@@ -153,8 +153,8 @@ interface BuildConfig {
|
|
|
153
153
|
override?: Record<string, any>;
|
|
154
154
|
}
|
|
155
155
|
type BuildResolvedConfig = Omit<BuildConfig, "override">;
|
|
156
|
-
type ESBuildBuildConfig = Omit<BuildOptions
|
|
157
|
-
type ESBuildResolvedBuildConfig = Omit<BuildOptions
|
|
156
|
+
type ESBuildBuildConfig = Omit<BuildOptions, "entryPoints" | "sourceRoot" | "platform" | "outdir" | "env" | "assets" | "external" | "inject" | "tsconfig" | "tsconfigRaw" | "logLevel"> & BuildConfig;
|
|
157
|
+
type ESBuildResolvedBuildConfig = Omit<BuildOptions, "inject"> & BuildResolvedConfig;
|
|
158
158
|
type ViteBuildConfig = Omit<UserConfig$2, "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output"> & BuildConfig & {
|
|
159
159
|
/**
|
|
160
160
|
* Optimize deps config
|
|
@@ -173,8 +173,8 @@ type RollupBuildConfig = Omit<RollupOptions, "entry" | "external" | "input" | "o
|
|
|
173
173
|
type RollupResolvedBuildConfig = RollupOptions & BuildResolvedConfig;
|
|
174
174
|
type RolldownBuildConfig = Omit<RolldownOptions, "input" | "external" | "tsconfig" | "logLevel" | "output"> & BuildConfig;
|
|
175
175
|
type RolldownResolvedBuildConfig = RolldownOptions & BuildResolvedConfig;
|
|
176
|
-
type TsupBuildConfig = Partial<Omit<BuildOptions, "userOptions" | "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "clean" | "env" | "entry" | "entryPoints" | "external" | "noExternal" | "skipNodeModulesBundle">> & BuildConfig;
|
|
177
|
-
type TsupResolvedBuildConfig = BuildOptions & BuildResolvedConfig;
|
|
176
|
+
type TsupBuildConfig = Partial<Omit<BuildOptions$1, "userOptions" | "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "clean" | "env" | "entry" | "entryPoints" | "external" | "noExternal" | "skipNodeModulesBundle">> & BuildConfig;
|
|
177
|
+
type TsupResolvedBuildConfig = BuildOptions$1 & BuildResolvedConfig;
|
|
178
178
|
type TsdownBuildConfig = Partial<Omit<UserConfig$1, "name" | "outDir" | "clean" | "cwd" | "tsconfig" | "publicDir" | "copy" | "alias" | "format" | "platform" | "env" | "define" | "entry" | "external" | "noExternal" | "skipNodeModulesBundle">> & BuildConfig;
|
|
179
179
|
type TsdownResolvedBuildConfig = UserConfig$1 & BuildResolvedConfig;
|
|
180
180
|
type UnbuildBuildConfig = Partial<Omit<UnbuildOptions, "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "env" | "entry" | "entryPoints">> & BuildConfig;
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
//#region ../powerlines/src/types/build.ts
|
|
2
|
+
const __ΩRecord = [
|
|
3
|
+
"K",
|
|
4
|
+
"T",
|
|
5
|
+
"Record",
|
|
6
|
+
"l'e#\"Rb!b\"Pde\"!N#!w#y"
|
|
7
|
+
];
|
|
8
|
+
const __ΩOmit = [
|
|
9
|
+
"T",
|
|
10
|
+
"K",
|
|
11
|
+
() => __ΩPick,
|
|
12
|
+
() => __ΩExclude,
|
|
13
|
+
"Omit",
|
|
14
|
+
"b!b\"e!!e!!ge!\"o$#o##w%y"
|
|
15
|
+
];
|
|
16
|
+
const __ΩPick = [
|
|
17
|
+
"T",
|
|
18
|
+
"K",
|
|
19
|
+
"Pick",
|
|
20
|
+
"l+e#!e\"!fRb!b\"Pde\"\"N#!w#y"
|
|
21
|
+
];
|
|
22
|
+
const __ΩExclude = [
|
|
23
|
+
"T",
|
|
24
|
+
"U",
|
|
25
|
+
"Exclude",
|
|
26
|
+
"l6!Re$!RPe#!e$\"qk#%QRb!b\"Pde\"!p)w#y"
|
|
27
|
+
];
|
|
28
|
+
const __ΩUnpluginBuilderVariant = [
|
|
29
|
+
"rollup",
|
|
30
|
+
"webpack",
|
|
31
|
+
"rspack",
|
|
32
|
+
"vite",
|
|
33
|
+
"esbuild",
|
|
34
|
+
"farm",
|
|
35
|
+
"unloader",
|
|
36
|
+
"rolldown",
|
|
37
|
+
"bun",
|
|
38
|
+
"UnpluginBuilderVariant",
|
|
39
|
+
"P.!.\".#.$.%.&.'.(.)Jw*y"
|
|
40
|
+
];
|
|
41
|
+
const UNPLUGIN_BUILDER_VARIANTS = [
|
|
42
|
+
"rollup",
|
|
43
|
+
"webpack",
|
|
44
|
+
"rspack",
|
|
45
|
+
"vite",
|
|
46
|
+
"esbuild",
|
|
47
|
+
"farm",
|
|
48
|
+
"unloader",
|
|
49
|
+
"rolldown",
|
|
50
|
+
"bun"
|
|
51
|
+
];
|
|
52
|
+
const BUILDER_VARIANTS = [
|
|
53
|
+
...UNPLUGIN_BUILDER_VARIANTS,
|
|
54
|
+
"tsup",
|
|
55
|
+
"tsdown",
|
|
56
|
+
"unbuild"
|
|
57
|
+
];
|
|
58
|
+
const __ΩBuildConfig = [
|
|
59
|
+
"node",
|
|
60
|
+
"browser",
|
|
61
|
+
"neutral",
|
|
62
|
+
"platform",
|
|
63
|
+
"neutral",
|
|
64
|
+
"The platform to build the project for",
|
|
65
|
+
"polyfill",
|
|
66
|
+
"Array of strings indicating the polyfills to include for the build.",
|
|
67
|
+
"mainFields",
|
|
68
|
+
"`['browser', 'module', 'jsnext:main', 'jsnext']`",
|
|
69
|
+
"Array of strings indicating the order in which fields in a package.json file should be resolved to determine the entry point for a module.",
|
|
70
|
+
"conditions",
|
|
71
|
+
"Array of strings indicating what conditions should be used for module resolution.",
|
|
72
|
+
"extensions",
|
|
73
|
+
"`['.mjs', '.js', '.mts', '.ts', '.jsx', '.tsx', '.json']`",
|
|
74
|
+
"Array of strings indicating what file extensions should be used for module resolution.",
|
|
75
|
+
"dedupe",
|
|
76
|
+
"Array of strings indicating what modules should be deduplicated to a single version in the build.",
|
|
77
|
+
"builtins",
|
|
78
|
+
"Array of strings or regular expressions that indicate what modules are builtin for the environment.",
|
|
79
|
+
() => __ΩRecord,
|
|
80
|
+
"define",
|
|
81
|
+
"Define global variable replacements.",
|
|
82
|
+
() => __ΩRecord,
|
|
83
|
+
"inject",
|
|
84
|
+
"Global variables that will have import statements injected where necessary",
|
|
85
|
+
() => __ΩRecord,
|
|
86
|
+
"find",
|
|
87
|
+
"replacement",
|
|
88
|
+
"alias",
|
|
89
|
+
"The alias mappings to use for module resolution during the build process.",
|
|
90
|
+
"external",
|
|
91
|
+
"A list of modules that should not be bundled, even if they are external dependencies.",
|
|
92
|
+
"noExternal",
|
|
93
|
+
"A list of modules that should always be bundled, even if they are external dependencies.",
|
|
94
|
+
"skipNodeModulesBundle",
|
|
95
|
+
"Should the Powerlines CLI processes skip bundling the `node_modules` directory?",
|
|
96
|
+
"keepProcessEnv",
|
|
97
|
+
true,
|
|
98
|
+
"If true, `process.env` referenced in code will be preserved as-is and evaluated in runtime. Otherwise, it is statically replaced as an empty object.",
|
|
99
|
+
() => __ΩRecord,
|
|
100
|
+
"override",
|
|
101
|
+
"An optional set of override options to apply to the selected build variant.",
|
|
102
|
+
"BuildConfig",
|
|
103
|
+
"PP.!.\".#J4$8>%?&&F4'8?(&F4)8>*?+&F4,8?-&F4.8>/?0&F418?2P&AJF438?4&\"o5#468?7&P&&FJo8#498?:P&&o;#PP&AJ4<&4=MFJ4>8??P&AJF4@8?AP&AJF4B8?C)4D8?E)4F8>G?H&\"oI#4J8?KMwLy"
|
|
104
|
+
];
|
|
105
|
+
const __ΩBuildResolvedConfig = [
|
|
106
|
+
() => __ΩOmit,
|
|
107
|
+
() => __ΩBuildConfig,
|
|
108
|
+
"override",
|
|
109
|
+
"BuildResolvedConfig",
|
|
110
|
+
"n\".#o!#w$y"
|
|
111
|
+
];
|
|
112
|
+
const __ΩESBuildResolvedBuildConfig = [
|
|
113
|
+
() => __ΩOmit,
|
|
114
|
+
"inject",
|
|
115
|
+
() => __ΩBuildResolvedConfig,
|
|
116
|
+
"ESBuildResolvedBuildConfig",
|
|
117
|
+
"P!.\"o!#n#Kw$y"
|
|
118
|
+
];
|
|
119
|
+
|
|
120
|
+
//#endregion
|
|
121
|
+
export { BUILDER_VARIANTS, UNPLUGIN_BUILDER_VARIANTS, __ΩBuildConfig, __ΩBuildResolvedConfig, __ΩESBuildResolvedBuildConfig, __ΩUnpluginBuilderVariant };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
|
|
2
|
+
//#region ../powerlines/src/types/commands.ts
|
|
3
|
+
const SUPPORTED_COMMANDS = [
|
|
4
|
+
"new",
|
|
5
|
+
"clean",
|
|
6
|
+
"prepare",
|
|
7
|
+
"lint",
|
|
8
|
+
"test",
|
|
9
|
+
"build",
|
|
10
|
+
"docs",
|
|
11
|
+
"deploy",
|
|
12
|
+
"finalize"
|
|
13
|
+
];
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.SUPPORTED_COMMANDS = SUPPORTED_COMMANDS;
|