@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,104 +0,0 @@
|
|
|
1
|
-
import { Output as Output$1 } from "./core/components/output.mjs";
|
|
2
|
-
import { renderAsync, traverseOutput } from "@alloy-js/core";
|
|
3
|
-
import { createComponent } from "@alloy-js/core/jsx-runtime";
|
|
4
|
-
import { StormJSON } from "@stryke/json/storm-json";
|
|
5
|
-
import alloy from "@alloy-js/rollup-plugin";
|
|
6
|
-
|
|
7
|
-
//#region ../plugin-alloy/src/index.tsx
|
|
8
|
-
/**
|
|
9
|
-
* Alloy-js plugin for Powerlines.
|
|
10
|
-
*
|
|
11
|
-
* @param options - The Alloy-js plugin user configuration options.
|
|
12
|
-
* @returns A Powerlines plugin that integrates Alloy-js transformations.
|
|
13
|
-
*/
|
|
14
|
-
const plugin = (options = {}) => {
|
|
15
|
-
return [{
|
|
16
|
-
name: "alloy:config",
|
|
17
|
-
config() {
|
|
18
|
-
return {
|
|
19
|
-
alloy: {
|
|
20
|
-
typescript: true,
|
|
21
|
-
...options
|
|
22
|
-
},
|
|
23
|
-
build: {
|
|
24
|
-
inputOptions: { transform: {
|
|
25
|
-
typescript: {
|
|
26
|
-
jsxPragma: "Alloy.createElement",
|
|
27
|
-
jsxPragmaFrag: "Alloy.Fragment"
|
|
28
|
-
},
|
|
29
|
-
jsx: {
|
|
30
|
-
runtime: "classic",
|
|
31
|
-
pragma: "Alloy.createElement",
|
|
32
|
-
pragmaFrag: "Alloy.Fragment",
|
|
33
|
-
importSource: "@alloy-js/core"
|
|
34
|
-
}
|
|
35
|
-
} },
|
|
36
|
-
plugins: [alloy()],
|
|
37
|
-
external: [
|
|
38
|
-
"@alloy-js/core",
|
|
39
|
-
"@alloy-js/typescript",
|
|
40
|
-
"@alloy-js/json",
|
|
41
|
-
"@alloy-js/markdown"
|
|
42
|
-
]
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
},
|
|
46
|
-
async configResolved() {
|
|
47
|
-
if (this.tsconfig.tsconfigJson.compilerOptions?.jsx !== "preserve" || this.tsconfig.tsconfigJson.compilerOptions?.jsxImportSource !== "@alloy-js/core") {
|
|
48
|
-
this.tsconfig.tsconfigJson.compilerOptions ??= {};
|
|
49
|
-
if (this.tsconfig.tsconfigJson.compilerOptions.jsx !== "preserve") this.tsconfig.tsconfigJson.compilerOptions.jsx = "preserve";
|
|
50
|
-
if (this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource !== "@alloy-js/core") this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource = "@alloy-js/core";
|
|
51
|
-
await this.fs.write(this.tsconfig.tsconfigFilePath, StormJSON.stringify(this.tsconfig.tsconfigJson));
|
|
52
|
-
}
|
|
53
|
-
this.dependencies["@alloy-js/core"] = "^0.22.0";
|
|
54
|
-
if (this.config.alloy?.typescript !== false) this.dependencies["@alloy-js/typescript"] = "^0.22.0";
|
|
55
|
-
if (this.config.alloy?.json === true) this.dependencies["@alloy-js/json"] = "^0.22.0";
|
|
56
|
-
if (this.config.alloy?.markdown === true) this.dependencies["@alloy-js/markdown"] = "^0.22.0";
|
|
57
|
-
}
|
|
58
|
-
}, {
|
|
59
|
-
name: "alloy:update-context",
|
|
60
|
-
configResolved: {
|
|
61
|
-
order: "pre",
|
|
62
|
-
async handler() {
|
|
63
|
-
this.render = async (children) => {
|
|
64
|
-
const _self$ = this;
|
|
65
|
-
const meta = {};
|
|
66
|
-
await traverseOutput(await renderAsync(createComponent(Output$1, {
|
|
67
|
-
context: _self$,
|
|
68
|
-
meta,
|
|
69
|
-
get basePath() {
|
|
70
|
-
return _self$.workspaceConfig.workspaceRoot;
|
|
71
|
-
},
|
|
72
|
-
children
|
|
73
|
-
})), {
|
|
74
|
-
visitDirectory: (directory) => {
|
|
75
|
-
if (this.fs.existsSync(directory.path)) return;
|
|
76
|
-
this.fs.mkdirSync(directory.path);
|
|
77
|
-
},
|
|
78
|
-
visitFile: (file) => {
|
|
79
|
-
if ("contents" in file) {
|
|
80
|
-
const metadata = meta[file.path] ?? {};
|
|
81
|
-
if (metadata.kind === "builtin") {
|
|
82
|
-
if (!metadata.id) throw new Error(`Built-in file "${file.path}" is missing its ID in the render metadata.`);
|
|
83
|
-
this.emitBuiltinSync(file.contents, metadata.id, file.path, {
|
|
84
|
-
skipFormat: metadata.skipFormat,
|
|
85
|
-
storage: metadata.storage
|
|
86
|
-
});
|
|
87
|
-
} else if (metadata.kind === "entry") this.emitEntrySync(file.contents, file.path, {
|
|
88
|
-
skipFormat: metadata.skipFormat,
|
|
89
|
-
storage: metadata.storage,
|
|
90
|
-
...metadata.typeDefinition ?? {}
|
|
91
|
-
});
|
|
92
|
-
else this.emitSync(file.contents, file.path, metadata);
|
|
93
|
-
} else this.fs.copySync(file.sourcePath, file.path);
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}];
|
|
100
|
-
};
|
|
101
|
-
var src_default = plugin;
|
|
102
|
-
|
|
103
|
-
//#endregion
|
|
104
|
-
export { src_default as default };
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_context = require('../../core/contexts/context.cjs');
|
|
3
|
-
const require_single_line_comment = require('../../core/components/single-line-comment.cjs');
|
|
4
|
-
const require_source_file = require('../../core/components/source-file.cjs');
|
|
5
|
-
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
6
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
7
|
-
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
8
|
-
let __alloy_js_markdown = require("@alloy-js/markdown");
|
|
9
|
-
|
|
10
|
-
//#region ../plugin-alloy/src/markdown/components/markdown-file.tsx
|
|
11
|
-
/**
|
|
12
|
-
* A base component representing a Powerlines generated markdown source file.
|
|
13
|
-
*
|
|
14
|
-
* @param props - The properties for the source file.
|
|
15
|
-
* @returns The rendered source file component.
|
|
16
|
-
*/
|
|
17
|
-
function MarkdownFile(props) {
|
|
18
|
-
const [{ children, storage }, rest] = (0, __alloy_js_core.splitProps)(props, ["children", "storage"]);
|
|
19
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_source_file.SourceFile, (0, __alloy_js_core_jsx_runtime.mergeProps)({ get header() {
|
|
20
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(MarkdownFileHeader, {});
|
|
21
|
-
} }, rest, {
|
|
22
|
-
filetype: "md",
|
|
23
|
-
reference: __alloy_js_markdown.Link,
|
|
24
|
-
storage,
|
|
25
|
-
get children() {
|
|
26
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
27
|
-
get when() {
|
|
28
|
-
return Boolean(children);
|
|
29
|
-
},
|
|
30
|
-
children
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
}));
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Renders the header for a Powerlines Typescript source file.
|
|
37
|
-
*
|
|
38
|
-
* @param props - The properties for the source file header.
|
|
39
|
-
* @returns The rendered source file header.
|
|
40
|
-
*/
|
|
41
|
-
function MarkdownFileHeader(props) {
|
|
42
|
-
const [{ children, disableEslint = true, disableBiome = true, disablePrettier = false }] = (0, __alloy_js_core.splitProps)(props, [
|
|
43
|
-
"children",
|
|
44
|
-
"disableEslint",
|
|
45
|
-
"disableBiome",
|
|
46
|
-
"disablePrettier"
|
|
47
|
-
]);
|
|
48
|
-
const context = require_context.usePowerlines();
|
|
49
|
-
return [
|
|
50
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
51
|
-
get when() {
|
|
52
|
-
return Boolean(disableEslint);
|
|
53
|
-
},
|
|
54
|
-
get children() {
|
|
55
|
-
return [(0, __alloy_js_core_jsx_runtime.createComponent)(require_single_line_comment.SingleLineComment, {
|
|
56
|
-
variant: "markdown",
|
|
57
|
-
children: "eslint-disable"
|
|
58
|
-
}), (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})];
|
|
59
|
-
}
|
|
60
|
-
}),
|
|
61
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
62
|
-
get when() {
|
|
63
|
-
return Boolean(disablePrettier);
|
|
64
|
-
},
|
|
65
|
-
get children() {
|
|
66
|
-
return [(0, __alloy_js_core_jsx_runtime.createComponent)(require_single_line_comment.SingleLineComment, {
|
|
67
|
-
variant: "markdown",
|
|
68
|
-
children: "prettier-ignore"
|
|
69
|
-
}), (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})];
|
|
70
|
-
}
|
|
71
|
-
}),
|
|
72
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
73
|
-
get when() {
|
|
74
|
-
return Boolean(disableBiome);
|
|
75
|
-
},
|
|
76
|
-
get children() {
|
|
77
|
-
return [(0, __alloy_js_core_jsx_runtime.createComponent)(require_single_line_comment.SingleLineComment, {
|
|
78
|
-
variant: "markdown",
|
|
79
|
-
children: "biome-ignore lint: disable"
|
|
80
|
-
}), (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})];
|
|
81
|
-
}
|
|
82
|
-
}),
|
|
83
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
84
|
-
get when() {
|
|
85
|
-
return Boolean(disableEslint) || Boolean(disablePrettier) || Boolean(disableBiome);
|
|
86
|
-
},
|
|
87
|
-
get children() {
|
|
88
|
-
return (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {});
|
|
89
|
-
}
|
|
90
|
-
}),
|
|
91
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
92
|
-
get when() {
|
|
93
|
-
return Boolean(children);
|
|
94
|
-
},
|
|
95
|
-
get children() {
|
|
96
|
-
return [children, (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})];
|
|
97
|
-
}
|
|
98
|
-
}),
|
|
99
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(require_single_line_comment.SingleLineComment, {
|
|
100
|
-
variant: "markdown",
|
|
101
|
-
get children() {
|
|
102
|
-
return __alloy_js_core.code`Generated by ${(0, __stryke_string_format_title_case.titleCase)(context?.config.framework) || "Powerlines"}`;
|
|
103
|
-
}
|
|
104
|
-
}),
|
|
105
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
106
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(require_single_line_comment.SingleLineComment, {
|
|
107
|
-
variant: "markdown",
|
|
108
|
-
children: __alloy_js_core.code`NOTE: Do not edit this file manually - it will be overwritten automatically by the "prepare" command`
|
|
109
|
-
}),
|
|
110
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
|
|
111
|
-
];
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
//#endregion
|
|
115
|
-
exports.MarkdownFile = MarkdownFile;
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { usePowerlines } from "../../core/contexts/context.mjs";
|
|
2
|
-
import { SingleLineComment } from "../../core/components/single-line-comment.mjs";
|
|
3
|
-
import { SourceFile } from "../../core/components/source-file.mjs";
|
|
4
|
-
import { titleCase } from "@stryke/string-format/title-case";
|
|
5
|
-
import { Show, code, splitProps } from "@alloy-js/core";
|
|
6
|
-
import { createComponent, createIntrinsic, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
7
|
-
import { Link } from "@alloy-js/markdown";
|
|
8
|
-
|
|
9
|
-
//#region ../plugin-alloy/src/markdown/components/markdown-file.tsx
|
|
10
|
-
/**
|
|
11
|
-
* A base component representing a Powerlines generated markdown source file.
|
|
12
|
-
*
|
|
13
|
-
* @param props - The properties for the source file.
|
|
14
|
-
* @returns The rendered source file component.
|
|
15
|
-
*/
|
|
16
|
-
function MarkdownFile(props) {
|
|
17
|
-
const [{ children, storage }, rest] = splitProps(props, ["children", "storage"]);
|
|
18
|
-
return createComponent(SourceFile, mergeProps({ get header() {
|
|
19
|
-
return createComponent(MarkdownFileHeader, {});
|
|
20
|
-
} }, rest, {
|
|
21
|
-
filetype: "md",
|
|
22
|
-
reference: Link,
|
|
23
|
-
storage,
|
|
24
|
-
get children() {
|
|
25
|
-
return createComponent(Show, {
|
|
26
|
-
get when() {
|
|
27
|
-
return Boolean(children);
|
|
28
|
-
},
|
|
29
|
-
children
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
}));
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Renders the header for a Powerlines Typescript source file.
|
|
36
|
-
*
|
|
37
|
-
* @param props - The properties for the source file header.
|
|
38
|
-
* @returns The rendered source file header.
|
|
39
|
-
*/
|
|
40
|
-
function MarkdownFileHeader(props) {
|
|
41
|
-
const [{ children, disableEslint = true, disableBiome = true, disablePrettier = false }] = splitProps(props, [
|
|
42
|
-
"children",
|
|
43
|
-
"disableEslint",
|
|
44
|
-
"disableBiome",
|
|
45
|
-
"disablePrettier"
|
|
46
|
-
]);
|
|
47
|
-
const context = usePowerlines();
|
|
48
|
-
return [
|
|
49
|
-
createComponent(Show, {
|
|
50
|
-
get when() {
|
|
51
|
-
return Boolean(disableEslint);
|
|
52
|
-
},
|
|
53
|
-
get children() {
|
|
54
|
-
return [createComponent(SingleLineComment, {
|
|
55
|
-
variant: "markdown",
|
|
56
|
-
children: "eslint-disable"
|
|
57
|
-
}), createIntrinsic("hbr", {})];
|
|
58
|
-
}
|
|
59
|
-
}),
|
|
60
|
-
createComponent(Show, {
|
|
61
|
-
get when() {
|
|
62
|
-
return Boolean(disablePrettier);
|
|
63
|
-
},
|
|
64
|
-
get children() {
|
|
65
|
-
return [createComponent(SingleLineComment, {
|
|
66
|
-
variant: "markdown",
|
|
67
|
-
children: "prettier-ignore"
|
|
68
|
-
}), createIntrinsic("hbr", {})];
|
|
69
|
-
}
|
|
70
|
-
}),
|
|
71
|
-
createComponent(Show, {
|
|
72
|
-
get when() {
|
|
73
|
-
return Boolean(disableBiome);
|
|
74
|
-
},
|
|
75
|
-
get children() {
|
|
76
|
-
return [createComponent(SingleLineComment, {
|
|
77
|
-
variant: "markdown",
|
|
78
|
-
children: "biome-ignore lint: disable"
|
|
79
|
-
}), createIntrinsic("hbr", {})];
|
|
80
|
-
}
|
|
81
|
-
}),
|
|
82
|
-
createComponent(Show, {
|
|
83
|
-
get when() {
|
|
84
|
-
return Boolean(disableEslint) || Boolean(disablePrettier) || Boolean(disableBiome);
|
|
85
|
-
},
|
|
86
|
-
get children() {
|
|
87
|
-
return createIntrinsic("hbr", {});
|
|
88
|
-
}
|
|
89
|
-
}),
|
|
90
|
-
createComponent(Show, {
|
|
91
|
-
get when() {
|
|
92
|
-
return Boolean(children);
|
|
93
|
-
},
|
|
94
|
-
get children() {
|
|
95
|
-
return [children, createIntrinsic("hbr", {})];
|
|
96
|
-
}
|
|
97
|
-
}),
|
|
98
|
-
createComponent(SingleLineComment, {
|
|
99
|
-
variant: "markdown",
|
|
100
|
-
get children() {
|
|
101
|
-
return code`Generated by ${titleCase(context?.config.framework) || "Powerlines"}`;
|
|
102
|
-
}
|
|
103
|
-
}),
|
|
104
|
-
createIntrinsic("hbr", {}),
|
|
105
|
-
createComponent(SingleLineComment, {
|
|
106
|
-
variant: "markdown",
|
|
107
|
-
children: code`NOTE: Do not edit this file manually - it will be overwritten automatically by the "prepare" command`
|
|
108
|
-
}),
|
|
109
|
-
createIntrinsic("hbr", {})
|
|
110
|
-
];
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
//#endregion
|
|
114
|
-
export { MarkdownFile };
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_markdown_table = require('../contexts/markdown-table.cjs');
|
|
3
|
-
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
4
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
5
|
-
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
6
|
-
let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
|
|
7
|
-
|
|
8
|
-
//#region ../plugin-alloy/src/markdown/components/markdown-table.tsx
|
|
9
|
-
/**
|
|
10
|
-
* Component that provides a context for rendering markdown tables.
|
|
11
|
-
*/
|
|
12
|
-
function MarkdownTable(props) {
|
|
13
|
-
const [{ children, data }] = (0, __alloy_js_core.splitProps)(props, ["children", "data"]);
|
|
14
|
-
const columns = (0, __alloy_js_core.computed)(() => Object.keys(data).map((name, index) => ({
|
|
15
|
-
index,
|
|
16
|
-
name,
|
|
17
|
-
align: "left",
|
|
18
|
-
width: 20
|
|
19
|
-
})));
|
|
20
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_markdown_table.MarkdownTableContext.Provider, {
|
|
21
|
-
get value() {
|
|
22
|
-
return {
|
|
23
|
-
columns: columns.value,
|
|
24
|
-
data
|
|
25
|
-
};
|
|
26
|
-
},
|
|
27
|
-
get children() {
|
|
28
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
29
|
-
get when() {
|
|
30
|
-
return Boolean(children);
|
|
31
|
-
},
|
|
32
|
-
children
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
//#endregion
|
|
39
|
-
exports.MarkdownTable = MarkdownTable;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { MarkdownTableContext } from "../contexts/markdown-table.mjs";
|
|
2
|
-
import { titleCase } from "@stryke/string-format/title-case";
|
|
3
|
-
import { Prose, Show, code, computed, splitProps } from "@alloy-js/core";
|
|
4
|
-
import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
5
|
-
import { isUndefined } from "@stryke/type-checks/is-undefined";
|
|
6
|
-
|
|
7
|
-
//#region ../plugin-alloy/src/markdown/components/markdown-table.tsx
|
|
8
|
-
/**
|
|
9
|
-
* Component that provides a context for rendering markdown tables.
|
|
10
|
-
*/
|
|
11
|
-
function MarkdownTable(props) {
|
|
12
|
-
const [{ children, data }] = splitProps(props, ["children", "data"]);
|
|
13
|
-
const columns = computed(() => Object.keys(data).map((name, index) => ({
|
|
14
|
-
index,
|
|
15
|
-
name,
|
|
16
|
-
align: "left",
|
|
17
|
-
width: 20
|
|
18
|
-
})));
|
|
19
|
-
return createComponent(MarkdownTableContext.Provider, {
|
|
20
|
-
get value() {
|
|
21
|
-
return {
|
|
22
|
-
columns: columns.value,
|
|
23
|
-
data
|
|
24
|
-
};
|
|
25
|
-
},
|
|
26
|
-
get children() {
|
|
27
|
-
return createComponent(Show, {
|
|
28
|
-
get when() {
|
|
29
|
-
return Boolean(children);
|
|
30
|
-
},
|
|
31
|
-
children
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
//#endregion
|
|
38
|
-
export { MarkdownTable };
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
3
|
-
|
|
4
|
-
//#region ../plugin-alloy/src/markdown/contexts/markdown-table.ts
|
|
5
|
-
const __ΩRecord = [
|
|
6
|
-
"K",
|
|
7
|
-
"T",
|
|
8
|
-
"Record",
|
|
9
|
-
"l'e#\"Rb!b\"Pde\"!N#!w#y"
|
|
10
|
-
];
|
|
11
|
-
const __ΩMarkdownTableColumnContextInterface = [
|
|
12
|
-
() => __ΩRecord,
|
|
13
|
-
"T",
|
|
14
|
-
"index",
|
|
15
|
-
"name",
|
|
16
|
-
"left",
|
|
17
|
-
"right",
|
|
18
|
-
"center",
|
|
19
|
-
"align",
|
|
20
|
-
"width",
|
|
21
|
-
"MarkdownTableColumnContextInterface",
|
|
22
|
-
"&\"o!#c\"P'4#e\"!g4$P.%.&.'J4('4)Mw*y"
|
|
23
|
-
];
|
|
24
|
-
/**
|
|
25
|
-
* The Powerlines context used in template rendering.
|
|
26
|
-
*/
|
|
27
|
-
const MarkdownTableColumnContext = (__alloy_js_core.createNamedContext.Ω = [[() => __ΩMarkdownTableColumnContextInterface, "n!"]], (0, __alloy_js_core.createNamedContext)("markdown-table-column", {}));
|
|
28
|
-
/**
|
|
29
|
-
* Hook to access the Powerlines Context.
|
|
30
|
-
*
|
|
31
|
-
* @returns The Context.
|
|
32
|
-
*/
|
|
33
|
-
function useMarkdownTableColumn() {
|
|
34
|
-
return __alloy_js_core.useContext.Ω = [[() => __ΩMarkdownTableColumnContextInterface, "n!"]], (0, __alloy_js_core.useContext)(MarkdownTableColumnContext);
|
|
35
|
-
}
|
|
36
|
-
useMarkdownTableColumn.__type = [
|
|
37
|
-
"useMarkdownTableColumn",
|
|
38
|
-
"Hook to access the Powerlines Context.",
|
|
39
|
-
"P\"/!?\""
|
|
40
|
-
];
|
|
41
|
-
const __ΩMarkdownTableContextInterface = [
|
|
42
|
-
() => __ΩRecord,
|
|
43
|
-
"T",
|
|
44
|
-
() => __ΩMarkdownTableColumnContextInterface,
|
|
45
|
-
"columns",
|
|
46
|
-
"data",
|
|
47
|
-
"MarkdownTableContextInterface",
|
|
48
|
-
"&\"o!#c\"Pe\"!o#\"F4$e\"!F4%Mw&y"
|
|
49
|
-
];
|
|
50
|
-
/**
|
|
51
|
-
* The Powerlines context used in template rendering.
|
|
52
|
-
*/
|
|
53
|
-
const MarkdownTableContext = (__alloy_js_core.createContext.Ω = [[() => __ΩMarkdownTableContextInterface, "n!"]], (0, __alloy_js_core.createContext)({
|
|
54
|
-
columns: [],
|
|
55
|
-
data: []
|
|
56
|
-
}));
|
|
57
|
-
/**
|
|
58
|
-
* Hook to access the Powerlines Context.
|
|
59
|
-
*
|
|
60
|
-
* @returns The Context.
|
|
61
|
-
*/
|
|
62
|
-
function useMarkdownTable() {
|
|
63
|
-
return __alloy_js_core.useContext.Ω = [[() => __ΩMarkdownTableContextInterface, "n!"]], (0, __alloy_js_core.useContext)(MarkdownTableContext);
|
|
64
|
-
}
|
|
65
|
-
useMarkdownTable.__type = [
|
|
66
|
-
"useMarkdownTable",
|
|
67
|
-
"Hook to access the Powerlines Context.",
|
|
68
|
-
"P\"/!?\""
|
|
69
|
-
];
|
|
70
|
-
|
|
71
|
-
//#endregion
|
|
72
|
-
exports.MarkdownTableContext = MarkdownTableContext;
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { createContext, createNamedContext, useContext } from "@alloy-js/core";
|
|
2
|
-
|
|
3
|
-
//#region ../plugin-alloy/src/markdown/contexts/markdown-table.ts
|
|
4
|
-
const __ΩRecord = [
|
|
5
|
-
"K",
|
|
6
|
-
"T",
|
|
7
|
-
"Record",
|
|
8
|
-
"l'e#\"Rb!b\"Pde\"!N#!w#y"
|
|
9
|
-
];
|
|
10
|
-
const __ΩMarkdownTableColumnContextInterface = [
|
|
11
|
-
() => __ΩRecord,
|
|
12
|
-
"T",
|
|
13
|
-
"index",
|
|
14
|
-
"name",
|
|
15
|
-
"left",
|
|
16
|
-
"right",
|
|
17
|
-
"center",
|
|
18
|
-
"align",
|
|
19
|
-
"width",
|
|
20
|
-
"MarkdownTableColumnContextInterface",
|
|
21
|
-
"&\"o!#c\"P'4#e\"!g4$P.%.&.'J4('4)Mw*y"
|
|
22
|
-
];
|
|
23
|
-
/**
|
|
24
|
-
* The Powerlines context used in template rendering.
|
|
25
|
-
*/
|
|
26
|
-
const MarkdownTableColumnContext = (createNamedContext.Ω = [[() => __ΩMarkdownTableColumnContextInterface, "n!"]], createNamedContext("markdown-table-column", {}));
|
|
27
|
-
/**
|
|
28
|
-
* Hook to access the Powerlines Context.
|
|
29
|
-
*
|
|
30
|
-
* @returns The Context.
|
|
31
|
-
*/
|
|
32
|
-
function useMarkdownTableColumn() {
|
|
33
|
-
return useContext.Ω = [[() => __ΩMarkdownTableColumnContextInterface, "n!"]], useContext(MarkdownTableColumnContext);
|
|
34
|
-
}
|
|
35
|
-
useMarkdownTableColumn.__type = [
|
|
36
|
-
"useMarkdownTableColumn",
|
|
37
|
-
"Hook to access the Powerlines Context.",
|
|
38
|
-
"P\"/!?\""
|
|
39
|
-
];
|
|
40
|
-
const __ΩMarkdownTableContextInterface = [
|
|
41
|
-
() => __ΩRecord,
|
|
42
|
-
"T",
|
|
43
|
-
() => __ΩMarkdownTableColumnContextInterface,
|
|
44
|
-
"columns",
|
|
45
|
-
"data",
|
|
46
|
-
"MarkdownTableContextInterface",
|
|
47
|
-
"&\"o!#c\"Pe\"!o#\"F4$e\"!F4%Mw&y"
|
|
48
|
-
];
|
|
49
|
-
/**
|
|
50
|
-
* The Powerlines context used in template rendering.
|
|
51
|
-
*/
|
|
52
|
-
const MarkdownTableContext = (createContext.Ω = [[() => __ΩMarkdownTableContextInterface, "n!"]], createContext({
|
|
53
|
-
columns: [],
|
|
54
|
-
data: []
|
|
55
|
-
}));
|
|
56
|
-
/**
|
|
57
|
-
* Hook to access the Powerlines Context.
|
|
58
|
-
*
|
|
59
|
-
* @returns The Context.
|
|
60
|
-
*/
|
|
61
|
-
function useMarkdownTable() {
|
|
62
|
-
return useContext.Ω = [[() => __ΩMarkdownTableContextInterface, "n!"]], useContext(MarkdownTableContext);
|
|
63
|
-
}
|
|
64
|
-
useMarkdownTable.__type = [
|
|
65
|
-
"useMarkdownTable",
|
|
66
|
-
"Hook to access the Powerlines Context.",
|
|
67
|
-
"P\"/!?\""
|
|
68
|
-
];
|
|
69
|
-
|
|
70
|
-
//#endregion
|
|
71
|
-
export { MarkdownTableContext };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//#region ../plugin-alloy/src/types/components.ts
|
|
3
|
-
const __ΩPartial = [
|
|
4
|
-
"T",
|
|
5
|
-
"Partial",
|
|
6
|
-
"l+e#!e\"!fRb!Pde\"!gN#\"w\"y"
|
|
7
|
-
];
|
|
8
|
-
const __ΩReflectionOverrideInterface = [
|
|
9
|
-
"T",
|
|
10
|
-
"Children",
|
|
11
|
-
"name",
|
|
12
|
-
"type",
|
|
13
|
-
false,
|
|
14
|
-
"extends",
|
|
15
|
-
() => __ΩPartial,
|
|
16
|
-
"defaultValue",
|
|
17
|
-
"ReflectionOverrideInterface",
|
|
18
|
-
"b!PP&\"w\"J4#8P&\"w\"J4$8P&.%J4&8e\"!o'\"4(8Mw)y"
|
|
19
|
-
];
|
|
20
|
-
|
|
21
|
-
//#endregion
|
|
22
|
-
exports.__ΩReflectionOverrideInterface = __ΩReflectionOverrideInterface;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
//#region ../plugin-alloy/src/types/components.ts
|
|
2
|
-
const __ΩPartial = [
|
|
3
|
-
"T",
|
|
4
|
-
"Partial",
|
|
5
|
-
"l+e#!e\"!fRb!Pde\"!gN#\"w\"y"
|
|
6
|
-
];
|
|
7
|
-
const __ΩReflectionOverrideInterface = [
|
|
8
|
-
"T",
|
|
9
|
-
"Children",
|
|
10
|
-
"name",
|
|
11
|
-
"type",
|
|
12
|
-
false,
|
|
13
|
-
"extends",
|
|
14
|
-
() => __ΩPartial,
|
|
15
|
-
"defaultValue",
|
|
16
|
-
"ReflectionOverrideInterface",
|
|
17
|
-
"b!PP&\"w\"J4#8P&\"w\"J4$8P&.%J4&8e\"!o'\"4(8Mw)y"
|
|
18
|
-
];
|
|
19
|
-
|
|
20
|
-
//#endregion
|
|
21
|
-
export { __ΩReflectionOverrideInterface };
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
const require_context = require('../../../powerlines/src/types/context.cjs');
|
|
2
|
-
const require_config = require('../../../powerlines/src/types/config.cjs');
|
|
3
|
-
const require_resolved = require('../../../powerlines/src/types/resolved.cjs');
|
|
4
|
-
|
|
5
|
-
//#region ../plugin-alloy/src/types/plugin.ts
|
|
6
|
-
const __ΩPartial = [
|
|
7
|
-
"T",
|
|
8
|
-
"Partial",
|
|
9
|
-
"l+e#!e\"!fRb!Pde\"!gN#\"w\"y"
|
|
10
|
-
];
|
|
11
|
-
const __ΩAlloyPluginOptions = [
|
|
12
|
-
() => __ΩPartial,
|
|
13
|
-
"PrintTreeOptions",
|
|
14
|
-
"typescript",
|
|
15
|
-
true,
|
|
16
|
-
"If true, the Alloy framework is used to generate Typescript output files.",
|
|
17
|
-
"json",
|
|
18
|
-
"If true, the Alloy framework is used to generate JSON output files.",
|
|
19
|
-
"markdown",
|
|
20
|
-
"If true, the Alloy framework is used to generate Markdown output files.",
|
|
21
|
-
"AlloyPluginOptions",
|
|
22
|
-
"P\"w\"o!\"P)4#8>$?%)4&8>$?')4(8>$?)MKw*y"
|
|
23
|
-
];
|
|
24
|
-
const __ΩAlloyPluginUserConfig = [
|
|
25
|
-
() => require_config.__ΩUserConfig,
|
|
26
|
-
() => __ΩAlloyPluginOptions,
|
|
27
|
-
"alloy",
|
|
28
|
-
"AlloyPluginUserConfig",
|
|
29
|
-
"Pn!Pn\"4#8MKw$y"
|
|
30
|
-
];
|
|
31
|
-
const __ΩAlloyPluginResolvedConfig = [
|
|
32
|
-
() => require_resolved.__ΩResolvedConfig,
|
|
33
|
-
() => __ΩAlloyPluginOptions,
|
|
34
|
-
"alloy",
|
|
35
|
-
"AlloyPluginResolvedConfig",
|
|
36
|
-
"Pn!Pn\"4#MKw$y"
|
|
37
|
-
];
|
|
38
|
-
const __ΩAlloyPluginContext = [
|
|
39
|
-
() => __ΩAlloyPluginResolvedConfig,
|
|
40
|
-
"TResolvedConfig",
|
|
41
|
-
() => require_context.__ΩPluginContext,
|
|
42
|
-
"this",
|
|
43
|
-
"Children",
|
|
44
|
-
"children",
|
|
45
|
-
"",
|
|
46
|
-
"render",
|
|
47
|
-
"AlloyPluginContext",
|
|
48
|
-
"n!c\"Pe\"!o#\"PP\"2$\"w%2&$`/'4(MKw)y"
|
|
49
|
-
];
|
|
50
|
-
|
|
51
|
-
//#endregion
|
|
52
|
-
exports.__ΩAlloyPluginContext = __ΩAlloyPluginContext;
|
|
53
|
-
exports.__ΩAlloyPluginOptions = __ΩAlloyPluginOptions;
|
|
54
|
-
exports.__ΩAlloyPluginResolvedConfig = __ΩAlloyPluginResolvedConfig;
|
|
55
|
-
exports.__ΩAlloyPluginUserConfig = __ΩAlloyPluginUserConfig;
|