@powerlines/core 0.9.0 → 0.9.2
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/constants/api.cjs +18 -0
- package/dist/constants/api.d.cts +6 -0
- package/dist/constants/api.d.cts.map +1 -0
- package/dist/constants/api.d.mts +6 -0
- package/dist/constants/api.d.mts.map +1 -0
- package/dist/constants/api.mjs +16 -0
- package/dist/constants/api.mjs.map +1 -0
- package/dist/constants/commands.cjs +3 -11
- package/dist/constants/commands.d.cts +1 -1
- package/dist/constants/commands.d.cts.map +1 -1
- package/dist/constants/commands.d.mts +1 -1
- package/dist/constants/commands.d.mts.map +1 -1
- package/dist/constants/commands.mjs +3 -11
- package/dist/constants/commands.mjs.map +1 -1
- package/dist/constants/devtools.cjs +23 -0
- package/dist/constants/devtools.d.cts +13 -0
- package/dist/constants/devtools.d.cts.map +1 -0
- package/dist/constants/devtools.d.mts +13 -0
- package/dist/constants/devtools.d.mts.map +1 -0
- package/dist/constants/devtools.mjs +14 -0
- package/dist/constants/devtools.mjs.map +1 -0
- package/dist/constants/environments.cjs +1 -0
- package/dist/constants/extensions.cjs +21 -0
- package/dist/constants/extensions.d.cts +5 -0
- package/dist/constants/extensions.d.cts.map +1 -0
- package/dist/constants/extensions.d.mts +5 -0
- package/dist/constants/extensions.d.mts.map +1 -0
- package/dist/constants/extensions.mjs +20 -0
- package/dist/constants/extensions.mjs.map +1 -0
- package/dist/constants/fs.cjs +1 -0
- package/dist/constants/hooks.cjs +1 -0
- package/dist/constants/index.cjs +48 -24
- package/dist/constants/index.d.cts +5 -1
- package/dist/constants/index.d.mts +5 -1
- package/dist/constants/index.mjs +6 -2
- package/dist/constants/log-level.cjs +90 -0
- package/dist/constants/log-level.d.cts +63 -0
- package/dist/constants/log-level.d.cts.map +1 -0
- package/dist/constants/log-level.d.mts +63 -0
- package/dist/constants/log-level.d.mts.map +1 -0
- package/dist/constants/log-level.mjs +82 -0
- package/dist/constants/log-level.mjs.map +1 -0
- package/dist/constants/meta.cjs +1 -0
- package/dist/constants/plugin.cjs +3 -2
- package/dist/constants/plugin.d.cts +2 -2
- package/dist/constants/plugin.d.mts +2 -2
- package/dist/context/base-context.cjs +127 -0
- package/dist/context/base-context.d.cts +81 -0
- package/dist/context/base-context.d.cts.map +1 -0
- package/dist/context/base-context.d.mts +81 -0
- package/dist/context/base-context.d.mts.map +1 -0
- package/dist/context/base-context.mjs +125 -0
- package/dist/context/base-context.mjs.map +1 -0
- package/dist/context/context.cjs +934 -0
- package/dist/context/context.d.cts +369 -0
- package/dist/context/context.d.cts.map +1 -0
- package/dist/context/context.d.mts +369 -0
- package/dist/context/context.d.mts.map +1 -0
- package/dist/context/context.mjs +932 -0
- package/dist/context/context.mjs.map +1 -0
- package/dist/context/environment-context.cjs +219 -0
- package/dist/context/environment-context.d.cts +100 -0
- package/dist/context/environment-context.d.cts.map +1 -0
- package/dist/context/environment-context.d.mts +100 -0
- package/dist/context/environment-context.d.mts.map +1 -0
- package/dist/context/environment-context.mjs +218 -0
- package/dist/context/environment-context.mjs.map +1 -0
- package/dist/context/execution-context.cjs +230 -0
- package/dist/context/execution-context.d.cts +101 -0
- package/dist/context/execution-context.d.cts.map +1 -0
- package/dist/context/execution-context.d.mts +101 -0
- package/dist/context/execution-context.d.mts.map +1 -0
- package/dist/context/execution-context.mjs +228 -0
- package/dist/context/execution-context.mjs.map +1 -0
- package/dist/context/index.cjs +12 -0
- package/dist/context/index.d.cts +6 -0
- package/dist/context/index.d.mts +6 -0
- package/dist/context/index.mjs +7 -0
- package/dist/context/plugin-context.cjs +83 -0
- package/dist/context/plugin-context.d.cts +18 -0
- package/dist/context/plugin-context.d.cts.map +1 -0
- package/dist/context/plugin-context.d.mts +18 -0
- package/dist/context/plugin-context.d.mts.map +1 -0
- package/dist/context/plugin-context.mjs +82 -0
- package/dist/context/plugin-context.mjs.map +1 -0
- package/dist/index.cjs +62 -6
- package/dist/index.d.cts +23 -11
- package/dist/index.d.mts +23 -11
- package/dist/index.mjs +17 -5
- package/dist/lib/config.cjs +167 -28
- package/dist/lib/config.d.cts +95 -14
- package/dist/lib/config.d.cts.map +1 -1
- package/dist/lib/config.d.mts +95 -14
- package/dist/lib/config.d.mts.map +1 -1
- package/dist/lib/config.mjs +160 -28
- package/dist/lib/config.mjs.map +1 -1
- package/dist/lib/context-helpers.cjs +43 -0
- package/dist/lib/context-helpers.d.cts +19 -0
- package/dist/lib/context-helpers.d.cts.map +1 -0
- package/dist/lib/context-helpers.d.mts +19 -0
- package/dist/lib/context-helpers.d.mts.map +1 -0
- package/dist/lib/context-helpers.mjs +41 -0
- package/dist/lib/context-helpers.mjs.map +1 -0
- package/dist/lib/entry.cjs +9 -9
- package/dist/lib/entry.d.cts.map +1 -1
- package/dist/lib/entry.d.mts.map +1 -1
- package/dist/lib/entry.mjs +9 -9
- package/dist/lib/entry.mjs.map +1 -1
- package/dist/lib/environment.cjs +72 -0
- package/dist/lib/environment.d.cts +12 -0
- package/dist/lib/environment.d.cts.map +1 -0
- package/dist/lib/environment.d.mts +12 -0
- package/dist/lib/environment.d.mts.map +1 -0
- package/dist/lib/environment.mjs +67 -0
- package/dist/lib/environment.mjs.map +1 -0
- package/dist/lib/events.cjs +43 -0
- package/dist/lib/events.d.cts +10 -0
- package/dist/lib/events.d.cts.map +1 -0
- package/dist/lib/events.d.mts +10 -0
- package/dist/lib/events.d.mts.map +1 -0
- package/dist/lib/events.mjs +42 -0
- package/dist/lib/events.mjs.map +1 -0
- package/dist/lib/generate-types.cjs +371 -0
- package/dist/lib/generate-types.d.cts +67 -0
- package/dist/lib/generate-types.d.cts.map +1 -0
- package/dist/lib/generate-types.d.mts +67 -0
- package/dist/lib/generate-types.d.mts.map +1 -0
- package/dist/lib/generate-types.mjs +368 -0
- package/dist/lib/generate-types.mjs.map +1 -0
- package/dist/lib/hooks.cjs +152 -0
- package/dist/lib/hooks.d.cts +28 -0
- package/dist/lib/hooks.d.cts.map +1 -0
- package/dist/lib/hooks.d.mts +28 -0
- package/dist/lib/hooks.d.mts.map +1 -0
- package/dist/lib/hooks.mjs +147 -0
- package/dist/lib/hooks.mjs.map +1 -0
- package/dist/lib/index.cjs +64 -6
- package/dist/lib/index.d.cts +15 -3
- package/dist/lib/index.d.mts +15 -3
- package/dist/lib/index.mjs +19 -5
- package/dist/lib/install-dependencies.cjs +25 -0
- package/dist/lib/install-dependencies.d.cts +12 -0
- package/dist/lib/install-dependencies.d.cts.map +1 -0
- package/dist/lib/install-dependencies.d.mts +12 -0
- package/dist/lib/install-dependencies.d.mts.map +1 -0
- package/dist/lib/install-dependencies.mjs +24 -0
- package/dist/lib/install-dependencies.mjs.map +1 -0
- package/dist/lib/meta.cjs +57 -0
- package/dist/lib/meta.d.cts +34 -0
- package/dist/lib/meta.d.cts.map +1 -0
- package/dist/lib/meta.d.mts +34 -0
- package/dist/lib/meta.d.mts.map +1 -0
- package/dist/lib/meta.mjs +54 -0
- package/dist/lib/meta.mjs.map +1 -0
- package/dist/lib/plugins.cjs +150 -0
- package/dist/lib/plugins.d.cts +40 -0
- package/dist/lib/plugins.d.cts.map +1 -0
- package/dist/lib/plugins.d.mts +40 -0
- package/dist/lib/plugins.d.mts.map +1 -0
- package/dist/lib/plugins.mjs +146 -0
- package/dist/lib/plugins.mjs.map +1 -0
- package/dist/lib/resolver.cjs +35 -0
- package/dist/lib/resolver.d.cts +21 -0
- package/dist/lib/resolver.d.cts.map +1 -0
- package/dist/lib/resolver.d.mts +21 -0
- package/dist/lib/resolver.d.mts.map +1 -0
- package/dist/lib/resolver.mjs +33 -0
- package/dist/lib/resolver.mjs.map +1 -0
- package/dist/lib/schemas.cjs +9 -0
- package/dist/lib/schemas.d.cts +2 -0
- package/dist/lib/schemas.d.mts +2 -0
- package/dist/lib/schemas.mjs +3 -0
- package/dist/lib/streaming-channel.cjs +260 -0
- package/dist/lib/streaming-channel.d.cts +133 -0
- package/dist/lib/streaming-channel.d.cts.map +1 -0
- package/dist/lib/streaming-channel.d.mts +133 -0
- package/dist/lib/streaming-channel.d.mts.map +1 -0
- package/dist/lib/streaming-channel.mjs +258 -0
- package/dist/lib/streaming-channel.mjs.map +1 -0
- package/dist/lib/typescript/index.cjs +16 -0
- package/dist/lib/typescript/index.d.cts +3 -0
- package/dist/lib/typescript/index.d.mts +3 -0
- package/dist/lib/typescript/index.mjs +4 -0
- package/dist/lib/typescript/ts-morph.cjs +105 -0
- package/dist/lib/typescript/ts-morph.d.cts +38 -0
- package/dist/lib/typescript/ts-morph.d.cts.map +1 -0
- package/dist/lib/typescript/ts-morph.d.mts +38 -0
- package/dist/lib/typescript/ts-morph.d.mts.map +1 -0
- package/dist/lib/typescript/ts-morph.mjs +102 -0
- package/dist/lib/typescript/ts-morph.mjs.map +1 -0
- package/dist/lib/typescript/tsconfig.cjs +253 -0
- package/dist/lib/typescript/tsconfig.d.cts +77 -0
- package/dist/lib/typescript/tsconfig.d.cts.map +1 -0
- package/dist/lib/typescript/tsconfig.d.mts +77 -0
- package/dist/lib/typescript/tsconfig.d.mts.map +1 -0
- package/dist/lib/typescript/tsconfig.mjs +240 -0
- package/dist/lib/typescript/tsconfig.mjs.map +1 -0
- package/dist/lib/unplugin/helpers.cjs +2 -2
- package/dist/lib/unplugin/module-resolution.cjs +21 -20
- package/dist/lib/unplugin/module-resolution.d.cts +8 -0
- package/dist/lib/unplugin/module-resolution.d.cts.map +1 -1
- package/dist/lib/unplugin/module-resolution.d.mts +8 -0
- package/dist/lib/unplugin/module-resolution.d.mts.map +1 -1
- package/dist/lib/unplugin/module-resolution.mjs +20 -20
- package/dist/lib/unplugin/module-resolution.mjs.map +1 -1
- package/dist/lib/unplugin/plugin.cjs +57 -63
- package/dist/lib/unplugin/plugin.d.cts +11 -5
- package/dist/lib/unplugin/plugin.d.cts.map +1 -1
- package/dist/lib/unplugin/plugin.d.mts +11 -5
- package/dist/lib/unplugin/plugin.d.mts.map +1 -1
- package/dist/lib/unplugin/plugin.mjs +57 -63
- package/dist/lib/unplugin/plugin.mjs.map +1 -1
- package/dist/lib/utilities/file-header.cjs +2 -2
- package/dist/lib/utilities/file-header.mjs +2 -2
- package/dist/lib/utilities/file-header.mjs.map +1 -1
- package/dist/lib/utilities/format.cjs +16 -8
- package/dist/lib/utilities/format.d.cts.map +1 -1
- package/dist/lib/utilities/format.d.mts.map +1 -1
- package/dist/lib/utilities/format.mjs +15 -8
- package/dist/lib/utilities/format.mjs.map +1 -1
- package/dist/lib/utilities/index.cjs +2 -2
- package/dist/lib/utilities/index.mjs +2 -2
- package/dist/lib/utilities/source-file.cjs +1 -1
- package/dist/lib/utilities/source-map.cjs +1 -1
- package/dist/lib/utilities/write-file.cjs +1 -2
- package/dist/lib/utilities/write-file.d.cts +1 -1
- package/dist/lib/utilities/write-file.d.cts.map +1 -1
- package/dist/lib/utilities/write-file.d.mts +1 -1
- package/dist/lib/utilities/write-file.d.mts.map +1 -1
- package/dist/lib/utilities/write-file.mjs +1 -2
- package/dist/lib/utilities/write-file.mjs.map +1 -1
- package/dist/lib/vfs.cjs +1104 -0
- package/dist/lib/vfs.d.cts +321 -0
- package/dist/lib/vfs.d.cts.map +1 -0
- package/dist/lib/vfs.d.mts +321 -0
- package/dist/lib/vfs.d.mts.map +1 -0
- package/dist/lib/vfs.mjs +1102 -0
- package/dist/lib/vfs.mjs.map +1 -0
- package/dist/plugin-base.cjs +5 -9
- package/dist/plugin-base.mjs +5 -9
- package/dist/plugin-base.mjs.map +1 -1
- package/dist/plugin-utils/build-helpers.cjs +2 -2
- package/dist/plugin-utils/build-helpers.mjs +2 -2
- package/dist/plugin-utils/build-helpers.mjs.map +1 -1
- package/dist/plugin-utils/combine-plugins.d.cts +7 -8
- package/dist/plugin-utils/combine-plugins.d.cts.map +1 -1
- package/dist/plugin-utils/combine-plugins.d.mts +7 -8
- package/dist/plugin-utils/combine-plugins.d.mts.map +1 -1
- package/dist/plugin-utils/combine-plugins.mjs.map +1 -1
- package/dist/plugin-utils/context-helpers.cjs +29 -16
- package/dist/plugin-utils/context-helpers.d.cts +10 -2
- package/dist/plugin-utils/context-helpers.d.cts.map +1 -1
- package/dist/plugin-utils/context-helpers.d.mts +10 -2
- package/dist/plugin-utils/context-helpers.d.mts.map +1 -1
- package/dist/plugin-utils/context-helpers.mjs +29 -17
- package/dist/plugin-utils/context-helpers.mjs.map +1 -1
- package/dist/plugin-utils/docs-helper.cjs +17 -0
- package/dist/plugin-utils/docs-helper.d.cts +11 -0
- package/dist/plugin-utils/docs-helper.d.cts.map +1 -0
- package/dist/plugin-utils/docs-helper.d.mts +11 -0
- package/dist/plugin-utils/docs-helper.d.mts.map +1 -0
- package/dist/plugin-utils/docs-helper.mjs +16 -0
- package/dist/plugin-utils/docs-helper.mjs.map +1 -0
- package/dist/plugin-utils/extend.mjs.map +1 -1
- package/dist/plugin-utils/filter.cjs +101 -0
- package/dist/plugin-utils/filter.d.cts +16 -0
- package/dist/plugin-utils/filter.d.cts.map +1 -0
- package/dist/plugin-utils/filter.d.mts +16 -0
- package/dist/plugin-utils/filter.d.mts.map +1 -0
- package/dist/plugin-utils/filter.mjs +91 -0
- package/dist/plugin-utils/filter.mjs.map +1 -0
- package/dist/plugin-utils/format-package-json.cjs +1 -1
- package/dist/plugin-utils/format-package-json.mjs +1 -1
- package/dist/plugin-utils/format-package-json.mjs.map +1 -1
- package/dist/plugin-utils/format.cjs +44 -0
- package/dist/plugin-utils/format.d.cts +11 -0
- package/dist/plugin-utils/format.d.cts.map +1 -0
- package/dist/plugin-utils/format.d.mts +11 -0
- package/dist/plugin-utils/format.d.mts.map +1 -0
- package/dist/plugin-utils/format.mjs +43 -0
- package/dist/plugin-utils/format.mjs.map +1 -0
- package/dist/plugin-utils/get-config-path.cjs +34 -32
- package/dist/plugin-utils/get-config-path.d.cts +4 -1
- package/dist/plugin-utils/get-config-path.d.cts.map +1 -1
- package/dist/plugin-utils/get-config-path.d.mts +4 -1
- package/dist/plugin-utils/get-config-path.d.mts.map +1 -1
- package/dist/plugin-utils/get-config-path.mjs +34 -32
- package/dist/plugin-utils/get-config-path.mjs.map +1 -1
- package/dist/plugin-utils/helpers.cjs +25 -10
- package/dist/plugin-utils/helpers.d.cts +31 -24
- package/dist/plugin-utils/helpers.d.cts.map +1 -1
- package/dist/plugin-utils/helpers.d.mts +31 -24
- package/dist/plugin-utils/helpers.d.mts.map +1 -1
- package/dist/plugin-utils/helpers.mjs +22 -8
- package/dist/plugin-utils/helpers.mjs.map +1 -1
- package/dist/plugin-utils/index.cjs +48 -4
- package/dist/plugin-utils/index.d.cts +9 -3
- package/dist/plugin-utils/index.d.mts +9 -3
- package/dist/plugin-utils/index.mjs +11 -5
- package/dist/plugin-utils/install.cjs +47 -0
- package/dist/plugin-utils/install.d.cts +23 -0
- package/dist/plugin-utils/install.d.cts.map +1 -0
- package/dist/plugin-utils/install.d.mts +23 -0
- package/dist/plugin-utils/install.d.mts.map +1 -0
- package/dist/plugin-utils/install.mjs +45 -0
- package/dist/plugin-utils/install.mjs.map +1 -0
- package/dist/plugin-utils/logging.cjs +605 -0
- package/dist/plugin-utils/logging.d.cts +111 -0
- package/dist/plugin-utils/logging.d.cts.map +1 -0
- package/dist/plugin-utils/logging.d.mts +111 -0
- package/dist/plugin-utils/logging.d.mts.map +1 -0
- package/dist/plugin-utils/logging.mjs +588 -0
- package/dist/plugin-utils/logging.mjs.map +1 -0
- package/dist/plugin-utils/merge.cjs +21 -3
- package/dist/plugin-utils/merge.d.cts +0 -1
- package/dist/plugin-utils/merge.d.cts.map +1 -1
- package/dist/plugin-utils/merge.d.mts.map +1 -1
- package/dist/plugin-utils/merge.mjs +20 -2
- package/dist/plugin-utils/merge.mjs.map +1 -1
- package/dist/plugin-utils/modules.cjs +1 -1
- package/dist/plugin-utils/modules.mjs +1 -1
- package/dist/plugin-utils/modules.mjs.map +1 -1
- package/dist/plugin-utils/paths.cjs +18 -4
- package/dist/plugin-utils/paths.d.cts +12 -2
- package/dist/plugin-utils/paths.d.cts.map +1 -1
- package/dist/plugin-utils/paths.d.mts +12 -2
- package/dist/plugin-utils/paths.d.mts.map +1 -1
- package/dist/plugin-utils/paths.mjs +18 -4
- package/dist/plugin-utils/paths.mjs.map +1 -1
- package/dist/plugin-utils/virtual.cjs +80 -0
- package/dist/plugin-utils/virtual.d.cts +69 -0
- package/dist/plugin-utils/virtual.d.cts.map +1 -0
- package/dist/plugin-utils/virtual.d.mts +69 -0
- package/dist/plugin-utils/virtual.d.mts.map +1 -0
- package/dist/plugin-utils/virtual.mjs +73 -0
- package/dist/plugin-utils/virtual.mjs.map +1 -0
- package/dist/schemas/fs.cjs +232 -0
- package/dist/schemas/fs.d.cts +127 -0
- package/dist/schemas/fs.d.cts.map +1 -0
- package/dist/schemas/fs.d.mts +127 -0
- package/dist/schemas/fs.d.mts.map +1 -0
- package/dist/schemas/fs.mjs +226 -0
- package/dist/schemas/fs.mjs.map +1 -0
- package/dist/storage/base.cjs +216 -0
- package/dist/storage/base.d.cts +201 -0
- package/dist/storage/base.d.cts.map +1 -0
- package/dist/storage/base.d.mts +201 -0
- package/dist/storage/base.d.mts.map +1 -0
- package/dist/storage/base.mjs +215 -0
- package/dist/storage/base.mjs.map +1 -0
- package/dist/storage/file-system.cjs +180 -0
- package/dist/storage/file-system.d.cts +129 -0
- package/dist/storage/file-system.d.cts.map +1 -0
- package/dist/storage/file-system.d.mts +129 -0
- package/dist/storage/file-system.d.mts.map +1 -0
- package/dist/storage/file-system.mjs +179 -0
- package/dist/storage/file-system.mjs.map +1 -0
- package/dist/storage/helpers.cjs +37 -0
- package/dist/storage/helpers.d.cts +25 -0
- package/dist/storage/helpers.d.cts.map +1 -0
- package/dist/storage/helpers.d.mts +25 -0
- package/dist/storage/helpers.d.mts.map +1 -0
- package/dist/storage/helpers.mjs +34 -0
- package/dist/storage/helpers.mjs.map +1 -0
- package/dist/storage/index.cjs +12 -0
- package/dist/storage/index.d.cts +5 -0
- package/dist/storage/index.d.mts +5 -0
- package/dist/storage/index.mjs +6 -0
- package/dist/storage/virtual.cjs +98 -0
- package/dist/storage/virtual.d.cts +80 -0
- package/dist/storage/virtual.d.cts.map +1 -0
- package/dist/storage/virtual.d.mts +80 -0
- package/dist/storage/virtual.d.mts.map +1 -0
- package/dist/storage/virtual.mjs +97 -0
- package/dist/storage/virtual.mjs.map +1 -0
- package/dist/types/api.d.cts +18 -99
- package/dist/types/api.d.cts.map +1 -1
- package/dist/types/api.d.mts +18 -99
- package/dist/types/api.d.mts.map +1 -1
- package/dist/types/config.d.cts +239 -141
- package/dist/types/config.d.cts.map +1 -1
- package/dist/types/config.d.mts +240 -142
- package/dist/types/config.d.mts.map +1 -1
- package/dist/types/context.d.cts +228 -117
- package/dist/types/context.d.cts.map +1 -1
- package/dist/types/context.d.mts +231 -120
- package/dist/types/context.d.mts.map +1 -1
- package/dist/types/fs.d.cts +49 -5
- package/dist/types/fs.d.cts.map +1 -1
- package/dist/types/fs.d.mts +50 -6
- package/dist/types/fs.d.mts.map +1 -1
- package/dist/types/hooks.d.cts +26 -38
- package/dist/types/hooks.d.cts.map +1 -1
- package/dist/types/hooks.d.mts +26 -38
- package/dist/types/hooks.d.mts.map +1 -1
- package/dist/types/index.d.cts +9 -0
- package/dist/types/index.d.mts +8 -8
- package/dist/types/logging.d.cts +161 -0
- package/dist/types/logging.d.cts.map +1 -0
- package/dist/types/logging.d.mts +161 -0
- package/dist/types/logging.d.mts.map +1 -0
- package/dist/types/plugin.d.cts +23 -24
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +23 -24
- package/dist/types/plugin.d.mts.map +1 -1
- package/dist/types/tsconfig.d.cts +15 -12
- package/dist/types/tsconfig.d.cts.map +1 -1
- package/dist/types/tsconfig.d.mts +16 -13
- package/dist/types/tsconfig.d.mts.map +1 -1
- package/dist/types/unplugin.d.cts +10 -23
- package/dist/types/unplugin.d.cts.map +1 -1
- package/dist/types/unplugin.d.mts +10 -23
- package/dist/types/unplugin.d.mts.map +1 -1
- package/package.json +270 -425
- package/schemas/fs.capnp +42 -0
- package/dist/lib/logger.cjs +0 -59
- package/dist/lib/logger.d.cts +0 -23
- package/dist/lib/logger.d.cts.map +0 -1
- package/dist/lib/logger.d.mts +0 -23
- package/dist/lib/logger.d.mts.map +0 -1
- package/dist/lib/logger.mjs +0 -56
- package/dist/lib/logger.mjs.map +0 -1
- package/dist/types/_internal.cjs +0 -0
- package/dist/types/_internal.d.cts +0 -106
- package/dist/types/_internal.d.cts.map +0 -1
- package/dist/types/_internal.d.mts +0 -106
- package/dist/types/_internal.d.mts.map +0 -1
- package/dist/types/_internal.mjs +0 -1
- package/dist/types/commands.d.cts +0 -13
- package/dist/types/commands.d.cts.map +0 -1
- package/dist/types/commands.d.mts +0 -13
- package/dist/types/commands.d.mts.map +0 -1
package/dist/types/config.d.cts
CHANGED
|
@@ -1,24 +1,18 @@
|
|
|
1
1
|
import { StoragePort, StoragePreset } from "./fs.cjs";
|
|
2
2
|
import { Plugin } from "./plugin.cjs";
|
|
3
|
+
import { LogFn, LogLevelResolvedConfig, LogLevelUserConfig } from "./logging.cjs";
|
|
3
4
|
import { TSConfig } from "./tsconfig.cjs";
|
|
4
5
|
import { PluginContext } from "./context.cjs";
|
|
5
6
|
import { Format } from "@storm-software/build-tools/types";
|
|
6
|
-
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
7
7
|
import { StormWorkspaceConfig } from "@storm-software/config/types";
|
|
8
|
-
import { DeepPartial, MaybePromise, NonUndefined } from "@stryke/types/base";
|
|
8
|
+
import { DeepPartial, DeepReadonly, MaybePromise, NonUndefined, RequiredKeys } from "@stryke/types/base";
|
|
9
9
|
import { TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
10
10
|
import { AssetGlob } from "@stryke/types/file";
|
|
11
11
|
import { ConfigLayer, ResolvedConfig } from "c12";
|
|
12
12
|
import { CompatibilityDateSpec, CompatibilityDates } from "compatx";
|
|
13
|
-
import { PreviewOptions,
|
|
13
|
+
import { PreviewOptions, ResolvedPreviewOptions } from "vite";
|
|
14
14
|
|
|
15
15
|
//#region src/types/config.d.ts
|
|
16
|
-
type LogLevel = "error" | "warn" | "info" | "debug" | "trace";
|
|
17
|
-
type LogFn = (type: LogLevelLabel, ...args: string[]) => void;
|
|
18
|
-
interface Logger {
|
|
19
|
-
log: LogFn;
|
|
20
|
-
level: LogLevelLabel;
|
|
21
|
-
}
|
|
22
16
|
/**
|
|
23
17
|
* The {@link StormWorkspaceConfig | configuration} object for an entire Powerlines workspace
|
|
24
18
|
*/
|
|
@@ -45,6 +39,7 @@ type PluginConfig<TContext extends PluginContext = PluginContext> = string | Plu
|
|
|
45
39
|
type PartialPlugin<TContext extends PluginContext = PluginContext> = DeepPartial<Plugin<TContext>>;
|
|
46
40
|
type PartialPluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<PartialPlugin<TContext> | PartialPlugin<TContext>[]>;
|
|
47
41
|
type ProjectType = "application" | "library";
|
|
42
|
+
type Mode = "development" | "test" | "production";
|
|
48
43
|
/**
|
|
49
44
|
* The configuration options for resolving modules in a Powerlines project.
|
|
50
45
|
*/
|
|
@@ -206,6 +201,15 @@ interface OutputConfig {
|
|
|
206
201
|
* This option can be a boolean or a string specifying the type of source map to generate. If set to `true`, external source maps will be generated. If set to `"inline"`, source maps will be included in the output files as data URIs. If set to `"hidden"`, external source maps will be generated but not referenced in the output files.
|
|
207
202
|
*/
|
|
208
203
|
sourceMap?: boolean | "inline" | "hidden";
|
|
204
|
+
/**
|
|
205
|
+
* Minify the output files
|
|
206
|
+
*
|
|
207
|
+
* @remarks
|
|
208
|
+
* This option can be a boolean or a string specifying the type of minification to apply. If set to `true`, the output files will be minified. If set to `"terser"`, the Terser minifier will be used. If set to `"esbuild"`, the esbuild minifier will be used.
|
|
209
|
+
*
|
|
210
|
+
* @defaultValue false
|
|
211
|
+
*/
|
|
212
|
+
minify?: boolean;
|
|
209
213
|
/**
|
|
210
214
|
* Whether to overwrite previously generated files in the artifacts directory during the build process.
|
|
211
215
|
*
|
|
@@ -229,6 +233,87 @@ interface OutputConfig {
|
|
|
229
233
|
*/
|
|
230
234
|
storage?: StoragePort | StoragePreset;
|
|
231
235
|
}
|
|
236
|
+
interface FrameworkOptions {
|
|
237
|
+
/**
|
|
238
|
+
* The name of the framework
|
|
239
|
+
*
|
|
240
|
+
* @remarks
|
|
241
|
+
* This value is used to identify the framework in logs, error messages, and other places where the framework's name is needed.
|
|
242
|
+
*
|
|
243
|
+
* @defaultValue "powerlines"
|
|
244
|
+
*/
|
|
245
|
+
name: string;
|
|
246
|
+
/**
|
|
247
|
+
* The version of the framework
|
|
248
|
+
*
|
|
249
|
+
* @remarks
|
|
250
|
+
* This value is used to identify the version of the framework in logs, error messages, and other places where the framework's version is needed.
|
|
251
|
+
*
|
|
252
|
+
* @defaultValue "0.0.1"
|
|
253
|
+
*/
|
|
254
|
+
version?: string;
|
|
255
|
+
/**
|
|
256
|
+
* The organization or author of the framework
|
|
257
|
+
*
|
|
258
|
+
* @defaultValue "storm-software"
|
|
259
|
+
*/
|
|
260
|
+
orgId: string;
|
|
261
|
+
}
|
|
262
|
+
interface Options {
|
|
263
|
+
/**
|
|
264
|
+
* The current working directory the Powerlines processes should operate in
|
|
265
|
+
*
|
|
266
|
+
* @remarks
|
|
267
|
+
* If not provided, the {@link WorkspaceConfig.workspaceRoot | workspace root} will be used as the current working directory. If the workspace root cannot be determined, the process's current working directory will be used.
|
|
268
|
+
*/
|
|
269
|
+
cwd?: string;
|
|
270
|
+
/**
|
|
271
|
+
* The log level label indicating the severity of the log message, or a more detailed log level configuration object that allows for specifying different log levels for different categories of logs.
|
|
272
|
+
*
|
|
273
|
+
* @remarks
|
|
274
|
+
* The log level determines the minimum severity of messages that will be logged. For example, if the log level is set to `LogLevel.INFO`, then messages with a severity of `INFO`, `WARN`, and `ERROR` will be logged, while messages with a severity of `DEBUG` and `TRACE` will be ignored. Setting the log level to `LogLevel.SILENT` will disable all logging. Alternatively, you can provide a more detailed configuration object that allows you to specify different log levels for different categories of logs, providing granular control over the logging behavior for different aspects of the system.
|
|
275
|
+
*
|
|
276
|
+
* @defaultValue "info"
|
|
277
|
+
*/
|
|
278
|
+
logLevel?: LogLevelUserConfig;
|
|
279
|
+
/**
|
|
280
|
+
* Details about the framework being used in the current execution, which can be used by plugins and other parts of the system to customize behavior based on the framework.
|
|
281
|
+
*/
|
|
282
|
+
framework?: FrameworkOptions;
|
|
283
|
+
}
|
|
284
|
+
interface BaseExecutionOptions extends RequiredKeys<Options, "cwd"> {
|
|
285
|
+
/**
|
|
286
|
+
* The root directory of the project
|
|
287
|
+
*/
|
|
288
|
+
root: string;
|
|
289
|
+
}
|
|
290
|
+
interface ExecutionOptions extends BaseExecutionOptions {
|
|
291
|
+
/**
|
|
292
|
+
* A unique identifier for the current execution instance, which can be used for logging and other purposes to distinguish between different executions in the same process.
|
|
293
|
+
*/
|
|
294
|
+
executionId: string;
|
|
295
|
+
/**
|
|
296
|
+
* The index of the current execution instance among all configured instances in the Powerlines process
|
|
297
|
+
*/
|
|
298
|
+
configIndex: number;
|
|
299
|
+
/**
|
|
300
|
+
* A path to a custom configuration file to be used instead of the default `powerlines.json`, `powerlines.config.js`, or `powerlines.config.ts` files.
|
|
301
|
+
*
|
|
302
|
+
* @remarks
|
|
303
|
+
* This option is useful for running Powerlines commands with different configuration files, such as in CI/CD environments or when testing different configurations.
|
|
304
|
+
*/
|
|
305
|
+
configFile: string;
|
|
306
|
+
/**
|
|
307
|
+
* A logging function provided by the code invoking the Powerlines execution process, which can be used for logging messages during the build process instead of the default Powerlines logger.
|
|
308
|
+
*
|
|
309
|
+
* @remarks
|
|
310
|
+
* Providing a custom logging function allows you to integrate Powerlines logging with your own logging system or to customize the logging behavior, such as formatting log messages differently or sending logs to an external service. If a custom logging function is not provided, Powerlines will use its default logger implementation.
|
|
311
|
+
*
|
|
312
|
+
* @important
|
|
313
|
+
* This function cannot be provided by the Powerlines engine, as it is not serializable. It must be passed directly to the execution context when creating it, and will not be preserved if the context is cloned or serialized.
|
|
314
|
+
*/
|
|
315
|
+
logFn?: LogFn;
|
|
316
|
+
}
|
|
232
317
|
interface Config {
|
|
233
318
|
/**
|
|
234
319
|
* Defines entries and location(s) of entry modules for the bundle. Relative paths are resolved based on the `root` option.
|
|
@@ -238,6 +323,17 @@ interface Config {
|
|
|
238
323
|
* Configuration for the output files generated by processing the source code
|
|
239
324
|
*/
|
|
240
325
|
output?: OutputConfig;
|
|
326
|
+
/**
|
|
327
|
+
* The date to use for compatibility checks
|
|
328
|
+
*
|
|
329
|
+
* @remarks
|
|
330
|
+
* This date can be used by plugins and build processes to determine compatibility with certain features or APIs. It is recommended to set this date to the date when the project was last known to be compatible with the desired features or APIs. If no value is provided, the latest compatibility date will be used.
|
|
331
|
+
*
|
|
332
|
+
* @see https://developers.cloudflare.com/pages/platform/compatibility-dates/
|
|
333
|
+
* @see https://docs.netlify.com/configure-builds/get-started/#set-a-compatibility-date
|
|
334
|
+
* @see https://github.com/unjs/compatx
|
|
335
|
+
*/
|
|
336
|
+
compatibilityDate?: CompatibilityDateSpec;
|
|
241
337
|
/**
|
|
242
338
|
* Configuration for module resolution during processing of the source code
|
|
243
339
|
*/
|
|
@@ -316,6 +412,13 @@ interface EnvironmentConfig extends Config {
|
|
|
316
412
|
* A flag indicating whether the build is for a Server-Side Rendering environment.
|
|
317
413
|
*/
|
|
318
414
|
ssr?: boolean;
|
|
415
|
+
/**
|
|
416
|
+
* The runtime environment for the build, which can be used by plugins to determine how to process the source code and generate runtime artifacts.
|
|
417
|
+
*
|
|
418
|
+
* @remarks
|
|
419
|
+
* This option can be used to specify the target runtime environment for the build, such as "nodejs", "browser", "workerd", or "edge". Plugins can use this information to determine how to process the source code and generate runtime artifacts that are compatible with the specified environment. If no value is provided, plugins will need to determine the runtime environment based on other factors, such as the presence of certain dependencies or configuration options.
|
|
420
|
+
*/
|
|
421
|
+
runtime?: "nodejs" | "browser" | "workerd" | "edge";
|
|
319
422
|
/**
|
|
320
423
|
* Define if this environment is used for Server-Side Rendering
|
|
321
424
|
*
|
|
@@ -324,10 +427,6 @@ interface EnvironmentConfig extends Config {
|
|
|
324
427
|
consumer?: "client" | "server";
|
|
325
428
|
}
|
|
326
429
|
interface UserConfig extends Config {
|
|
327
|
-
/**
|
|
328
|
-
* The root directory of the project
|
|
329
|
-
*/
|
|
330
|
-
root: string;
|
|
331
430
|
/**
|
|
332
431
|
* The name of the project
|
|
333
432
|
*/
|
|
@@ -353,46 +452,18 @@ interface UserConfig extends Config {
|
|
|
353
452
|
* If this option is not provided, the build process will try to use the \`author\` value from the \`package.json\` file. If the \`author\` value cannot be determined, the {@link name | name configuration} will be used.
|
|
354
453
|
*/
|
|
355
454
|
organization?: string;
|
|
356
|
-
/**
|
|
357
|
-
* The date to use for compatibility checks
|
|
358
|
-
*
|
|
359
|
-
* @remarks
|
|
360
|
-
* This date can be used by plugins and build processes to determine compatibility with certain features or APIs. It is recommended to set this date to the date when the project was last known to be compatible with the desired features or APIs. If no value is provided, the latest compatibility date will be used.
|
|
361
|
-
*
|
|
362
|
-
* @see https://developers.cloudflare.com/pages/platform/compatibility-dates/
|
|
363
|
-
* @see https://docs.netlify.com/configure-builds/get-started/#set-a-compatibility-date
|
|
364
|
-
* @see https://github.com/unjs/compatx
|
|
365
|
-
*/
|
|
366
|
-
compatibilityDate?: CompatibilityDateSpec;
|
|
367
|
-
/**
|
|
368
|
-
* The log level to use for the Powerlines processes.
|
|
369
|
-
*
|
|
370
|
-
* @defaultValue "info"
|
|
371
|
-
*/
|
|
372
|
-
logLevel?: LogLevel | null;
|
|
373
|
-
/**
|
|
374
|
-
* A custom logger function to use for logging messages
|
|
375
|
-
*/
|
|
376
|
-
customLogger?: LogFn;
|
|
377
455
|
/**
|
|
378
456
|
* Explicitly set a mode to run in. This mode will be used at various points throughout the Powerlines processes, such as when compiling the source code.
|
|
379
457
|
*
|
|
380
458
|
* @defaultValue "production"
|
|
381
459
|
*/
|
|
382
|
-
mode?:
|
|
460
|
+
mode?: Mode;
|
|
383
461
|
/**
|
|
384
462
|
* The type of project being built
|
|
385
463
|
*
|
|
386
464
|
* @defaultValue "application"
|
|
387
465
|
*/
|
|
388
466
|
projectType?: ProjectType;
|
|
389
|
-
/**
|
|
390
|
-
* A path to a custom configuration file to be used instead of the default `powerlines.json`, `powerlines.config.js`, or `powerlines.config.ts` files.
|
|
391
|
-
*
|
|
392
|
-
* @remarks
|
|
393
|
-
* This option is useful for running Powerlines commands with different configuration files, such as in CI/CD environments or when testing different configurations.
|
|
394
|
-
*/
|
|
395
|
-
configFile?: string;
|
|
396
467
|
/**
|
|
397
468
|
* Should the Powerlines processes automatically install missing package dependencies?
|
|
398
469
|
*
|
|
@@ -428,98 +499,78 @@ interface UserConfig extends Config {
|
|
|
428
499
|
* @defaultValue false
|
|
429
500
|
*/
|
|
430
501
|
singleBuild?: boolean;
|
|
502
|
+
}
|
|
503
|
+
type PowerlinesCommand = "new" | "types" | "prepare" | "build" | "lint" | "test" | "docs" | "deploy" | "clean";
|
|
504
|
+
type InlineConfigPaths = {
|
|
431
505
|
/**
|
|
432
|
-
*
|
|
433
|
-
*
|
|
434
|
-
* @remarks
|
|
435
|
-
* If no values are provided for {@link OutputConfig.dts | output.dts} or {@link OutputConfig.artifactsPath | output.artifactsFolder}, this value will be used as the default.
|
|
436
|
-
*
|
|
437
|
-
* @defaultValue "powerlines"
|
|
506
|
+
* The root directory of the project
|
|
438
507
|
*/
|
|
439
|
-
framework?: string;
|
|
440
|
-
}
|
|
441
|
-
type InitialUserConfig<TUserConfig extends UserConfig = UserConfig> = Partial<TUserConfig> & {
|
|
442
508
|
root: string;
|
|
443
|
-
};
|
|
444
|
-
type ParsedUserConfig<TUserConfig extends UserConfig = UserConfig> = TUserConfig & ResolvedConfig<TUserConfig> & {
|
|
445
509
|
/**
|
|
446
|
-
*
|
|
510
|
+
* A path to a custom configuration file to be used instead of the default `powerlines.json`, `powerlines.config.js`, or `powerlines.config.ts` files.
|
|
447
511
|
*
|
|
448
512
|
* @remarks
|
|
449
|
-
* This is
|
|
450
|
-
*/
|
|
451
|
-
configFile?: ConfigLayer<TUserConfig>["configFile"];
|
|
452
|
-
};
|
|
453
|
-
type PowerlinesCommand = "new" | "types" | "prepare" | "build" | "lint" | "test" | "docs" | "deploy" | "clean";
|
|
454
|
-
/**
|
|
455
|
-
* The configuration provided while executing Powerlines commands.
|
|
456
|
-
*/
|
|
457
|
-
type InlineConfig<TUserConfig extends UserConfig = UserConfig> = Partial<TUserConfig> & {
|
|
458
|
-
/**
|
|
459
|
-
* A string identifier for the Powerlines command being executed
|
|
460
|
-
*/
|
|
461
|
-
command: PowerlinesCommand;
|
|
462
|
-
};
|
|
463
|
-
type NewInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig> & Required<Pick<InlineConfig<TUserConfig>, "root">> & {
|
|
464
|
-
/**
|
|
465
|
-
* A string identifier for the Powerlines command being executed
|
|
513
|
+
* This option is useful for running Powerlines commands with different configuration files, such as in CI/CD environments or when testing different configurations.
|
|
466
514
|
*/
|
|
467
|
-
|
|
515
|
+
configFile?: string;
|
|
516
|
+
} | {
|
|
468
517
|
/**
|
|
469
|
-
* The
|
|
518
|
+
* The root directory of the project
|
|
470
519
|
*/
|
|
471
|
-
|
|
472
|
-
};
|
|
473
|
-
type CleanInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig> & {
|
|
520
|
+
root?: string;
|
|
474
521
|
/**
|
|
475
|
-
* A
|
|
522
|
+
* A path to a custom configuration file to be used instead of the default `powerlines.json`, `powerlines.config.js`, or `powerlines.config.ts` files.
|
|
523
|
+
*
|
|
524
|
+
* @remarks
|
|
525
|
+
* This option is useful for running Powerlines commands with different configuration files, such as in CI/CD environments or when testing different configurations.
|
|
476
526
|
*/
|
|
477
|
-
|
|
527
|
+
configFile?: string;
|
|
478
528
|
};
|
|
479
|
-
|
|
529
|
+
/**
|
|
530
|
+
* The configuration provided while executing Powerlines commands.
|
|
531
|
+
*/
|
|
532
|
+
type InlineConfig<TUserConfig extends UserConfig = UserConfig> = DeepPartial<Omit<TUserConfig, "plugins" | "customLogger">> & {
|
|
480
533
|
/**
|
|
481
|
-
*
|
|
534
|
+
* The root directory of the project
|
|
482
535
|
*/
|
|
483
|
-
|
|
484
|
-
};
|
|
485
|
-
type TypesInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig> & {
|
|
536
|
+
root?: string;
|
|
486
537
|
/**
|
|
487
|
-
* A
|
|
538
|
+
* A path to a custom configuration file to be used instead of the default `powerlines.json`, `powerlines.config.js`, or `powerlines.config.ts` files.
|
|
539
|
+
*
|
|
540
|
+
* @remarks
|
|
541
|
+
* This option is useful for running Powerlines commands with different configuration files, such as in CI/CD environments or when testing different configurations.
|
|
488
542
|
*/
|
|
489
|
-
|
|
490
|
-
};
|
|
491
|
-
type BuildInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig> & {
|
|
543
|
+
configFile?: string;
|
|
492
544
|
/**
|
|
493
545
|
* A string identifier for the Powerlines command being executed
|
|
494
546
|
*/
|
|
495
|
-
command:
|
|
496
|
-
};
|
|
497
|
-
type LintInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig> & {
|
|
547
|
+
command: string;
|
|
498
548
|
/**
|
|
499
|
-
*
|
|
549
|
+
* Additional arguments provided during execution of the command, such as CLI flags or other parameters that may be relevant to the command being executed.
|
|
500
550
|
*/
|
|
501
|
-
|
|
551
|
+
additionalArgs?: Record<string, string | string[]>;
|
|
502
552
|
};
|
|
503
|
-
type
|
|
553
|
+
type CreateInlineConfig<TUserConfig extends UserConfig = UserConfig> = RequiredKeys<InlineConfig<TUserConfig>, "root"> & {
|
|
504
554
|
/**
|
|
505
|
-
*
|
|
555
|
+
* The package name (from the \`package.json\`) for the project that will be used in the \`create\` command to create a new project based on this configuration
|
|
506
556
|
*/
|
|
507
|
-
|
|
557
|
+
packageName?: string;
|
|
508
558
|
};
|
|
509
|
-
type
|
|
559
|
+
type CleanInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig>;
|
|
560
|
+
type PrepareInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig>;
|
|
561
|
+
type TypesInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig>;
|
|
562
|
+
type BuildInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig>;
|
|
563
|
+
type LintInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig>;
|
|
564
|
+
type TestInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig>;
|
|
565
|
+
type DocsInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig>;
|
|
566
|
+
type DeployInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig>;
|
|
567
|
+
type ConfigParams = BaseExecutionOptions & Pick<Required<UserConfig>, "mode"> & {
|
|
510
568
|
/**
|
|
511
569
|
* A string identifier for the Powerlines command being executed
|
|
512
570
|
*/
|
|
513
|
-
command:
|
|
571
|
+
command: string;
|
|
514
572
|
};
|
|
515
|
-
type
|
|
516
|
-
type UserConfigFn<TUserConfig extends UserConfig = UserConfig> = (params: {
|
|
517
|
-
projectRoot: string;
|
|
518
|
-
workspaceRoot: string;
|
|
519
|
-
mode: string;
|
|
520
|
-
framework: string;
|
|
521
|
-
command?: PowerlinesCommand;
|
|
522
|
-
}) => MaybePromise<TUserConfig>;
|
|
573
|
+
type UserConfigFn<TUserConfig extends UserConfig = UserConfig> = (params: ConfigParams) => MaybePromise<TUserConfig>;
|
|
523
574
|
type AnyOutputUserConfig = Partial<Omit<OutputConfig, "copy">> & {
|
|
524
575
|
/**
|
|
525
576
|
* The output configuration options to use for the build process
|
|
@@ -532,7 +583,7 @@ type AnyOutputUserConfig = Partial<Omit<OutputConfig, "copy">> & {
|
|
|
532
583
|
* @remarks
|
|
533
584
|
* This type represents the final shape of the configuration object that will be used throughout the Powerlines processes. It includes all default values, resolved paths, and normalized options. It is expected to be used in `powerlines.config.ts` files and by plugins and build processes to access the configuration options in a consistent format.
|
|
534
585
|
*/
|
|
535
|
-
type AnyUserConfig = (Partial<Omit<
|
|
586
|
+
type AnyUserConfig<TUserConfig extends UserConfig = UserConfig> = (Partial<Omit<TUserConfig, "output" | "resolve">> & {
|
|
536
587
|
/**
|
|
537
588
|
* The output configuration options to use for the build process
|
|
538
589
|
*/
|
|
@@ -541,7 +592,16 @@ type AnyUserConfig = (Partial<Omit<UserConfig, "output" | "resolve">> & {
|
|
|
541
592
|
* Configuration for module resolution during processing of the source code
|
|
542
593
|
*/
|
|
543
594
|
resolve?: Partial<ResolveConfig>;
|
|
544
|
-
} & Record<string, any>) | UserConfigFn;
|
|
595
|
+
} & Record<string, any>) | UserConfigFn<TUserConfig> | AnyUserConfig<TUserConfig>[];
|
|
596
|
+
type ParsedUserConfig<TUserConfig extends UserConfig = UserConfig> = ResolvedConfig<AnyUserConfig<TUserConfig>> & {
|
|
597
|
+
/**
|
|
598
|
+
* The path to the user configuration file, if it exists.
|
|
599
|
+
*
|
|
600
|
+
* @remarks
|
|
601
|
+
* This is typically the `powerlines.json`, `powerlines.config.js`, or `powerlines.config.ts` file in the project root.
|
|
602
|
+
*/
|
|
603
|
+
configFile?: ConfigLayer<AnyUserConfig<TUserConfig>>["configFile"];
|
|
604
|
+
};
|
|
545
605
|
interface ResolvedEntryTypeDefinition extends TypeDefinition {
|
|
546
606
|
/**
|
|
547
607
|
* The user provided entry point in the source code
|
|
@@ -552,9 +612,13 @@ interface ResolvedEntryTypeDefinition extends TypeDefinition {
|
|
|
552
612
|
*/
|
|
553
613
|
output?: string;
|
|
554
614
|
}
|
|
555
|
-
type
|
|
615
|
+
type ResolvedEnvironmentConfig = RequiredKeys<Omit<EnvironmentConfig, "preview">, "consumer" | "ssr"> & {
|
|
556
616
|
/**
|
|
557
|
-
*
|
|
617
|
+
* A string identifier for the environment used by the system and plugins to determine which environment-specific configuration to use during the build process.
|
|
618
|
+
*/
|
|
619
|
+
id: string;
|
|
620
|
+
/**
|
|
621
|
+
* The name of the environment provided by the user in the {@link UserConfig.environments | environments} configuration.
|
|
558
622
|
*/
|
|
559
623
|
name: string;
|
|
560
624
|
/**
|
|
@@ -565,7 +629,7 @@ type EnvironmentResolvedConfig = Omit<EnvironmentConfig, "consumer" | "ssr" | "p
|
|
|
565
629
|
/**
|
|
566
630
|
* The configuration options for resolving modules in a Powerlines project.
|
|
567
631
|
*/
|
|
568
|
-
type
|
|
632
|
+
type ResolvedResolveConfig = Required<Omit<ResolveConfig, "external" | "noExternal">> & {
|
|
569
633
|
/**
|
|
570
634
|
* A list of modules that should not be bundled, even if they are external dependencies.
|
|
571
635
|
*
|
|
@@ -579,24 +643,47 @@ type ResolveResolvedConfig = Required<Omit<ResolveConfig, "external" | "noExtern
|
|
|
579
643
|
noExternal?: string[];
|
|
580
644
|
};
|
|
581
645
|
type ResolvedAssetGlob = AssetGlob & Required<Pick<AssetGlob, "input">>;
|
|
582
|
-
type
|
|
646
|
+
type ResolvedCopyConfig = Required<Omit<CopyConfig, "assets">> & {
|
|
583
647
|
assets: ResolvedAssetGlob[];
|
|
584
648
|
};
|
|
585
|
-
type
|
|
586
|
-
copy:
|
|
649
|
+
type ResolvedOutputConfig = Required<Omit<OutputConfig, "copy" | "storage">> & Pick<OutputConfig, "storage"> & {
|
|
650
|
+
copy: ResolvedCopyConfig | false;
|
|
587
651
|
};
|
|
588
652
|
/**
|
|
589
|
-
* The resolved options for
|
|
653
|
+
* The base resolved configuration options for a Powerlines project, after being processed and normalized by the configuration loading process.
|
|
590
654
|
*/
|
|
591
|
-
type ResolvedConfig$
|
|
655
|
+
type ResolvedConfig$1<TUserConfig extends UserConfig = UserConfig, TExecutionOptions extends ExecutionOptions = ExecutionOptions> = Omit<TExecutionOptions, "logLevel"> & Omit<RequiredKeys<TUserConfig, "name" | "title" | "plugins" | "mode" | "organization" | "environments" | "input" | "tsconfig" | "platform" | "projectType">, "compatibilityDate" | "output" | "resolve" | "logLevel"> & {
|
|
656
|
+
/**
|
|
657
|
+
* 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.
|
|
658
|
+
*/
|
|
659
|
+
readonly userConfig: DeepReadonly<TUserConfig>;
|
|
660
|
+
/**
|
|
661
|
+
* The configuration options provided by plugins added by the user (and other plugins)
|
|
662
|
+
*/
|
|
663
|
+
readonly inlineConfig: DeepReadonly<InlineConfig<TUserConfig>>;
|
|
664
|
+
/**
|
|
665
|
+
* The configuration options that were provided by Powerlines plugins, which may have been merged with the user configuration and modified by the configuration loading process.
|
|
666
|
+
*/
|
|
667
|
+
readonly pluginConfig: DeepReadonly<DeepPartial<TUserConfig>>;
|
|
668
|
+
/**
|
|
669
|
+
* A string identifier for the Powerlines command being executed.
|
|
670
|
+
*/
|
|
671
|
+
readonly command: NonUndefined<InlineConfig<TUserConfig>["command"]>;
|
|
672
|
+
/**
|
|
673
|
+
* A path to a custom configuration file to be used instead of the default `powerlines.json`, `powerlines.config.js`, or `powerlines.config.ts` files.
|
|
674
|
+
*
|
|
675
|
+
* @remarks
|
|
676
|
+
* This option is useful for running Powerlines commands with different configuration files, such as in CI/CD environments or when testing different configurations.
|
|
677
|
+
*/
|
|
678
|
+
readonly configFile: string;
|
|
592
679
|
/**
|
|
593
680
|
* The output configuration options to use for the build process
|
|
594
681
|
*/
|
|
595
|
-
output:
|
|
682
|
+
output: ResolvedOutputConfig;
|
|
596
683
|
/**
|
|
597
684
|
* Configuration for module resolution during processing of the source code
|
|
598
685
|
*/
|
|
599
|
-
resolve:
|
|
686
|
+
resolve: ResolvedResolveConfig;
|
|
600
687
|
/**
|
|
601
688
|
* The date to use for compatibility checks
|
|
602
689
|
*
|
|
@@ -609,27 +696,30 @@ type ResolvedConfig$2<TUserConfig extends UserConfig = UserConfig> = Omit<TUserC
|
|
|
609
696
|
*/
|
|
610
697
|
compatibilityDate: CompatibilityDates;
|
|
611
698
|
/**
|
|
612
|
-
* The configuration
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
* The original configuration options that were provided by the user to the Powerlines process.
|
|
699
|
+
* The log level label indicating the severity of the log message, or a more detailed log level configuration object that allows for specifying different log levels for different categories of logs.
|
|
700
|
+
*
|
|
701
|
+
* @remarks
|
|
702
|
+
* The log level determines the minimum severity of messages that will be logged. For example, if the log level is set to `LogLevel.INFO`, then messages with a severity of `INFO`, `WARN`, and `ERROR` will be logged, while messages with a severity of `DEBUG` and `TRACE` will be ignored. Setting the log level to `LogLevel.SILENT` will disable all logging. Alternatively, you can provide a more detailed configuration object that allows you to specify different log levels for different categories of logs, providing granular control over the logging behavior for different aspects of the system.
|
|
617
703
|
*/
|
|
618
|
-
|
|
704
|
+
logLevel: LogLevelResolvedConfig;
|
|
705
|
+
};
|
|
706
|
+
type InferOverridableConfig<TResolvedConfig extends ResolvedConfig$1 = ResolvedConfig$1> = DeepPartial<Omit<TResolvedConfig, "userConfig" | "inlineConfig" | "pluginConfig" | "cwd" | "configFile" | "command">>;
|
|
707
|
+
/**
|
|
708
|
+
* The resolved configuration options for a Powerlines environment, after being processed and normalized by the configuration loading process.
|
|
709
|
+
*/
|
|
710
|
+
type EnvironmentResolvedConfig<TResolvedConfig extends ResolvedConfig$1 = ResolvedConfig$1> = TResolvedConfig & {
|
|
619
711
|
/**
|
|
620
|
-
*
|
|
712
|
+
* The configuration provided when initializing the Powerlines API.
|
|
713
|
+
*
|
|
714
|
+
* @remarks
|
|
715
|
+
* This configuration is used during the initialization of the Powerlines API.
|
|
621
716
|
*/
|
|
622
|
-
|
|
717
|
+
readonly environmentConfig: DeepReadonly<EnvironmentConfig>;
|
|
623
718
|
/**
|
|
624
|
-
* The
|
|
625
|
-
*
|
|
626
|
-
* @defaultValue "info"
|
|
719
|
+
* The resolved configuration options for the environment, which may include additional properties or modifications made during the configuration loading process.
|
|
627
720
|
*/
|
|
628
|
-
|
|
721
|
+
environment: ResolvedEnvironmentConfig;
|
|
629
722
|
};
|
|
630
|
-
declare type __ΩLogLevel = any[];
|
|
631
|
-
declare type __ΩLogFn = any[];
|
|
632
|
-
declare type __ΩLogger = any[];
|
|
633
723
|
declare type __ΩWorkspaceConfig = any[];
|
|
634
724
|
declare type __ΩPluginFactory = any[];
|
|
635
725
|
declare type __ΩPluginConfigTuple = any[];
|
|
@@ -638,35 +728,43 @@ declare type __ΩPluginConfig = any[];
|
|
|
638
728
|
declare type __ΩPartialPlugin = any[];
|
|
639
729
|
declare type __ΩPartialPluginFactory = any[];
|
|
640
730
|
declare type __ΩProjectType = any[];
|
|
731
|
+
declare type __ΩMode = any[];
|
|
641
732
|
declare type __ΩResolveConfig = any[];
|
|
642
733
|
declare type __ΩCopyConfig = any[];
|
|
643
734
|
declare type __ΩOutputConfig = any[];
|
|
735
|
+
declare type __ΩFrameworkOptions = any[];
|
|
736
|
+
declare type __ΩOptions = any[];
|
|
737
|
+
declare type __ΩBaseExecutionOptions = any[];
|
|
738
|
+
declare type __ΩExecutionOptions = any[];
|
|
644
739
|
declare type __ΩConfig = any[];
|
|
645
740
|
declare type __ΩEnvironmentConfig = any[];
|
|
646
741
|
declare type __ΩUserConfig = any[];
|
|
647
|
-
declare type __ΩInitialUserConfig = any[];
|
|
648
|
-
declare type __ΩParsedUserConfig = any[];
|
|
649
742
|
declare type __ΩPowerlinesCommand = any[];
|
|
743
|
+
declare type __ΩInlineConfigPaths = any[];
|
|
650
744
|
declare type __ΩInlineConfig = any[];
|
|
651
|
-
declare type __Ω
|
|
745
|
+
declare type __ΩCreateInlineConfig = any[];
|
|
652
746
|
declare type __ΩCleanInlineConfig = any[];
|
|
653
747
|
declare type __ΩPrepareInlineConfig = any[];
|
|
654
748
|
declare type __ΩTypesInlineConfig = any[];
|
|
655
749
|
declare type __ΩBuildInlineConfig = any[];
|
|
656
750
|
declare type __ΩLintInlineConfig = any[];
|
|
751
|
+
declare type __ΩTestInlineConfig = any[];
|
|
657
752
|
declare type __ΩDocsInlineConfig = any[];
|
|
658
753
|
declare type __ΩDeployInlineConfig = any[];
|
|
659
|
-
declare type __Ω
|
|
754
|
+
declare type __ΩConfigParams = any[];
|
|
660
755
|
declare type __ΩUserConfigFn = any[];
|
|
661
756
|
declare type __ΩAnyOutputUserConfig = any[];
|
|
662
757
|
declare type __ΩAnyUserConfig = any[];
|
|
758
|
+
declare type __ΩParsedUserConfig = any[];
|
|
663
759
|
declare type __ΩResolvedEntryTypeDefinition = any[];
|
|
664
|
-
declare type __Ω
|
|
665
|
-
declare type __Ω
|
|
760
|
+
declare type __ΩResolvedEnvironmentConfig = any[];
|
|
761
|
+
declare type __ΩResolvedResolveConfig = any[];
|
|
666
762
|
declare type __ΩResolvedAssetGlob = any[];
|
|
667
|
-
declare type __Ω
|
|
668
|
-
declare type __Ω
|
|
763
|
+
declare type __ΩResolvedCopyConfig = any[];
|
|
764
|
+
declare type __ΩResolvedOutputConfig = any[];
|
|
669
765
|
declare type __ΩResolvedConfig = any[];
|
|
766
|
+
declare type __ΩInferOverridableConfig = any[];
|
|
767
|
+
declare type __ΩEnvironmentResolvedConfig = any[];
|
|
670
768
|
//#endregion
|
|
671
|
-
export { AnyOutputUserConfig, AnyUserConfig, BuildInlineConfig, CleanInlineConfig, Config,
|
|
769
|
+
export { AnyOutputUserConfig, AnyUserConfig, BaseExecutionOptions, BuildInlineConfig, CleanInlineConfig, Config, ConfigParams, CopyConfig, CreateInlineConfig, DeployInlineConfig, DocsInlineConfig, EnvironmentConfig, EnvironmentResolvedConfig, ExecutionOptions, FrameworkOptions, InferOverridableConfig, InlineConfig, InlineConfigPaths, LintInlineConfig, Mode, Options, OutputConfig, ParsedUserConfig, PartialPlugin, PartialPluginFactory, PluginConfig, PluginConfigObject, PluginConfigTuple, PluginFactory, PowerlinesCommand, PrepareInlineConfig, ProjectType, ResolveConfig, ResolvedAssetGlob, ResolvedConfig$1 as ResolvedConfig, ResolvedCopyConfig, ResolvedEntryTypeDefinition, ResolvedEnvironmentConfig, ResolvedOutputConfig, ResolvedResolveConfig, TestInlineConfig, TypesInlineConfig, UserConfig, UserConfigFn, WorkspaceConfig, __ΩAnyOutputUserConfig, __ΩAnyUserConfig, __ΩBaseExecutionOptions, __ΩBuildInlineConfig, __ΩCleanInlineConfig, __ΩConfig, __ΩConfigParams, __ΩCopyConfig, __ΩCreateInlineConfig, __ΩDeployInlineConfig, __ΩDocsInlineConfig, __ΩEnvironmentConfig, __ΩEnvironmentResolvedConfig, __ΩExecutionOptions, __ΩFrameworkOptions, __ΩInferOverridableConfig, __ΩInlineConfig, __ΩInlineConfigPaths, __ΩLintInlineConfig, __ΩMode, __ΩOptions, __ΩOutputConfig, __ΩParsedUserConfig, __ΩPartialPlugin, __ΩPartialPluginFactory, __ΩPluginConfig, __ΩPluginConfigObject, __ΩPluginConfigTuple, __ΩPluginFactory, __ΩPowerlinesCommand, __ΩPrepareInlineConfig, __ΩProjectType, __ΩResolveConfig, __ΩResolvedAssetGlob, __ΩResolvedConfig, __ΩResolvedCopyConfig, __ΩResolvedEntryTypeDefinition, __ΩResolvedEnvironmentConfig, __ΩResolvedOutputConfig, __ΩResolvedResolveConfig, __ΩTestInlineConfig, __ΩTypesInlineConfig, __ΩUserConfig, __ΩUserConfigFn, __ΩWorkspaceConfig };
|
|
672
770
|
//# sourceMappingURL=config.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.cts","names":[],"sources":["../../src/types/config.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"config.d.cts","names":[],"sources":["../../src/types/config.ts"],"mappings":";;;;;;;;;;;;;;;;;AA4CA;KAAY,eAAA,GAAkB,OAAA,CAAQ,oBAAA,IACpC,QAAA,CAAS,IAAA,CAAK,oBAAA;AAAA,KAEJ,aAAA,yBACc,aAAA,GAAgB,aAAA,qBAErC,OAAA,EAAS,QAAA,KAAa,YAAA,CAAa,MAAA,CAAO,QAAA,IAAY,MAAA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