@powerlines/core 0.14.5 → 0.15.1
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 +6 -5
- package/dist/constants/api.d.cts +3 -3
- package/dist/constants/api.d.cts.map +1 -1
- package/dist/constants/api.d.mts +3 -3
- package/dist/constants/api.d.mts.map +1 -1
- package/dist/constants/api.mjs +4 -4
- package/dist/constants/api.mjs.map +1 -1
- package/dist/constants/commands.cjs +3 -2
- package/dist/constants/commands.d.cts +1 -1
- package/dist/constants/commands.d.mts +1 -1
- package/dist/constants/commands.mjs +2 -2
- 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 -30
- package/dist/constants/index.d.cts +5 -3
- package/dist/constants/index.d.mts +5 -3
- package/dist/constants/index.mjs +5 -3
- 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 -9
- package/dist/index.d.cts +20 -9
- package/dist/index.d.mts +20 -9
- package/dist/index.mjs +17 -5
- package/dist/lib/config.cjs +160 -15
- package/dist/lib/config.d.cts +92 -6
- package/dist/lib/config.d.cts.map +1 -1
- package/dist/lib/config.d.mts +92 -6
- package/dist/lib/config.d.mts.map +1 -1
- package/dist/lib/config.mjs +154 -16
- 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 +5 -5
- package/dist/lib/entry.d.cts.map +1 -1
- package/dist/lib/entry.d.mts.map +1 -1
- package/dist/lib/entry.mjs +5 -5
- 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 -9
- 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 +18 -18
- package/dist/lib/unplugin/module-resolution.mjs +18 -18
- package/dist/lib/unplugin/module-resolution.mjs.map +1 -1
- package/dist/lib/unplugin/plugin.cjs +55 -62
- package/dist/lib/unplugin/plugin.d.cts +10 -11
- package/dist/lib/unplugin/plugin.d.cts.map +1 -1
- package/dist/lib/unplugin/plugin.d.mts +10 -11
- package/dist/lib/unplugin/plugin.d.mts.map +1 -1
- package/dist/lib/unplugin/plugin.mjs +55 -62
- 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 +1 -1
- package/dist/lib/utilities/format.mjs +1 -1
- package/dist/lib/utilities/index.cjs +2 -2
- package/dist/lib/utilities/index.mjs +2 -2
- 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 +1 -1
- package/dist/plugin-base.mjs +1 -1
- 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/context-helpers.cjs +22 -12
- package/dist/plugin-utils/context-helpers.d.cts +9 -1
- package/dist/plugin-utils/context-helpers.d.cts.map +1 -1
- package/dist/plugin-utils/context-helpers.d.mts +9 -1
- package/dist/plugin-utils/context-helpers.d.mts.map +1 -1
- package/dist/plugin-utils/context-helpers.mjs +22 -13
- package/dist/plugin-utils/context-helpers.mjs.map +1 -1
- package/dist/plugin-utils/filter.cjs +13 -5
- package/dist/plugin-utils/filter.d.cts +2 -1
- package/dist/plugin-utils/filter.d.cts.map +1 -1
- package/dist/plugin-utils/filter.d.mts +2 -1
- package/dist/plugin-utils/filter.d.mts.map +1 -1
- package/dist/plugin-utils/filter.mjs +13 -6
- package/dist/plugin-utils/filter.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/helpers.cjs +6 -6
- package/dist/plugin-utils/helpers.d.cts +15 -15
- package/dist/plugin-utils/helpers.d.cts.map +1 -1
- package/dist/plugin-utils/helpers.d.mts +15 -15
- package/dist/plugin-utils/helpers.d.mts.map +1 -1
- package/dist/plugin-utils/helpers.mjs +1 -1
- package/dist/plugin-utils/helpers.mjs.map +1 -1
- package/dist/plugin-utils/index.cjs +34 -4
- package/dist/plugin-utils/index.d.cts +7 -4
- package/dist/plugin-utils/index.d.mts +7 -4
- package/dist/plugin-utils/index.mjs +9 -6
- 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 +588 -1
- package/dist/plugin-utils/logging.d.cts +93 -1
- package/dist/plugin-utils/logging.d.cts.map +1 -1
- package/dist/plugin-utils/logging.d.mts +93 -1
- package/dist/plugin-utils/logging.d.mts.map +1 -1
- package/dist/plugin-utils/logging.mjs +572 -1
- package/dist/plugin-utils/logging.mjs.map +1 -1
- package/dist/plugin-utils/merge.cjs +1 -1
- package/dist/plugin-utils/merge.mjs +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 +6 -2
- package/dist/plugin-utils/paths.mjs +6 -2
- 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 -152
- package/dist/types/api.d.cts.map +1 -1
- package/dist/types/api.d.mts +18 -152
- package/dist/types/api.d.mts.map +1 -1
- package/dist/types/config.d.cts +194 -135
- package/dist/types/config.d.cts.map +1 -1
- package/dist/types/config.d.mts +195 -136
- package/dist/types/config.d.mts.map +1 -1
- package/dist/types/context.d.cts +152 -128
- package/dist/types/context.d.cts.map +1 -1
- package/dist/types/context.d.mts +155 -131
- package/dist/types/context.d.mts.map +1 -1
- package/dist/types/fs.d.mts +1 -1
- package/dist/types/index.d.cts +5 -6
- package/dist/types/index.d.mts +5 -6
- 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 +6 -9
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +6 -9
- package/dist/types/plugin.d.mts.map +1 -1
- package/dist/types/tsconfig.d.mts +1 -1
- package/dist/types/unplugin.d.cts +5 -26
- package/dist/types/unplugin.d.cts.map +1 -1
- package/dist/types/unplugin.d.mts +5 -26
- package/dist/types/unplugin.d.mts.map +1 -1
- package/package.json +259 -457
- package/schemas/fs.capnp +42 -0
- package/dist/constants/virtual-modules.cjs +0 -8
- package/dist/constants/virtual-modules.d.cts +0 -6
- package/dist/constants/virtual-modules.d.cts.map +0 -1
- package/dist/constants/virtual-modules.d.mts +0 -6
- package/dist/constants/virtual-modules.d.mts.map +0 -1
- package/dist/constants/virtual-modules.mjs +0 -7
- package/dist/constants/virtual-modules.mjs.map +0 -1
- package/dist/lib/logger.cjs +0 -99
- package/dist/lib/logger.d.cts +0 -53
- package/dist/lib/logger.d.cts.map +0 -1
- package/dist/lib/logger.d.mts +0 -53
- package/dist/lib/logger.d.mts.map +0 -1
- package/dist/lib/logger.mjs +0 -93
- 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 -16
- package/dist/types/commands.d.cts.map +0 -1
- package/dist/types/commands.d.mts +0 -16
- package/dist/types/commands.d.mts.map +0 -1
- package/dist/types/utils.d.cts +0 -9
- package/dist/types/utils.d.cts.map +0 -1
- package/dist/types/utils.d.mts +0 -9
- package/dist/types/utils.d.mts.map +0 -1
package/dist/constants/api.cjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
1
2
|
|
|
2
3
|
//#region src/constants/api.ts
|
|
3
|
-
const
|
|
4
|
-
"
|
|
4
|
+
const BASE_EXECUTION_API_METHODS = [
|
|
5
|
+
"create",
|
|
5
6
|
"clean",
|
|
6
7
|
"prepare",
|
|
7
8
|
"lint",
|
|
@@ -10,8 +11,8 @@ const BASE_API_FUNCTIONS = [
|
|
|
10
11
|
"docs",
|
|
11
12
|
"deploy"
|
|
12
13
|
];
|
|
13
|
-
const
|
|
14
|
+
const EXECUTION_API_METHODS = ["types", ...BASE_EXECUTION_API_METHODS];
|
|
14
15
|
|
|
15
16
|
//#endregion
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
17
|
+
exports.BASE_EXECUTION_API_METHODS = BASE_EXECUTION_API_METHODS;
|
|
18
|
+
exports.EXECUTION_API_METHODS = EXECUTION_API_METHODS;
|
package/dist/constants/api.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/constants/api.d.ts
|
|
2
|
-
declare const
|
|
3
|
-
declare const
|
|
2
|
+
declare const BASE_EXECUTION_API_METHODS: readonly ["create", "clean", "prepare", "lint", "test", "build", "docs", "deploy"];
|
|
3
|
+
declare const EXECUTION_API_METHODS: readonly ["types", "create", "clean", "prepare", "lint", "test", "build", "docs", "deploy"];
|
|
4
4
|
//#endregion
|
|
5
|
-
export {
|
|
5
|
+
export { BASE_EXECUTION_API_METHODS, EXECUTION_API_METHODS };
|
|
6
6
|
//# sourceMappingURL=api.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.cts","names":[],"sources":["../../src/constants/api.ts"],"mappings":";cAkBa,
|
|
1
|
+
{"version":3,"file":"api.d.cts","names":[],"sources":["../../src/constants/api.ts"],"mappings":";cAkBa,0BAAA;AAAA,cAWA,qBAAA"}
|
package/dist/constants/api.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/constants/api.d.ts
|
|
2
|
-
declare const
|
|
3
|
-
declare const
|
|
2
|
+
declare const BASE_EXECUTION_API_METHODS: readonly ["create", "clean", "prepare", "lint", "test", "build", "docs", "deploy"];
|
|
3
|
+
declare const EXECUTION_API_METHODS: readonly ["types", "create", "clean", "prepare", "lint", "test", "build", "docs", "deploy"];
|
|
4
4
|
//#endregion
|
|
5
|
-
export {
|
|
5
|
+
export { BASE_EXECUTION_API_METHODS, EXECUTION_API_METHODS };
|
|
6
6
|
//# sourceMappingURL=api.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.mts","names":[],"sources":["../../src/constants/api.ts"],"mappings":";cAkBa,
|
|
1
|
+
{"version":3,"file":"api.d.mts","names":[],"sources":["../../src/constants/api.ts"],"mappings":";cAkBa,0BAAA;AAAA,cAWA,qBAAA"}
|
package/dist/constants/api.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/constants/api.ts
|
|
2
|
-
const
|
|
3
|
-
"
|
|
2
|
+
const BASE_EXECUTION_API_METHODS = [
|
|
3
|
+
"create",
|
|
4
4
|
"clean",
|
|
5
5
|
"prepare",
|
|
6
6
|
"lint",
|
|
@@ -9,8 +9,8 @@ const BASE_API_FUNCTIONS = [
|
|
|
9
9
|
"docs",
|
|
10
10
|
"deploy"
|
|
11
11
|
];
|
|
12
|
-
const
|
|
12
|
+
const EXECUTION_API_METHODS = ["types", ...BASE_EXECUTION_API_METHODS];
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
|
-
export {
|
|
15
|
+
export { BASE_EXECUTION_API_METHODS, EXECUTION_API_METHODS };
|
|
16
16
|
//# sourceMappingURL=api.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.mjs","names":[],"sources":["../../src/constants/api.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport const
|
|
1
|
+
{"version":3,"file":"api.mjs","names":[],"sources":["../../src/constants/api.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport const BASE_EXECUTION_API_METHODS = [\n \"create\",\n \"clean\",\n \"prepare\",\n \"lint\",\n \"test\",\n \"build\",\n \"docs\",\n \"deploy\"\n] as const;\n\nexport const EXECUTION_API_METHODS = [\n \"types\",\n ...BASE_EXECUTION_API_METHODS\n] as const;\n"],"mappings":";AAkBA,MAAa,6BAA6B;CACxC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAED,MAAa,wBAAwB,CACnC,SACA,GAAG,2BACJ"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_constants_api = require('./api.cjs');
|
|
2
3
|
|
|
3
4
|
//#region src/constants/commands.ts
|
|
4
|
-
const SUPPORTED_COMMANDS = [...
|
|
5
|
+
const SUPPORTED_COMMANDS = [...require_constants_api.EXECUTION_API_METHODS, "finalize"];
|
|
5
6
|
|
|
6
7
|
//#endregion
|
|
7
8
|
exports.SUPPORTED_COMMANDS = SUPPORTED_COMMANDS;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/constants/commands.d.ts
|
|
2
|
-
declare const SUPPORTED_COMMANDS: readonly [
|
|
2
|
+
declare const SUPPORTED_COMMANDS: readonly string[];
|
|
3
3
|
//#endregion
|
|
4
4
|
export { SUPPORTED_COMMANDS };
|
|
5
5
|
//# sourceMappingURL=commands.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/constants/commands.d.ts
|
|
2
|
-
declare const SUPPORTED_COMMANDS: readonly [
|
|
2
|
+
declare const SUPPORTED_COMMANDS: readonly string[];
|
|
3
3
|
//#endregion
|
|
4
4
|
export { SUPPORTED_COMMANDS };
|
|
5
5
|
//# sourceMappingURL=commands.d.mts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EXECUTION_API_METHODS } from "./api.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/constants/commands.ts
|
|
4
|
-
const SUPPORTED_COMMANDS = [...
|
|
4
|
+
const SUPPORTED_COMMANDS = [...EXECUTION_API_METHODS, "finalize"];
|
|
5
5
|
|
|
6
6
|
//#endregion
|
|
7
7
|
export { SUPPORTED_COMMANDS };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commands.mjs","names":[],"sources":["../../src/constants/commands.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport {
|
|
1
|
+
{"version":3,"file":"commands.mjs","names":[],"sources":["../../src/constants/commands.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { EXECUTION_API_METHODS } from \"./api\";\n\nexport const SUPPORTED_COMMANDS = [\n ...EXECUTION_API_METHODS,\n \"finalize\"\n] as readonly string[];\n"],"mappings":";;;AAoBA,MAAa,qBAAqB,CAChC,GAAG,uBACH,WACD"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
|
|
3
|
+
//#region src/constants/devtools.ts
|
|
4
|
+
const DEVTOOLS_DEFAULT_PORT = 5e3;
|
|
5
|
+
const DEVTOOLS_MOUNT_PATH = "/.devtools/";
|
|
6
|
+
const DEVTOOLS_MOUNT_PATH_NO_TRAILING_SLASH = "/.devtools";
|
|
7
|
+
const DEVTOOLS_DIRNAME = "devtools";
|
|
8
|
+
const DEVTOOLS_CONNECTION_META_FILENAME = ".connection.json";
|
|
9
|
+
const DEVTOOLS_RPC_DUMP_MANIFEST_FILENAME = "rpc-dump/index.json";
|
|
10
|
+
const DEVTOOLS_DOCK_IMPORTS_FILENAME = ".client-imports.js";
|
|
11
|
+
const DEVTOOLS_DOCK_IMPORTS_VIRTUAL_ID = "/.devtools-client-imports.js";
|
|
12
|
+
const DEVTOOLS_RPC_DUMP_DIRNAME = "rpc-dump";
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
exports.DEVTOOLS_CONNECTION_META_FILENAME = DEVTOOLS_CONNECTION_META_FILENAME;
|
|
16
|
+
exports.DEVTOOLS_DEFAULT_PORT = DEVTOOLS_DEFAULT_PORT;
|
|
17
|
+
exports.DEVTOOLS_DIRNAME = DEVTOOLS_DIRNAME;
|
|
18
|
+
exports.DEVTOOLS_DOCK_IMPORTS_FILENAME = DEVTOOLS_DOCK_IMPORTS_FILENAME;
|
|
19
|
+
exports.DEVTOOLS_DOCK_IMPORTS_VIRTUAL_ID = DEVTOOLS_DOCK_IMPORTS_VIRTUAL_ID;
|
|
20
|
+
exports.DEVTOOLS_MOUNT_PATH = DEVTOOLS_MOUNT_PATH;
|
|
21
|
+
exports.DEVTOOLS_MOUNT_PATH_NO_TRAILING_SLASH = DEVTOOLS_MOUNT_PATH_NO_TRAILING_SLASH;
|
|
22
|
+
exports.DEVTOOLS_RPC_DUMP_DIRNAME = DEVTOOLS_RPC_DUMP_DIRNAME;
|
|
23
|
+
exports.DEVTOOLS_RPC_DUMP_MANIFEST_FILENAME = DEVTOOLS_RPC_DUMP_MANIFEST_FILENAME;
|
|
@@ -0,0 +1,13 @@
|
|
|
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_CONNECTION_META_FILENAME, DEVTOOLS_DEFAULT_PORT, DEVTOOLS_DIRNAME, DEVTOOLS_DOCK_IMPORTS_FILENAME, DEVTOOLS_DOCK_IMPORTS_VIRTUAL_ID, DEVTOOLS_MOUNT_PATH, DEVTOOLS_MOUNT_PATH_NO_TRAILING_SLASH, DEVTOOLS_RPC_DUMP_DIRNAME, DEVTOOLS_RPC_DUMP_MANIFEST_FILENAME };
|
|
13
|
+
//# sourceMappingURL=devtools.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devtools.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"}
|
|
@@ -0,0 +1,13 @@
|
|
|
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_CONNECTION_META_FILENAME, DEVTOOLS_DEFAULT_PORT, DEVTOOLS_DIRNAME, DEVTOOLS_DOCK_IMPORTS_FILENAME, DEVTOOLS_DOCK_IMPORTS_VIRTUAL_ID, DEVTOOLS_MOUNT_PATH, DEVTOOLS_MOUNT_PATH_NO_TRAILING_SLASH, DEVTOOLS_RPC_DUMP_DIRNAME, DEVTOOLS_RPC_DUMP_MANIFEST_FILENAME };
|
|
13
|
+
//# sourceMappingURL=devtools.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devtools.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"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/constants/devtools.ts
|
|
2
|
+
const DEVTOOLS_DEFAULT_PORT = 5e3;
|
|
3
|
+
const DEVTOOLS_MOUNT_PATH = "/.devtools/";
|
|
4
|
+
const DEVTOOLS_MOUNT_PATH_NO_TRAILING_SLASH = "/.devtools";
|
|
5
|
+
const DEVTOOLS_DIRNAME = "devtools";
|
|
6
|
+
const DEVTOOLS_CONNECTION_META_FILENAME = ".connection.json";
|
|
7
|
+
const DEVTOOLS_RPC_DUMP_MANIFEST_FILENAME = "rpc-dump/index.json";
|
|
8
|
+
const DEVTOOLS_DOCK_IMPORTS_FILENAME = ".client-imports.js";
|
|
9
|
+
const DEVTOOLS_DOCK_IMPORTS_VIRTUAL_ID = "/.devtools-client-imports.js";
|
|
10
|
+
const DEVTOOLS_RPC_DUMP_DIRNAME = "rpc-dump";
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { DEVTOOLS_CONNECTION_META_FILENAME, DEVTOOLS_DEFAULT_PORT, DEVTOOLS_DIRNAME, DEVTOOLS_DOCK_IMPORTS_FILENAME, DEVTOOLS_DOCK_IMPORTS_VIRTUAL_ID, DEVTOOLS_MOUNT_PATH, DEVTOOLS_MOUNT_PATH_NO_TRAILING_SLASH, DEVTOOLS_RPC_DUMP_DIRNAME, DEVTOOLS_RPC_DUMP_MANIFEST_FILENAME };
|
|
14
|
+
//# sourceMappingURL=devtools.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devtools.mjs","names":[],"sources":["../../src/constants/devtools.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport const DEVTOOLS_DEFAULT_PORT = 5000;\n\n// DevTools runtime routes and static output conventions.\nexport const DEVTOOLS_MOUNT_PATH = \"/.devtools/\";\nexport const DEVTOOLS_MOUNT_PATH_NO_TRAILING_SLASH = \"/.devtools\";\nexport const DEVTOOLS_DIRNAME = \"devtools\";\n\nexport const DEVTOOLS_CONNECTION_META_FILENAME = \".connection.json\";\nexport const DEVTOOLS_RPC_DUMP_MANIFEST_FILENAME = \"rpc-dump/index.json\";\nexport const DEVTOOLS_DOCK_IMPORTS_FILENAME = \".client-imports.js\";\nexport const DEVTOOLS_DOCK_IMPORTS_VIRTUAL_ID = \"/.devtools-client-imports.js\";\nexport const DEVTOOLS_RPC_DUMP_DIRNAME = \"rpc-dump\";\n"],"mappings":";AAkBA,MAAa,wBAAwB;AAGrC,MAAa,sBAAsB;AACnC,MAAa,wCAAwC;AACrD,MAAa,mBAAmB;AAEhC,MAAa,oCAAoC;AACjD,MAAa,sCAAsC;AACnD,MAAa,iCAAiC;AAC9C,MAAa,mCAAmC;AAChD,MAAa,4BAA4B"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
|
|
3
|
+
//#region src/constants/extensions.ts
|
|
4
|
+
const DEFAULT_EXTENSIONS = [
|
|
5
|
+
"js",
|
|
6
|
+
"ts",
|
|
7
|
+
"cjs",
|
|
8
|
+
"cts",
|
|
9
|
+
"mjs",
|
|
10
|
+
"mts",
|
|
11
|
+
"tsx",
|
|
12
|
+
"jsx",
|
|
13
|
+
"json",
|
|
14
|
+
"json5",
|
|
15
|
+
"jsonc",
|
|
16
|
+
"md",
|
|
17
|
+
"mdx"
|
|
18
|
+
];
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.DEFAULT_EXTENSIONS = DEFAULT_EXTENSIONS;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extensions.d.cts","names":[],"sources":["../../src/constants/extensions.ts"],"mappings":";cAkBa,kBAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extensions.d.mts","names":[],"sources":["../../src/constants/extensions.ts"],"mappings":";cAkBa,kBAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//#region src/constants/extensions.ts
|
|
2
|
+
const DEFAULT_EXTENSIONS = [
|
|
3
|
+
"js",
|
|
4
|
+
"ts",
|
|
5
|
+
"cjs",
|
|
6
|
+
"cts",
|
|
7
|
+
"mjs",
|
|
8
|
+
"mts",
|
|
9
|
+
"tsx",
|
|
10
|
+
"jsx",
|
|
11
|
+
"json",
|
|
12
|
+
"json5",
|
|
13
|
+
"jsonc",
|
|
14
|
+
"md",
|
|
15
|
+
"mdx"
|
|
16
|
+
];
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { DEFAULT_EXTENSIONS };
|
|
20
|
+
//# sourceMappingURL=extensions.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extensions.mjs","names":[],"sources":["../../src/constants/extensions.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport const DEFAULT_EXTENSIONS = [\n \"js\",\n \"ts\",\n \"cjs\",\n \"cts\",\n \"mjs\",\n \"mts\",\n \"tsx\",\n \"jsx\",\n \"json\",\n \"json5\",\n \"jsonc\",\n \"md\",\n \"mdx\"\n];\n"],"mappings":";AAkBA,MAAa,qBAAqB;CAChC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD"}
|
package/dist/constants/fs.cjs
CHANGED
package/dist/constants/hooks.cjs
CHANGED
package/dist/constants/index.cjs
CHANGED
|
@@ -1,32 +1,50 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
2
|
+
const require_constants_environments = require('./environments.cjs');
|
|
3
|
+
const require_constants_log_level = require('./log-level.cjs');
|
|
4
|
+
const require_constants_api = require('./api.cjs');
|
|
5
|
+
const require_constants_commands = require('./commands.cjs');
|
|
6
|
+
const require_constants_plugin = require('./plugin.cjs');
|
|
7
|
+
const require_constants_devtools = require('./devtools.cjs');
|
|
8
|
+
const require_constants_extensions = require('./extensions.cjs');
|
|
9
|
+
const require_constants_fs = require('./fs.cjs');
|
|
10
|
+
const require_constants_hooks = require('./hooks.cjs');
|
|
11
|
+
const require_constants_meta = require('./meta.cjs');
|
|
10
12
|
|
|
11
|
-
exports.
|
|
12
|
-
exports.BUILDER_VARIANTS =
|
|
13
|
-
exports.CACHE_HASH_LENGTH =
|
|
14
|
-
exports.CLIENT_ENVIRONMENT =
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
13
|
+
exports.BASE_EXECUTION_API_METHODS = require_constants_api.BASE_EXECUTION_API_METHODS;
|
|
14
|
+
exports.BUILDER_VARIANTS = require_constants_plugin.BUILDER_VARIANTS;
|
|
15
|
+
exports.CACHE_HASH_LENGTH = require_constants_meta.CACHE_HASH_LENGTH;
|
|
16
|
+
exports.CLIENT_ENVIRONMENT = require_constants_environments.CLIENT_ENVIRONMENT;
|
|
17
|
+
exports.DEFAULT_DEVELOPMENT_LOG_LEVEL = require_constants_log_level.DEFAULT_DEVELOPMENT_LOG_LEVEL;
|
|
18
|
+
exports.DEFAULT_ENVIRONMENT = require_constants_environments.DEFAULT_ENVIRONMENT;
|
|
19
|
+
exports.DEFAULT_EXTENSIONS = require_constants_extensions.DEFAULT_EXTENSIONS;
|
|
20
|
+
exports.DEFAULT_PRODUCTION_LOG_LEVEL = require_constants_log_level.DEFAULT_PRODUCTION_LOG_LEVEL;
|
|
21
|
+
exports.DEFAULT_TEST_LOG_LEVEL = require_constants_log_level.DEFAULT_TEST_LOG_LEVEL;
|
|
22
|
+
exports.DEVTOOLS_CONNECTION_META_FILENAME = require_constants_devtools.DEVTOOLS_CONNECTION_META_FILENAME;
|
|
23
|
+
exports.DEVTOOLS_DEFAULT_PORT = require_constants_devtools.DEVTOOLS_DEFAULT_PORT;
|
|
24
|
+
exports.DEVTOOLS_DIRNAME = require_constants_devtools.DEVTOOLS_DIRNAME;
|
|
25
|
+
exports.DEVTOOLS_DOCK_IMPORTS_FILENAME = require_constants_devtools.DEVTOOLS_DOCK_IMPORTS_FILENAME;
|
|
26
|
+
exports.DEVTOOLS_DOCK_IMPORTS_VIRTUAL_ID = require_constants_devtools.DEVTOOLS_DOCK_IMPORTS_VIRTUAL_ID;
|
|
27
|
+
exports.DEVTOOLS_MOUNT_PATH = require_constants_devtools.DEVTOOLS_MOUNT_PATH;
|
|
28
|
+
exports.DEVTOOLS_MOUNT_PATH_NO_TRAILING_SLASH = require_constants_devtools.DEVTOOLS_MOUNT_PATH_NO_TRAILING_SLASH;
|
|
29
|
+
exports.DEVTOOLS_RPC_DUMP_DIRNAME = require_constants_devtools.DEVTOOLS_RPC_DUMP_DIRNAME;
|
|
30
|
+
exports.DEVTOOLS_RPC_DUMP_MANIFEST_FILENAME = require_constants_devtools.DEVTOOLS_RPC_DUMP_MANIFEST_FILENAME;
|
|
31
|
+
exports.EXECUTION_API_METHODS = require_constants_api.EXECUTION_API_METHODS;
|
|
32
|
+
exports.GLOBAL_ENVIRONMENT = require_constants_environments.GLOBAL_ENVIRONMENT;
|
|
33
|
+
exports.HOOKS_LIST_ORDERS = require_constants_hooks.HOOKS_LIST_ORDERS;
|
|
34
|
+
exports.KNOWN_PLUGIN_FIELDS = require_constants_plugin.KNOWN_PLUGIN_FIELDS;
|
|
35
|
+
exports.LOG_CATEGORIES = require_constants_log_level.LOG_CATEGORIES;
|
|
36
|
+
exports.LOG_CATEGORIES_ARRAY = require_constants_log_level.LOG_CATEGORIES_ARRAY;
|
|
37
|
+
exports.LOG_LEVELS = require_constants_log_level.LOG_LEVELS;
|
|
38
|
+
exports.LogCategories = require_constants_log_level.LogCategories;
|
|
39
|
+
exports.LogLevels = require_constants_log_level.LogLevels;
|
|
40
|
+
exports.PLUGIN_HOOKS_FIELDS = require_constants_plugin.PLUGIN_HOOKS_FIELDS;
|
|
41
|
+
exports.PLUGIN_NON_HOOK_FIELDS = require_constants_plugin.PLUGIN_NON_HOOK_FIELDS;
|
|
42
|
+
exports.ROOT_HASH_LENGTH = require_constants_meta.ROOT_HASH_LENGTH;
|
|
43
|
+
exports.RSC_ENVIRONMENT = require_constants_environments.RSC_ENVIRONMENT;
|
|
44
|
+
exports.SERVER_ENVIRONMENT = require_constants_environments.SERVER_ENVIRONMENT;
|
|
45
|
+
exports.SSR_ENVIRONMENT = require_constants_environments.SSR_ENVIRONMENT;
|
|
46
|
+
exports.STORAGE_PRESETS = require_constants_fs.STORAGE_PRESETS;
|
|
47
|
+
exports.SUPPORTED_COMMANDS = require_constants_commands.SUPPORTED_COMMANDS;
|
|
48
|
+
exports.UNPLUGIN_BUILDER_VARIANTS = require_constants_plugin.UNPLUGIN_BUILDER_VARIANTS;
|
|
49
|
+
exports.__VFS_PATCH__ = require_constants_fs.__VFS_PATCH__;
|
|
50
|
+
exports.__VFS_REVERT__ = require_constants_fs.__VFS_REVERT__;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BASE_EXECUTION_API_METHODS, EXECUTION_API_METHODS } from "./api.cjs";
|
|
2
2
|
import { SUPPORTED_COMMANDS } from "./commands.cjs";
|
|
3
|
+
import { DEVTOOLS_CONNECTION_META_FILENAME, DEVTOOLS_DEFAULT_PORT, DEVTOOLS_DIRNAME, DEVTOOLS_DOCK_IMPORTS_FILENAME, DEVTOOLS_DOCK_IMPORTS_VIRTUAL_ID, DEVTOOLS_MOUNT_PATH, DEVTOOLS_MOUNT_PATH_NO_TRAILING_SLASH, DEVTOOLS_RPC_DUMP_DIRNAME, DEVTOOLS_RPC_DUMP_MANIFEST_FILENAME } from "./devtools.cjs";
|
|
3
4
|
import { CLIENT_ENVIRONMENT, DEFAULT_ENVIRONMENT, GLOBAL_ENVIRONMENT, RSC_ENVIRONMENT, SERVER_ENVIRONMENT, SSR_ENVIRONMENT } from "./environments.cjs";
|
|
5
|
+
import { DEFAULT_EXTENSIONS } from "./extensions.cjs";
|
|
4
6
|
import { STORAGE_PRESETS, __VFS_PATCH__, __VFS_REVERT__ } from "./fs.cjs";
|
|
5
7
|
import { HOOKS_LIST_ORDERS } from "./hooks.cjs";
|
|
8
|
+
import { DEFAULT_DEVELOPMENT_LOG_LEVEL, DEFAULT_PRODUCTION_LOG_LEVEL, DEFAULT_TEST_LOG_LEVEL, LOG_CATEGORIES, LOG_CATEGORIES_ARRAY, LOG_LEVELS, LogCategories, LogLevels } from "./log-level.cjs";
|
|
6
9
|
import { CACHE_HASH_LENGTH, ROOT_HASH_LENGTH } from "./meta.cjs";
|
|
7
10
|
import { BUILDER_VARIANTS, KNOWN_PLUGIN_FIELDS, PLUGIN_HOOKS_FIELDS, PLUGIN_NON_HOOK_FIELDS, UNPLUGIN_BUILDER_VARIANTS } from "./plugin.cjs";
|
|
8
|
-
|
|
9
|
-
export { BASE_API_FUNCTIONS, BUILDER_VARIANTS, CACHE_HASH_LENGTH, CLIENT_ENVIRONMENT, DEFAULT_ENVIRONMENT, GLOBAL_ENVIRONMENT, HOOKS_LIST_ORDERS, KNOWN_PLUGIN_FIELDS, PLUGIN_HOOKS_FIELDS, PLUGIN_NON_HOOK_FIELDS, POWERLINES_API_FUNCTIONS, ROOT_HASH_LENGTH, RSC_ENVIRONMENT, SERVER_ENVIRONMENT, SSR_ENVIRONMENT, STORAGE_PRESETS, SUPPORTED_COMMANDS, UNPLUGIN_BUILDER_VARIANTS, VIRTUAL_MODULE_PREFIX, VIRTUAL_MODULE_PREFIX_REGEX, __VFS_PATCH__, __VFS_REVERT__ };
|
|
11
|
+
export { BASE_EXECUTION_API_METHODS, BUILDER_VARIANTS, CACHE_HASH_LENGTH, CLIENT_ENVIRONMENT, DEFAULT_DEVELOPMENT_LOG_LEVEL, DEFAULT_ENVIRONMENT, DEFAULT_EXTENSIONS, DEFAULT_PRODUCTION_LOG_LEVEL, DEFAULT_TEST_LOG_LEVEL, DEVTOOLS_CONNECTION_META_FILENAME, DEVTOOLS_DEFAULT_PORT, DEVTOOLS_DIRNAME, DEVTOOLS_DOCK_IMPORTS_FILENAME, DEVTOOLS_DOCK_IMPORTS_VIRTUAL_ID, DEVTOOLS_MOUNT_PATH, DEVTOOLS_MOUNT_PATH_NO_TRAILING_SLASH, DEVTOOLS_RPC_DUMP_DIRNAME, DEVTOOLS_RPC_DUMP_MANIFEST_FILENAME, EXECUTION_API_METHODS, GLOBAL_ENVIRONMENT, HOOKS_LIST_ORDERS, KNOWN_PLUGIN_FIELDS, LOG_CATEGORIES, LOG_CATEGORIES_ARRAY, LOG_LEVELS, LogCategories, LogLevels, PLUGIN_HOOKS_FIELDS, PLUGIN_NON_HOOK_FIELDS, ROOT_HASH_LENGTH, RSC_ENVIRONMENT, SERVER_ENVIRONMENT, SSR_ENVIRONMENT, STORAGE_PRESETS, SUPPORTED_COMMANDS, UNPLUGIN_BUILDER_VARIANTS, __VFS_PATCH__, __VFS_REVERT__ };
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BASE_EXECUTION_API_METHODS, EXECUTION_API_METHODS } from "./api.mjs";
|
|
2
2
|
import { SUPPORTED_COMMANDS } from "./commands.mjs";
|
|
3
|
+
import { DEVTOOLS_CONNECTION_META_FILENAME, DEVTOOLS_DEFAULT_PORT, DEVTOOLS_DIRNAME, DEVTOOLS_DOCK_IMPORTS_FILENAME, DEVTOOLS_DOCK_IMPORTS_VIRTUAL_ID, DEVTOOLS_MOUNT_PATH, DEVTOOLS_MOUNT_PATH_NO_TRAILING_SLASH, DEVTOOLS_RPC_DUMP_DIRNAME, DEVTOOLS_RPC_DUMP_MANIFEST_FILENAME } from "./devtools.mjs";
|
|
3
4
|
import { CLIENT_ENVIRONMENT, DEFAULT_ENVIRONMENT, GLOBAL_ENVIRONMENT, RSC_ENVIRONMENT, SERVER_ENVIRONMENT, SSR_ENVIRONMENT } from "./environments.mjs";
|
|
5
|
+
import { DEFAULT_EXTENSIONS } from "./extensions.mjs";
|
|
4
6
|
import { STORAGE_PRESETS, __VFS_PATCH__, __VFS_REVERT__ } from "./fs.mjs";
|
|
5
7
|
import { HOOKS_LIST_ORDERS } from "./hooks.mjs";
|
|
8
|
+
import { DEFAULT_DEVELOPMENT_LOG_LEVEL, DEFAULT_PRODUCTION_LOG_LEVEL, DEFAULT_TEST_LOG_LEVEL, LOG_CATEGORIES, LOG_CATEGORIES_ARRAY, LOG_LEVELS, LogCategories, LogLevels } from "./log-level.mjs";
|
|
6
9
|
import { CACHE_HASH_LENGTH, ROOT_HASH_LENGTH } from "./meta.mjs";
|
|
7
10
|
import { BUILDER_VARIANTS, KNOWN_PLUGIN_FIELDS, PLUGIN_HOOKS_FIELDS, PLUGIN_NON_HOOK_FIELDS, UNPLUGIN_BUILDER_VARIANTS } from "./plugin.mjs";
|
|
8
|
-
|
|
9
|
-
export { BASE_API_FUNCTIONS, BUILDER_VARIANTS, CACHE_HASH_LENGTH, CLIENT_ENVIRONMENT, DEFAULT_ENVIRONMENT, GLOBAL_ENVIRONMENT, HOOKS_LIST_ORDERS, KNOWN_PLUGIN_FIELDS, PLUGIN_HOOKS_FIELDS, PLUGIN_NON_HOOK_FIELDS, POWERLINES_API_FUNCTIONS, ROOT_HASH_LENGTH, RSC_ENVIRONMENT, SERVER_ENVIRONMENT, SSR_ENVIRONMENT, STORAGE_PRESETS, SUPPORTED_COMMANDS, UNPLUGIN_BUILDER_VARIANTS, VIRTUAL_MODULE_PREFIX, VIRTUAL_MODULE_PREFIX_REGEX, __VFS_PATCH__, __VFS_REVERT__ };
|
|
11
|
+
export { BASE_EXECUTION_API_METHODS, BUILDER_VARIANTS, CACHE_HASH_LENGTH, CLIENT_ENVIRONMENT, DEFAULT_DEVELOPMENT_LOG_LEVEL, DEFAULT_ENVIRONMENT, DEFAULT_EXTENSIONS, DEFAULT_PRODUCTION_LOG_LEVEL, DEFAULT_TEST_LOG_LEVEL, DEVTOOLS_CONNECTION_META_FILENAME, DEVTOOLS_DEFAULT_PORT, DEVTOOLS_DIRNAME, DEVTOOLS_DOCK_IMPORTS_FILENAME, DEVTOOLS_DOCK_IMPORTS_VIRTUAL_ID, DEVTOOLS_MOUNT_PATH, DEVTOOLS_MOUNT_PATH_NO_TRAILING_SLASH, DEVTOOLS_RPC_DUMP_DIRNAME, DEVTOOLS_RPC_DUMP_MANIFEST_FILENAME, EXECUTION_API_METHODS, GLOBAL_ENVIRONMENT, HOOKS_LIST_ORDERS, KNOWN_PLUGIN_FIELDS, LOG_CATEGORIES, LOG_CATEGORIES_ARRAY, LOG_LEVELS, LogCategories, LogLevels, PLUGIN_HOOKS_FIELDS, PLUGIN_NON_HOOK_FIELDS, ROOT_HASH_LENGTH, RSC_ENVIRONMENT, SERVER_ENVIRONMENT, SSR_ENVIRONMENT, STORAGE_PRESETS, SUPPORTED_COMMANDS, UNPLUGIN_BUILDER_VARIANTS, __VFS_PATCH__, __VFS_REVERT__ };
|
package/dist/constants/index.mjs
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { CLIENT_ENVIRONMENT, DEFAULT_ENVIRONMENT, GLOBAL_ENVIRONMENT, RSC_ENVIRONMENT, SERVER_ENVIRONMENT, SSR_ENVIRONMENT } from "./environments.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { DEFAULT_DEVELOPMENT_LOG_LEVEL, DEFAULT_PRODUCTION_LOG_LEVEL, DEFAULT_TEST_LOG_LEVEL, LOG_CATEGORIES, LOG_CATEGORIES_ARRAY, LOG_LEVELS, LogCategories, LogLevels } from "./log-level.mjs";
|
|
3
|
+
import { BASE_EXECUTION_API_METHODS, EXECUTION_API_METHODS } from "./api.mjs";
|
|
3
4
|
import { SUPPORTED_COMMANDS } from "./commands.mjs";
|
|
4
5
|
import { BUILDER_VARIANTS, KNOWN_PLUGIN_FIELDS, PLUGIN_HOOKS_FIELDS, PLUGIN_NON_HOOK_FIELDS, UNPLUGIN_BUILDER_VARIANTS } from "./plugin.mjs";
|
|
5
|
-
import {
|
|
6
|
+
import { DEVTOOLS_CONNECTION_META_FILENAME, DEVTOOLS_DEFAULT_PORT, DEVTOOLS_DIRNAME, DEVTOOLS_DOCK_IMPORTS_FILENAME, DEVTOOLS_DOCK_IMPORTS_VIRTUAL_ID, DEVTOOLS_MOUNT_PATH, DEVTOOLS_MOUNT_PATH_NO_TRAILING_SLASH, DEVTOOLS_RPC_DUMP_DIRNAME, DEVTOOLS_RPC_DUMP_MANIFEST_FILENAME } from "./devtools.mjs";
|
|
7
|
+
import { DEFAULT_EXTENSIONS } from "./extensions.mjs";
|
|
6
8
|
import { STORAGE_PRESETS, __VFS_PATCH__, __VFS_REVERT__ } from "./fs.mjs";
|
|
7
9
|
import { HOOKS_LIST_ORDERS } from "./hooks.mjs";
|
|
8
10
|
import { CACHE_HASH_LENGTH, ROOT_HASH_LENGTH } from "./meta.mjs";
|
|
9
11
|
|
|
10
|
-
export {
|
|
12
|
+
export { BASE_EXECUTION_API_METHODS, BUILDER_VARIANTS, CACHE_HASH_LENGTH, CLIENT_ENVIRONMENT, DEFAULT_DEVELOPMENT_LOG_LEVEL, DEFAULT_ENVIRONMENT, DEFAULT_EXTENSIONS, DEFAULT_PRODUCTION_LOG_LEVEL, DEFAULT_TEST_LOG_LEVEL, DEVTOOLS_CONNECTION_META_FILENAME, DEVTOOLS_DEFAULT_PORT, DEVTOOLS_DIRNAME, DEVTOOLS_DOCK_IMPORTS_FILENAME, DEVTOOLS_DOCK_IMPORTS_VIRTUAL_ID, DEVTOOLS_MOUNT_PATH, DEVTOOLS_MOUNT_PATH_NO_TRAILING_SLASH, DEVTOOLS_RPC_DUMP_DIRNAME, DEVTOOLS_RPC_DUMP_MANIFEST_FILENAME, EXECUTION_API_METHODS, GLOBAL_ENVIRONMENT, HOOKS_LIST_ORDERS, KNOWN_PLUGIN_FIELDS, LOG_CATEGORIES, LOG_CATEGORIES_ARRAY, LOG_LEVELS, LogCategories, LogLevels, PLUGIN_HOOKS_FIELDS, PLUGIN_NON_HOOK_FIELDS, ROOT_HASH_LENGTH, RSC_ENVIRONMENT, SERVER_ENVIRONMENT, SSR_ENVIRONMENT, STORAGE_PRESETS, SUPPORTED_COMMANDS, UNPLUGIN_BUILDER_VARIANTS, __VFS_PATCH__, __VFS_REVERT__ };
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
|
|
3
|
+
//#region src/constants/log-level.ts
|
|
4
|
+
const LogLevels = {
|
|
5
|
+
SILENT: "silent",
|
|
6
|
+
ERROR: "error",
|
|
7
|
+
WARN: "warn",
|
|
8
|
+
INFO: "info",
|
|
9
|
+
DEBUG: "debug",
|
|
10
|
+
TRACE: "trace"
|
|
11
|
+
};
|
|
12
|
+
const LOG_LEVELS = [
|
|
13
|
+
LogLevels.SILENT,
|
|
14
|
+
LogLevels.ERROR,
|
|
15
|
+
LogLevels.WARN,
|
|
16
|
+
LogLevels.INFO,
|
|
17
|
+
LogLevels.DEBUG,
|
|
18
|
+
LogLevels.TRACE
|
|
19
|
+
];
|
|
20
|
+
const LogCategories = {
|
|
21
|
+
GENERAL: "general",
|
|
22
|
+
FS: "fs",
|
|
23
|
+
PERFORMANCE: "performance",
|
|
24
|
+
CONFIG: "config",
|
|
25
|
+
PLUGINS: "plugins",
|
|
26
|
+
HOOKS: "hooks",
|
|
27
|
+
ENV: "env",
|
|
28
|
+
RPC: "rpc",
|
|
29
|
+
BABEL: "babel",
|
|
30
|
+
COMMUNICATION: "communication"
|
|
31
|
+
};
|
|
32
|
+
const LOG_CATEGORIES_ARRAY = Object.values(LogCategories);
|
|
33
|
+
const LOG_CATEGORIES = [
|
|
34
|
+
LogCategories.GENERAL,
|
|
35
|
+
LogCategories.FS,
|
|
36
|
+
LogCategories.PERFORMANCE,
|
|
37
|
+
LogCategories.CONFIG,
|
|
38
|
+
LogCategories.PLUGINS,
|
|
39
|
+
LogCategories.HOOKS,
|
|
40
|
+
LogCategories.ENV,
|
|
41
|
+
LogCategories.RPC,
|
|
42
|
+
LogCategories.COMMUNICATION,
|
|
43
|
+
LogCategories.BABEL
|
|
44
|
+
];
|
|
45
|
+
const DEFAULT_DEVELOPMENT_LOG_LEVEL = {
|
|
46
|
+
general: "debug",
|
|
47
|
+
fs: "info",
|
|
48
|
+
config: "warn",
|
|
49
|
+
plugins: "debug",
|
|
50
|
+
hooks: "debug",
|
|
51
|
+
performance: "debug",
|
|
52
|
+
env: "info",
|
|
53
|
+
rpc: "info",
|
|
54
|
+
communication: "debug",
|
|
55
|
+
babel: "debug"
|
|
56
|
+
};
|
|
57
|
+
const DEFAULT_TEST_LOG_LEVEL = {
|
|
58
|
+
general: "info",
|
|
59
|
+
fs: "warn",
|
|
60
|
+
config: "warn",
|
|
61
|
+
plugins: "warn",
|
|
62
|
+
hooks: "warn",
|
|
63
|
+
performance: "info",
|
|
64
|
+
env: "warn",
|
|
65
|
+
rpc: "warn",
|
|
66
|
+
communication: "warn",
|
|
67
|
+
babel: "warn"
|
|
68
|
+
};
|
|
69
|
+
const DEFAULT_PRODUCTION_LOG_LEVEL = {
|
|
70
|
+
general: "warn",
|
|
71
|
+
fs: "error",
|
|
72
|
+
config: "error",
|
|
73
|
+
plugins: "warn",
|
|
74
|
+
hooks: "warn",
|
|
75
|
+
performance: "info",
|
|
76
|
+
env: "error",
|
|
77
|
+
rpc: "error",
|
|
78
|
+
communication: "error",
|
|
79
|
+
babel: "warn"
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
//#endregion
|
|
83
|
+
exports.DEFAULT_DEVELOPMENT_LOG_LEVEL = DEFAULT_DEVELOPMENT_LOG_LEVEL;
|
|
84
|
+
exports.DEFAULT_PRODUCTION_LOG_LEVEL = DEFAULT_PRODUCTION_LOG_LEVEL;
|
|
85
|
+
exports.DEFAULT_TEST_LOG_LEVEL = DEFAULT_TEST_LOG_LEVEL;
|
|
86
|
+
exports.LOG_CATEGORIES = LOG_CATEGORIES;
|
|
87
|
+
exports.LOG_CATEGORIES_ARRAY = LOG_CATEGORIES_ARRAY;
|
|
88
|
+
exports.LOG_LEVELS = LOG_LEVELS;
|
|
89
|
+
exports.LogCategories = LogCategories;
|
|
90
|
+
exports.LogLevels = LogLevels;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
//#region src/constants/log-level.d.ts
|
|
2
|
+
declare const LogLevels: {
|
|
3
|
+
readonly SILENT: "silent";
|
|
4
|
+
readonly ERROR: "error";
|
|
5
|
+
readonly WARN: "warn";
|
|
6
|
+
readonly INFO: "info";
|
|
7
|
+
readonly DEBUG: "debug";
|
|
8
|
+
readonly TRACE: "trace";
|
|
9
|
+
};
|
|
10
|
+
declare const LOG_LEVELS: readonly ["silent", "error", "warn", "info", "debug", "trace"];
|
|
11
|
+
declare const LogCategories: {
|
|
12
|
+
readonly GENERAL: "general";
|
|
13
|
+
readonly FS: "fs";
|
|
14
|
+
readonly PERFORMANCE: "performance";
|
|
15
|
+
readonly CONFIG: "config";
|
|
16
|
+
readonly PLUGINS: "plugins";
|
|
17
|
+
readonly HOOKS: "hooks";
|
|
18
|
+
readonly ENV: "env";
|
|
19
|
+
readonly RPC: "rpc";
|
|
20
|
+
readonly BABEL: "babel";
|
|
21
|
+
readonly COMMUNICATION: "communication";
|
|
22
|
+
};
|
|
23
|
+
declare const LOG_CATEGORIES_ARRAY: ("plugins" | "general" | "fs" | "performance" | "config" | "hooks" | "env" | "rpc" | "babel" | "communication")[];
|
|
24
|
+
declare const LOG_CATEGORIES: readonly ["general", "fs", "performance", "config", "plugins", "hooks", "env", "rpc", "communication", "babel"];
|
|
25
|
+
declare const DEFAULT_DEVELOPMENT_LOG_LEVEL: {
|
|
26
|
+
readonly general: "debug";
|
|
27
|
+
readonly fs: "info";
|
|
28
|
+
readonly config: "warn";
|
|
29
|
+
readonly plugins: "debug";
|
|
30
|
+
readonly hooks: "debug";
|
|
31
|
+
readonly performance: "debug";
|
|
32
|
+
readonly env: "info";
|
|
33
|
+
readonly rpc: "info";
|
|
34
|
+
readonly communication: "debug";
|
|
35
|
+
readonly babel: "debug";
|
|
36
|
+
};
|
|
37
|
+
declare const DEFAULT_TEST_LOG_LEVEL: {
|
|
38
|
+
readonly general: "info";
|
|
39
|
+
readonly fs: "warn";
|
|
40
|
+
readonly config: "warn";
|
|
41
|
+
readonly plugins: "warn";
|
|
42
|
+
readonly hooks: "warn";
|
|
43
|
+
readonly performance: "info";
|
|
44
|
+
readonly env: "warn";
|
|
45
|
+
readonly rpc: "warn";
|
|
46
|
+
readonly communication: "warn";
|
|
47
|
+
readonly babel: "warn";
|
|
48
|
+
};
|
|
49
|
+
declare const DEFAULT_PRODUCTION_LOG_LEVEL: {
|
|
50
|
+
readonly general: "warn";
|
|
51
|
+
readonly fs: "error";
|
|
52
|
+
readonly config: "error";
|
|
53
|
+
readonly plugins: "warn";
|
|
54
|
+
readonly hooks: "warn";
|
|
55
|
+
readonly performance: "info";
|
|
56
|
+
readonly env: "error";
|
|
57
|
+
readonly rpc: "error";
|
|
58
|
+
readonly communication: "error";
|
|
59
|
+
readonly babel: "warn";
|
|
60
|
+
};
|
|
61
|
+
//#endregion
|
|
62
|
+
export { DEFAULT_DEVELOPMENT_LOG_LEVEL, DEFAULT_PRODUCTION_LOG_LEVEL, DEFAULT_TEST_LOG_LEVEL, LOG_CATEGORIES, LOG_CATEGORIES_ARRAY, LOG_LEVELS, LogCategories, LogLevels };
|
|
63
|
+
//# sourceMappingURL=log-level.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"log-level.d.cts","names":[],"sources":["../../src/constants/log-level.ts"],"mappings":";cAkBa,SAAA;EAAA;;;;;;;cASA,UAAA;AAAA,cASA,aAAA;EAAA;;;;;;;;;;;cAaA,oBAAA;AAAA,cAEA,cAAA;AAAA,cAaA,6BAAA;EAAA;;;;;;;;;;;cAaA,sBAAA;EAAA;;;;;;;;;;;cAaA,4BAAA;EAAA"}
|