@powerlines/core 0.48.31 → 0.48.33
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/{chunk-C_NdSu1c.cjs → _virtual/_rolldown/runtime.cjs} +1 -6
- package/dist/constants/api.d.cts +6 -2
- package/dist/constants/api.d.cts.map +1 -0
- package/dist/constants/api.d.mts +6 -2
- package/dist/constants/api.d.mts.map +1 -0
- package/dist/constants/commands.d.cts +5 -2
- package/dist/constants/commands.d.cts.map +1 -0
- package/dist/constants/commands.d.mts +5 -2
- package/dist/constants/commands.d.mts.map +1 -0
- package/dist/constants/devtools.d.cts +13 -2
- package/dist/constants/devtools.d.cts.map +1 -0
- package/dist/constants/devtools.d.mts +13 -2
- package/dist/constants/devtools.d.mts.map +1 -0
- package/dist/constants/environments.d.cts +10 -2
- package/dist/constants/environments.d.cts.map +1 -0
- package/dist/constants/environments.d.mts +10 -2
- package/dist/constants/environments.d.mts.map +1 -0
- package/dist/constants/extensions.d.cts +5 -2
- package/dist/constants/extensions.d.cts.map +1 -0
- package/dist/constants/extensions.d.mts +5 -2
- package/dist/constants/extensions.d.mts.map +1 -0
- package/dist/constants/fs.d.cts +7 -2
- package/dist/constants/fs.d.cts.map +1 -0
- package/dist/constants/fs.d.mts +7 -2
- package/dist/constants/fs.d.mts.map +1 -0
- package/dist/constants/hooks.d.cts +5 -2
- package/dist/constants/hooks.d.cts.map +1 -0
- package/dist/constants/hooks.d.mts +5 -2
- package/dist/constants/hooks.d.mts.map +1 -0
- package/dist/constants/index.d.cts +10 -10
- package/dist/constants/index.d.mts +10 -10
- package/dist/constants/log-level.d.cts +67 -2
- package/dist/constants/log-level.d.cts.map +1 -0
- package/dist/constants/log-level.d.mts +67 -2
- package/dist/constants/log-level.d.mts.map +1 -0
- package/dist/constants/meta.d.cts +6 -2
- package/dist/constants/meta.d.cts.map +1 -0
- package/dist/constants/meta.d.mts +6 -2
- package/dist/constants/meta.d.mts.map +1 -0
- package/dist/constants/plugin.d.cts +9 -2
- package/dist/constants/plugin.d.cts.map +1 -0
- package/dist/constants/plugin.d.mts +9 -2
- package/dist/constants/plugin.d.mts.map +1 -0
- package/dist/context/base-context.cjs +2 -2
- package/dist/context/base-context.d.cts +81 -2
- package/dist/context/base-context.d.cts.map +1 -0
- package/dist/context/base-context.d.mts +81 -2
- package/dist/context/base-context.d.mts.map +1 -0
- package/dist/context/context.cjs +2 -2
- package/dist/context/context.d.cts +373 -2
- package/dist/context/context.d.cts.map +1 -0
- package/dist/context/context.d.mts +373 -2
- package/dist/context/context.d.mts.map +1 -0
- package/dist/context/environment-context.d.cts +5 -2
- package/dist/context/environment-context.d.cts.map +1 -1
- package/dist/context/environment-context.d.mts +5 -2
- package/dist/context/environment-context.d.mts.map +1 -1
- package/dist/context/execution-context.cjs +2 -2
- package/dist/context/execution-context.d.cts +6 -2
- package/dist/context/execution-context.d.cts.map +1 -1
- package/dist/context/execution-context.d.mts +6 -2
- package/dist/context/execution-context.d.mts.map +1 -1
- package/dist/context/index.d.cts +2 -2
- package/dist/context/index.d.mts +2 -2
- package/dist/context/plugin-context.d.cts +3 -1
- package/dist/context/plugin-context.d.cts.map +1 -1
- package/dist/context/plugin-context.d.mts +3 -1
- package/dist/context/plugin-context.d.mts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +32 -24
- package/dist/index.d.mts +32 -24
- package/dist/index.mjs +1 -1
- package/dist/lib/config.cjs +2 -2
- package/dist/lib/config.d.cts +140 -2
- package/dist/lib/config.d.cts.map +1 -0
- package/dist/lib/config.d.mts +140 -2
- package/dist/lib/config.d.mts.map +1 -0
- package/dist/lib/context-helpers.d.cts +16 -2
- package/dist/lib/context-helpers.d.cts.map +1 -0
- package/dist/lib/context-helpers.d.mts +16 -2
- package/dist/lib/context-helpers.d.mts.map +1 -0
- package/dist/lib/entry.d.cts +47 -2
- package/dist/lib/entry.d.cts.map +1 -0
- package/dist/lib/entry.d.mts +47 -2
- package/dist/lib/entry.d.mts.map +1 -0
- package/dist/lib/environment.cjs +2 -2
- package/dist/lib/environment.d.cts +2 -1
- package/dist/lib/environment.d.cts.map +1 -1
- package/dist/lib/environment.d.mts +2 -1
- package/dist/lib/environment.d.mts.map +1 -1
- package/dist/lib/events.d.cts +10 -2
- package/dist/lib/events.d.cts.map +1 -0
- package/dist/lib/events.d.mts +10 -2
- package/dist/lib/events.d.mts.map +1 -0
- package/dist/lib/generate-types.d.cts +66 -2
- package/dist/lib/generate-types.d.cts.map +1 -0
- package/dist/lib/generate-types.d.mts +66 -2
- package/dist/lib/generate-types.d.mts.map +1 -0
- package/dist/lib/hooks.cjs +2 -2
- package/dist/lib/hooks.d.cts +28 -2
- package/dist/lib/hooks.d.cts.map +1 -0
- package/dist/lib/hooks.d.mts +28 -2
- package/dist/lib/hooks.d.mts.map +1 -0
- package/dist/lib/index.cjs +1 -1
- package/dist/lib/index.d.cts +23 -23
- package/dist/lib/index.d.mts +23 -23
- package/dist/lib/index.mjs +1 -1
- package/dist/lib/install-dependencies.d.cts +12 -2
- package/dist/lib/install-dependencies.d.cts.map +1 -0
- package/dist/lib/install-dependencies.d.mts +12 -2
- package/dist/lib/install-dependencies.d.mts.map +1 -0
- package/dist/lib/meta.d.cts +33 -2
- package/dist/lib/meta.d.cts.map +1 -0
- package/dist/lib/meta.d.mts +33 -2
- package/dist/lib/meta.d.mts.map +1 -0
- package/dist/lib/plugins.cjs +2 -2
- package/dist/lib/plugins.d.cts +39 -2
- package/dist/lib/plugins.d.cts.map +1 -0
- package/dist/lib/plugins.d.mts +39 -2
- package/dist/lib/plugins.d.mts.map +1 -0
- package/dist/lib/resolver.cjs +2 -2
- package/dist/lib/resolver.d.cts +20 -2
- package/dist/lib/resolver.d.cts.map +1 -0
- package/dist/lib/resolver.d.mts +20 -2
- package/dist/lib/resolver.d.mts.map +1 -0
- package/dist/lib/schemas.cjs +1 -1
- package/dist/lib/schemas.d.cts +1 -1
- package/dist/lib/schemas.d.mts +1 -1
- package/dist/lib/schemas.mjs +1 -1
- package/dist/lib/streaming-channel.d.cts +126 -2
- package/dist/lib/streaming-channel.d.cts.map +1 -0
- package/dist/lib/streaming-channel.d.mts +126 -2
- package/dist/lib/streaming-channel.d.mts.map +1 -0
- package/dist/lib/typescript/index.d.cts +2 -2
- package/dist/lib/typescript/index.d.mts +2 -2
- package/dist/lib/typescript/ts-morph.cjs +2 -2
- package/dist/lib/typescript/ts-morph.d.cts +38 -2
- package/dist/lib/typescript/ts-morph.d.cts.map +1 -0
- package/dist/lib/typescript/ts-morph.d.mts +38 -2
- package/dist/lib/typescript/ts-morph.d.mts.map +1 -0
- package/dist/lib/typescript/tsconfig.cjs +4 -4
- package/dist/lib/typescript/tsconfig.d.cts +77 -2
- package/dist/lib/typescript/tsconfig.d.cts.map +1 -0
- package/dist/lib/typescript/tsconfig.d.mts +77 -2
- package/dist/lib/typescript/tsconfig.d.mts.map +1 -0
- package/dist/lib/unplugin/helpers.d.cts +23 -2
- package/dist/lib/unplugin/helpers.d.cts.map +1 -0
- package/dist/lib/unplugin/helpers.d.mts +23 -2
- package/dist/lib/unplugin/helpers.d.mts.map +1 -0
- package/dist/lib/unplugin/index.d.cts +3 -3
- package/dist/lib/unplugin/index.d.mts +3 -3
- package/dist/lib/unplugin/module-resolution.cjs +2 -2
- package/dist/lib/unplugin/module-resolution.d.cts +41 -2
- package/dist/lib/unplugin/module-resolution.d.cts.map +1 -0
- package/dist/lib/unplugin/module-resolution.d.mts +41 -2
- package/dist/lib/unplugin/module-resolution.d.mts.map +1 -0
- package/dist/lib/unplugin/plugin.d.cts +40 -2
- package/dist/lib/unplugin/plugin.d.cts.map +1 -0
- package/dist/lib/unplugin/plugin.d.mts +40 -2
- package/dist/lib/unplugin/plugin.d.mts.map +1 -0
- package/dist/lib/utilities/file-header.d.cts +41 -2
- package/dist/lib/utilities/file-header.d.cts.map +1 -0
- package/dist/lib/utilities/file-header.d.mts +41 -2
- package/dist/lib/utilities/file-header.d.mts.map +1 -0
- package/dist/lib/utilities/format.cjs +2 -2
- package/dist/lib/utilities/format.d.cts +24 -2
- package/dist/lib/utilities/format.d.cts.map +1 -0
- package/dist/lib/utilities/format.d.mts +24 -2
- package/dist/lib/utilities/format.d.mts.map +1 -0
- package/dist/lib/utilities/index.d.cts +5 -5
- package/dist/lib/utilities/index.d.mts +5 -5
- package/dist/lib/utilities/source-file.cjs +2 -2
- package/dist/lib/utilities/source-file.d.cts +30 -2
- package/dist/lib/utilities/source-file.d.cts.map +1 -0
- package/dist/lib/utilities/source-file.d.mts +30 -2
- package/dist/lib/utilities/source-file.d.mts.map +1 -0
- package/dist/lib/utilities/source-map.cjs +2 -2
- package/dist/lib/utilities/source-map.d.cts +16 -2
- package/dist/lib/utilities/source-map.d.cts.map +1 -0
- package/dist/lib/utilities/source-map.d.mts +16 -2
- package/dist/lib/utilities/source-map.d.mts.map +1 -0
- package/dist/lib/utilities/write-file.d.cts +15 -2
- package/dist/lib/utilities/write-file.d.cts.map +1 -0
- package/dist/lib/utilities/write-file.d.mts +15 -2
- package/dist/lib/utilities/write-file.d.mts.map +1 -0
- package/dist/lib/vfs.cjs +3 -3
- package/dist/lib/vfs.d.cts +321 -2
- package/dist/lib/vfs.d.cts.map +1 -0
- package/dist/lib/vfs.d.mts +321 -2
- package/dist/lib/vfs.d.mts.map +1 -0
- package/dist/lib/vfs.mjs +1 -1
- package/dist/plugin-base.d.cts +3 -1
- package/dist/plugin-base.d.cts.map +1 -1
- package/dist/plugin-base.d.mts +3 -1
- package/dist/plugin-base.d.mts.map +1 -1
- package/dist/plugin-utils/build-helpers.d.cts +2 -1
- package/dist/plugin-utils/build-helpers.d.cts.map +1 -1
- package/dist/plugin-utils/build-helpers.d.mts +2 -1
- package/dist/plugin-utils/build-helpers.d.mts.map +1 -1
- package/dist/plugin-utils/combine-plugins.d.cts +1 -1
- package/dist/plugin-utils/combine-plugins.d.mts +1 -1
- package/dist/plugin-utils/context-helpers.d.cts +1 -1
- package/dist/plugin-utils/context-helpers.d.mts +1 -1
- package/dist/plugin-utils/enable-plugin.d.cts +2 -1
- package/dist/plugin-utils/enable-plugin.d.cts.map +1 -1
- package/dist/plugin-utils/enable-plugin.d.mts +2 -1
- package/dist/plugin-utils/enable-plugin.d.mts.map +1 -1
- package/dist/plugin-utils/extend.d.cts +3 -1
- package/dist/plugin-utils/extend.d.cts.map +1 -1
- package/dist/plugin-utils/extend.d.mts +3 -1
- package/dist/plugin-utils/extend.d.mts.map +1 -1
- package/dist/plugin-utils/filter.cjs +2 -2
- package/dist/plugin-utils/filter.d.cts +1 -1
- package/dist/plugin-utils/filter.d.mts +1 -1
- package/dist/plugin-utils/format-package-json.d.cts +1 -1
- package/dist/plugin-utils/format-package-json.d.mts +1 -1
- package/dist/plugin-utils/get-config-path.d.cts +1 -1
- package/dist/plugin-utils/get-config-path.d.mts +1 -1
- package/dist/plugin-utils/helpers.d.cts +5 -1
- package/dist/plugin-utils/helpers.d.cts.map +1 -1
- package/dist/plugin-utils/helpers.d.mts +5 -1
- package/dist/plugin-utils/helpers.d.mts.map +1 -1
- package/dist/plugin-utils/install.d.cts +1 -1
- package/dist/plugin-utils/install.d.mts +1 -1
- package/dist/plugin-utils/logging.cjs +2 -2
- package/dist/plugin-utils/logging.d.cts +3 -1
- package/dist/plugin-utils/logging.d.cts.map +1 -1
- package/dist/plugin-utils/logging.d.mts +3 -1
- package/dist/plugin-utils/logging.d.mts.map +1 -1
- package/dist/plugin-utils/merge.cjs +2 -2
- package/dist/plugin-utils/merge.d.cts +3 -1
- package/dist/plugin-utils/merge.d.cts.map +1 -1
- package/dist/plugin-utils/merge.d.mts +3 -1
- package/dist/plugin-utils/merge.d.mts.map +1 -1
- package/dist/plugin-utils/modules.d.cts +1 -1
- package/dist/plugin-utils/modules.d.mts +1 -1
- package/dist/plugin-utils/paths.d.cts +1 -1
- package/dist/plugin-utils/paths.d.mts +1 -1
- package/dist/{fs-C2lru696.cjs → schemas/fs.cjs} +8 -38
- package/dist/{schemas-Zvqwdrw_.d.mts → schemas/fs.d.cts} +2 -2
- package/dist/schemas/fs.d.cts.map +1 -0
- package/dist/{schemas-Zvqwdrw_.d.cts → schemas/fs.d.mts} +2 -2
- package/dist/schemas/fs.d.mts.map +1 -0
- package/dist/{fs-DqLn15uU.mjs → schemas/fs.mjs} +2 -2
- package/dist/schemas/fs.mjs.map +1 -0
- package/dist/storage/base.d.cts +2 -1
- package/dist/storage/base.d.cts.map +1 -1
- package/dist/storage/base.d.mts +2 -1
- package/dist/storage/base.d.mts.map +1 -1
- package/dist/storage/file-system.d.cts +1 -1
- package/dist/storage/file-system.d.mts +1 -1
- package/dist/storage/virtual.d.cts +1 -1
- package/dist/storage/virtual.d.mts +1 -1
- package/dist/types/api.d.cts +16 -0
- package/dist/types/api.d.cts.map +1 -0
- package/dist/types/api.d.mts +16 -0
- package/dist/types/api.d.mts.map +1 -0
- package/dist/types/config.d.cts +739 -0
- package/dist/types/config.d.cts.map +1 -0
- package/dist/types/config.d.mts +739 -0
- package/dist/types/config.d.mts.map +1 -0
- package/dist/types/context.d.cts +682 -0
- package/dist/types/context.d.cts.map +1 -0
- package/dist/types/context.d.mts +682 -0
- package/dist/types/context.d.mts.map +1 -0
- package/dist/types/fs.d.cts +538 -0
- package/dist/types/fs.d.cts.map +1 -0
- package/dist/types/fs.d.mts +538 -0
- package/dist/types/fs.d.mts.map +1 -0
- package/dist/types/hooks.d.cts +96 -0
- package/dist/types/hooks.d.cts.map +1 -0
- package/dist/types/hooks.d.mts +96 -0
- package/dist/types/hooks.d.mts.map +1 -0
- package/dist/types/index.d.cts +9 -0
- package/dist/types/index.d.mts +9 -0
- package/dist/types/logging.d.cts +145 -0
- package/dist/types/logging.d.cts.map +1 -0
- package/dist/types/logging.d.mts +145 -0
- package/dist/types/logging.d.mts.map +1 -0
- package/dist/types/plugin.d.cts +207 -0
- package/dist/types/plugin.d.cts.map +1 -0
- package/dist/types/plugin.d.mts +207 -0
- package/dist/types/plugin.d.mts.map +1 -0
- package/dist/types/tsconfig.d.cts +73 -0
- package/dist/types/tsconfig.d.cts.map +1 -0
- package/dist/types/tsconfig.d.mts +73 -0
- package/dist/types/tsconfig.d.mts.map +1 -0
- package/dist/types/unplugin.d.cts +22 -0
- package/dist/types/unplugin.d.cts.map +1 -0
- package/dist/types/unplugin.d.mts +22 -0
- package/dist/types/unplugin.d.mts.map +1 -0
- package/package.json +14 -14
- package/dist/api-DTCbbtSH.d.cts +0 -6
- package/dist/api-DTCbbtSH.d.cts.map +0 -1
- package/dist/api-DTCbbtSH.d.mts +0 -6
- package/dist/api-DTCbbtSH.d.mts.map +0 -1
- package/dist/base-context-BmxgDD3S.d.mts +0 -79
- package/dist/base-context-BmxgDD3S.d.mts.map +0 -1
- package/dist/base-context-mHoSEqHf.d.cts +0 -79
- package/dist/base-context-mHoSEqHf.d.cts.map +0 -1
- package/dist/commands-DzGd8pnR.d.cts +0 -5
- package/dist/commands-DzGd8pnR.d.cts.map +0 -1
- package/dist/commands-DzGd8pnR.d.mts +0 -5
- package/dist/commands-DzGd8pnR.d.mts.map +0 -1
- package/dist/config-BnV_o0Es.d.cts +0 -2461
- package/dist/config-BnV_o0Es.d.cts.map +0 -1
- package/dist/config-DKeDSykZ.d.cts +0 -138
- package/dist/config-DKeDSykZ.d.cts.map +0 -1
- package/dist/config-DbOP5nVu.d.mts +0 -138
- package/dist/config-DbOP5nVu.d.mts.map +0 -1
- package/dist/config-DboKmDhl.d.mts +0 -2461
- package/dist/config-DboKmDhl.d.mts.map +0 -1
- package/dist/context-C6oL3mPw.d.mts +0 -368
- package/dist/context-C6oL3mPw.d.mts.map +0 -1
- package/dist/context-DcY6YqBQ.d.cts +0 -368
- package/dist/context-DcY6YqBQ.d.cts.map +0 -1
- package/dist/context-helpers-BKxpDArS.d.mts +0 -15
- package/dist/context-helpers-BKxpDArS.d.mts.map +0 -1
- package/dist/context-helpers-zXovPE7i.d.cts +0 -15
- package/dist/context-helpers-zXovPE7i.d.cts.map +0 -1
- package/dist/devtools-h0du-bSj.d.cts +0 -13
- package/dist/devtools-h0du-bSj.d.cts.map +0 -1
- package/dist/devtools-h0du-bSj.d.mts +0 -13
- package/dist/devtools-h0du-bSj.d.mts.map +0 -1
- package/dist/entry-BC_V2K2U.d.cts +0 -46
- package/dist/entry-BC_V2K2U.d.cts.map +0 -1
- package/dist/entry-CHIaWcmk.d.mts +0 -46
- package/dist/entry-CHIaWcmk.d.mts.map +0 -1
- package/dist/environments-BYv_kHRG.d.cts +0 -10
- package/dist/environments-BYv_kHRG.d.cts.map +0 -1
- package/dist/environments-BYv_kHRG.d.mts +0 -10
- package/dist/environments-BYv_kHRG.d.mts.map +0 -1
- package/dist/events-NA1XM2Vz.d.cts +0 -10
- package/dist/events-NA1XM2Vz.d.cts.map +0 -1
- package/dist/events-NA1XM2Vz.d.mts +0 -10
- package/dist/events-NA1XM2Vz.d.mts.map +0 -1
- package/dist/extensions-ctxXzgay.d.cts +0 -5
- package/dist/extensions-ctxXzgay.d.cts.map +0 -1
- package/dist/extensions-ctxXzgay.d.mts +0 -5
- package/dist/extensions-ctxXzgay.d.mts.map +0 -1
- package/dist/file-header-Co9oo7aI.d.cts +0 -41
- package/dist/file-header-Co9oo7aI.d.cts.map +0 -1
- package/dist/file-header-rHqeXgRV.d.mts +0 -41
- package/dist/file-header-rHqeXgRV.d.mts.map +0 -1
- package/dist/format-Cf-cgZ-s.d.cts +0 -24
- package/dist/format-Cf-cgZ-s.d.cts.map +0 -1
- package/dist/format-IQPqgWIe.d.mts +0 -24
- package/dist/format-IQPqgWIe.d.mts.map +0 -1
- package/dist/fs-BzXT5ZPj.d.cts +0 -7
- package/dist/fs-BzXT5ZPj.d.cts.map +0 -1
- package/dist/fs-BzXT5ZPj.d.mts +0 -7
- package/dist/fs-BzXT5ZPj.d.mts.map +0 -1
- package/dist/fs-DqLn15uU.mjs.map +0 -1
- package/dist/generate-types-CDkVosrS.d.cts +0 -65
- package/dist/generate-types-CDkVosrS.d.cts.map +0 -1
- package/dist/generate-types-Dw6p3cB_.d.mts +0 -65
- package/dist/generate-types-Dw6p3cB_.d.mts.map +0 -1
- package/dist/helpers-CrRRFQl5.d.mts +0 -22
- package/dist/helpers-CrRRFQl5.d.mts.map +0 -1
- package/dist/helpers-DBLIQW3U.d.cts +0 -22
- package/dist/helpers-DBLIQW3U.d.cts.map +0 -1
- package/dist/hooks-Dhc3ahex.d.cts +0 -5
- package/dist/hooks-Dhc3ahex.d.cts.map +0 -1
- package/dist/hooks-Dhc3ahex.d.mts +0 -5
- package/dist/hooks-Dhc3ahex.d.mts.map +0 -1
- package/dist/index-BKZ67WMa.d.cts +0 -1
- package/dist/index-BKZ67WMa.d.mts +0 -1
- package/dist/index-BVVgDSdq.d.cts +0 -1
- package/dist/index-BVVgDSdq.d.mts +0 -1
- package/dist/index-Den-MsLx.d.cts +0 -1
- package/dist/index-Den-MsLx.d.mts +0 -1
- package/dist/index-DmtQKWjk.d.cts +0 -1
- package/dist/index-DmtQKWjk.d.mts +0 -1
- package/dist/index-LtpXjuJR.d.mts +0 -25
- package/dist/index-LtpXjuJR.d.mts.map +0 -1
- package/dist/index-_6s0AX1B.d.cts +0 -1
- package/dist/index-_6s0AX1B.d.mts +0 -1
- package/dist/index-xk4vSgtB.d.cts +0 -25
- package/dist/index-xk4vSgtB.d.cts.map +0 -1
- package/dist/install-dependencies-CCjZfS9Y.d.mts +0 -12
- package/dist/install-dependencies-CCjZfS9Y.d.mts.map +0 -1
- package/dist/install-dependencies-CyeYsrfz.d.cts +0 -12
- package/dist/install-dependencies-CyeYsrfz.d.cts.map +0 -1
- package/dist/log-level-BC8g4BBL.d.cts +0 -67
- package/dist/log-level-BC8g4BBL.d.cts.map +0 -1
- package/dist/log-level-BC8g4BBL.d.mts +0 -67
- package/dist/log-level-BC8g4BBL.d.mts.map +0 -1
- package/dist/meta-CdDd2ykC.d.cts +0 -33
- package/dist/meta-CdDd2ykC.d.cts.map +0 -1
- package/dist/meta-CfTCHU_o.d.mts +0 -33
- package/dist/meta-CfTCHU_o.d.mts.map +0 -1
- package/dist/meta-QA_SN1j3.d.cts +0 -6
- package/dist/meta-QA_SN1j3.d.cts.map +0 -1
- package/dist/meta-QA_SN1j3.d.mts +0 -6
- package/dist/meta-QA_SN1j3.d.mts.map +0 -1
- package/dist/module-resolution-CRMNPsdn.d.mts +0 -40
- package/dist/module-resolution-CRMNPsdn.d.mts.map +0 -1
- package/dist/module-resolution-D-w-EZaK.d.cts +0 -40
- package/dist/module-resolution-D-w-EZaK.d.cts.map +0 -1
- package/dist/plugin-B_b7XqaN.d.mts +0 -39
- package/dist/plugin-B_b7XqaN.d.mts.map +0 -1
- package/dist/plugin-CzV-aFwU.d.cts +0 -39
- package/dist/plugin-CzV-aFwU.d.cts.map +0 -1
- package/dist/plugin-fhBG7SSQ.d.cts +0 -9
- package/dist/plugin-fhBG7SSQ.d.cts.map +0 -1
- package/dist/plugin-fhBG7SSQ.d.mts +0 -9
- package/dist/plugin-fhBG7SSQ.d.mts.map +0 -1
- package/dist/plugins-DfL1fBZi.d.cts +0 -37
- package/dist/plugins-DfL1fBZi.d.cts.map +0 -1
- package/dist/plugins-zG2X2LA8.d.mts +0 -37
- package/dist/plugins-zG2X2LA8.d.mts.map +0 -1
- package/dist/resolver-CdBAh8dA.d.mts +0 -19
- package/dist/resolver-CdBAh8dA.d.mts.map +0 -1
- package/dist/resolver-CfCl--Eh.d.cts +0 -19
- package/dist/resolver-CfCl--Eh.d.cts.map +0 -1
- package/dist/schemas-Zvqwdrw_.d.cts.map +0 -1
- package/dist/schemas-Zvqwdrw_.d.mts.map +0 -1
- package/dist/source-file-CLw13fKE.d.mts +0 -30
- package/dist/source-file-CLw13fKE.d.mts.map +0 -1
- package/dist/source-file-CuuHaBL5.d.cts +0 -30
- package/dist/source-file-CuuHaBL5.d.cts.map +0 -1
- package/dist/source-map-Cy0aqSpe.d.mts +0 -16
- package/dist/source-map-Cy0aqSpe.d.mts.map +0 -1
- package/dist/source-map-HU4IoICc.d.cts +0 -16
- package/dist/source-map-HU4IoICc.d.cts.map +0 -1
- package/dist/streaming-channel-CiyFd_6l.d.cts +0 -126
- package/dist/streaming-channel-CiyFd_6l.d.cts.map +0 -1
- package/dist/streaming-channel-CiyFd_6l.d.mts +0 -126
- package/dist/streaming-channel-CiyFd_6l.d.mts.map +0 -1
- package/dist/ts-morph-BGgjbOgM.d.cts +0 -38
- package/dist/ts-morph-BGgjbOgM.d.cts.map +0 -1
- package/dist/ts-morph-zLvdifpA.d.mts +0 -38
- package/dist/ts-morph-zLvdifpA.d.mts.map +0 -1
- package/dist/tsconfig-DExoZEQ0.d.cts +0 -75
- package/dist/tsconfig-DExoZEQ0.d.cts.map +0 -1
- package/dist/tsconfig-De09cBeX.d.mts +0 -75
- package/dist/tsconfig-De09cBeX.d.mts.map +0 -1
- package/dist/vfs-B9Vhnajc.d.cts +0 -320
- package/dist/vfs-B9Vhnajc.d.cts.map +0 -1
- package/dist/vfs-Dl6nPqdS.d.mts +0 -320
- package/dist/vfs-Dl6nPqdS.d.mts.map +0 -1
- package/dist/write-file-BVMnXVPo.d.cts +0 -15
- package/dist/write-file-BVMnXVPo.d.cts.map +0 -1
- package/dist/write-file-CWf9Xxwd.d.mts +0 -15
- package/dist/write-file-CWf9Xxwd.d.mts.map +0 -1
|
@@ -1,368 +0,0 @@
|
|
|
1
|
-
import { Cn as VirtualFileSystemInterface, It as LoggerOptions, J as Context, M as ResolvedConfig, Nt as Logger, P as ResolvedEntryFileReference, Rt as CallHookOptions, Ut as InferHookParameters, Wt as InferHookReturnType, X as EmitOptions, Y as EmitEntryOptions, Z as EnvironmentContext, _t as ParsedTypeScriptConfig, at as ResolveResult, dt as TransformResult, et as FetchOptions, f as ExecutionOptions, hn as ResolveOptions, it as PluginContext, kt as LogLevelResolvedConfig, m as InferOverridableConfig, nt as MetaInfo, ot as Resolver, rt as ParseOptions, x as ParsedUserConfig, yn as VirtualFile } from "./config-BnV_o0Es.cjs";
|
|
2
|
-
import { t as PowerlinesBaseContext } from "./base-context-mHoSEqHf.cjs";
|
|
3
|
-
import { EnvPaths } from "@stryke/env/get-env-paths";
|
|
4
|
-
import { PackageJson } from "@stryke/types/package-json";
|
|
5
|
-
import { ParseResult } from "oxc-parser";
|
|
6
|
-
import { Range } from "semver";
|
|
7
|
-
import { RequestInfo, Response } from "undici";
|
|
8
|
-
import { FlatCache } from "flat-cache";
|
|
9
|
-
|
|
10
|
-
//#region src/context/context.d.ts
|
|
11
|
-
declare class PowerlinesContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig, TSystemContext = unknown> extends PowerlinesBaseContext<TSystemContext> implements Context<TResolvedConfig, TSystemContext> {
|
|
12
|
-
#private;
|
|
13
|
-
options: ExecutionOptions;
|
|
14
|
-
resolver: Resolver;
|
|
15
|
-
/**
|
|
16
|
-
* The parsed `package.json` file for the project
|
|
17
|
-
*/
|
|
18
|
-
packageJson: PackageJson;
|
|
19
|
-
/**
|
|
20
|
-
* The parsed `project.json` file for the project
|
|
21
|
-
*/
|
|
22
|
-
projectJson: Record<string, any> | undefined;
|
|
23
|
-
/**
|
|
24
|
-
* The parsed configuration file for the project
|
|
25
|
-
*/
|
|
26
|
-
configFile: ParsedUserConfig;
|
|
27
|
-
/**
|
|
28
|
-
* An object containing the dependencies that should be installed for the project
|
|
29
|
-
*/
|
|
30
|
-
dependencies: Record<string, string | Range>;
|
|
31
|
-
/**
|
|
32
|
-
* An object containing the development dependencies that should be installed for the project
|
|
33
|
-
*/
|
|
34
|
-
devDependencies: Record<string, string | Range>;
|
|
35
|
-
/**
|
|
36
|
-
* The persisted meta information about the current build
|
|
37
|
-
*/
|
|
38
|
-
persistedMeta: MetaInfo | undefined;
|
|
39
|
-
/**
|
|
40
|
-
* The resolved tsconfig file paths for the project
|
|
41
|
-
*/
|
|
42
|
-
resolvePatterns: RegExp[];
|
|
43
|
-
/**
|
|
44
|
-
* The resolved configuration for this context
|
|
45
|
-
*/
|
|
46
|
-
protected resolvedConfig: TResolvedConfig;
|
|
47
|
-
/**
|
|
48
|
-
* The configuration options that were overridden by plugins during the build process, which may include additional properties or modifications made during the configuration loading process.
|
|
49
|
-
*/
|
|
50
|
-
protected overriddenConfig: InferOverridableConfig<TResolvedConfig>;
|
|
51
|
-
/**
|
|
52
|
-
* The configuration options provided inline during execution, such as CLI flags or other parameters that may be relevant to the command being executed. These options can be used to override or supplement the configuration options defined in a configuration file on disk, and are typically provided as part of the execution context when running a Powerlines command.
|
|
53
|
-
*/
|
|
54
|
-
protected inlineConfig: TResolvedConfig["inlineConfig"];
|
|
55
|
-
/**
|
|
56
|
-
* The configuration options read from a configuration file on disk, which may be used to resolve the final configuration for the context. This typically includes the user configuration options defined in the `powerlines.config.ts` file, as well as any inline configuration options provided during execution.
|
|
57
|
-
*/
|
|
58
|
-
protected userConfig: TResolvedConfig["userConfig"];
|
|
59
|
-
/**
|
|
60
|
-
* The configuration options provided by plugins added by the user (and other plugins)
|
|
61
|
-
*/
|
|
62
|
-
protected pluginConfig: TResolvedConfig["pluginConfig"];
|
|
63
|
-
/**
|
|
64
|
-
* The configuration options provided by the environment
|
|
65
|
-
*/
|
|
66
|
-
protected environmentConfig: any;
|
|
67
|
-
/**
|
|
68
|
-
* A unique identifier for the current execution, which can be used for logging and other purposes to distinguish between different executions in the same process.
|
|
69
|
-
*/
|
|
70
|
-
protected get executionId(): string;
|
|
71
|
-
/**
|
|
72
|
-
* The resolved entry type definitions for the project
|
|
73
|
-
*/
|
|
74
|
-
get entry(): ResolvedEntryFileReference[];
|
|
75
|
-
/**
|
|
76
|
-
* The TypeScript configuration parsed from the tsconfig file
|
|
77
|
-
*/
|
|
78
|
-
get tsconfig(): ParsedTypeScriptConfig;
|
|
79
|
-
/**
|
|
80
|
-
* Sets the TypeScript configuration parsed from the tsconfig file
|
|
81
|
-
*/
|
|
82
|
-
set tsconfig(value: ParsedTypeScriptConfig);
|
|
83
|
-
/**
|
|
84
|
-
* The virtual file system interface for the project
|
|
85
|
-
*/
|
|
86
|
-
get fs(): VirtualFileSystemInterface;
|
|
87
|
-
/**
|
|
88
|
-
* Get the checksum of the project's current state
|
|
89
|
-
*/
|
|
90
|
-
get checksum(): string | null;
|
|
91
|
-
/**
|
|
92
|
-
* Invokes the configured plugin hooks
|
|
93
|
-
*
|
|
94
|
-
* @remarks
|
|
95
|
-
* By default, it will call the `"pre"`, `"normal"`, and `"post"` ordered hooks in sequence
|
|
96
|
-
*
|
|
97
|
-
* @param hook - The hook to call
|
|
98
|
-
* @param options - The options to provide to the hook
|
|
99
|
-
* @param args - The arguments to pass to the hook
|
|
100
|
-
* @returns The result of the hook call
|
|
101
|
-
*/
|
|
102
|
-
callHook: <TKey extends string>(hook: TKey, options: CallHookOptions & {
|
|
103
|
-
environment?: string | EnvironmentContext<any>;
|
|
104
|
-
}, ...args: InferHookParameters<PluginContext<any>, TKey>) => Promise<InferHookReturnType<PluginContext<any>, TKey> | undefined>;
|
|
105
|
-
/**
|
|
106
|
-
* The meta information about the current build
|
|
107
|
-
*/
|
|
108
|
-
get meta(): MetaInfo;
|
|
109
|
-
/**
|
|
110
|
-
* The resolved configuration options
|
|
111
|
-
*/
|
|
112
|
-
get config(): TResolvedConfig;
|
|
113
|
-
/**
|
|
114
|
-
* Get the path to the artifacts directory for the project
|
|
115
|
-
*/
|
|
116
|
-
get artifactsPath(): string;
|
|
117
|
-
/**
|
|
118
|
-
* Get the path to the builtin modules used by the project
|
|
119
|
-
*/
|
|
120
|
-
get builtinsPath(): string;
|
|
121
|
-
/**
|
|
122
|
-
* Get the path to the entry directory for the project
|
|
123
|
-
*/
|
|
124
|
-
get entryPath(): string;
|
|
125
|
-
/**
|
|
126
|
-
* Get the path to the infrastructure modules used by the project
|
|
127
|
-
*/
|
|
128
|
-
get infrastructurePath(): string;
|
|
129
|
-
/**
|
|
130
|
-
* Get the path to the data directory for the project
|
|
131
|
-
*/
|
|
132
|
-
get dataPath(): string;
|
|
133
|
-
/**
|
|
134
|
-
* Get the path to the cache directory for the project
|
|
135
|
-
*/
|
|
136
|
-
get cachePath(): string;
|
|
137
|
-
/**
|
|
138
|
-
* Get the path to the generated declaration file for the project
|
|
139
|
-
*/
|
|
140
|
-
get typesPath(): string;
|
|
141
|
-
/**
|
|
142
|
-
* Get the project root relative to the workspace root
|
|
143
|
-
*/
|
|
144
|
-
get relativeToWorkspaceRoot(): string;
|
|
145
|
-
/**
|
|
146
|
-
* The builtin module id that exist in the Powerlines virtual file system
|
|
147
|
-
*/
|
|
148
|
-
get builtins(): string[];
|
|
149
|
-
/**
|
|
150
|
-
* Additional arguments provided during execution of the command, such as CLI flags or other parameters that may be relevant to the command being executed.
|
|
151
|
-
*/
|
|
152
|
-
get additionalArgs(): Record<string, string | string[]>;
|
|
153
|
-
/**
|
|
154
|
-
* The alias mappings for the project used during module resolution
|
|
155
|
-
*
|
|
156
|
-
* @remarks
|
|
157
|
-
* This includes both the built-in module aliases as well as any custom aliases defined in the build configuration.
|
|
158
|
-
*/
|
|
159
|
-
get alias(): Record<string, string>;
|
|
160
|
-
get logger(): Logger;
|
|
161
|
-
/**
|
|
162
|
-
* The log level for the context, which determines the minimum level of log messages that will be emitted by the logger. This is resolved based on the configuration options provided by the user, and can be set to different levels for development, production, and test environments. The log level can also be overridden by plugins or other parts of the build process to provide more granular control over logging output.
|
|
163
|
-
*/
|
|
164
|
-
get logLevel(): LogLevelResolvedConfig;
|
|
165
|
-
/**
|
|
166
|
-
* The environment paths for the project, which provide the locations of various directories and files used by the Powerlines framework. These paths are resolved based on the organization ID, application ID, and workspace root directory, and can be used to access configuration files, cache directories, and other resources in a consistent manner.
|
|
167
|
-
*/
|
|
168
|
-
get envPaths(): EnvPaths;
|
|
169
|
-
/**
|
|
170
|
-
* Gets the parser cache.
|
|
171
|
-
*/
|
|
172
|
-
protected get parserCache(): FlatCache;
|
|
173
|
-
/**
|
|
174
|
-
* Gets the request cache.
|
|
175
|
-
*/
|
|
176
|
-
protected get requestCache(): FlatCache;
|
|
177
|
-
/**
|
|
178
|
-
* The entry points that exist in the Powerlines virtual file system
|
|
179
|
-
*/
|
|
180
|
-
protected get resolvedEntry(): ResolvedEntryFileReference[];
|
|
181
|
-
/**
|
|
182
|
-
* Creates a new Context instance.
|
|
183
|
-
*
|
|
184
|
-
* @param options - The options to use for creating the context, including the resolved configuration and workspace settings.
|
|
185
|
-
*/
|
|
186
|
-
protected constructor(options: ExecutionOptions);
|
|
187
|
-
createLogger(options?: LoggerOptions): Logger;
|
|
188
|
-
/**
|
|
189
|
-
* A function to perform HTTP fetch requests
|
|
190
|
-
*
|
|
191
|
-
* @remarks
|
|
192
|
-
* This function uses a caching layer to avoid duplicate requests during the Powerlines process.
|
|
193
|
-
*
|
|
194
|
-
* @example
|
|
195
|
-
* ```ts
|
|
196
|
-
* const response = await context.fetch("https://api.example.com/data");
|
|
197
|
-
* const data = await response.json();
|
|
198
|
-
* ```
|
|
199
|
-
*
|
|
200
|
-
* @see https://github.com/nodejs/undici
|
|
201
|
-
*
|
|
202
|
-
* @param input - The URL to fetch.
|
|
203
|
-
* @param options - The fetch request options.
|
|
204
|
-
* @returns A promise that resolves to a response returned by the fetch.
|
|
205
|
-
*/
|
|
206
|
-
fetch(input: RequestInfo, options?: FetchOptions): Promise<Response>;
|
|
207
|
-
/**
|
|
208
|
-
* Parse code using [Oxc-Parser](https://github.com/oxc/oxc) into an (ESTree-compatible)[https://github.com/estree/estree] AST object.
|
|
209
|
-
*
|
|
210
|
-
* @remarks
|
|
211
|
-
* This function can be used to parse TypeScript code into an AST for further analysis or transformation.
|
|
212
|
-
*
|
|
213
|
-
* @example
|
|
214
|
-
* ```ts
|
|
215
|
-
* const ast = context.parse("const x: number = 42;");
|
|
216
|
-
* ```
|
|
217
|
-
*
|
|
218
|
-
* @see https://rollupjs.org/plugin-development/#this-parse
|
|
219
|
-
* @see https://github.com/oxc/oxc
|
|
220
|
-
*
|
|
221
|
-
* @param code - The source code to parse.
|
|
222
|
-
* @param options - The options to pass to the parser.
|
|
223
|
-
* @returns An (ESTree-compatible)[https://github.com/estree/estree] AST object.
|
|
224
|
-
*/
|
|
225
|
-
parse(code: string, options?: ParseOptions): Promise<ParseResult>;
|
|
226
|
-
/**
|
|
227
|
-
* A helper function to resolve modules in the Virtual File System
|
|
228
|
-
*
|
|
229
|
-
* @remarks
|
|
230
|
-
* This function can be used to resolve modules relative to the project root directory.
|
|
231
|
-
*
|
|
232
|
-
* @example
|
|
233
|
-
* ```ts
|
|
234
|
-
* const resolved = await context.resolve("some-module", "/path/to/importer");
|
|
235
|
-
* ```
|
|
236
|
-
*
|
|
237
|
-
* @param id - The module to resolve.
|
|
238
|
-
* @param importer - An optional path to the importer module.
|
|
239
|
-
* @param options - Additional resolution options.
|
|
240
|
-
* @returns A promise that resolves to the resolved module path.
|
|
241
|
-
*/
|
|
242
|
-
resolve(id: string, importer?: string, options?: ResolveOptions): Promise<ResolveResult | undefined>;
|
|
243
|
-
/**
|
|
244
|
-
* A helper function to load modules from the Virtual File System
|
|
245
|
-
*
|
|
246
|
-
* @remarks
|
|
247
|
-
* This function can be used to load modules relative to the project root directory.
|
|
248
|
-
*
|
|
249
|
-
* @example
|
|
250
|
-
* ```ts
|
|
251
|
-
* const module = await context.load("some-module", "/path/to/importer");
|
|
252
|
-
* ```
|
|
253
|
-
*
|
|
254
|
-
* @param id - The module to load.
|
|
255
|
-
* @returns A promise that resolves to the loaded module.
|
|
256
|
-
*/
|
|
257
|
-
load(id: string): Promise<TransformResult | undefined>;
|
|
258
|
-
/**
|
|
259
|
-
* Get the builtin virtual files that exist in the Powerlines virtual file system
|
|
260
|
-
*/
|
|
261
|
-
getBuiltins(): Promise<VirtualFile[]>;
|
|
262
|
-
/**
|
|
263
|
-
* Resolves a file and writes it to the VFS if it does not already exist
|
|
264
|
-
*
|
|
265
|
-
* @param code - The source code of the file
|
|
266
|
-
* @param path - The path to write the file to
|
|
267
|
-
* @param options - Additional options for writing the file
|
|
268
|
-
*/
|
|
269
|
-
emit(code: string, path: string, options?: EmitOptions): Promise<void>;
|
|
270
|
-
/**
|
|
271
|
-
* Synchronously resolves a file and writes it to the VFS if it does not already exist
|
|
272
|
-
*
|
|
273
|
-
* @param code - The source code of the file
|
|
274
|
-
* @param path - The path to write the file to
|
|
275
|
-
* @param options - Additional options for writing the file
|
|
276
|
-
*/
|
|
277
|
-
emitSync(code: string, path: string, options?: EmitOptions): void;
|
|
278
|
-
/**
|
|
279
|
-
* Resolves a entry virtual file and writes it to the VFS if it does not already exist
|
|
280
|
-
*
|
|
281
|
-
* @param code - The source code of the entry file
|
|
282
|
-
* @param path - A path to write the entry file to
|
|
283
|
-
* @param options - Optional write file options
|
|
284
|
-
*/
|
|
285
|
-
emitEntry(code: string, path: string, options?: EmitEntryOptions): Promise<void>;
|
|
286
|
-
/**
|
|
287
|
-
* Synchronously resolves a entry virtual file and writes it to the VFS if it does not already exist
|
|
288
|
-
*
|
|
289
|
-
* @param code - The source code of the entry file
|
|
290
|
-
* @param path - A path to write the entry file to
|
|
291
|
-
* @param options - Optional write file options
|
|
292
|
-
*/
|
|
293
|
-
emitEntrySync(code: string, path: string, options?: EmitEntryOptions): void;
|
|
294
|
-
/**
|
|
295
|
-
* Resolves a builtin virtual file and writes it to the VFS if it does not already exist
|
|
296
|
-
*
|
|
297
|
-
* @param code - The source code of the builtin file
|
|
298
|
-
* @param id - The unique identifier of the builtin file
|
|
299
|
-
* @param options - Optional write file options
|
|
300
|
-
*/
|
|
301
|
-
emitBuiltin(code: string, id: string, options?: EmitOptions): Promise<void>;
|
|
302
|
-
/**
|
|
303
|
-
* Synchronously resolves a builtin virtual file and writes it to the VFS if it does not already exist
|
|
304
|
-
*
|
|
305
|
-
* @param code - The source code of the builtin file
|
|
306
|
-
* @param id - The unique identifier of the builtin file
|
|
307
|
-
* @param options - Optional write file options
|
|
308
|
-
*/
|
|
309
|
-
emitBuiltinSync(code: string, id: string, options?: EmitOptions): void;
|
|
310
|
-
/**
|
|
311
|
-
* Resolves a builtin virtual file and writes it to the VFS if it does not already exist
|
|
312
|
-
*
|
|
313
|
-
* @param code - The source code of the builtin file
|
|
314
|
-
* @param id - The unique identifier of the builtin file
|
|
315
|
-
* @param options - Optional write file options
|
|
316
|
-
*/
|
|
317
|
-
emitInfrastructure(code: string, id: string, options?: EmitOptions): Promise<void>;
|
|
318
|
-
/**
|
|
319
|
-
* Synchronously resolves an infrastructure virtual file and writes it to the VFS if it does not already exist
|
|
320
|
-
*
|
|
321
|
-
* @param code - The source code of the infrastructure file
|
|
322
|
-
* @param id - The unique identifier of the infrastructure file
|
|
323
|
-
* @param options - Optional write file options
|
|
324
|
-
*/
|
|
325
|
-
emitInfrastructureSync(code: string, id: string, options?: EmitOptions): void;
|
|
326
|
-
/**
|
|
327
|
-
* Generates a checksum representing the current context state
|
|
328
|
-
*
|
|
329
|
-
* @param path - The root directory of the project to generate the checksum for
|
|
330
|
-
* @returns A promise that resolves to a string representing the checksum
|
|
331
|
-
*/
|
|
332
|
-
generateChecksum(path?: string): Promise<string>;
|
|
333
|
-
/**
|
|
334
|
-
* A setter function to populate the inline config values provided during execution of the command, such as CLI flags or other parameters that may be relevant to the command being executed. This function can be used to update the context with the inline configuration values, which may be used during the configuration resolution process to ensure that the final configuration reflects both the user configuration and any inline configuration provided during execution.
|
|
335
|
-
*
|
|
336
|
-
* @param config - The inline configuration values to set.
|
|
337
|
-
* @returns A promise that resolves when the inline configuration values have been set.
|
|
338
|
-
*/
|
|
339
|
-
setInlineConfig(config: TResolvedConfig["inlineConfig"]): Promise<void>;
|
|
340
|
-
/**
|
|
341
|
-
* A setter function to populate the plugin config values provided during execution of the command, such as CLI flags or other parameters that may be relevant to the command being executed. This function can be used to update the context with the plugin configuration values, which may be used during the configuration resolution process to ensure that the final configuration reflects both the user configuration and any plugin configuration provided during execution.
|
|
342
|
-
*
|
|
343
|
-
* @param config - The plugin configuration values to set.
|
|
344
|
-
* @returns A promise that resolves when the plugin configuration values have been set.
|
|
345
|
-
*/
|
|
346
|
-
setPluginConfig(config: TResolvedConfig["pluginConfig"]): Promise<void>;
|
|
347
|
-
/**
|
|
348
|
-
* A function to merge the various configuration objects (initial, user, inline, and plugin) into a single resolved configuration object that can be used throughout the Powerlines process. This function takes into account the different sources of configuration and their respective priorities, ensuring that the final configuration reflects the intended settings for the project. The merged configuration is then returned as a new object that can be accessed through the `config` property of the context.
|
|
349
|
-
*
|
|
350
|
-
* @returns The merged configuration object that combines the initial, user, inline, and plugin configurations.
|
|
351
|
-
*/
|
|
352
|
-
protected mergeConfig(): TResolvedConfig;
|
|
353
|
-
/**
|
|
354
|
-
* A setter function to populate the user config values provided during execution of the command, such as CLI flags or other parameters that may be relevant to the command being executed. This function can be used to update the context with the user configuration values, which may be used during the configuration resolution process to ensure that the final configuration reflects both the user configuration and any inline configuration provided during execution.
|
|
355
|
-
*
|
|
356
|
-
* @param config - The user configuration values to set.
|
|
357
|
-
* @returns A promise that resolves when the user configuration values have been set.
|
|
358
|
-
*/
|
|
359
|
-
protected setUserConfig(config: TResolvedConfig["userConfig"]): Promise<void>;
|
|
360
|
-
/**
|
|
361
|
-
* Initialize the context with the provided configuration options
|
|
362
|
-
*/
|
|
363
|
-
protected resolveConfig(): Promise<void>;
|
|
364
|
-
private createConfigProxy;
|
|
365
|
-
}
|
|
366
|
-
//#endregion
|
|
367
|
-
export { PowerlinesContext as t };
|
|
368
|
-
//# sourceMappingURL=context-DcY6YqBQ.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context-DcY6YqBQ.d.cts","names":[],"sources":["../src/context/context.ts"],"mappings":";;;;;;;;;;cAgKa,iBAAA,yBACa,cAAA,GAAiB,cAAA,oCAGjC,qBAAA,CAAsB,cAAA,aACnB,OAAA,CAAQ,eAAA,EAAiB,cAAA;EAAA;EA6dE,OAAA,EAAS,gBAAA;EA3cxC,QAAA,EAAW,QAAA;EAlBkB;;;EAuB7B,WAAA,EAAc,WAAA;EAKD;;;EAAb,WAAA,EAAa,MAAA;EAe4B;;;EAVzC,UAAA,EAAa,gBAAA;EAyBM;;;EApBnB,YAAA,EAAc,MAAA,kBAAwB,KAAA;EAqCvB;;;EAhCf,eAAA,EAAiB,MAAA,kBAAwB,KAAA;EA4FrB;;;EAvFpB,aAAA,EAAe,QAAA;EA4HK;;;EAvHpB,eAAA,EAAiB,MAAA;EA0HO;;;EAAA,UArHrB,cAAA,EAAgB,eAAA;EAmJnB;;;EAAA,UA9IG,gBAAA,EAAkB,sBAAA,CAAuB,eAAA;EAyTrB;;;EAAA,UAnTpB,YAAA,EAAc,eAAA;EA6VM;;;EAAA,UAvVpB,UAAA,EAAY,eAAA;EAsZkC;;;EAAA,UAjZ9C,YAAA,EAAc,eAAA;EAibrB;;;EAAA,UA5aO,iBAAA;EAomBC;;;EAAA,cA/lBG,WAAA;EA2tBiB;;;EAAA,IA7sBpB,KAAA,IAAS,0BAAA;EAsvBjB;;;EAAA,IApuBQ,QAAA,IAAY,sBAAA;EAg1BZ;;;EAAA,IAn0BA,QAAA,CAAS,KAAA,EAAO,sBAAA;EA85BhB;;;EAAA,IAt5BA,EAAA,IAAM,0BAAA;EA69BP;;;EAAA,IAl9BC,QAAA;EA4hCc;;;;;;;;;;;EA7gClB,QAAA,wBACL,IAAA,EAAM,IAAA,EACN,OAAA,EAAS,eAAA;IACP,WAAA,YAAuB,kBAAA;EAAA,MAEtB,IAAA,EAAM,mBAAA,CAAoB,aAAA,OAAoB,IAAA,MAChD,OAAA,CAAQ,mBAAA,CAAoB,aAAA,OAAoB,IAAA;EA/KxC;;;EAAA,IA0LA,IAAA,IAmBJ,QAAA;EAgR+B;;;EAAA,IA1Q3B,MAAA,IAAU,eAAA;EA5Ld;;;EAAA,IAuMI,aAAA;EA7LJ;;;EAAA,IAyMI,YAAA;EApMkC;;;EAAA,IA2MlC,SAAA;EAjMJ;;;EAAA,IAwMI,kBAAA;EA9LD;;;EAAA,IAqMC,QAAA;EAhMwC;;;EAAA,IA2MxC,SAAA;EA/LW;;;EAAA,IAkNX,SAAA;EAnMG;;;EAAA,IA4MH,uBAAA;EA5KY;;;EAAA,IAmLZ,QAAA;EA9JA;;;EAAA,IAwKA,cAAA,IAAkB,MAAA;EA9IJ;;;;;;EAAA,IA+Kd,KAAA,IAAS,MAAA;EAAA,IAgCA,MAAA,IAAU,MAAA;EA1MnB;;;EAAA,IAiNA,QAAA,IAAY,sBAAA;EAhNZ;;;EAAA,IAuNS,QAAA,IAAY,QAAA;EAzLzB;;;EAAA,cAoMO,WAAA,IAAe,SAAA;EAvKlB;;;EAAA,cAwLG,YAAA,IAAgB,SAAA;EAxJnB;;;EAAA,cAyKG,aAAA,IAAiB,0BAAA;EA5HpB;;;;;EAAA,UAsKF,WAAA,CAA6B,OAAA,EAAS,gBAAA;EAI/B,YAAA,CAAa,OAAA,GAAS,aAAA,GAAkB,MAAA;EAlGjC;;;;;;;;;;;;;;;;;;EA+HV,KAAA,CACX,KAAA,EAAO,WAAA,EACP,OAAA,GAAS,YAAA,GACR,OAAA,CAAQ,QAAA;EADA;;;;;;;;;;;;;;;;;;EA2IE,KAAA,CAAM,IAAA,UAAc,OAAA,GAAS,YAAA,GAAiB,OAAA,CAAA,WAAA;EA0K5B;;;;;;;;;;;;;;;;EA/HlB,OAAA,CACX,EAAA,UACA,QAAA,WACA,OAAA,GAAS,cAAA,GACR,OAAA,CAAQ,aAAA;EA6OT;;;;;;;;;;;;;;EAlHW,IAAA,CAAK,EAAA,WAAa,OAAA,CAAQ,eAAA;EAuLpC;;;EAtKU,WAAA,IAAW,OAAA,CAAA,WAAA;EAiMkC;;;;;;;EA7K7C,IAAA,CACX,IAAA,UACA,IAAA,UACA,OAAA,GAAS,WAAA,GACR,OAAA;EAmOI;;;;;;;EA/LA,QAAA,CAAS,IAAA,UAAc,IAAA,UAAc,OAAA,GAAS,WAAA;EAyOxC;;;;;;;EArMA,SAAA,CACX,IAAA,UACA,IAAA,UACA,OAAA,GAAS,gBAAA,GACR,OAAA;EA4QO;;;;;;;EA/OH,aAAA,CACL,IAAA,UACA,IAAA,UACA,OAAA,GAAS,gBAAA;EAunBH;;AAAiB;;;;;EAzlBZ,WAAA,CACX,IAAA,UACA,EAAA,UACA,OAAA,GAAS,WAAA,GACR,OAAA;;;;;;;;EA2BI,eAAA,CAAgB,IAAA,UAAc,EAAA,UAAY,OAAA,GAAS,WAAA;;;;;;;;EA2B7C,kBAAA,CACX,IAAA,UACA,EAAA,UACA,OAAA,GAAS,WAAA,GACR,OAAA;;;;;;;;EA2BI,sBAAA,CACL,IAAA,UACA,EAAA,UACA,OAAA,GAAS,WAAA;;;;;;;EA2BE,gBAAA,CAAiB,IAAA,YAAgB,OAAA;;;;;;;EAYjC,eAAA,CACX,MAAA,EAAQ,eAAA,mBACP,OAAA;;;;;;;EAwDU,eAAA,CACX,MAAA,EAAQ,eAAA,mBACP,OAAA;;;;;;YAeO,WAAA,IAAe,eAAA;;;;;;;YA4BT,aAAA,CACd,MAAA,EAAQ,eAAA,iBACP,OAAA;;;;YAaa,aAAA,IAAiB,OAAA;EAAA,QAgWzB,iBAAA;AAAA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { $ as ExecutionContext, M as ResolvedConfig, m as InferOverridableConfig } from "./config-DboKmDhl.mjs";
|
|
2
|
-
//#region src/lib/context-helpers.d.ts
|
|
3
|
-
declare function getConfigProps<TResolvedConfig extends ResolvedConfig>(config?: TResolvedConfig["userConfig"] | TResolvedConfig["inlineConfig"] | TResolvedConfig["pluginConfig"] | InferOverridableConfig<TResolvedConfig>): ({
|
|
4
|
-
input: import("@stryke/types/configuration").FileReference | import("@stryke/types/configuration").FileReferenceInput[] | Record<string, import("@stryke/types/configuration").FileReferenceInput | import("@stryke/types/configuration").FileReferenceInput[]> | TResolvedConfig["input"] | (Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] extends object ? Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] extends infer T ? T extends Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] ? T extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T : { [K in keyof T]?: (T[K] extends object ? T[K] extends infer T_1 ? T_1 extends T[K] ? T_1 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_1 : { [K_2 in keyof T_1]?: (T_1[K_2] extends object ? T_1[K_2] extends infer T_2 ? T_2 extends T_1[K_2] ? T_2 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_2 : { [K_3 in keyof T_2]?: (T_2[K_3] extends object ? T_2[K_3] extends infer T_3 ? T_3 extends T_2[K_3] ? T_3 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_3 : { [K_4 in keyof T_3]?: (T_3[K_4] extends object ? T_3[K_4] extends infer T_4 ? T_4 extends T_3[K_4] ? T_4 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_4 : { [K_5 in keyof T_4]?: (T_4[K_5] extends object ? T_4[K_5] extends infer T_5 ? T_5 extends T_4[K_5] ? T_5 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_5 : { [K_6 in keyof T_5]?: (T_5[K_6] extends object ? T_5[K_6] extends infer T_6 ? T_6 extends T_5[K_6] ? T_6 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_6 : { [K_7 in keyof T_6]?: (T_6[K_7] extends object ? T_6[K_7] extends infer T_7 ? T_7 extends T_6[K_7] ? T_7 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_7 : { [K_8 in keyof T_7]?: (T_7[K_8] extends object ? T_7[K_8] extends infer T_8 ? T_8 extends T_7[K_8] ? T_8 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_8 : { [K_9 in keyof T_8]?: (T_8[K_9] extends object ? T_8[K_9] : T_8[K_9]) | undefined } : never : never : T_7[K_8]) | undefined } : never : never : T_6[K_7]) | undefined } : never : never : T_5[K_6]) | undefined } : never : never : T_4[K_5]) | undefined } : never : never : T_3[K_4]) | undefined } : never : never : T_2[K_3]) | undefined } : never : never : T_1[K_2]) | undefined } : never : never : T[K]) | undefined } : never : never : Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"]) | undefined;
|
|
5
|
-
} & TResolvedConfig["userConfig"]) | ({
|
|
6
|
-
input: import("@stryke/types/configuration").FileReference | import("@stryke/types/configuration").FileReferenceInput[] | Record<string, import("@stryke/types/configuration").FileReferenceInput | import("@stryke/types/configuration").FileReferenceInput[]> | TResolvedConfig["input"] | (Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] extends object ? Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] extends infer T_1 ? T_1 extends Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] ? T_1 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_1 : { [K_1 in keyof T_1]?: (T_1[K_1] extends object ? T_1[K_1] extends infer T_2 ? T_2 extends T_1[K_1] ? T_2 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_2 : { [K_3 in keyof T_2]?: (T_2[K_3] extends object ? T_2[K_3] extends infer T_3 ? T_3 extends T_2[K_3] ? T_3 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_3 : { [K_4 in keyof T_3]?: (T_3[K_4] extends object ? T_3[K_4] extends infer T_4 ? T_4 extends T_3[K_4] ? T_4 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_4 : { [K_5 in keyof T_4]?: (T_4[K_5] extends object ? T_4[K_5] extends infer T_5 ? T_5 extends T_4[K_5] ? T_5 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_5 : { [K_6 in keyof T_5]?: (T_5[K_6] extends object ? T_5[K_6] extends infer T_6 ? T_6 extends T_5[K_6] ? T_6 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_6 : { [K_7 in keyof T_6]?: (T_6[K_7] extends object ? T_6[K_7] extends infer T_7 ? T_7 extends T_6[K_7] ? T_7 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_7 : { [K_8 in keyof T_7]?: (T_7[K_8] extends object ? T_7[K_8] extends infer T_8 ? T_8 extends T_7[K_8] ? T_8 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_8 : { [K_9 in keyof T_8]?: (T_8[K_9] extends object ? T_8[K_9] extends infer T_9 ? T_9 extends T_8[K_9] ? T_9 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_9 : { [K_10 in keyof T_9]?: (T_9[K_10] extends object ? T_9[K_10] : T_9[K_10]) | undefined } : never : never : T_8[K_9]) | undefined } : never : never : T_7[K_8]) | undefined } : never : never : T_6[K_7]) | undefined } : never : never : T_5[K_6]) | undefined } : never : never : T_4[K_5]) | undefined } : never : never : T_3[K_4]) | undefined } : never : never : T_2[K_3]) | undefined } : never : never : T_1[K_1]) | undefined } : never : never : Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"]) | undefined;
|
|
7
|
-
} & TResolvedConfig["inlineConfig"]) | ({
|
|
8
|
-
input: import("@stryke/types/configuration").FileReference | import("@stryke/types/configuration").FileReferenceInput[] | Record<string, import("@stryke/types/configuration").FileReferenceInput | import("@stryke/types/configuration").FileReferenceInput[]> | TResolvedConfig["input"] | (Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] extends object ? Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] extends infer T_2 ? T_2 extends Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] ? T_2 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_2 : { [K_2 in keyof T_2]?: (T_2[K_2] extends object ? T_2[K_2] extends infer T_3 ? T_3 extends T_2[K_2] ? T_3 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_3 : { [K_4 in keyof T_3]?: (T_3[K_4] extends object ? T_3[K_4] extends infer T_4 ? T_4 extends T_3[K_4] ? T_4 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_4 : { [K_5 in keyof T_4]?: (T_4[K_5] extends object ? T_4[K_5] extends infer T_5 ? T_5 extends T_4[K_5] ? T_5 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_5 : { [K_6 in keyof T_5]?: (T_5[K_6] extends object ? T_5[K_6] extends infer T_6 ? T_6 extends T_5[K_6] ? T_6 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_6 : { [K_7 in keyof T_6]?: (T_6[K_7] extends object ? T_6[K_7] extends infer T_7 ? T_7 extends T_6[K_7] ? T_7 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_7 : { [K_8 in keyof T_7]?: (T_7[K_8] extends object ? T_7[K_8] extends infer T_8 ? T_8 extends T_7[K_8] ? T_8 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_8 : { [K_9 in keyof T_8]?: (T_8[K_9] extends object ? T_8[K_9] extends infer T_9 ? T_9 extends T_8[K_9] ? T_9 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_9 : { [K_10 in keyof T_9]?: (T_9[K_10] extends object ? T_9[K_10] extends infer T_10 ? T_10 extends T_9[K_10] ? T_10 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_10 : { [K_11 in keyof T_10]?: (T_10[K_11] extends object ? T_10[K_11] : T_10[K_11]) | undefined } : never : never : T_9[K_10]) | undefined } : never : never : T_8[K_9]) | undefined } : never : never : T_7[K_8]) | undefined } : never : never : T_6[K_7]) | undefined } : never : never : T_5[K_6]) | undefined } : never : never : T_4[K_5]) | undefined } : never : never : T_3[K_4]) | undefined } : never : never : T_2[K_2]) | undefined } : never : never : Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"]) | undefined;
|
|
9
|
-
} & TResolvedConfig["pluginConfig"]) | ({
|
|
10
|
-
input: import("@stryke/types/configuration").FileReference | import("@stryke/types/configuration").FileReferenceInput[] | Record<string, import("@stryke/types/configuration").FileReferenceInput | import("@stryke/types/configuration").FileReferenceInput[]> | TResolvedConfig["input"] | (Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] extends object ? Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] extends infer T_3 ? T_3 extends Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] ? T_3 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_3 : { [K_3 in keyof T_3]?: (T_3[K_3] extends object ? T_3[K_3] extends infer T_4 ? T_4 extends T_3[K_3] ? T_4 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_4 : { [K_5 in keyof T_4]?: (T_4[K_5] extends object ? T_4[K_5] extends infer T_5 ? T_5 extends T_4[K_5] ? T_5 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_5 : { [K_6 in keyof T_5]?: (T_5[K_6] extends object ? T_5[K_6] extends infer T_6 ? T_6 extends T_5[K_6] ? T_6 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_6 : { [K_7 in keyof T_6]?: (T_6[K_7] extends object ? T_6[K_7] extends infer T_7 ? T_7 extends T_6[K_7] ? T_7 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_7 : { [K_8 in keyof T_7]?: (T_7[K_8] extends object ? T_7[K_8] extends infer T_8 ? T_8 extends T_7[K_8] ? T_8 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_8 : { [K_9 in keyof T_8]?: (T_8[K_9] extends object ? T_8[K_9] extends infer T_9 ? T_9 extends T_8[K_9] ? T_9 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_9 : { [K_10 in keyof T_9]?: (T_9[K_10] extends object ? T_9[K_10] extends infer T_10 ? T_10 extends T_9[K_10] ? T_10 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_10 : { [K_11 in keyof T_10]?: (T_10[K_11] extends object ? T_10[K_11] extends infer T_11 ? T_11 extends T_10[K_11] ? T_11 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_11 : { [K_12 in keyof T_11]?: (T_11[K_12] extends object ? T_11[K_12] : T_11[K_12]) | undefined } : never : never : T_10[K_11]) | undefined } : never : never : T_9[K_10]) | undefined } : never : never : T_8[K_9]) | undefined } : never : never : T_7[K_8]) | undefined } : never : never : T_6[K_7]) | undefined } : never : never : T_5[K_6]) | undefined } : never : never : T_4[K_5]) | undefined } : never : never : T_3[K_3]) | undefined } : never : never : Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"]) | undefined;
|
|
11
|
-
} & InferOverridableConfig<TResolvedConfig>);
|
|
12
|
-
declare function resolvePluginConfig<TResolvedConfig extends ResolvedConfig = ResolvedConfig, TSystemContext = unknown, TContext extends ExecutionContext<TResolvedConfig, TSystemContext> = ExecutionContext<TResolvedConfig, TSystemContext>>(context: TContext): Promise<void>;
|
|
13
|
-
//#endregion
|
|
14
|
-
export { resolvePluginConfig as n, getConfigProps as t };
|
|
15
|
-
//# sourceMappingURL=context-helpers-BKxpDArS.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context-helpers-BKxpDArS.d.mts","names":[],"sources":["../src/lib/context-helpers.ts"],"mappings":";;iBA+BgB,cAAA,yBAAuC,cAAA,EACrD,MAAA,GACI,eAAA,iBACA,eAAA,mBACA,eAAA,mBACA,sBAAA,CAAuB,eAAA;;;;;;;;;iBAQP,mBAAA,yBACI,cAAA,GAAiB,cAAA,6CAExB,gBAAA,CAAiB,eAAA,EAAiB,cAAA,IACjD,gBAAA,CAAiB,eAAA,EAAiB,cAAA,GACpC,OAAA,EAAS,QAAA,GAAQ,OAAA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { $ as ExecutionContext, M as ResolvedConfig, m as InferOverridableConfig } from "./config-BnV_o0Es.cjs";
|
|
2
|
-
//#region src/lib/context-helpers.d.ts
|
|
3
|
-
declare function getConfigProps<TResolvedConfig extends ResolvedConfig>(config?: TResolvedConfig["userConfig"] | TResolvedConfig["inlineConfig"] | TResolvedConfig["pluginConfig"] | InferOverridableConfig<TResolvedConfig>): ({
|
|
4
|
-
input: import("@stryke/types/configuration").FileReference | import("@stryke/types/configuration").FileReferenceInput[] | Record<string, import("@stryke/types/configuration").FileReferenceInput | import("@stryke/types/configuration").FileReferenceInput[]> | TResolvedConfig["input"] | (Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] extends object ? Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] extends infer T ? T extends Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] ? T extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T : { [K in keyof T]?: (T[K] extends object ? T[K] extends infer T_1 ? T_1 extends T[K] ? T_1 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_1 : { [K_2 in keyof T_1]?: (T_1[K_2] extends object ? T_1[K_2] extends infer T_2 ? T_2 extends T_1[K_2] ? T_2 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_2 : { [K_3 in keyof T_2]?: (T_2[K_3] extends object ? T_2[K_3] extends infer T_3 ? T_3 extends T_2[K_3] ? T_3 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_3 : { [K_4 in keyof T_3]?: (T_3[K_4] extends object ? T_3[K_4] extends infer T_4 ? T_4 extends T_3[K_4] ? T_4 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_4 : { [K_5 in keyof T_4]?: (T_4[K_5] extends object ? T_4[K_5] extends infer T_5 ? T_5 extends T_4[K_5] ? T_5 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_5 : { [K_6 in keyof T_5]?: (T_5[K_6] extends object ? T_5[K_6] extends infer T_6 ? T_6 extends T_5[K_6] ? T_6 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_6 : { [K_7 in keyof T_6]?: (T_6[K_7] extends object ? T_6[K_7] extends infer T_7 ? T_7 extends T_6[K_7] ? T_7 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_7 : { [K_8 in keyof T_7]?: (T_7[K_8] extends object ? T_7[K_8] extends infer T_8 ? T_8 extends T_7[K_8] ? T_8 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_8 : { [K_9 in keyof T_8]?: (T_8[K_9] extends object ? T_8[K_9] : T_8[K_9]) | undefined } : never : never : T_7[K_8]) | undefined } : never : never : T_6[K_7]) | undefined } : never : never : T_5[K_6]) | undefined } : never : never : T_4[K_5]) | undefined } : never : never : T_3[K_4]) | undefined } : never : never : T_2[K_3]) | undefined } : never : never : T_1[K_2]) | undefined } : never : never : T[K]) | undefined } : never : never : Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"]) | undefined;
|
|
5
|
-
} & TResolvedConfig["userConfig"]) | ({
|
|
6
|
-
input: import("@stryke/types/configuration").FileReference | import("@stryke/types/configuration").FileReferenceInput[] | Record<string, import("@stryke/types/configuration").FileReferenceInput | import("@stryke/types/configuration").FileReferenceInput[]> | TResolvedConfig["input"] | (Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] extends object ? Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] extends infer T_1 ? T_1 extends Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] ? T_1 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_1 : { [K_1 in keyof T_1]?: (T_1[K_1] extends object ? T_1[K_1] extends infer T_2 ? T_2 extends T_1[K_1] ? T_2 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_2 : { [K_3 in keyof T_2]?: (T_2[K_3] extends object ? T_2[K_3] extends infer T_3 ? T_3 extends T_2[K_3] ? T_3 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_3 : { [K_4 in keyof T_3]?: (T_3[K_4] extends object ? T_3[K_4] extends infer T_4 ? T_4 extends T_3[K_4] ? T_4 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_4 : { [K_5 in keyof T_4]?: (T_4[K_5] extends object ? T_4[K_5] extends infer T_5 ? T_5 extends T_4[K_5] ? T_5 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_5 : { [K_6 in keyof T_5]?: (T_5[K_6] extends object ? T_5[K_6] extends infer T_6 ? T_6 extends T_5[K_6] ? T_6 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_6 : { [K_7 in keyof T_6]?: (T_6[K_7] extends object ? T_6[K_7] extends infer T_7 ? T_7 extends T_6[K_7] ? T_7 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_7 : { [K_8 in keyof T_7]?: (T_7[K_8] extends object ? T_7[K_8] extends infer T_8 ? T_8 extends T_7[K_8] ? T_8 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_8 : { [K_9 in keyof T_8]?: (T_8[K_9] extends object ? T_8[K_9] extends infer T_9 ? T_9 extends T_8[K_9] ? T_9 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_9 : { [K_10 in keyof T_9]?: (T_9[K_10] extends object ? T_9[K_10] : T_9[K_10]) | undefined } : never : never : T_8[K_9]) | undefined } : never : never : T_7[K_8]) | undefined } : never : never : T_6[K_7]) | undefined } : never : never : T_5[K_6]) | undefined } : never : never : T_4[K_5]) | undefined } : never : never : T_3[K_4]) | undefined } : never : never : T_2[K_3]) | undefined } : never : never : T_1[K_1]) | undefined } : never : never : Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"]) | undefined;
|
|
7
|
-
} & TResolvedConfig["inlineConfig"]) | ({
|
|
8
|
-
input: import("@stryke/types/configuration").FileReference | import("@stryke/types/configuration").FileReferenceInput[] | Record<string, import("@stryke/types/configuration").FileReferenceInput | import("@stryke/types/configuration").FileReferenceInput[]> | TResolvedConfig["input"] | (Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] extends object ? Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] extends infer T_2 ? T_2 extends Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] ? T_2 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_2 : { [K_2 in keyof T_2]?: (T_2[K_2] extends object ? T_2[K_2] extends infer T_3 ? T_3 extends T_2[K_2] ? T_3 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_3 : { [K_4 in keyof T_3]?: (T_3[K_4] extends object ? T_3[K_4] extends infer T_4 ? T_4 extends T_3[K_4] ? T_4 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_4 : { [K_5 in keyof T_4]?: (T_4[K_5] extends object ? T_4[K_5] extends infer T_5 ? T_5 extends T_4[K_5] ? T_5 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_5 : { [K_6 in keyof T_5]?: (T_5[K_6] extends object ? T_5[K_6] extends infer T_6 ? T_6 extends T_5[K_6] ? T_6 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_6 : { [K_7 in keyof T_6]?: (T_6[K_7] extends object ? T_6[K_7] extends infer T_7 ? T_7 extends T_6[K_7] ? T_7 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_7 : { [K_8 in keyof T_7]?: (T_7[K_8] extends object ? T_7[K_8] extends infer T_8 ? T_8 extends T_7[K_8] ? T_8 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_8 : { [K_9 in keyof T_8]?: (T_8[K_9] extends object ? T_8[K_9] extends infer T_9 ? T_9 extends T_8[K_9] ? T_9 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_9 : { [K_10 in keyof T_9]?: (T_9[K_10] extends object ? T_9[K_10] extends infer T_10 ? T_10 extends T_9[K_10] ? T_10 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_10 : { [K_11 in keyof T_10]?: (T_10[K_11] extends object ? T_10[K_11] : T_10[K_11]) | undefined } : never : never : T_9[K_10]) | undefined } : never : never : T_8[K_9]) | undefined } : never : never : T_7[K_8]) | undefined } : never : never : T_6[K_7]) | undefined } : never : never : T_5[K_6]) | undefined } : never : never : T_4[K_5]) | undefined } : never : never : T_3[K_4]) | undefined } : never : never : T_2[K_2]) | undefined } : never : never : Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"]) | undefined;
|
|
9
|
-
} & TResolvedConfig["pluginConfig"]) | ({
|
|
10
|
-
input: import("@stryke/types/configuration").FileReference | import("@stryke/types/configuration").FileReferenceInput[] | Record<string, import("@stryke/types/configuration").FileReferenceInput | import("@stryke/types/configuration").FileReferenceInput[]> | TResolvedConfig["input"] | (Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] extends object ? Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] extends infer T_3 ? T_3 extends Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"] ? T_3 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_3 : { [K_3 in keyof T_3]?: (T_3[K_3] extends object ? T_3[K_3] extends infer T_4 ? T_4 extends T_3[K_3] ? T_4 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_4 : { [K_5 in keyof T_4]?: (T_4[K_5] extends object ? T_4[K_5] extends infer T_5 ? T_5 extends T_4[K_5] ? T_5 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_5 : { [K_6 in keyof T_5]?: (T_5[K_6] extends object ? T_5[K_6] extends infer T_6 ? T_6 extends T_5[K_6] ? T_6 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_6 : { [K_7 in keyof T_6]?: (T_6[K_7] extends object ? T_6[K_7] extends infer T_7 ? T_7 extends T_6[K_7] ? T_7 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_7 : { [K_8 in keyof T_7]?: (T_7[K_8] extends object ? T_7[K_8] extends infer T_8 ? T_8 extends T_7[K_8] ? T_8 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_8 : { [K_9 in keyof T_8]?: (T_8[K_9] extends object ? T_8[K_9] extends infer T_9 ? T_9 extends T_8[K_9] ? T_9 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_9 : { [K_10 in keyof T_9]?: (T_9[K_10] extends object ? T_9[K_10] extends infer T_10 ? T_10 extends T_9[K_10] ? T_10 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_10 : { [K_11 in keyof T_10]?: (T_10[K_11] extends object ? T_10[K_11] extends infer T_11 ? T_11 extends T_10[K_11] ? T_11 extends import("@stryke/types/base").BrowserNativeObject | import("@stryke/types/base").NestedValue<object> ? T_11 : { [K_12 in keyof T_11]?: (T_11[K_12] extends object ? T_11[K_12] : T_11[K_12]) | undefined } : never : never : T_10[K_11]) | undefined } : never : never : T_9[K_10]) | undefined } : never : never : T_8[K_9]) | undefined } : never : never : T_7[K_8]) | undefined } : never : never : T_6[K_7]) | undefined } : never : never : T_5[K_6]) | undefined } : never : never : T_4[K_5]) | undefined } : never : never : T_3[K_3]) | undefined } : never : never : Omit<TResolvedConfig, "cwd" | "configFile" | "command" | "userConfig" | "inlineConfig" | "pluginConfig">["input"]) | undefined;
|
|
11
|
-
} & InferOverridableConfig<TResolvedConfig>);
|
|
12
|
-
declare function resolvePluginConfig<TResolvedConfig extends ResolvedConfig = ResolvedConfig, TSystemContext = unknown, TContext extends ExecutionContext<TResolvedConfig, TSystemContext> = ExecutionContext<TResolvedConfig, TSystemContext>>(context: TContext): Promise<void>;
|
|
13
|
-
//#endregion
|
|
14
|
-
export { resolvePluginConfig as n, getConfigProps as t };
|
|
15
|
-
//# sourceMappingURL=context-helpers-zXovPE7i.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context-helpers-zXovPE7i.d.cts","names":[],"sources":["../src/lib/context-helpers.ts"],"mappings":";;iBA+BgB,cAAA,yBAAuC,cAAA,EACrD,MAAA,GACI,eAAA,iBACA,eAAA,mBACA,eAAA,mBACA,sBAAA,CAAuB,eAAA;;;;;;;;;iBAQP,mBAAA,yBACI,cAAA,GAAiB,cAAA,6CAExB,gBAAA,CAAiB,eAAA,EAAiB,cAAA,IACjD,gBAAA,CAAiB,eAAA,EAAiB,cAAA,GACpC,OAAA,EAAS,QAAA,GAAQ,OAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
//#region src/constants/devtools.d.ts
|
|
2
|
-
declare const DEVTOOLS_DEFAULT_PORT = 5000;
|
|
3
|
-
declare const DEVTOOLS_MOUNT_PATH = "/.devtools/";
|
|
4
|
-
declare const DEVTOOLS_MOUNT_PATH_NO_TRAILING_SLASH = "/.devtools";
|
|
5
|
-
declare const DEVTOOLS_DIRNAME = "devtools";
|
|
6
|
-
declare const DEVTOOLS_CONNECTION_META_FILENAME = ".connection.json";
|
|
7
|
-
declare const DEVTOOLS_RPC_DUMP_MANIFEST_FILENAME = "rpc-dump/index.json";
|
|
8
|
-
declare const DEVTOOLS_DOCK_IMPORTS_FILENAME = ".client-imports.js";
|
|
9
|
-
declare const DEVTOOLS_DOCK_IMPORTS_VIRTUAL_ID = "/.devtools-client-imports.js";
|
|
10
|
-
declare const DEVTOOLS_RPC_DUMP_DIRNAME = "rpc-dump";
|
|
11
|
-
//#endregion
|
|
12
|
-
export { DEVTOOLS_DOCK_IMPORTS_VIRTUAL_ID as a, DEVTOOLS_RPC_DUMP_DIRNAME as c, DEVTOOLS_DOCK_IMPORTS_FILENAME as i, DEVTOOLS_RPC_DUMP_MANIFEST_FILENAME as l, DEVTOOLS_DEFAULT_PORT as n, DEVTOOLS_MOUNT_PATH as o, DEVTOOLS_DIRNAME as r, DEVTOOLS_MOUNT_PATH_NO_TRAILING_SLASH as s, DEVTOOLS_CONNECTION_META_FILENAME as t };
|
|
13
|
-
//# sourceMappingURL=devtools-h0du-bSj.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"devtools-h0du-bSj.d.cts","names":[],"sources":["../src/constants/devtools.ts"],"mappings":";cAkBa,qBAAA;AAAA,cAGA,mBAAA;AAAA,cACA,qCAAA;AAAA,cACA,gBAAA;AAAA,cAEA,iCAAA;AAAA,cACA,mCAAA;AAAA,cACA,8BAAA;AAAA,cACA,gCAAA;AAAA,cACA,yBAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
//#region src/constants/devtools.d.ts
|
|
2
|
-
declare const DEVTOOLS_DEFAULT_PORT = 5000;
|
|
3
|
-
declare const DEVTOOLS_MOUNT_PATH = "/.devtools/";
|
|
4
|
-
declare const DEVTOOLS_MOUNT_PATH_NO_TRAILING_SLASH = "/.devtools";
|
|
5
|
-
declare const DEVTOOLS_DIRNAME = "devtools";
|
|
6
|
-
declare const DEVTOOLS_CONNECTION_META_FILENAME = ".connection.json";
|
|
7
|
-
declare const DEVTOOLS_RPC_DUMP_MANIFEST_FILENAME = "rpc-dump/index.json";
|
|
8
|
-
declare const DEVTOOLS_DOCK_IMPORTS_FILENAME = ".client-imports.js";
|
|
9
|
-
declare const DEVTOOLS_DOCK_IMPORTS_VIRTUAL_ID = "/.devtools-client-imports.js";
|
|
10
|
-
declare const DEVTOOLS_RPC_DUMP_DIRNAME = "rpc-dump";
|
|
11
|
-
//#endregion
|
|
12
|
-
export { DEVTOOLS_DOCK_IMPORTS_VIRTUAL_ID as a, DEVTOOLS_RPC_DUMP_DIRNAME as c, DEVTOOLS_DOCK_IMPORTS_FILENAME as i, DEVTOOLS_RPC_DUMP_MANIFEST_FILENAME as l, DEVTOOLS_DEFAULT_PORT as n, DEVTOOLS_MOUNT_PATH as o, DEVTOOLS_DIRNAME as r, DEVTOOLS_MOUNT_PATH_NO_TRAILING_SLASH as s, DEVTOOLS_CONNECTION_META_FILENAME as t };
|
|
13
|
-
//# sourceMappingURL=devtools-h0du-bSj.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"devtools-h0du-bSj.d.mts","names":[],"sources":["../src/constants/devtools.ts"],"mappings":";cAkBa,qBAAA;AAAA,cAGA,mBAAA;AAAA,cACA,qCAAA;AAAA,cACA,gBAAA;AAAA,cAEA,iCAAA;AAAA,cACA,mCAAA;AAAA,cACA,8BAAA;AAAA,cACA,gCAAA;AAAA,cACA,yBAAA"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { M as ResolvedConfig, P as ResolvedEntryFileReference, i as Config, pt as UnresolvedContext } from "./config-BnV_o0Es.cjs";
|
|
2
|
-
import { FileReference, FileReferenceParameter } from "@stryke/types/configuration";
|
|
3
|
-
|
|
4
|
-
//#region src/lib/entry.d.ts
|
|
5
|
-
declare function resolveEntryOutput<TContext extends UnresolvedContext>(context: TContext, fileReference: FileReference): string;
|
|
6
|
-
declare function resolveInput<TContext extends UnresolvedContext>(context: TContext, fileReference: FileReference, input?: FileReferenceParameter, output?: string): ResolvedEntryFileReference;
|
|
7
|
-
/**
|
|
8
|
-
* Resolves multiple file references into their corresponding resolved entry file references.
|
|
9
|
-
*
|
|
10
|
-
* @param context - The current context
|
|
11
|
-
* @param fileReferences - The file references to resolve.
|
|
12
|
-
* @returns A promise that resolves to an array of resolved entry file references .
|
|
13
|
-
*/
|
|
14
|
-
declare function resolveInputs<TContext extends UnresolvedContext>(context: TContext, fileReferences: FileReferenceParameter | FileReferenceParameter[] | Record<string, FileReferenceParameter | FileReferenceParameter[]>): Promise<ResolvedEntryFileReference[]>;
|
|
15
|
-
/**
|
|
16
|
-
* Resolves multiple file references into their corresponding resolved entry file references.
|
|
17
|
-
*
|
|
18
|
-
* @param context - The current context
|
|
19
|
-
* @param fileReferences - The file references to resolve.
|
|
20
|
-
* @returns An array of resolved entry file references.
|
|
21
|
-
*/
|
|
22
|
-
declare function resolveInputsSync<TContext extends UnresolvedContext>(context: TContext, fileReferences: FileReferenceParameter | FileReferenceParameter[] | Record<string, FileReferenceParameter | FileReferenceParameter[]>): ResolvedEntryFileReference[];
|
|
23
|
-
/**
|
|
24
|
-
* Checks if the provided entry is a file reference.
|
|
25
|
-
*
|
|
26
|
-
* @param entry - The entry to check.
|
|
27
|
-
* @returns True if the entry is a file reference, false otherwise.
|
|
28
|
-
*/
|
|
29
|
-
declare function isFileReference(entry: any): entry is FileReference;
|
|
30
|
-
/**
|
|
31
|
-
* Checks if the provided entry is a resolved entry file reference.
|
|
32
|
-
*
|
|
33
|
-
* @param entry - The entry to check.
|
|
34
|
-
* @returns True if the entry is a resolved entry file reference, false otherwise.
|
|
35
|
-
*/
|
|
36
|
-
declare function isResolvedEntryFileReference(entry: FileReferenceParameter | ResolvedEntryFileReference): entry is ResolvedEntryFileReference;
|
|
37
|
-
/**
|
|
38
|
-
* Get unique inputs from the provided list.
|
|
39
|
-
*
|
|
40
|
-
* @param inputs - The entry points to process.
|
|
41
|
-
* @returns An array of unique inputs (by file path or content hash).
|
|
42
|
-
*/
|
|
43
|
-
declare function getUniqueInputs(inputs?: Config["input"]): ResolvedConfig["input"];
|
|
44
|
-
//#endregion
|
|
45
|
-
export { resolveInput as a, resolveEntryOutput as i, isFileReference as n, resolveInputs as o, isResolvedEntryFileReference as r, resolveInputsSync as s, getUniqueInputs as t };
|
|
46
|
-
//# sourceMappingURL=entry-BC_V2K2U.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entry-BC_V2K2U.d.cts","names":[],"sources":["../src/lib/entry.ts"],"mappings":";;;;iBAyCgB,kBAAA,kBAAoC,iBAAA,EAClD,OAAA,EAAS,QAAA,EACT,aAAA,EAAe,aAAA;AAAA,iBAsBD,YAAA,kBAA8B,iBAAA,EAC5C,OAAA,EAAS,QAAA,EACT,aAAA,EAAe,aAAA,EACf,KAAA,GAAQ,sBAAA,EACR,MAAA,YACC,0BAAA;;;;;;;;iBAemB,aAAA,kBAA+B,iBAAA,EACnD,OAAA,EAAS,QAAA,EACT,cAAA,EACI,sBAAA,GACA,sBAAA,KACA,MAAA,SAAe,sBAAA,GAAyB,sBAAA,MAC3C,OAAA,CAAQ,0BAAA;;;;;;;AAhDmB;iBAyHd,iBAAA,kBAAmC,iBAAA,EACjD,OAAA,EAAS,QAAA,EACT,cAAA,EACI,sBAAA,GACA,sBAAA,KACA,MAAA,SAAe,sBAAA,GAAyB,sBAAA,MAC3C,0BAAA;;;;;;;iBAwDa,eAAA,CAAgB,KAAA,QAAa,KAAA,IAAS,aAAa;;;;;;;iBAUnD,4BAAA,CACd,KAAA,EAAO,sBAAA,GAAyB,0BAAA,GAC/B,KAAA,IAAS,0BAAA;;;;;;;iBAaI,eAAA,CACd,MAAA,GAAQ,MAAA,YACP,cAAc"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { M as ResolvedConfig, P as ResolvedEntryFileReference, i as Config, pt as UnresolvedContext } from "./config-DboKmDhl.mjs";
|
|
2
|
-
import { FileReference, FileReferenceParameter } from "@stryke/types/configuration";
|
|
3
|
-
|
|
4
|
-
//#region src/lib/entry.d.ts
|
|
5
|
-
declare function resolveEntryOutput<TContext extends UnresolvedContext>(context: TContext, fileReference: FileReference): string;
|
|
6
|
-
declare function resolveInput<TContext extends UnresolvedContext>(context: TContext, fileReference: FileReference, input?: FileReferenceParameter, output?: string): ResolvedEntryFileReference;
|
|
7
|
-
/**
|
|
8
|
-
* Resolves multiple file references into their corresponding resolved entry file references.
|
|
9
|
-
*
|
|
10
|
-
* @param context - The current context
|
|
11
|
-
* @param fileReferences - The file references to resolve.
|
|
12
|
-
* @returns A promise that resolves to an array of resolved entry file references .
|
|
13
|
-
*/
|
|
14
|
-
declare function resolveInputs<TContext extends UnresolvedContext>(context: TContext, fileReferences: FileReferenceParameter | FileReferenceParameter[] | Record<string, FileReferenceParameter | FileReferenceParameter[]>): Promise<ResolvedEntryFileReference[]>;
|
|
15
|
-
/**
|
|
16
|
-
* Resolves multiple file references into their corresponding resolved entry file references.
|
|
17
|
-
*
|
|
18
|
-
* @param context - The current context
|
|
19
|
-
* @param fileReferences - The file references to resolve.
|
|
20
|
-
* @returns An array of resolved entry file references.
|
|
21
|
-
*/
|
|
22
|
-
declare function resolveInputsSync<TContext extends UnresolvedContext>(context: TContext, fileReferences: FileReferenceParameter | FileReferenceParameter[] | Record<string, FileReferenceParameter | FileReferenceParameter[]>): ResolvedEntryFileReference[];
|
|
23
|
-
/**
|
|
24
|
-
* Checks if the provided entry is a file reference.
|
|
25
|
-
*
|
|
26
|
-
* @param entry - The entry to check.
|
|
27
|
-
* @returns True if the entry is a file reference, false otherwise.
|
|
28
|
-
*/
|
|
29
|
-
declare function isFileReference(entry: any): entry is FileReference;
|
|
30
|
-
/**
|
|
31
|
-
* Checks if the provided entry is a resolved entry file reference.
|
|
32
|
-
*
|
|
33
|
-
* @param entry - The entry to check.
|
|
34
|
-
* @returns True if the entry is a resolved entry file reference, false otherwise.
|
|
35
|
-
*/
|
|
36
|
-
declare function isResolvedEntryFileReference(entry: FileReferenceParameter | ResolvedEntryFileReference): entry is ResolvedEntryFileReference;
|
|
37
|
-
/**
|
|
38
|
-
* Get unique inputs from the provided list.
|
|
39
|
-
*
|
|
40
|
-
* @param inputs - The entry points to process.
|
|
41
|
-
* @returns An array of unique inputs (by file path or content hash).
|
|
42
|
-
*/
|
|
43
|
-
declare function getUniqueInputs(inputs?: Config["input"]): ResolvedConfig["input"];
|
|
44
|
-
//#endregion
|
|
45
|
-
export { resolveInput as a, resolveEntryOutput as i, isFileReference as n, resolveInputs as o, isResolvedEntryFileReference as r, resolveInputsSync as s, getUniqueInputs as t };
|
|
46
|
-
//# sourceMappingURL=entry-CHIaWcmk.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entry-CHIaWcmk.d.mts","names":[],"sources":["../src/lib/entry.ts"],"mappings":";;;;iBAyCgB,kBAAA,kBAAoC,iBAAA,EAClD,OAAA,EAAS,QAAA,EACT,aAAA,EAAe,aAAA;AAAA,iBAsBD,YAAA,kBAA8B,iBAAA,EAC5C,OAAA,EAAS,QAAA,EACT,aAAA,EAAe,aAAA,EACf,KAAA,GAAQ,sBAAA,EACR,MAAA,YACC,0BAAA;;;;;;;;iBAemB,aAAA,kBAA+B,iBAAA,EACnD,OAAA,EAAS,QAAA,EACT,cAAA,EACI,sBAAA,GACA,sBAAA,KACA,MAAA,SAAe,sBAAA,GAAyB,sBAAA,MAC3C,OAAA,CAAQ,0BAAA;;;;;;;AAhDmB;iBAyHd,iBAAA,kBAAmC,iBAAA,EACjD,OAAA,EAAS,QAAA,EACT,cAAA,EACI,sBAAA,GACA,sBAAA,KACA,MAAA,SAAe,sBAAA,GAAyB,sBAAA,MAC3C,0BAAA;;;;;;;iBAwDa,eAAA,CAAgB,KAAA,QAAa,KAAA,IAAS,aAAa;;;;;;;iBAUnD,4BAAA,CACd,KAAA,EAAO,sBAAA,GAAyB,0BAAA,GAC/B,KAAA,IAAS,0BAAA;;;;;;;iBAaI,eAAA,CACd,MAAA,GAAQ,MAAA,YACP,cAAc"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
//#region src/constants/environments.d.ts
|
|
2
|
-
declare const DEFAULT_ENVIRONMENT: "default";
|
|
3
|
-
declare const GLOBAL_ENVIRONMENT: "__global__";
|
|
4
|
-
declare const CLIENT_ENVIRONMENT: "client";
|
|
5
|
-
declare const SERVER_ENVIRONMENT: "server";
|
|
6
|
-
declare const SSR_ENVIRONMENT: "ssr";
|
|
7
|
-
declare const RSC_ENVIRONMENT: "rsc";
|
|
8
|
-
//#endregion
|
|
9
|
-
export { SERVER_ENVIRONMENT as a, RSC_ENVIRONMENT as i, DEFAULT_ENVIRONMENT as n, SSR_ENVIRONMENT as o, GLOBAL_ENVIRONMENT as r, CLIENT_ENVIRONMENT as t };
|
|
10
|
-
//# sourceMappingURL=environments-BYv_kHRG.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"environments-BYv_kHRG.d.cts","names":[],"sources":["../src/constants/environments.ts"],"mappings":";cAkBa,mBAAA;AAAA,cACA,kBAAA;AAAA,cAGA,kBAAA;AAAA,cACA,kBAAA;AAAA,cACA,eAAA;AAAA,cACA,eAAA"}
|