@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
|
@@ -1,627 +0,0 @@
|
|
|
1
|
-
import { createRequire } from "node:module";
|
|
2
|
-
import { delimiter, dirname, normalize, resolve } from "node:path";
|
|
3
|
-
import { cwd } from "node:process";
|
|
4
|
-
import { PassThrough } from "node:stream";
|
|
5
|
-
import { spawn } from "node:child_process";
|
|
6
|
-
import c from "node:readline";
|
|
7
|
-
|
|
8
|
-
//#region ../../node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.js
|
|
9
|
-
var l = Object.create;
|
|
10
|
-
var u = Object.defineProperty;
|
|
11
|
-
var d = Object.getOwnPropertyDescriptor;
|
|
12
|
-
var f = Object.getOwnPropertyNames;
|
|
13
|
-
var p = Object.getPrototypeOf;
|
|
14
|
-
var m = Object.prototype.hasOwnProperty;
|
|
15
|
-
var h = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports);
|
|
16
|
-
var g = (e, t, n, r) => {
|
|
17
|
-
if (t && typeof t === "object" || typeof t === "function") for (var i = f(t), a = 0, o = i.length, s; a < o; a++) {
|
|
18
|
-
s = i[a];
|
|
19
|
-
if (!m.call(e, s) && s !== n) u(e, s, {
|
|
20
|
-
get: ((e$1) => t[e$1]).bind(null, s),
|
|
21
|
-
enumerable: !(r = d(t, s)) || r.enumerable
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
return e;
|
|
25
|
-
};
|
|
26
|
-
var _ = (e, t, n) => (n = e != null ? l(p(e)) : {}, g(t || !e || !e.__esModule ? u(n, "default", {
|
|
27
|
-
value: e,
|
|
28
|
-
enumerable: true
|
|
29
|
-
}) : n, e));
|
|
30
|
-
var v = /* @__PURE__ */ createRequire(import.meta.url);
|
|
31
|
-
const y = /^path$/i;
|
|
32
|
-
const b = {
|
|
33
|
-
key: "PATH",
|
|
34
|
-
value: ""
|
|
35
|
-
};
|
|
36
|
-
function x(e) {
|
|
37
|
-
for (const t in e) {
|
|
38
|
-
if (!Object.prototype.hasOwnProperty.call(e, t) || !y.test(t)) continue;
|
|
39
|
-
const n = e[t];
|
|
40
|
-
if (!n) return b;
|
|
41
|
-
return {
|
|
42
|
-
key: t,
|
|
43
|
-
value: n
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
return b;
|
|
47
|
-
}
|
|
48
|
-
function S(e, t) {
|
|
49
|
-
const i = t.value.split(delimiter);
|
|
50
|
-
let o = e;
|
|
51
|
-
let s;
|
|
52
|
-
do {
|
|
53
|
-
i.push(resolve(o, "node_modules", ".bin"));
|
|
54
|
-
s = o;
|
|
55
|
-
o = dirname(o);
|
|
56
|
-
} while (o !== s);
|
|
57
|
-
return {
|
|
58
|
-
key: t.key,
|
|
59
|
-
value: i.join(delimiter)
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
function C(e, t) {
|
|
63
|
-
const n = {
|
|
64
|
-
...process.env,
|
|
65
|
-
...t
|
|
66
|
-
};
|
|
67
|
-
const r = S(e, x(n));
|
|
68
|
-
n[r.key] = r.value;
|
|
69
|
-
return n;
|
|
70
|
-
}
|
|
71
|
-
const w = (e) => {
|
|
72
|
-
let t = e.length;
|
|
73
|
-
const n = new PassThrough();
|
|
74
|
-
const r = () => {
|
|
75
|
-
if (--t === 0) n.emit("end");
|
|
76
|
-
};
|
|
77
|
-
for (const t$1 of e) {
|
|
78
|
-
t$1.pipe(n, { end: false });
|
|
79
|
-
t$1.on("end", r);
|
|
80
|
-
}
|
|
81
|
-
return n;
|
|
82
|
-
};
|
|
83
|
-
var T = h((exports, t) => {
|
|
84
|
-
t.exports = a;
|
|
85
|
-
a.sync = o;
|
|
86
|
-
var n = v("fs");
|
|
87
|
-
function r(e, t$1) {
|
|
88
|
-
var n$1 = t$1.pathExt !== void 0 ? t$1.pathExt : process.env.PATHEXT;
|
|
89
|
-
if (!n$1) return true;
|
|
90
|
-
n$1 = n$1.split(";");
|
|
91
|
-
if (n$1.indexOf("") !== -1) return true;
|
|
92
|
-
for (var r$1 = 0; r$1 < n$1.length; r$1++) {
|
|
93
|
-
var i$1 = n$1[r$1].toLowerCase();
|
|
94
|
-
if (i$1 && e.substr(-i$1.length).toLowerCase() === i$1) return true;
|
|
95
|
-
}
|
|
96
|
-
return false;
|
|
97
|
-
}
|
|
98
|
-
function i(e, t$1, n$1) {
|
|
99
|
-
if (!e.isSymbolicLink() && !e.isFile()) return false;
|
|
100
|
-
return r(t$1, n$1);
|
|
101
|
-
}
|
|
102
|
-
function a(e, t$1, r$1) {
|
|
103
|
-
n.stat(e, function(n$1, a$1) {
|
|
104
|
-
r$1(n$1, n$1 ? false : i(a$1, e, t$1));
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
function o(e, t$1) {
|
|
108
|
-
return i(n.statSync(e), e, t$1);
|
|
109
|
-
}
|
|
110
|
-
});
|
|
111
|
-
var E = h((exports, t) => {
|
|
112
|
-
t.exports = r;
|
|
113
|
-
r.sync = i;
|
|
114
|
-
var n = v("fs");
|
|
115
|
-
function r(e, t$1, r$1) {
|
|
116
|
-
n.stat(e, function(e$1, n$1) {
|
|
117
|
-
r$1(e$1, e$1 ? false : a(n$1, t$1));
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
function i(e, t$1) {
|
|
121
|
-
return a(n.statSync(e), t$1);
|
|
122
|
-
}
|
|
123
|
-
function a(e, t$1) {
|
|
124
|
-
return e.isFile() && o(e, t$1);
|
|
125
|
-
}
|
|
126
|
-
function o(e, t$1) {
|
|
127
|
-
var n$1 = e.mode;
|
|
128
|
-
var r$1 = e.uid;
|
|
129
|
-
var i$1 = e.gid;
|
|
130
|
-
var a$1 = t$1.uid !== void 0 ? t$1.uid : process.getuid && process.getuid();
|
|
131
|
-
var o$1 = t$1.gid !== void 0 ? t$1.gid : process.getgid && process.getgid();
|
|
132
|
-
var s = parseInt("100", 8);
|
|
133
|
-
var c$1 = parseInt("010", 8);
|
|
134
|
-
var l$1 = parseInt("001", 8);
|
|
135
|
-
var u$1 = s | c$1;
|
|
136
|
-
return n$1 & l$1 || n$1 & c$1 && i$1 === o$1 || n$1 & s && r$1 === a$1 || n$1 & u$1 && a$1 === 0;
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
var D = h((exports, t) => {
|
|
140
|
-
v("fs");
|
|
141
|
-
var r;
|
|
142
|
-
if (process.platform === "win32" || global.TESTING_WINDOWS) r = T();
|
|
143
|
-
else r = E();
|
|
144
|
-
t.exports = i;
|
|
145
|
-
i.sync = a;
|
|
146
|
-
function i(e, t$1, n) {
|
|
147
|
-
if (typeof t$1 === "function") {
|
|
148
|
-
n = t$1;
|
|
149
|
-
t$1 = {};
|
|
150
|
-
}
|
|
151
|
-
if (!n) {
|
|
152
|
-
if (typeof Promise !== "function") throw new TypeError("callback not provided");
|
|
153
|
-
return new Promise(function(n$1, r$1) {
|
|
154
|
-
i(e, t$1 || {}, function(e$1, t$2) {
|
|
155
|
-
if (e$1) r$1(e$1);
|
|
156
|
-
else n$1(t$2);
|
|
157
|
-
});
|
|
158
|
-
});
|
|
159
|
-
}
|
|
160
|
-
r(e, t$1 || {}, function(e$1, r$1) {
|
|
161
|
-
if (e$1) {
|
|
162
|
-
if (e$1.code === "EACCES" || t$1 && t$1.ignoreErrors) {
|
|
163
|
-
e$1 = null;
|
|
164
|
-
r$1 = false;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
n(e$1, r$1);
|
|
168
|
-
});
|
|
169
|
-
}
|
|
170
|
-
function a(e, t$1) {
|
|
171
|
-
try {
|
|
172
|
-
return r.sync(e, t$1 || {});
|
|
173
|
-
} catch (e$1) {
|
|
174
|
-
if (t$1 && t$1.ignoreErrors || e$1.code === "EACCES") return false;
|
|
175
|
-
else throw e$1;
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
});
|
|
179
|
-
var O = h((exports, t) => {
|
|
180
|
-
const n = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
|
|
181
|
-
const r = v("path");
|
|
182
|
-
const i = n ? ";" : ":";
|
|
183
|
-
const a = D();
|
|
184
|
-
const o = (e) => Object.assign(/* @__PURE__ */ new Error(`not found: ${e}`), { code: "ENOENT" });
|
|
185
|
-
const s = (e, t$1) => {
|
|
186
|
-
const r$1 = t$1.colon || i;
|
|
187
|
-
const a$1 = e.match(/\//) || n && e.match(/\\/) ? [""] : [...n ? [process.cwd()] : [], ...(t$1.path || process.env.PATH || "").split(r$1)];
|
|
188
|
-
const o$1 = n ? t$1.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
|
|
189
|
-
const s$1 = n ? o$1.split(r$1) : [""];
|
|
190
|
-
if (n) {
|
|
191
|
-
if (e.indexOf(".") !== -1 && s$1[0] !== "") s$1.unshift("");
|
|
192
|
-
}
|
|
193
|
-
return {
|
|
194
|
-
pathEnv: a$1,
|
|
195
|
-
pathExt: s$1,
|
|
196
|
-
pathExtExe: o$1
|
|
197
|
-
};
|
|
198
|
-
};
|
|
199
|
-
const c$1 = (e, t$1, n$1) => {
|
|
200
|
-
if (typeof t$1 === "function") {
|
|
201
|
-
n$1 = t$1;
|
|
202
|
-
t$1 = {};
|
|
203
|
-
}
|
|
204
|
-
if (!t$1) t$1 = {};
|
|
205
|
-
const { pathEnv: i$1, pathExt: c$2, pathExtExe: l$2 } = s(e, t$1);
|
|
206
|
-
const u$1 = [];
|
|
207
|
-
const d$1 = (n$2) => new Promise((a$1, s$1) => {
|
|
208
|
-
if (n$2 === i$1.length) return t$1.all && u$1.length ? a$1(u$1) : s$1(o(e));
|
|
209
|
-
const c$3 = i$1[n$2];
|
|
210
|
-
const l$3 = /^".*"$/.test(c$3) ? c$3.slice(1, -1) : c$3;
|
|
211
|
-
const d$2 = r.join(l$3, e);
|
|
212
|
-
a$1(f$1(!l$3 && /^\.[\\\/]/.test(e) ? e.slice(0, 2) + d$2 : d$2, n$2, 0));
|
|
213
|
-
});
|
|
214
|
-
const f$1 = (e$1, n$2, r$1) => new Promise((i$2, o$1) => {
|
|
215
|
-
if (r$1 === c$2.length) return i$2(d$1(n$2 + 1));
|
|
216
|
-
const s$1 = c$2[r$1];
|
|
217
|
-
a(e$1 + s$1, { pathExt: l$2 }, (a$1, o$2) => {
|
|
218
|
-
if (!a$1 && o$2) if (t$1.all) u$1.push(e$1 + s$1);
|
|
219
|
-
else return i$2(e$1 + s$1);
|
|
220
|
-
return i$2(f$1(e$1, n$2, r$1 + 1));
|
|
221
|
-
});
|
|
222
|
-
});
|
|
223
|
-
return n$1 ? d$1(0).then((e$1) => n$1(null, e$1), n$1) : d$1(0);
|
|
224
|
-
};
|
|
225
|
-
const l$1 = (e, t$1) => {
|
|
226
|
-
t$1 = t$1 || {};
|
|
227
|
-
const { pathEnv: n$1, pathExt: i$1, pathExtExe: c$2 } = s(e, t$1);
|
|
228
|
-
const l$2 = [];
|
|
229
|
-
for (let o$1 = 0; o$1 < n$1.length; o$1++) {
|
|
230
|
-
const s$1 = n$1[o$1];
|
|
231
|
-
const u$1 = /^".*"$/.test(s$1) ? s$1.slice(1, -1) : s$1;
|
|
232
|
-
const d$1 = r.join(u$1, e);
|
|
233
|
-
const f$1 = !u$1 && /^\.[\\\/]/.test(e) ? e.slice(0, 2) + d$1 : d$1;
|
|
234
|
-
for (let e$1 = 0; e$1 < i$1.length; e$1++) {
|
|
235
|
-
const n$2 = f$1 + i$1[e$1];
|
|
236
|
-
try {
|
|
237
|
-
if (a.sync(n$2, { pathExt: c$2 })) if (t$1.all) l$2.push(n$2);
|
|
238
|
-
else return n$2;
|
|
239
|
-
} catch (e$2) {}
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
if (t$1.all && l$2.length) return l$2;
|
|
243
|
-
if (t$1.nothrow) return null;
|
|
244
|
-
throw o(e);
|
|
245
|
-
};
|
|
246
|
-
t.exports = c$1;
|
|
247
|
-
c$1.sync = l$1;
|
|
248
|
-
});
|
|
249
|
-
var k = h((exports, t) => {
|
|
250
|
-
const n = (e = {}) => {
|
|
251
|
-
const t$1 = e.env || process.env;
|
|
252
|
-
if ((e.platform || process.platform) !== "win32") return "PATH";
|
|
253
|
-
return Object.keys(t$1).reverse().find((e$1) => e$1.toUpperCase() === "PATH") || "Path";
|
|
254
|
-
};
|
|
255
|
-
t.exports = n;
|
|
256
|
-
t.exports.default = n;
|
|
257
|
-
});
|
|
258
|
-
var A = h((exports, t) => {
|
|
259
|
-
const n = v("path");
|
|
260
|
-
const r = O();
|
|
261
|
-
const i = k();
|
|
262
|
-
function a(e, t$1) {
|
|
263
|
-
const a$1 = e.options.env || process.env;
|
|
264
|
-
const o$1 = process.cwd();
|
|
265
|
-
const s = e.options.cwd != null;
|
|
266
|
-
const c$1 = s && process.chdir !== void 0 && !process.chdir.disabled;
|
|
267
|
-
if (c$1) try {
|
|
268
|
-
process.chdir(e.options.cwd);
|
|
269
|
-
} catch (e$1) {}
|
|
270
|
-
let l$1;
|
|
271
|
-
try {
|
|
272
|
-
l$1 = r.sync(e.command, {
|
|
273
|
-
path: a$1[i({ env: a$1 })],
|
|
274
|
-
pathExt: t$1 ? n.delimiter : void 0
|
|
275
|
-
});
|
|
276
|
-
} catch (e$1) {} finally {
|
|
277
|
-
if (c$1) process.chdir(o$1);
|
|
278
|
-
}
|
|
279
|
-
if (l$1) l$1 = n.resolve(s ? e.options.cwd : "", l$1);
|
|
280
|
-
return l$1;
|
|
281
|
-
}
|
|
282
|
-
function o(e) {
|
|
283
|
-
return a(e) || a(e, true);
|
|
284
|
-
}
|
|
285
|
-
t.exports = o;
|
|
286
|
-
});
|
|
287
|
-
var j = h((exports, t) => {
|
|
288
|
-
const n = /([()\][%!^"`<>&|;, *?])/g;
|
|
289
|
-
function r(e) {
|
|
290
|
-
e = e.replace(n, "^$1");
|
|
291
|
-
return e;
|
|
292
|
-
}
|
|
293
|
-
function i(e, t$1) {
|
|
294
|
-
e = `${e}`;
|
|
295
|
-
e = e.replace(/(\\*)"/g, "$1$1\\\"");
|
|
296
|
-
e = e.replace(/(\\*)$/, "$1$1");
|
|
297
|
-
e = `"${e}"`;
|
|
298
|
-
e = e.replace(n, "^$1");
|
|
299
|
-
if (t$1) e = e.replace(n, "^$1");
|
|
300
|
-
return e;
|
|
301
|
-
}
|
|
302
|
-
t.exports.command = r;
|
|
303
|
-
t.exports.argument = i;
|
|
304
|
-
});
|
|
305
|
-
var M = h((exports, t) => {
|
|
306
|
-
t.exports = /^#!(.*)/;
|
|
307
|
-
});
|
|
308
|
-
var N = h((exports, t) => {
|
|
309
|
-
const n = M();
|
|
310
|
-
t.exports = (e = "") => {
|
|
311
|
-
const t$1 = e.match(n);
|
|
312
|
-
if (!t$1) return null;
|
|
313
|
-
const [r, i] = t$1[0].replace(/#! ?/, "").split(" ");
|
|
314
|
-
const a = r.split("/").pop();
|
|
315
|
-
if (a === "env") return i;
|
|
316
|
-
return i ? `${a} ${i}` : a;
|
|
317
|
-
};
|
|
318
|
-
});
|
|
319
|
-
var P = h((exports, t) => {
|
|
320
|
-
const n = v("fs");
|
|
321
|
-
const r = N();
|
|
322
|
-
function i(e) {
|
|
323
|
-
const t$1 = 150;
|
|
324
|
-
const i$1 = Buffer.alloc(t$1);
|
|
325
|
-
let a;
|
|
326
|
-
try {
|
|
327
|
-
a = n.openSync(e, "r");
|
|
328
|
-
n.readSync(a, i$1, 0, t$1, 0);
|
|
329
|
-
n.closeSync(a);
|
|
330
|
-
} catch (e$1) {}
|
|
331
|
-
return r(i$1.toString());
|
|
332
|
-
}
|
|
333
|
-
t.exports = i;
|
|
334
|
-
});
|
|
335
|
-
var F = h((exports, t) => {
|
|
336
|
-
const n = v("path");
|
|
337
|
-
const r = A();
|
|
338
|
-
const i = j();
|
|
339
|
-
const a = P();
|
|
340
|
-
const o = process.platform === "win32";
|
|
341
|
-
const s = /\.(?:com|exe)$/i;
|
|
342
|
-
const c$1 = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
|
|
343
|
-
function l$1(e) {
|
|
344
|
-
e.file = r(e);
|
|
345
|
-
const t$1 = e.file && a(e.file);
|
|
346
|
-
if (t$1) {
|
|
347
|
-
e.args.unshift(e.file);
|
|
348
|
-
e.command = t$1;
|
|
349
|
-
return r(e);
|
|
350
|
-
}
|
|
351
|
-
return e.file;
|
|
352
|
-
}
|
|
353
|
-
function u$1(e) {
|
|
354
|
-
if (!o) return e;
|
|
355
|
-
const t$1 = l$1(e);
|
|
356
|
-
const r$1 = !s.test(t$1);
|
|
357
|
-
if (e.options.forceShell || r$1) {
|
|
358
|
-
const r$2 = c$1.test(t$1);
|
|
359
|
-
e.command = n.normalize(e.command);
|
|
360
|
-
e.command = i.command(e.command);
|
|
361
|
-
e.args = e.args.map((e$1) => i.argument(e$1, r$2));
|
|
362
|
-
e.args = [
|
|
363
|
-
"/d",
|
|
364
|
-
"/s",
|
|
365
|
-
"/c",
|
|
366
|
-
`"${[e.command].concat(e.args).join(" ")}"`
|
|
367
|
-
];
|
|
368
|
-
e.command = process.env.comspec || "cmd.exe";
|
|
369
|
-
e.options.windowsVerbatimArguments = true;
|
|
370
|
-
}
|
|
371
|
-
return e;
|
|
372
|
-
}
|
|
373
|
-
function d$1(e, t$1, n$1) {
|
|
374
|
-
if (t$1 && !Array.isArray(t$1)) {
|
|
375
|
-
n$1 = t$1;
|
|
376
|
-
t$1 = null;
|
|
377
|
-
}
|
|
378
|
-
t$1 = t$1 ? t$1.slice(0) : [];
|
|
379
|
-
n$1 = Object.assign({}, n$1);
|
|
380
|
-
const r$1 = {
|
|
381
|
-
command: e,
|
|
382
|
-
args: t$1,
|
|
383
|
-
options: n$1,
|
|
384
|
-
file: void 0,
|
|
385
|
-
original: {
|
|
386
|
-
command: e,
|
|
387
|
-
args: t$1
|
|
388
|
-
}
|
|
389
|
-
};
|
|
390
|
-
return n$1.shell ? r$1 : u$1(r$1);
|
|
391
|
-
}
|
|
392
|
-
t.exports = d$1;
|
|
393
|
-
});
|
|
394
|
-
var I = h((exports, t) => {
|
|
395
|
-
const n = process.platform === "win32";
|
|
396
|
-
function r(e, t$1) {
|
|
397
|
-
return Object.assign(/* @__PURE__ */ new Error(`${t$1} ${e.command} ENOENT`), {
|
|
398
|
-
code: "ENOENT",
|
|
399
|
-
errno: "ENOENT",
|
|
400
|
-
syscall: `${t$1} ${e.command}`,
|
|
401
|
-
path: e.command,
|
|
402
|
-
spawnargs: e.args
|
|
403
|
-
});
|
|
404
|
-
}
|
|
405
|
-
function i(e, t$1) {
|
|
406
|
-
if (!n) return;
|
|
407
|
-
const r$1 = e.emit;
|
|
408
|
-
e.emit = function(n$1, i$1) {
|
|
409
|
-
if (n$1 === "exit") {
|
|
410
|
-
const n$2 = a(i$1, t$1, "spawn");
|
|
411
|
-
if (n$2) return r$1.call(e, "error", n$2);
|
|
412
|
-
}
|
|
413
|
-
return r$1.apply(e, arguments);
|
|
414
|
-
};
|
|
415
|
-
}
|
|
416
|
-
function a(e, t$1) {
|
|
417
|
-
if (n && e === 1 && !t$1.file) return r(t$1.original, "spawn");
|
|
418
|
-
return null;
|
|
419
|
-
}
|
|
420
|
-
function o(e, t$1) {
|
|
421
|
-
if (n && e === 1 && !t$1.file) return r(t$1.original, "spawnSync");
|
|
422
|
-
return null;
|
|
423
|
-
}
|
|
424
|
-
t.exports = {
|
|
425
|
-
hookChildProcess: i,
|
|
426
|
-
verifyENOENT: a,
|
|
427
|
-
verifyENOENTSync: o,
|
|
428
|
-
notFoundError: r
|
|
429
|
-
};
|
|
430
|
-
});
|
|
431
|
-
var R = _(h((exports, t) => {
|
|
432
|
-
const n = v("child_process");
|
|
433
|
-
const r = F();
|
|
434
|
-
const i = I();
|
|
435
|
-
function a(e, t$1, a$1) {
|
|
436
|
-
const o$1 = r(e, t$1, a$1);
|
|
437
|
-
const s = n.spawn(o$1.command, o$1.args, o$1.options);
|
|
438
|
-
i.hookChildProcess(s, o$1);
|
|
439
|
-
return s;
|
|
440
|
-
}
|
|
441
|
-
function o(e, t$1, a$1) {
|
|
442
|
-
const o$1 = r(e, t$1, a$1);
|
|
443
|
-
const s = n.spawnSync(o$1.command, o$1.args, o$1.options);
|
|
444
|
-
s.error = s.error || i.verifyENOENTSync(s.status, o$1);
|
|
445
|
-
return s;
|
|
446
|
-
}
|
|
447
|
-
t.exports = a;
|
|
448
|
-
t.exports.spawn = a;
|
|
449
|
-
t.exports.sync = o;
|
|
450
|
-
t.exports._parse = r;
|
|
451
|
-
t.exports._enoent = i;
|
|
452
|
-
})(), 1);
|
|
453
|
-
var z = class extends Error {
|
|
454
|
-
result;
|
|
455
|
-
output;
|
|
456
|
-
get exitCode() {
|
|
457
|
-
if (this.result.exitCode !== null) return this.result.exitCode;
|
|
458
|
-
}
|
|
459
|
-
constructor(e, t) {
|
|
460
|
-
super(`Process exited with non-zero status (${e.exitCode})`);
|
|
461
|
-
this.result = e;
|
|
462
|
-
this.output = t;
|
|
463
|
-
}
|
|
464
|
-
};
|
|
465
|
-
const B = {
|
|
466
|
-
timeout: void 0,
|
|
467
|
-
persist: false
|
|
468
|
-
};
|
|
469
|
-
const V = { windowsHide: true };
|
|
470
|
-
function H(e, t) {
|
|
471
|
-
return {
|
|
472
|
-
command: normalize(e),
|
|
473
|
-
args: t ?? []
|
|
474
|
-
};
|
|
475
|
-
}
|
|
476
|
-
function U(e) {
|
|
477
|
-
const t = new AbortController();
|
|
478
|
-
for (const n of e) {
|
|
479
|
-
if (n.aborted) {
|
|
480
|
-
t.abort();
|
|
481
|
-
return n;
|
|
482
|
-
}
|
|
483
|
-
const e$1 = () => {
|
|
484
|
-
t.abort(n.reason);
|
|
485
|
-
};
|
|
486
|
-
n.addEventListener("abort", e$1, { signal: t.signal });
|
|
487
|
-
}
|
|
488
|
-
return t.signal;
|
|
489
|
-
}
|
|
490
|
-
async function W(e) {
|
|
491
|
-
let t = "";
|
|
492
|
-
for await (const n of e) t += n.toString();
|
|
493
|
-
return t;
|
|
494
|
-
}
|
|
495
|
-
var G = class {
|
|
496
|
-
_process;
|
|
497
|
-
_aborted = false;
|
|
498
|
-
_options;
|
|
499
|
-
_command;
|
|
500
|
-
_args;
|
|
501
|
-
_resolveClose;
|
|
502
|
-
_processClosed;
|
|
503
|
-
_thrownError;
|
|
504
|
-
get process() {
|
|
505
|
-
return this._process;
|
|
506
|
-
}
|
|
507
|
-
get pid() {
|
|
508
|
-
return this._process?.pid;
|
|
509
|
-
}
|
|
510
|
-
get exitCode() {
|
|
511
|
-
if (this._process && this._process.exitCode !== null) return this._process.exitCode;
|
|
512
|
-
}
|
|
513
|
-
constructor(e, t, n) {
|
|
514
|
-
this._options = {
|
|
515
|
-
...B,
|
|
516
|
-
...n
|
|
517
|
-
};
|
|
518
|
-
this._command = e;
|
|
519
|
-
this._args = t ?? [];
|
|
520
|
-
this._processClosed = new Promise((e$1) => {
|
|
521
|
-
this._resolveClose = e$1;
|
|
522
|
-
});
|
|
523
|
-
}
|
|
524
|
-
kill(e) {
|
|
525
|
-
return this._process?.kill(e) === true;
|
|
526
|
-
}
|
|
527
|
-
get aborted() {
|
|
528
|
-
return this._aborted;
|
|
529
|
-
}
|
|
530
|
-
get killed() {
|
|
531
|
-
return this._process?.killed === true;
|
|
532
|
-
}
|
|
533
|
-
pipe(e, t, n) {
|
|
534
|
-
return q(e, t, {
|
|
535
|
-
...n,
|
|
536
|
-
stdin: this
|
|
537
|
-
});
|
|
538
|
-
}
|
|
539
|
-
async *[Symbol.asyncIterator]() {
|
|
540
|
-
const e = this._process;
|
|
541
|
-
if (!e) return;
|
|
542
|
-
const t = [];
|
|
543
|
-
if (this._streamErr) t.push(this._streamErr);
|
|
544
|
-
if (this._streamOut) t.push(this._streamOut);
|
|
545
|
-
const n = w(t);
|
|
546
|
-
const r = c.createInterface({ input: n });
|
|
547
|
-
for await (const e$1 of r) yield e$1.toString();
|
|
548
|
-
await this._processClosed;
|
|
549
|
-
e.removeAllListeners();
|
|
550
|
-
if (this._thrownError) throw this._thrownError;
|
|
551
|
-
if (this._options?.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0) throw new z(this);
|
|
552
|
-
}
|
|
553
|
-
async _waitForOutput() {
|
|
554
|
-
const e = this._process;
|
|
555
|
-
if (!e) throw new Error("No process was started");
|
|
556
|
-
const [t, n] = await Promise.all([this._streamOut ? W(this._streamOut) : "", this._streamErr ? W(this._streamErr) : ""]);
|
|
557
|
-
await this._processClosed;
|
|
558
|
-
if (this._options?.stdin) await this._options.stdin;
|
|
559
|
-
e.removeAllListeners();
|
|
560
|
-
if (this._thrownError) throw this._thrownError;
|
|
561
|
-
const r = {
|
|
562
|
-
stderr: n,
|
|
563
|
-
stdout: t,
|
|
564
|
-
exitCode: this.exitCode
|
|
565
|
-
};
|
|
566
|
-
if (this._options.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0) throw new z(this, r);
|
|
567
|
-
return r;
|
|
568
|
-
}
|
|
569
|
-
then(e, t) {
|
|
570
|
-
return this._waitForOutput().then(e, t);
|
|
571
|
-
}
|
|
572
|
-
_streamOut;
|
|
573
|
-
_streamErr;
|
|
574
|
-
spawn() {
|
|
575
|
-
const e = cwd();
|
|
576
|
-
const n = this._options;
|
|
577
|
-
const r = {
|
|
578
|
-
...V,
|
|
579
|
-
...n.nodeOptions
|
|
580
|
-
};
|
|
581
|
-
const i = [];
|
|
582
|
-
this._resetState();
|
|
583
|
-
if (n.timeout !== void 0) i.push(AbortSignal.timeout(n.timeout));
|
|
584
|
-
if (n.signal !== void 0) i.push(n.signal);
|
|
585
|
-
if (n.persist === true) r.detached = true;
|
|
586
|
-
if (i.length > 0) r.signal = U(i);
|
|
587
|
-
r.env = C(e, r.env);
|
|
588
|
-
const { command: a, args: s } = H(this._command, this._args);
|
|
589
|
-
const c$1 = (0, R._parse)(a, s, r);
|
|
590
|
-
const l$1 = spawn(c$1.command, c$1.args, c$1.options);
|
|
591
|
-
if (l$1.stderr) this._streamErr = l$1.stderr;
|
|
592
|
-
if (l$1.stdout) this._streamOut = l$1.stdout;
|
|
593
|
-
this._process = l$1;
|
|
594
|
-
l$1.once("error", this._onError);
|
|
595
|
-
l$1.once("close", this._onClose);
|
|
596
|
-
if (n.stdin !== void 0 && l$1.stdin && n.stdin.process) {
|
|
597
|
-
const { stdout: e$1 } = n.stdin.process;
|
|
598
|
-
if (e$1) e$1.pipe(l$1.stdin);
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
_resetState() {
|
|
602
|
-
this._aborted = false;
|
|
603
|
-
this._processClosed = new Promise((e) => {
|
|
604
|
-
this._resolveClose = e;
|
|
605
|
-
});
|
|
606
|
-
this._thrownError = void 0;
|
|
607
|
-
}
|
|
608
|
-
_onError = (e) => {
|
|
609
|
-
if (e.name === "AbortError" && (!(e.cause instanceof Error) || e.cause.name !== "TimeoutError")) {
|
|
610
|
-
this._aborted = true;
|
|
611
|
-
return;
|
|
612
|
-
}
|
|
613
|
-
this._thrownError = e;
|
|
614
|
-
};
|
|
615
|
-
_onClose = () => {
|
|
616
|
-
if (this._resolveClose) this._resolveClose();
|
|
617
|
-
};
|
|
618
|
-
};
|
|
619
|
-
const K = (e, t, n) => {
|
|
620
|
-
const r = new G(e, t, n);
|
|
621
|
-
r.spawn();
|
|
622
|
-
return r;
|
|
623
|
-
};
|
|
624
|
-
const q = K;
|
|
625
|
-
|
|
626
|
-
//#endregion
|
|
627
|
-
export { K };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{packages/plugin-alloy → plugin-alloy}/src/markdown/components/markdown-file.d.mts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{packages/plugin-alloy → plugin-alloy}/src/typescript/components/builtin-file.d.mts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|