@powerlines/plugin-env 0.15.13 → 0.15.14
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/tsconfig.d.mts +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/context.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
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { __ΩContext } from "../../types/context.mjs";
|
|
2
|
-
import { __ΩESBuildResolvedBuildConfig } from "../../types/build.mjs";
|
|
3
|
-
import { extractESBuildConfig } from "../build/esbuild.mjs";
|
|
4
|
-
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
5
|
-
import { build } from "esbuild";
|
|
6
|
-
|
|
7
|
-
//#region ../powerlines/src/lib/utilities/bundle.ts
|
|
8
|
-
const __ΩPartial = [
|
|
9
|
-
"T",
|
|
10
|
-
"Partial",
|
|
11
|
-
"l+e#!e\"!fRb!Pde\"!gN#\"w\"y"
|
|
12
|
-
];
|
|
13
|
-
function __assignType(fn, args) {
|
|
14
|
-
fn.__type = args;
|
|
15
|
-
return fn;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Bundle a type definition to a module.
|
|
19
|
-
*
|
|
20
|
-
* @param context - The context object containing the environment paths.
|
|
21
|
-
* @param file - The file path to bundle.
|
|
22
|
-
* @param overrides - Optional overrides for the ESBuild configuration.
|
|
23
|
-
* @returns A promise that resolves to the bundled module.
|
|
24
|
-
*/
|
|
25
|
-
async function bundle(context, file, overrides = {}) {
|
|
26
|
-
const path = await context.fs.resolve(file);
|
|
27
|
-
if (!path || !context.fs.existsSync(path)) throw new Error(`Module not found: "${file}". Please check the path and try again.`);
|
|
28
|
-
const result = await build({
|
|
29
|
-
...extractESBuildConfig(context),
|
|
30
|
-
entryPoints: [path],
|
|
31
|
-
write: false,
|
|
32
|
-
sourcemap: false,
|
|
33
|
-
splitting: false,
|
|
34
|
-
treeShaking: false,
|
|
35
|
-
bundle: true,
|
|
36
|
-
...overrides
|
|
37
|
-
});
|
|
38
|
-
if (result.errors.length > 0) throw new Error(`Failed to transpile ${file}: ${result.errors.map(__assignType((error) => error.text, [
|
|
39
|
-
"error",
|
|
40
|
-
"",
|
|
41
|
-
"P\"2!\"/\""
|
|
42
|
-
])).join(", ")}`);
|
|
43
|
-
if (result.warnings.length > 0) context.log(LogLevelLabel.WARN, `Warnings while transpiling ${file}: ${result.warnings.map(__assignType((warning) => warning.text, [
|
|
44
|
-
"warning",
|
|
45
|
-
"",
|
|
46
|
-
"P\"2!\"/\""
|
|
47
|
-
])).join(", ")}`);
|
|
48
|
-
if (!result.outputFiles || result.outputFiles.filter(Boolean).length === 0) throw new Error(`No output files generated for ${file}. Please check the configuration and try again.`);
|
|
49
|
-
return result.outputFiles.filter(Boolean)[0];
|
|
50
|
-
}
|
|
51
|
-
bundle.__type = [
|
|
52
|
-
() => __ΩContext,
|
|
53
|
-
"context",
|
|
54
|
-
"file",
|
|
55
|
-
() => __ΩPartial,
|
|
56
|
-
() => __ΩESBuildResolvedBuildConfig,
|
|
57
|
-
"overrides",
|
|
58
|
-
() => ({}),
|
|
59
|
-
"OutputFile",
|
|
60
|
-
"bundle",
|
|
61
|
-
"Bundle a type definition to a module.",
|
|
62
|
-
"Pn!2\"&2#n%o$\"2&>'\"w(`/)?*"
|
|
63
|
-
];
|
|
64
|
-
|
|
65
|
-
//#endregion
|
|
66
|
-
export { bundle };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_context = require('../../types/context.cjs');
|
|
3
|
-
const require_build = require('../../types/build.cjs');
|
|
4
|
-
const require_bundle = require('./bundle.cjs');
|
|
5
|
-
let __stryke_convert_parse_type_definition = require("@stryke/convert/parse-type-definition");
|
|
6
|
-
let __stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
7
|
-
|
|
8
|
-
//#region ../powerlines/src/lib/utilities/resolve.ts
|
|
9
|
-
const __ΩPartial = [
|
|
10
|
-
"T",
|
|
11
|
-
"Partial",
|
|
12
|
-
"l+e#!e\"!fRb!Pde\"!gN#\"w\"y"
|
|
13
|
-
];
|
|
14
|
-
/**
|
|
15
|
-
* Compiles a type definition to a module.
|
|
16
|
-
*
|
|
17
|
-
* @param context - The context object containing the environment paths.
|
|
18
|
-
* @param type - The type definition to compile. This can be either a string or a {@link TypeDefinition} object.
|
|
19
|
-
* @param overrides - Optional overrides for the ESBuild configuration.
|
|
20
|
-
* @returns A promise that resolves to the compiled module.
|
|
21
|
-
*/
|
|
22
|
-
async function resolve(context, type, overrides = {}) {
|
|
23
|
-
let typeDefinition;
|
|
24
|
-
if ((0, __stryke_type_checks_is_set_string.isSetString)(type)) typeDefinition = (0, __stryke_convert_parse_type_definition.parseTypeDefinition)(type);
|
|
25
|
-
else typeDefinition = type;
|
|
26
|
-
const result = await require_bundle.bundle(context, typeDefinition.file, overrides);
|
|
27
|
-
const resolved = await context.resolver.evalModule(result.text, {
|
|
28
|
-
filename: result.path,
|
|
29
|
-
forceTranspile: true
|
|
30
|
-
});
|
|
31
|
-
let exportName = typeDefinition.name;
|
|
32
|
-
if (!exportName) exportName = "default";
|
|
33
|
-
return resolved[exportName] ?? resolved[`__Ω${exportName}`];
|
|
34
|
-
}
|
|
35
|
-
resolve.__type = [
|
|
36
|
-
() => require_context.__ΩContext,
|
|
37
|
-
"context",
|
|
38
|
-
"type",
|
|
39
|
-
() => __ΩPartial,
|
|
40
|
-
() => require_build.__ΩESBuildResolvedBuildConfig,
|
|
41
|
-
"overrides",
|
|
42
|
-
() => ({}),
|
|
43
|
-
"resolve",
|
|
44
|
-
"Compiles a type definition to a module.",
|
|
45
|
-
"Pn!2\"!2#n%o$\"2&>'\"`/(?)"
|
|
46
|
-
];
|
|
47
|
-
|
|
48
|
-
//#endregion
|
|
49
|
-
exports.resolve = resolve;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { __ΩContext } from "../../types/context.mjs";
|
|
2
|
-
import { __ΩESBuildResolvedBuildConfig } from "../../types/build.mjs";
|
|
3
|
-
import { bundle } from "./bundle.mjs";
|
|
4
|
-
import { parseTypeDefinition } from "@stryke/convert/parse-type-definition";
|
|
5
|
-
import { isSetString } from "@stryke/type-checks/is-set-string";
|
|
6
|
-
|
|
7
|
-
//#region ../powerlines/src/lib/utilities/resolve.ts
|
|
8
|
-
const __ΩPartial = [
|
|
9
|
-
"T",
|
|
10
|
-
"Partial",
|
|
11
|
-
"l+e#!e\"!fRb!Pde\"!gN#\"w\"y"
|
|
12
|
-
];
|
|
13
|
-
/**
|
|
14
|
-
* Compiles a type definition to a module.
|
|
15
|
-
*
|
|
16
|
-
* @param context - The context object containing the environment paths.
|
|
17
|
-
* @param type - The type definition to compile. This can be either a string or a {@link TypeDefinition} object.
|
|
18
|
-
* @param overrides - Optional overrides for the ESBuild configuration.
|
|
19
|
-
* @returns A promise that resolves to the compiled module.
|
|
20
|
-
*/
|
|
21
|
-
async function resolve(context, type, overrides = {}) {
|
|
22
|
-
let typeDefinition;
|
|
23
|
-
if (isSetString(type)) typeDefinition = parseTypeDefinition(type);
|
|
24
|
-
else typeDefinition = type;
|
|
25
|
-
const result = await bundle(context, typeDefinition.file, overrides);
|
|
26
|
-
const resolved = await context.resolver.evalModule(result.text, {
|
|
27
|
-
filename: result.path,
|
|
28
|
-
forceTranspile: true
|
|
29
|
-
});
|
|
30
|
-
let exportName = typeDefinition.name;
|
|
31
|
-
if (!exportName) exportName = "default";
|
|
32
|
-
return resolved[exportName] ?? resolved[`__Ω${exportName}`];
|
|
33
|
-
}
|
|
34
|
-
resolve.__type = [
|
|
35
|
-
() => __ΩContext,
|
|
36
|
-
"context",
|
|
37
|
-
"type",
|
|
38
|
-
() => __ΩPartial,
|
|
39
|
-
() => __ΩESBuildResolvedBuildConfig,
|
|
40
|
-
"overrides",
|
|
41
|
-
() => ({}),
|
|
42
|
-
"resolve",
|
|
43
|
-
"Compiles a type definition to a module.",
|
|
44
|
-
"Pn!2\"!2#n%o$\"2&>'\"`/(?)"
|
|
45
|
-
];
|
|
46
|
-
|
|
47
|
-
//#endregion
|
|
48
|
-
export { resolve };
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_context = require('../types/context.cjs');
|
|
3
|
-
let __stryke_path_replace = require("@stryke/path/replace");
|
|
4
|
-
|
|
5
|
-
//#region ../powerlines/src/plugin-utils/paths.ts
|
|
6
|
-
/**
|
|
7
|
-
* Replaces tokens in the given path string with their corresponding values from the context.
|
|
8
|
-
*
|
|
9
|
-
* @remarks
|
|
10
|
-
* The following tokens are supported:
|
|
11
|
-
* - `{workspaceRoot}` - The root directory of the workspace.
|
|
12
|
-
* - `{root}` - The root directory of the project (same as `{projectRoot}`).
|
|
13
|
-
* - `{projectRoot}` - The root directory of the project (same as `{root}`).
|
|
14
|
-
* - `{sourceRoot}` - The source root directory of the project (usually `./src`).
|
|
15
|
-
* - `{powerlinesPath}` - The directory where Powerlines is installed.
|
|
16
|
-
* - `{cachePath}` - The environment's directory for cached files.
|
|
17
|
-
* - `{dataPath}` - The environment's directory for data files.
|
|
18
|
-
* - `{logPath}` - The environment's directory for log files.
|
|
19
|
-
* - `{tempPath}` - The environment's directory for temporary files.
|
|
20
|
-
* - `{configPath}` - The environment's directory for configuration files.
|
|
21
|
-
* - `{outputPath}` - The configured output directory for the project.
|
|
22
|
-
* - `{buildPath}` - The configured distribution directory for the project.
|
|
23
|
-
* - `{artifactsPath}` - The configured directory for build artifacts.
|
|
24
|
-
* - `{builtinPath}` - The configured directory for generated built-in plugins.
|
|
25
|
-
* - `{entryPath}` - The configured directory for generated entry files.
|
|
26
|
-
*
|
|
27
|
-
* @param context - The context containing the values for the path tokens.
|
|
28
|
-
* @param path - The path string with tokens to replace.
|
|
29
|
-
* @returns The path string with tokens replaced by their corresponding values from the context.
|
|
30
|
-
*/
|
|
31
|
-
function replacePathTokens(context, path) {
|
|
32
|
-
if (!path) return path;
|
|
33
|
-
return path.replaceAll("{workspaceRoot}", context.workspaceConfig.workspaceRoot).replaceAll("{root}", context.config.projectRoot).replaceAll("{projectRoot}", context.config.projectRoot).replaceAll("{sourceRoot}", context.config.sourceRoot).replaceAll("{powerlinesPath}", context.powerlinesPath).replaceAll("{cachePath}", context.cachePath).replaceAll("{dataPath}", context.dataPath).replaceAll("{logPath}", context.envPaths.log).replaceAll("{tempPath}", context.envPaths.temp).replaceAll("{configPath}", context.envPaths.config).replaceAll("{outputPath}", context.config.output.outputPath).replaceAll("{buildPath}", context.config.output.buildPath).replaceAll("{artifactsPath}", (0, __stryke_path_replace.replacePath)(context.artifactsPath, context.workspaceConfig.workspaceRoot)).replaceAll("{builtinPath}", (0, __stryke_path_replace.replacePath)(context.builtinsPath, context.workspaceConfig.workspaceRoot)).replaceAll("{entryPath}", (0, __stryke_path_replace.replacePath)(context.entryPath, context.workspaceConfig.workspaceRoot));
|
|
34
|
-
}
|
|
35
|
-
replacePathTokens.__type = [
|
|
36
|
-
() => require_context.__ΩUnresolvedContext,
|
|
37
|
-
"context",
|
|
38
|
-
"path",
|
|
39
|
-
true,
|
|
40
|
-
"replacePathTokens",
|
|
41
|
-
"Replaces tokens in the given path string with their corresponding values from the context.",
|
|
42
|
-
"l3-R&RPe#!.$qk#%QRPn!2\"&2#8Pd!p'/%?&"
|
|
43
|
-
];
|
|
44
|
-
|
|
45
|
-
//#endregion
|
|
46
|
-
exports.replacePathTokens = replacePathTokens;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { __ΩUnresolvedContext } from "../types/context.mjs";
|
|
2
|
-
import { replacePath } from "@stryke/path/replace";
|
|
3
|
-
|
|
4
|
-
//#region ../powerlines/src/plugin-utils/paths.ts
|
|
5
|
-
/**
|
|
6
|
-
* Replaces tokens in the given path string with their corresponding values from the context.
|
|
7
|
-
*
|
|
8
|
-
* @remarks
|
|
9
|
-
* The following tokens are supported:
|
|
10
|
-
* - `{workspaceRoot}` - The root directory of the workspace.
|
|
11
|
-
* - `{root}` - The root directory of the project (same as `{projectRoot}`).
|
|
12
|
-
* - `{projectRoot}` - The root directory of the project (same as `{root}`).
|
|
13
|
-
* - `{sourceRoot}` - The source root directory of the project (usually `./src`).
|
|
14
|
-
* - `{powerlinesPath}` - The directory where Powerlines is installed.
|
|
15
|
-
* - `{cachePath}` - The environment's directory for cached files.
|
|
16
|
-
* - `{dataPath}` - The environment's directory for data files.
|
|
17
|
-
* - `{logPath}` - The environment's directory for log files.
|
|
18
|
-
* - `{tempPath}` - The environment's directory for temporary files.
|
|
19
|
-
* - `{configPath}` - The environment's directory for configuration files.
|
|
20
|
-
* - `{outputPath}` - The configured output directory for the project.
|
|
21
|
-
* - `{buildPath}` - The configured distribution directory for the project.
|
|
22
|
-
* - `{artifactsPath}` - The configured directory for build artifacts.
|
|
23
|
-
* - `{builtinPath}` - The configured directory for generated built-in plugins.
|
|
24
|
-
* - `{entryPath}` - The configured directory for generated entry files.
|
|
25
|
-
*
|
|
26
|
-
* @param context - The context containing the values for the path tokens.
|
|
27
|
-
* @param path - The path string with tokens to replace.
|
|
28
|
-
* @returns The path string with tokens replaced by their corresponding values from the context.
|
|
29
|
-
*/
|
|
30
|
-
function replacePathTokens(context, path) {
|
|
31
|
-
if (!path) return path;
|
|
32
|
-
return path.replaceAll("{workspaceRoot}", context.workspaceConfig.workspaceRoot).replaceAll("{root}", context.config.projectRoot).replaceAll("{projectRoot}", context.config.projectRoot).replaceAll("{sourceRoot}", context.config.sourceRoot).replaceAll("{powerlinesPath}", context.powerlinesPath).replaceAll("{cachePath}", context.cachePath).replaceAll("{dataPath}", context.dataPath).replaceAll("{logPath}", context.envPaths.log).replaceAll("{tempPath}", context.envPaths.temp).replaceAll("{configPath}", context.envPaths.config).replaceAll("{outputPath}", context.config.output.outputPath).replaceAll("{buildPath}", context.config.output.buildPath).replaceAll("{artifactsPath}", replacePath(context.artifactsPath, context.workspaceConfig.workspaceRoot)).replaceAll("{builtinPath}", replacePath(context.builtinsPath, context.workspaceConfig.workspaceRoot)).replaceAll("{entryPath}", replacePath(context.entryPath, context.workspaceConfig.workspaceRoot));
|
|
33
|
-
}
|
|
34
|
-
replacePathTokens.__type = [
|
|
35
|
-
() => __ΩUnresolvedContext,
|
|
36
|
-
"context",
|
|
37
|
-
"path",
|
|
38
|
-
true,
|
|
39
|
-
"replacePathTokens",
|
|
40
|
-
"Replaces tokens in the given path string with their corresponding values from the context.",
|
|
41
|
-
"l3-R&RPe#!.$qk#%QRPn!2\"&2#8Pd!p'/%?&"
|
|
42
|
-
];
|
|
43
|
-
|
|
44
|
-
//#endregion
|
|
45
|
-
export { replacePathTokens };
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
const require_config = require('./config.cjs');
|
|
2
|
-
const require_resolved = require('./resolved.cjs');
|
|
3
|
-
const require_hooks = require('./hooks.cjs');
|
|
4
|
-
const require_hooks$1 = require('../internal/helpers/hooks.cjs');
|
|
5
|
-
|
|
6
|
-
//#region ../powerlines/src/types/api.ts
|
|
7
|
-
const __ΩAPI = [
|
|
8
|
-
() => require_resolved.__ΩResolvedConfig,
|
|
9
|
-
"TResolvedConfig",
|
|
10
|
-
"APIContext",
|
|
11
|
-
"context",
|
|
12
|
-
"The Powerlines shared API context",
|
|
13
|
-
() => require_config.__ΩPrepareInlineConfig,
|
|
14
|
-
() => require_config.__ΩNewInlineConfig,
|
|
15
|
-
() => require_config.__ΩCleanInlineConfig,
|
|
16
|
-
() => require_config.__ΩBuildInlineConfig,
|
|
17
|
-
() => require_config.__ΩLintInlineConfig,
|
|
18
|
-
() => require_config.__ΩDocsInlineConfig,
|
|
19
|
-
() => require_config.__ΩDeployInlineConfig,
|
|
20
|
-
"inlineConfig",
|
|
21
|
-
"",
|
|
22
|
-
"prepare",
|
|
23
|
-
"Prepare the Powerlines API",
|
|
24
|
-
() => require_config.__ΩNewInlineConfig,
|
|
25
|
-
"new",
|
|
26
|
-
"Create a new Powerlines project",
|
|
27
|
-
() => require_config.__ΩCleanInlineConfig,
|
|
28
|
-
() => require_config.__ΩPrepareInlineConfig,
|
|
29
|
-
"clean",
|
|
30
|
-
"Clean any previously prepared artifacts",
|
|
31
|
-
() => require_config.__ΩLintInlineConfig,
|
|
32
|
-
"lint",
|
|
33
|
-
"Lint the project source code",
|
|
34
|
-
() => require_config.__ΩBuildInlineConfig,
|
|
35
|
-
"build",
|
|
36
|
-
"Build the project",
|
|
37
|
-
() => require_config.__ΩDocsInlineConfig,
|
|
38
|
-
"docs",
|
|
39
|
-
"Prepare the documentation for the project",
|
|
40
|
-
() => require_config.__ΩDeployInlineConfig,
|
|
41
|
-
"deploy",
|
|
42
|
-
"Deploy the project source code",
|
|
43
|
-
"finalize",
|
|
44
|
-
"Finalization process",
|
|
45
|
-
"hook",
|
|
46
|
-
() => require_hooks$1.__ΩCallHookOptions,
|
|
47
|
-
"EnvironmentContext",
|
|
48
|
-
"environment",
|
|
49
|
-
"options",
|
|
50
|
-
() => require_hooks.__ΩInferHookParameters,
|
|
51
|
-
"PluginContext",
|
|
52
|
-
"args",
|
|
53
|
-
() => require_hooks.__ΩInferHookReturnType,
|
|
54
|
-
"callHook",
|
|
55
|
-
"Invokes the configured plugin hooks",
|
|
56
|
-
"Powerlines API Interface",
|
|
57
|
-
"API",
|
|
58
|
-
"n!c\"P\"w#4$?%PPn&n'n(n)n*n+n,J2-$`/.4/?0Pn12-$`/.42?3PPn4n5J2-$`/.46?7Pn82-$`/.49?:Pn;2-$`/.4<?=Pn>2-$`/.4??@PnA2-$`/.4B?CP$`/.4D?EP\"2FPnGPP&\"wHJ4I8MK2J\"wL\"oK#@2MP\"wL\"oN#-J`/.4O?PM?QwRy"
|
|
59
|
-
];
|
|
60
|
-
|
|
61
|
-
//#endregion
|
|
62
|
-
exports.__ΩAPI = __ΩAPI;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { __ΩBuildInlineConfig, __ΩCleanInlineConfig, __ΩDeployInlineConfig, __ΩDocsInlineConfig, __ΩLintInlineConfig, __ΩNewInlineConfig, __ΩPrepareInlineConfig } from "./config.mjs";
|
|
2
|
-
import { __ΩResolvedConfig } from "./resolved.mjs";
|
|
3
|
-
import { __ΩInferHookParameters, __ΩInferHookReturnType } from "./hooks.mjs";
|
|
4
|
-
import { __ΩCallHookOptions } from "../internal/helpers/hooks.mjs";
|
|
5
|
-
|
|
6
|
-
//#region ../powerlines/src/types/api.ts
|
|
7
|
-
const __ΩAPI = [
|
|
8
|
-
() => __ΩResolvedConfig,
|
|
9
|
-
"TResolvedConfig",
|
|
10
|
-
"APIContext",
|
|
11
|
-
"context",
|
|
12
|
-
"The Powerlines shared API context",
|
|
13
|
-
() => __ΩPrepareInlineConfig,
|
|
14
|
-
() => __ΩNewInlineConfig,
|
|
15
|
-
() => __ΩCleanInlineConfig,
|
|
16
|
-
() => __ΩBuildInlineConfig,
|
|
17
|
-
() => __ΩLintInlineConfig,
|
|
18
|
-
() => __ΩDocsInlineConfig,
|
|
19
|
-
() => __ΩDeployInlineConfig,
|
|
20
|
-
"inlineConfig",
|
|
21
|
-
"",
|
|
22
|
-
"prepare",
|
|
23
|
-
"Prepare the Powerlines API",
|
|
24
|
-
() => __ΩNewInlineConfig,
|
|
25
|
-
"new",
|
|
26
|
-
"Create a new Powerlines project",
|
|
27
|
-
() => __ΩCleanInlineConfig,
|
|
28
|
-
() => __ΩPrepareInlineConfig,
|
|
29
|
-
"clean",
|
|
30
|
-
"Clean any previously prepared artifacts",
|
|
31
|
-
() => __ΩLintInlineConfig,
|
|
32
|
-
"lint",
|
|
33
|
-
"Lint the project source code",
|
|
34
|
-
() => __ΩBuildInlineConfig,
|
|
35
|
-
"build",
|
|
36
|
-
"Build the project",
|
|
37
|
-
() => __ΩDocsInlineConfig,
|
|
38
|
-
"docs",
|
|
39
|
-
"Prepare the documentation for the project",
|
|
40
|
-
() => __ΩDeployInlineConfig,
|
|
41
|
-
"deploy",
|
|
42
|
-
"Deploy the project source code",
|
|
43
|
-
"finalize",
|
|
44
|
-
"Finalization process",
|
|
45
|
-
"hook",
|
|
46
|
-
() => __ΩCallHookOptions,
|
|
47
|
-
"EnvironmentContext",
|
|
48
|
-
"environment",
|
|
49
|
-
"options",
|
|
50
|
-
() => __ΩInferHookParameters,
|
|
51
|
-
"PluginContext",
|
|
52
|
-
"args",
|
|
53
|
-
() => __ΩInferHookReturnType,
|
|
54
|
-
"callHook",
|
|
55
|
-
"Invokes the configured plugin hooks",
|
|
56
|
-
"Powerlines API Interface",
|
|
57
|
-
"API",
|
|
58
|
-
"n!c\"P\"w#4$?%PPn&n'n(n)n*n+n,J2-$`/.4/?0Pn12-$`/.42?3PPn4n5J2-$`/.46?7Pn82-$`/.49?:Pn;2-$`/.4<?=Pn>2-$`/.4??@PnA2-$`/.4B?CP$`/.4D?EP\"2FPnGPP&\"wHJ4I8MK2J\"wL\"oK#@2MP\"wL\"oN#-J`/.4O?PM?QwRy"
|
|
59
|
-
];
|
|
60
|
-
|
|
61
|
-
//#endregion
|
|
62
|
-
export { __ΩAPI };
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//#region ../powerlines/src/types/babel.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 __ΩRequired = [
|
|
18
|
-
"T",
|
|
19
|
-
"Required",
|
|
20
|
-
"l+e#!e\"!fRb!Pde\"!gN##w\"y"
|
|
21
|
-
];
|
|
22
|
-
const __ΩPick = [
|
|
23
|
-
"T",
|
|
24
|
-
"K",
|
|
25
|
-
"Pick",
|
|
26
|
-
"l+e#!e\"!fRb!b\"Pde\"\"N#!w#y"
|
|
27
|
-
];
|
|
28
|
-
const __ΩExclude = [
|
|
29
|
-
"T",
|
|
30
|
-
"U",
|
|
31
|
-
"Exclude",
|
|
32
|
-
"l6!Re$!RPe#!e$\"qk#%QRb!b\"Pde\"!p)w#y"
|
|
33
|
-
];
|
|
34
|
-
const __ΩBabelPluginPass = [
|
|
35
|
-
"TState",
|
|
36
|
-
"PluginPass",
|
|
37
|
-
"BabelPluginPass",
|
|
38
|
-
"#c!P\"w\"e\"!Kw#y"
|
|
39
|
-
];
|
|
40
|
-
const __ΩBabelTransformPluginFilter = [
|
|
41
|
-
"code",
|
|
42
|
-
"id",
|
|
43
|
-
"",
|
|
44
|
-
"BabelTransformPluginFilter",
|
|
45
|
-
"P&2!&2\")/#w$y"
|
|
46
|
-
];
|
|
47
|
-
const __ΩBabelTransformPlugin = [
|
|
48
|
-
"Context",
|
|
49
|
-
"TContext",
|
|
50
|
-
() => __ΩRecord,
|
|
51
|
-
"TOptions",
|
|
52
|
-
"TState",
|
|
53
|
-
"context",
|
|
54
|
-
"name",
|
|
55
|
-
"LogFn",
|
|
56
|
-
"log",
|
|
57
|
-
"BabelAPI",
|
|
58
|
-
"api",
|
|
59
|
-
"options",
|
|
60
|
-
"dirname",
|
|
61
|
-
"PluginObj",
|
|
62
|
-
"",
|
|
63
|
-
"$$name",
|
|
64
|
-
"BabelTransformPlugin",
|
|
65
|
-
"\"w!c\"&\"o##c$#c%PPe#!2&PP&4'\"w(4)\"w*4+e%\"4,e%!4&&4-M2,\"w.////P&40MKw1y"
|
|
66
|
-
];
|
|
67
|
-
const __ΩBabelTransformPluginOptions = [
|
|
68
|
-
"Context",
|
|
69
|
-
"TContext",
|
|
70
|
-
() => __ΩRecord,
|
|
71
|
-
"TOptions",
|
|
72
|
-
"TState",
|
|
73
|
-
"PluginItem",
|
|
74
|
-
() => __ΩBabelTransformPlugin,
|
|
75
|
-
() => __ΩBabelTransformPlugin,
|
|
76
|
-
() => __ΩBabelTransformPlugin,
|
|
77
|
-
() => __ΩBabelTransformPluginFilter,
|
|
78
|
-
"BabelTransformPluginOptions",
|
|
79
|
-
"\"w!c\"&\"o##c$#c%P\"w&e\"!e\"\"e\"#o'$Pe#!e#\"e##o($e#\"GPe#!e#\"e##o)$e#\"n*GJw+y"
|
|
80
|
-
];
|
|
81
|
-
const __ΩResolvedBabelTransformPluginOptions = [
|
|
82
|
-
"Context",
|
|
83
|
-
"TContext",
|
|
84
|
-
() => __ΩRecord,
|
|
85
|
-
"TOptions",
|
|
86
|
-
"TState",
|
|
87
|
-
"PluginItem",
|
|
88
|
-
() => __ΩBabelTransformPlugin,
|
|
89
|
-
() => __ΩBabelTransformPluginFilter,
|
|
90
|
-
"ResolvedBabelTransformPluginOptions",
|
|
91
|
-
"\"w!c\"&\"o##c$#c%P\"w&Pe#!e#\"e##o'$e#\"Pn(,JGJw)y"
|
|
92
|
-
];
|
|
93
|
-
const __ΩBabelTransformPluginBuilderParams = [
|
|
94
|
-
"Context",
|
|
95
|
-
"TContext",
|
|
96
|
-
() => __ΩRecord,
|
|
97
|
-
"TOptions",
|
|
98
|
-
"name",
|
|
99
|
-
"LogFn",
|
|
100
|
-
"log",
|
|
101
|
-
"BabelAPI",
|
|
102
|
-
"api",
|
|
103
|
-
"options",
|
|
104
|
-
"context",
|
|
105
|
-
"dirname",
|
|
106
|
-
"BabelTransformPluginBuilderParams",
|
|
107
|
-
"\"w!c\"&\"o##c$P&4%\"w&4'\"w(4)e\"\"4*e\"!4+&4,Mw-y"
|
|
108
|
-
];
|
|
109
|
-
const __ΩBabelTransformPluginBuilder = [
|
|
110
|
-
"Context",
|
|
111
|
-
"TContext",
|
|
112
|
-
() => __ΩRecord,
|
|
113
|
-
"TOptions",
|
|
114
|
-
"TState",
|
|
115
|
-
() => __ΩBabelTransformPluginBuilderParams,
|
|
116
|
-
"params",
|
|
117
|
-
"PluginObj",
|
|
118
|
-
"",
|
|
119
|
-
"BabelTransformPluginBuilder",
|
|
120
|
-
"\"w!c\"&\"o##c$\"c%Pe\"!e\"\"o'\"w(/)w*y"
|
|
121
|
-
];
|
|
122
|
-
const __ΩDeclareBabelTransformPluginReturn = [
|
|
123
|
-
"Context",
|
|
124
|
-
"TContext",
|
|
125
|
-
() => __ΩRecord,
|
|
126
|
-
"TOptions",
|
|
127
|
-
"TState",
|
|
128
|
-
() => __ΩOmit,
|
|
129
|
-
() => __ΩBabelTransformPlugin,
|
|
130
|
-
"$$name",
|
|
131
|
-
() => __ΩRequired,
|
|
132
|
-
() => __ΩPick,
|
|
133
|
-
() => __ΩBabelTransformPlugin,
|
|
134
|
-
"$$name",
|
|
135
|
-
"DeclareBabelTransformPluginReturn",
|
|
136
|
-
"\"w!c\"&\"o##c$\"c%Pe\"!e\"\"e\"#o'$.(o&#e\"!e\"\"e\"#o+$.,o*#o)\"Kw-y"
|
|
137
|
-
];
|
|
138
|
-
const __ΩImportSpecifier = [
|
|
139
|
-
"name",
|
|
140
|
-
"module",
|
|
141
|
-
"imported",
|
|
142
|
-
"A non-local import specifier represents an import that is not defined within the current module.",
|
|
143
|
-
"ImportSpecifier",
|
|
144
|
-
"P&4!8&4\"&4#M?$w%y"
|
|
145
|
-
];
|
|
146
|
-
|
|
147
|
-
//#endregion
|
|
148
|
-
exports.__ΩBabelPluginPass = __ΩBabelPluginPass;
|
|
149
|
-
exports.__ΩBabelTransformPlugin = __ΩBabelTransformPlugin;
|
|
150
|
-
exports.__ΩBabelTransformPluginBuilder = __ΩBabelTransformPluginBuilder;
|
|
151
|
-
exports.__ΩBabelTransformPluginBuilderParams = __ΩBabelTransformPluginBuilderParams;
|
|
152
|
-
exports.__ΩBabelTransformPluginFilter = __ΩBabelTransformPluginFilter;
|
|
153
|
-
exports.__ΩBabelTransformPluginOptions = __ΩBabelTransformPluginOptions;
|
|
154
|
-
exports.__ΩDeclareBabelTransformPluginReturn = __ΩDeclareBabelTransformPluginReturn;
|
|
155
|
-
exports.__ΩImportSpecifier = __ΩImportSpecifier;
|
|
156
|
-
exports.__ΩResolvedBabelTransformPluginOptions = __ΩResolvedBabelTransformPluginOptions;
|
|
@@ -1,147 +0,0 @@
|
|
|
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 };
|