@powerlines/core 0.13.11 → 0.13.13

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.
Files changed (93) hide show
  1. package/dist/constants/api.cjs +16 -0
  2. package/dist/constants/api.d.cts +5 -0
  3. package/dist/constants/api.d.cts.map +1 -0
  4. package/dist/constants/api.d.mts +5 -0
  5. package/dist/constants/api.d.mts.map +1 -0
  6. package/dist/constants/api.mjs +16 -0
  7. package/dist/constants/api.mjs.map +1 -0
  8. package/dist/constants/commands.cjs +2 -11
  9. package/dist/constants/commands.d.cts +1 -1
  10. package/dist/constants/commands.d.cts.map +1 -1
  11. package/dist/constants/commands.d.mts +1 -1
  12. package/dist/constants/commands.d.mts.map +1 -1
  13. package/dist/constants/commands.mjs +3 -11
  14. package/dist/constants/commands.mjs.map +1 -1
  15. package/dist/constants/index.cjs +2 -0
  16. package/dist/constants/index.d.cts +2 -1
  17. package/dist/constants/index.d.mts +2 -1
  18. package/dist/constants/index.mjs +2 -1
  19. package/dist/constants/plugin.d.cts +2 -2
  20. package/dist/constants/plugin.d.mts +2 -2
  21. package/dist/index.d.cts +5 -4
  22. package/dist/index.d.mts +5 -4
  23. package/dist/lib/config.cjs +17 -28
  24. package/dist/lib/config.d.cts +6 -11
  25. package/dist/lib/config.d.cts.map +1 -1
  26. package/dist/lib/config.d.mts +6 -11
  27. package/dist/lib/config.d.mts.map +1 -1
  28. package/dist/lib/config.mjs +17 -28
  29. package/dist/lib/config.mjs.map +1 -1
  30. package/dist/lib/entry.cjs +4 -4
  31. package/dist/lib/entry.d.cts.map +1 -1
  32. package/dist/lib/entry.d.mts.map +1 -1
  33. package/dist/lib/entry.mjs +4 -4
  34. package/dist/lib/entry.mjs.map +1 -1
  35. package/dist/lib/logger.cjs +1 -1
  36. package/dist/lib/logger.d.cts.map +1 -1
  37. package/dist/lib/logger.d.mts.map +1 -1
  38. package/dist/lib/logger.mjs +1 -1
  39. package/dist/lib/logger.mjs.map +1 -1
  40. package/dist/lib/unplugin/plugin.cjs +1 -1
  41. package/dist/lib/unplugin/plugin.mjs +1 -1
  42. package/dist/lib/unplugin/plugin.mjs.map +1 -1
  43. package/dist/lib/utilities/format.cjs +3 -3
  44. package/dist/lib/utilities/format.d.cts.map +1 -1
  45. package/dist/lib/utilities/format.d.mts.map +1 -1
  46. package/dist/lib/utilities/format.mjs +3 -3
  47. package/dist/lib/utilities/format.mjs.map +1 -1
  48. package/dist/plugin-base.cjs +2 -2
  49. package/dist/plugin-base.mjs +2 -2
  50. package/dist/plugin-base.mjs.map +1 -1
  51. package/dist/plugin-utils/context-helpers.cjs +8 -5
  52. package/dist/plugin-utils/context-helpers.d.cts +1 -1
  53. package/dist/plugin-utils/context-helpers.d.cts.map +1 -1
  54. package/dist/plugin-utils/context-helpers.d.mts +1 -1
  55. package/dist/plugin-utils/context-helpers.d.mts.map +1 -1
  56. package/dist/plugin-utils/context-helpers.mjs +8 -5
  57. package/dist/plugin-utils/context-helpers.mjs.map +1 -1
  58. package/dist/plugin-utils/format-package-json.cjs +1 -1
  59. package/dist/plugin-utils/format-package-json.mjs +1 -1
  60. package/dist/plugin-utils/format-package-json.mjs.map +1 -1
  61. package/dist/plugin-utils/get-config-path.cjs +32 -32
  62. package/dist/plugin-utils/get-config-path.mjs +32 -32
  63. package/dist/plugin-utils/get-config-path.mjs.map +1 -1
  64. package/dist/plugin-utils/helpers.d.cts +4 -4
  65. package/dist/plugin-utils/helpers.d.cts.map +1 -1
  66. package/dist/plugin-utils/helpers.d.mts +4 -4
  67. package/dist/plugin-utils/helpers.d.mts.map +1 -1
  68. package/dist/plugin-utils/paths.cjs +1 -1
  69. package/dist/plugin-utils/paths.mjs +1 -1
  70. package/dist/plugin-utils/paths.mjs.map +1 -1
  71. package/dist/types/_internal.d.cts +6 -6
  72. package/dist/types/_internal.d.cts.map +1 -1
  73. package/dist/types/_internal.d.mts +6 -6
  74. package/dist/types/_internal.d.mts.map +1 -1
  75. package/dist/types/api.d.cts +62 -9
  76. package/dist/types/api.d.cts.map +1 -1
  77. package/dist/types/api.d.mts +62 -9
  78. package/dist/types/api.d.mts.map +1 -1
  79. package/dist/types/config.d.cts +89 -56
  80. package/dist/types/config.d.cts.map +1 -1
  81. package/dist/types/config.d.mts +89 -56
  82. package/dist/types/config.d.mts.map +1 -1
  83. package/dist/types/context.d.cts +101 -62
  84. package/dist/types/context.d.cts.map +1 -1
  85. package/dist/types/context.d.mts +101 -62
  86. package/dist/types/context.d.mts.map +1 -1
  87. package/dist/types/index.d.cts +4 -3
  88. package/dist/types/index.d.mts +4 -3
  89. package/dist/types/utils.d.cts +9 -0
  90. package/dist/types/utils.d.cts.map +1 -0
  91. package/dist/types/utils.d.mts +9 -0
  92. package/dist/types/utils.d.mts.map +1 -0
  93. package/package.json +8 -8
@@ -0,0 +1,16 @@
1
+
2
+ //#region src/constants/api.ts
3
+ const POWERLINES_API_FUNCTIONS = [
4
+ "new",
5
+ "clean",
6
+ "prepare",
7
+ "types",
8
+ "lint",
9
+ "test",
10
+ "build",
11
+ "docs",
12
+ "deploy"
13
+ ];
14
+
15
+ //#endregion
16
+ exports.POWERLINES_API_FUNCTIONS = POWERLINES_API_FUNCTIONS;
@@ -0,0 +1,5 @@
1
+ //#region src/constants/api.d.ts
2
+ declare const POWERLINES_API_FUNCTIONS: readonly ["new", "clean", "prepare", "types", "lint", "test", "build", "docs", "deploy"];
3
+ //#endregion
4
+ export { POWERLINES_API_FUNCTIONS };
5
+ //# sourceMappingURL=api.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.d.cts","names":[],"sources":["../../src/constants/api.ts"],"mappings":";cAkBa,wBAAA"}
@@ -0,0 +1,5 @@
1
+ //#region src/constants/api.d.ts
2
+ declare const POWERLINES_API_FUNCTIONS: readonly ["new", "clean", "prepare", "types", "lint", "test", "build", "docs", "deploy"];
3
+ //#endregion
4
+ export { POWERLINES_API_FUNCTIONS };
5
+ //# sourceMappingURL=api.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.d.mts","names":[],"sources":["../../src/constants/api.ts"],"mappings":";cAkBa,wBAAA"}
@@ -0,0 +1,16 @@
1
+ //#region src/constants/api.ts
2
+ const POWERLINES_API_FUNCTIONS = [
3
+ "new",
4
+ "clean",
5
+ "prepare",
6
+ "types",
7
+ "lint",
8
+ "test",
9
+ "build",
10
+ "docs",
11
+ "deploy"
12
+ ];
13
+
14
+ //#endregion
15
+ export { POWERLINES_API_FUNCTIONS };
16
+ //# sourceMappingURL=api.mjs.map
@@ -0,0 +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 POWERLINES_API_FUNCTIONS = [\n \"new\",\n \"clean\",\n \"prepare\",\n \"types\",\n \"lint\",\n \"test\",\n \"build\",\n \"docs\",\n \"deploy\"\n] as const;\n"],"mappings":";AAkBA,MAAa,2BAA2B;CACtC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD"}
@@ -1,16 +1,7 @@
1
+ const require_api = require('./api.cjs');
1
2
 
2
3
  //#region src/constants/commands.ts
3
- const SUPPORTED_COMMANDS = [
4
- "new",
5
- "clean",
6
- "prepare",
7
- "lint",
8
- "test",
9
- "build",
10
- "docs",
11
- "deploy",
12
- "finalize"
13
- ];
4
+ const SUPPORTED_COMMANDS = [...require_api.POWERLINES_API_FUNCTIONS, "finalize"];
14
5
 
15
6
  //#endregion
16
7
  exports.SUPPORTED_COMMANDS = SUPPORTED_COMMANDS;
@@ -1,5 +1,5 @@
1
1
  //#region src/constants/commands.d.ts
2
- declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize"];
2
+ declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "types", "lint", "test", "build", "docs", "deploy", "finalize"];
3
3
  //#endregion
4
4
  export { SUPPORTED_COMMANDS };
5
5
  //# sourceMappingURL=commands.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"commands.d.cts","names":[],"sources":["../../src/constants/commands.ts"],"mappings":";cAkBa,kBAAA"}
1
+ {"version":3,"file":"commands.d.cts","names":[],"sources":["../../src/constants/commands.ts"],"mappings":";cAoBa,kBAAA"}
@@ -1,5 +1,5 @@
1
1
  //#region src/constants/commands.d.ts
2
- declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize"];
2
+ declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "types", "lint", "test", "build", "docs", "deploy", "finalize"];
3
3
  //#endregion
4
4
  export { SUPPORTED_COMMANDS };
5
5
  //# sourceMappingURL=commands.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"commands.d.mts","names":[],"sources":["../../src/constants/commands.ts"],"mappings":";cAkBa,kBAAA"}
1
+ {"version":3,"file":"commands.d.mts","names":[],"sources":["../../src/constants/commands.ts"],"mappings":";cAoBa,kBAAA"}
@@ -1,15 +1,7 @@
1
+ import { POWERLINES_API_FUNCTIONS } from "./api.mjs";
2
+
1
3
  //#region src/constants/commands.ts
2
- const SUPPORTED_COMMANDS = [
3
- "new",
4
- "clean",
5
- "prepare",
6
- "lint",
7
- "test",
8
- "build",
9
- "docs",
10
- "deploy",
11
- "finalize"
12
- ];
4
+ const SUPPORTED_COMMANDS = [...POWERLINES_API_FUNCTIONS, "finalize"];
13
5
 
14
6
  //#endregion
15
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\nexport const SUPPORTED_COMMANDS = [\n \"new\",\n \"clean\",\n \"prepare\",\n \"lint\",\n \"test\",\n \"build\",\n \"docs\",\n \"deploy\",\n \"finalize\"\n] as const;\n"],"mappings":";AAkBA,MAAa,qBAAqB;CAChC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD"}
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 { POWERLINES_API_FUNCTIONS } from \"./api\";\n\nexport const SUPPORTED_COMMANDS = [\n ...POWERLINES_API_FUNCTIONS,\n \"finalize\"\n] as const;\n"],"mappings":";;;AAoBA,MAAa,qBAAqB,CAChC,GAAG,0BACH,WACD"}
@@ -1,5 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_environments = require('./environments.cjs');
3
+ const require_api = require('./api.cjs');
3
4
  const require_commands = require('./commands.cjs');
4
5
  const require_plugin = require('./plugin.cjs');
5
6
  const require_virtual_modules = require('./virtual-modules.cjs');
@@ -16,6 +17,7 @@ exports.HOOKS_LIST_ORDERS = require_hooks.HOOKS_LIST_ORDERS;
16
17
  exports.KNOWN_PLUGIN_FIELDS = require_plugin.KNOWN_PLUGIN_FIELDS;
17
18
  exports.PLUGIN_HOOKS_FIELDS = require_plugin.PLUGIN_HOOKS_FIELDS;
18
19
  exports.PLUGIN_NON_HOOK_FIELDS = require_plugin.PLUGIN_NON_HOOK_FIELDS;
20
+ exports.POWERLINES_API_FUNCTIONS = require_api.POWERLINES_API_FUNCTIONS;
19
21
  exports.ROOT_HASH_LENGTH = require_meta.ROOT_HASH_LENGTH;
20
22
  exports.RSC_ENVIRONMENT = require_environments.RSC_ENVIRONMENT;
21
23
  exports.SERVER_ENVIRONMENT = require_environments.SERVER_ENVIRONMENT;
@@ -1,3 +1,4 @@
1
+ import { POWERLINES_API_FUNCTIONS } from "./api.cjs";
1
2
  import { SUPPORTED_COMMANDS } from "./commands.cjs";
2
3
  import { CLIENT_ENVIRONMENT, DEFAULT_ENVIRONMENT, GLOBAL_ENVIRONMENT, RSC_ENVIRONMENT, SERVER_ENVIRONMENT, SSR_ENVIRONMENT } from "./environments.cjs";
3
4
  import { STORAGE_PRESETS, __VFS_PATCH__, __VFS_REVERT__ } from "./fs.cjs";
@@ -5,4 +6,4 @@ import { HOOKS_LIST_ORDERS } from "./hooks.cjs";
5
6
  import { CACHE_HASH_LENGTH, ROOT_HASH_LENGTH } from "./meta.cjs";
6
7
  import { BUILDER_VARIANTS, KNOWN_PLUGIN_FIELDS, PLUGIN_HOOKS_FIELDS, PLUGIN_NON_HOOK_FIELDS, UNPLUGIN_BUILDER_VARIANTS } from "./plugin.cjs";
7
8
  import { VIRTUAL_MODULE_PREFIX, VIRTUAL_MODULE_PREFIX_REGEX } from "./virtual-modules.cjs";
8
- export { BUILDER_VARIANTS, CACHE_HASH_LENGTH, CLIENT_ENVIRONMENT, DEFAULT_ENVIRONMENT, GLOBAL_ENVIRONMENT, HOOKS_LIST_ORDERS, KNOWN_PLUGIN_FIELDS, PLUGIN_HOOKS_FIELDS, PLUGIN_NON_HOOK_FIELDS, 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__ };
9
+ export { 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__ };
@@ -1,3 +1,4 @@
1
+ import { POWERLINES_API_FUNCTIONS } from "./api.mjs";
1
2
  import { SUPPORTED_COMMANDS } from "./commands.mjs";
2
3
  import { CLIENT_ENVIRONMENT, DEFAULT_ENVIRONMENT, GLOBAL_ENVIRONMENT, RSC_ENVIRONMENT, SERVER_ENVIRONMENT, SSR_ENVIRONMENT } from "./environments.mjs";
3
4
  import { STORAGE_PRESETS, __VFS_PATCH__, __VFS_REVERT__ } from "./fs.mjs";
@@ -5,4 +6,4 @@ import { HOOKS_LIST_ORDERS } from "./hooks.mjs";
5
6
  import { CACHE_HASH_LENGTH, ROOT_HASH_LENGTH } from "./meta.mjs";
6
7
  import { BUILDER_VARIANTS, KNOWN_PLUGIN_FIELDS, PLUGIN_HOOKS_FIELDS, PLUGIN_NON_HOOK_FIELDS, UNPLUGIN_BUILDER_VARIANTS } from "./plugin.mjs";
7
8
  import { VIRTUAL_MODULE_PREFIX, VIRTUAL_MODULE_PREFIX_REGEX } from "./virtual-modules.mjs";
8
- export { BUILDER_VARIANTS, CACHE_HASH_LENGTH, CLIENT_ENVIRONMENT, DEFAULT_ENVIRONMENT, GLOBAL_ENVIRONMENT, HOOKS_LIST_ORDERS, KNOWN_PLUGIN_FIELDS, PLUGIN_HOOKS_FIELDS, PLUGIN_NON_HOOK_FIELDS, 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__ };
9
+ export { 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__ };
@@ -1,4 +1,5 @@
1
1
  import { CLIENT_ENVIRONMENT, DEFAULT_ENVIRONMENT, GLOBAL_ENVIRONMENT, RSC_ENVIRONMENT, SERVER_ENVIRONMENT, SSR_ENVIRONMENT } from "./environments.mjs";
2
+ import { POWERLINES_API_FUNCTIONS } from "./api.mjs";
2
3
  import { SUPPORTED_COMMANDS } from "./commands.mjs";
3
4
  import { BUILDER_VARIANTS, KNOWN_PLUGIN_FIELDS, PLUGIN_HOOKS_FIELDS, PLUGIN_NON_HOOK_FIELDS, UNPLUGIN_BUILDER_VARIANTS } from "./plugin.mjs";
4
5
  import { VIRTUAL_MODULE_PREFIX, VIRTUAL_MODULE_PREFIX_REGEX } from "./virtual-modules.mjs";
@@ -6,4 +7,4 @@ import { STORAGE_PRESETS, __VFS_PATCH__, __VFS_REVERT__ } from "./fs.mjs";
6
7
  import { HOOKS_LIST_ORDERS } from "./hooks.mjs";
7
8
  import { CACHE_HASH_LENGTH, ROOT_HASH_LENGTH } from "./meta.mjs";
8
9
 
9
- export { BUILDER_VARIANTS, CACHE_HASH_LENGTH, CLIENT_ENVIRONMENT, DEFAULT_ENVIRONMENT, GLOBAL_ENVIRONMENT, HOOKS_LIST_ORDERS, KNOWN_PLUGIN_FIELDS, PLUGIN_HOOKS_FIELDS, PLUGIN_NON_HOOK_FIELDS, 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__ };
10
+ export { 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__ };
@@ -2,8 +2,8 @@
2
2
  declare const UNPLUGIN_BUILDER_VARIANTS: readonly ["rollup", "webpack", "rspack", "vite", "esbuild", "farm", "unloader", "rolldown", "bun"];
3
3
  declare const BUILDER_VARIANTS: readonly ["rollup", "webpack", "rspack", "vite", "esbuild", "farm", "unloader", "rolldown", "bun", "tsup", "tsdown", "unbuild"];
4
4
  declare const PLUGIN_NON_HOOK_FIELDS: readonly ["name", "api", "enforce", "dedupe", "applyToEnvironment"];
5
- declare const PLUGIN_HOOKS_FIELDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize", "config", "configEnvironment", "configResolved", "types", "buildStart", "buildEnd", "transform", "load", "resolveId", "writeBundle"];
6
- declare const KNOWN_PLUGIN_FIELDS: readonly ["name", "api", "enforce", "dedupe", "applyToEnvironment", "new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize", "config", "configEnvironment", "configResolved", "types", "buildStart", "buildEnd", "transform", "load", "resolveId", "writeBundle", "rollup", "webpack", "rspack", "vite", "esbuild", "farm", "unloader", "rolldown", "bun", "tsup", "tsdown", "unbuild"];
5
+ declare const PLUGIN_HOOKS_FIELDS: readonly ["new", "clean", "prepare", "types", "lint", "test", "build", "docs", "deploy", "finalize", "config", "configEnvironment", "configResolved", "types", "buildStart", "buildEnd", "transform", "load", "resolveId", "writeBundle"];
6
+ declare const KNOWN_PLUGIN_FIELDS: readonly ["name", "api", "enforce", "dedupe", "applyToEnvironment", "new", "clean", "prepare", "types", "lint", "test", "build", "docs", "deploy", "finalize", "config", "configEnvironment", "configResolved", "types", "buildStart", "buildEnd", "transform", "load", "resolveId", "writeBundle", "rollup", "webpack", "rspack", "vite", "esbuild", "farm", "unloader", "rolldown", "bun", "tsup", "tsdown", "unbuild"];
7
7
  //#endregion
8
8
  export { BUILDER_VARIANTS, KNOWN_PLUGIN_FIELDS, PLUGIN_HOOKS_FIELDS, PLUGIN_NON_HOOK_FIELDS, UNPLUGIN_BUILDER_VARIANTS };
9
9
  //# sourceMappingURL=plugin.d.cts.map
@@ -2,8 +2,8 @@
2
2
  declare const UNPLUGIN_BUILDER_VARIANTS: readonly ["rollup", "webpack", "rspack", "vite", "esbuild", "farm", "unloader", "rolldown", "bun"];
3
3
  declare const BUILDER_VARIANTS: readonly ["rollup", "webpack", "rspack", "vite", "esbuild", "farm", "unloader", "rolldown", "bun", "tsup", "tsdown", "unbuild"];
4
4
  declare const PLUGIN_NON_HOOK_FIELDS: readonly ["name", "api", "enforce", "dedupe", "applyToEnvironment"];
5
- declare const PLUGIN_HOOKS_FIELDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize", "config", "configEnvironment", "configResolved", "types", "buildStart", "buildEnd", "transform", "load", "resolveId", "writeBundle"];
6
- declare const KNOWN_PLUGIN_FIELDS: readonly ["name", "api", "enforce", "dedupe", "applyToEnvironment", "new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize", "config", "configEnvironment", "configResolved", "types", "buildStart", "buildEnd", "transform", "load", "resolveId", "writeBundle", "rollup", "webpack", "rspack", "vite", "esbuild", "farm", "unloader", "rolldown", "bun", "tsup", "tsdown", "unbuild"];
5
+ declare const PLUGIN_HOOKS_FIELDS: readonly ["new", "clean", "prepare", "types", "lint", "test", "build", "docs", "deploy", "finalize", "config", "configEnvironment", "configResolved", "types", "buildStart", "buildEnd", "transform", "load", "resolveId", "writeBundle"];
6
+ declare const KNOWN_PLUGIN_FIELDS: readonly ["name", "api", "enforce", "dedupe", "applyToEnvironment", "new", "clean", "prepare", "types", "lint", "test", "build", "docs", "deploy", "finalize", "config", "configEnvironment", "configResolved", "types", "buildStart", "buildEnd", "transform", "load", "resolveId", "writeBundle", "rollup", "webpack", "rspack", "vite", "esbuild", "farm", "unloader", "rolldown", "bun", "tsup", "tsdown", "unbuild"];
7
7
  //#endregion
8
8
  export { BUILDER_VARIANTS, KNOWN_PLUGIN_FIELDS, PLUGIN_HOOKS_FIELDS, PLUGIN_NON_HOOK_FIELDS, UNPLUGIN_BUILDER_VARIANTS };
9
9
  //# sourceMappingURL=plugin.d.mts.map
package/dist/index.d.cts CHANGED
@@ -1,12 +1,13 @@
1
1
  import { ResolveOptions, StorageAdapter, StoragePort, StoragePreset, VirtualFile, VirtualFileData, VirtualFileExtension, VirtualFileMetadata, VirtualFileSystemInterface, WriteData, WriteOptions, __ΩResolveOptions, __ΩStorageAdapter, __ΩStoragePort, __ΩStoragePreset, __ΩVirtualFile, __ΩVirtualFileData, __ΩVirtualFileExtension, __ΩVirtualFileMetadata, __ΩVirtualFileSystemInterface, __ΩWriteData, __ΩWriteOptions } from "./types/fs.cjs";
2
2
  import { CommandType, Commands, __ΩCommandType, __ΩCommands } from "./types/commands.cjs";
3
- import { API, __ΩAPI } from "./types/api.cjs";
3
+ import { WorkerProcess, __ΩWorkerProcess } from "./types/utils.cjs";
4
+ import { API, Engine, Execution, ExecutionWorkerParams, ExecutionWorkerProcess, __ΩAPI, __ΩEngine, __ΩExecution, __ΩExecutionWorkerParams, __ΩExecutionWorkerProcess } from "./types/api.cjs";
4
5
  import { BuilderVariant, InferUnpluginOptions, InferUnpluginVariant, UnpluginAsyncFactory, UnpluginBuilderVariant, UnpluginFactory, UnpluginHookFunctions, UnpluginOptions, UnpluginUserConfig, __ΩBuilderVariant, __ΩInferUnpluginOptions, __ΩInferUnpluginVariant, __ΩUnpluginAsyncFactory, __ΩUnpluginBuilderVariant, __ΩUnpluginFactory, __ΩUnpluginHookFunctions, __ΩUnpluginOptions, __ΩUnpluginUserConfig } from "./types/unplugin.cjs";
5
6
  import { BasePlugin, HookFunctions, Hooks, Plugin, PluginHook, PluginHookFields, PluginHookObject, PluginHooks, PluginNonHookFields, TypesResult, __ΩBasePlugin, __ΩHookFunctions, __ΩHooks, __ΩPlugin, __ΩPluginHook, __ΩPluginHookFields, __ΩPluginHookObject, __ΩPluginHooks, __ΩPluginNonHookFields, __ΩTypesResult } from "./types/plugin.cjs";
6
7
  import { CallHookOptions, HookListOrders, HooksList, HooksListItem, InferHookFunction, InferHookParameters, InferHookReturnType, InferHookThisType, NormalizedStringFilter, PluginFilter, TransformHookFilter, __ΩCallHookOptions, __ΩHookListOrders, __ΩHooksList, __ΩHooksListItem, __ΩInferHookFunction, __ΩInferHookParameters, __ΩInferHookReturnType, __ΩInferHookThisType, __ΩNormalizedStringFilter, __ΩPluginFilter, __ΩTransformHookFilter } from "./types/hooks.cjs";
7
8
  import { DeepkitOptions, Level, ParsedTypeScriptConfig, RawReflectionMode, ReflectionMode, TSCompilerOptions, TSConfig, __ΩDeepkitOptions, __ΩLevel, __ΩParsedTypeScriptConfig, __ΩRawReflectionMode, __ΩReflectionMode, __ΩTSCompilerOptions, __ΩTSConfig } from "./types/tsconfig.cjs";
8
- import { APIContext, BuildPluginContext, Context, EmitEntryOptions, EmitOptions, EnvironmentContext, EnvironmentContextPlugin, FetchOptions, InitContextOptions, MetaInfo, ParseOptions, PluginContext, ResolveResult, Resolver, SelectHookResult, SelectHookResultItem, SelectHooksOptions, SourceFile, TransformResult, UnimportContext, UnresolvedContext, WithUnpluginBuildContext, WorkerProcess, __ΩAPIContext, __ΩBuildPluginContext, __ΩContext, __ΩEmitEntryOptions, __ΩEmitOptions, __ΩEnvironmentContext, __ΩEnvironmentContextPlugin, __ΩFetchOptions, __ΩInitContextOptions, __ΩMetaInfo, __ΩParseOptions, __ΩPluginContext, __ΩResolveResult, __ΩResolver, __ΩSelectHookResult, __ΩSelectHookResultItem, __ΩSelectHooksOptions, __ΩSourceFile, __ΩTransformResult, __ΩUnimportContext, __ΩUnresolvedContext, __ΩWithUnpluginBuildContext, __ΩWorkerProcess } from "./types/context.cjs";
9
- import { AnyOutputUserConfig, AnyUserConfig, BuildInlineConfig, CleanInlineConfig, Config, ConfigEnv, CopyConfig, CopyResolvedConfig, DeployInlineConfig, DocsInlineConfig, EnvironmentConfig, EnvironmentResolvedConfig, InitialUserConfig, InlineConfig, LintInlineConfig, LogFn, LogLevel, LogLevelConfig, Logger, NewInlineConfig, OutputConfig, OutputResolvedConfig, ParsedUserConfig, PartialPlugin, PartialPluginFactory, PluginConfig, PluginConfigObject, PluginConfigTuple, PluginFactory, PowerlinesCommand, PrepareInlineConfig, ProjectType, ResolveConfig, ResolveResolvedConfig, ResolvedAssetGlob, ResolvedConfig, ResolvedEntryTypeDefinition, TypesInlineConfig, UserConfig, UserConfigFn, WorkspaceConfig, __ΩAnyOutputUserConfig, __ΩAnyUserConfig, __ΩBuildInlineConfig, __ΩCleanInlineConfig, __ΩConfig, __ΩConfigEnv, __ΩCopyConfig, __ΩCopyResolvedConfig, __ΩDeployInlineConfig, __ΩDocsInlineConfig, __ΩEnvironmentConfig, __ΩEnvironmentResolvedConfig, __ΩInitialUserConfig, __ΩInlineConfig, __ΩLintInlineConfig, __ΩLogFn, __ΩLogLevel, __ΩLogLevelConfig, __ΩLogger, __ΩNewInlineConfig, __ΩOutputConfig, __ΩOutputResolvedConfig, __ΩParsedUserConfig, __ΩPartialPlugin, __ΩPartialPluginFactory, __ΩPluginConfig, __ΩPluginConfigObject, __ΩPluginConfigTuple, __ΩPluginFactory, __ΩPowerlinesCommand, __ΩPrepareInlineConfig, __ΩProjectType, __ΩResolveConfig, __ΩResolveResolvedConfig, __ΩResolvedAssetGlob, __ΩResolvedConfig, __ΩResolvedEntryTypeDefinition, __ΩTypesInlineConfig, __ΩUserConfig, __ΩUserConfigFn, __ΩWorkspaceConfig } from "./types/config.cjs";
9
+ import { BaseContext, BuildPluginContext, Context, EmitEntryOptions, EmitOptions, EngineContext, EnvironmentContext, EnvironmentContextPlugin, ExecutionContext, FetchOptions, InitContextOptions, MetaInfo, ParseOptions, PluginContext, ResolveResult, Resolver, SelectHookResult, SelectHookResultItem, SelectHooksOptions, SourceFile, TransformResult, UnimportContext, UnresolvedContext, WithUnpluginBuildContext, __ΩBaseContext, __ΩBuildPluginContext, __ΩContext, __ΩEmitEntryOptions, __ΩEmitOptions, __ΩEngineContext, __ΩEnvironmentContext, __ΩEnvironmentContextPlugin, __ΩExecutionContext, __ΩFetchOptions, __ΩInitContextOptions, __ΩMetaInfo, __ΩParseOptions, __ΩPluginContext, __ΩResolveResult, __ΩResolver, __ΩSelectHookResult, __ΩSelectHookResultItem, __ΩSelectHooksOptions, __ΩSourceFile, __ΩTransformResult, __ΩUnimportContext, __ΩUnresolvedContext, __ΩWithUnpluginBuildContext } from "./types/context.cjs";
10
+ import { AnyOutputUserConfig, AnyUserConfig, BuildInlineConfig, CleanInlineConfig, Config, CopyConfig, CopyResolvedConfig, DeployInlineConfig, DocsInlineConfig, EngineOptions, EnvironmentConfig, EnvironmentResolvedConfig, ExecutionOptions, InlineConfig, LintInlineConfig, LogFn, LogLevel, LogLevelConfig, Logger, NewInlineConfig, OutputConfig, OutputResolvedConfig, ParsedUserConfig, PartialPlugin, PartialPluginFactory, PluginConfig, PluginConfigObject, PluginConfigTuple, PluginFactory, PowerlinesCommand, PrepareInlineConfig, ProjectType, ResolveConfig, ResolveResolvedConfig, ResolvedAssetGlob, ResolvedConfig, ResolvedEngineOptions, ResolvedEntryTypeDefinition, ResolvedExecutionOptions, TestInlineConfig, TypesInlineConfig, UserConfig, UserConfigFn, WorkspaceConfig, __ΩAnyOutputUserConfig, __ΩAnyUserConfig, __ΩBuildInlineConfig, __ΩCleanInlineConfig, __ΩConfig, __ΩCopyConfig, __ΩCopyResolvedConfig, __ΩDeployInlineConfig, __ΩDocsInlineConfig, __ΩEngineOptions, __ΩEnvironmentConfig, __ΩEnvironmentResolvedConfig, __ΩExecutionOptions, __ΩInlineConfig, __ΩLintInlineConfig, __ΩLogFn, __ΩLogLevel, __ΩLogLevelConfig, __ΩLogger, __ΩNewInlineConfig, __ΩOutputConfig, __ΩOutputResolvedConfig, __ΩParsedUserConfig, __ΩPartialPlugin, __ΩPartialPluginFactory, __ΩPluginConfig, __ΩPluginConfigObject, __ΩPluginConfigTuple, __ΩPluginFactory, __ΩPowerlinesCommand, __ΩPrepareInlineConfig, __ΩProjectType, __ΩResolveConfig, __ΩResolveResolvedConfig, __ΩResolvedAssetGlob, __ΩResolvedConfig, __ΩResolvedEngineOptions, __ΩResolvedEntryTypeDefinition, __ΩResolvedExecutionOptions, __ΩTestInlineConfig, __ΩTypesInlineConfig, __ΩUserConfig, __ΩUserConfigFn, __ΩWorkspaceConfig } from "./types/config.cjs";
10
11
  import { PartiallyResolvedContext, __ΩPartiallyResolvedContext, defineConfig, loadUserConfigFile, loadWorkspaceConfig } from "./lib/config.cjs";
11
12
  import { getUniqueInputs, isResolvedEntryTypeDefinition, isTypeDefinition, resolveEntryOutput, resolveInput, resolveInputs, resolveInputsSync } from "./lib/entry.cjs";
12
13
  import { CreateLogOptions, __ΩCreateLogOptions, colorBackground, colorText, createLog, extendLog, getTextColor } from "./lib/logger.cjs";
@@ -18,4 +19,4 @@ import { format, formatFolder } from "./lib/utilities/format.cjs";
18
19
  import { getMagicString, getSourceFile, getString } from "./lib/utilities/source-file.cjs";
19
20
  import { generateSourceMap } from "./lib/utilities/source-map.cjs";
20
21
  import { writeFile } from "./lib/utilities/write-file.cjs";
21
- export { API, APIContext, AnyOutputUserConfig, AnyUserConfig, BasePlugin, BuildInlineConfig, BuildPluginContext, BuilderVariant, CallHookOptions, CleanInlineConfig, CommandType, Commands, Config, ConfigEnv, Context, CopyConfig, CopyResolvedConfig, CreateLogOptions, CreateUnpluginModuleResolutionFunctionsOptions, CreateUnpluginOptions, CreateUnpluginResolverOptions, DeepkitOptions, DeployInlineConfig, DocsInlineConfig, EmitEntryOptions, EmitOptions, EnvironmentConfig, EnvironmentContext, EnvironmentContextPlugin, EnvironmentResolvedConfig, FetchOptions, FileHeaderOptions, HookFunctions, HookListOrders, Hooks, HooksList, HooksListItem, InferHookFunction, InferHookParameters, InferHookReturnType, InferHookThisType, InferUnpluginOptions, InferUnpluginVariant, InitContextOptions, InitialUserConfig, InlineConfig, Level, LintInlineConfig, LogFn, LogLevel, LogLevelConfig, Logger, MetaInfo, NewInlineConfig, NormalizedStringFilter, OutputConfig, OutputResolvedConfig, ParseOptions, ParsedTypeScriptConfig, ParsedUserConfig, PartialPlugin, PartialPluginFactory, PartiallyResolvedContext, Plugin, PluginConfig, PluginConfigObject, PluginConfigTuple, PluginContext, PluginFactory, PluginFilter, PluginHook, PluginHookFields, PluginHookObject, PluginHooks, PluginNonHookFields, PowerlinesCommand, PrepareInlineConfig, ProjectType, RawReflectionMode, ReflectionMode, ResolveConfig, ResolveOptions, ResolveResolvedConfig, ResolveResult, ResolvedAssetGlob, ResolvedConfig, ResolvedEntryTypeDefinition, Resolver, SelectHookResult, SelectHookResultItem, SelectHooksOptions, SourceFile, StorageAdapter, StoragePort, StoragePreset, TSCompilerOptions, TSConfig, TransformHookFilter, TransformResult, TypesInlineConfig, TypesResult, UnimportContext, UnpluginAsyncFactory, UnpluginBuilderVariant, UnpluginFactory, UnpluginHookFunctions, UnpluginOptions, UnpluginUserConfig, UnresolvedContext, UserConfig, UserConfigFn, VirtualFile, VirtualFileData, VirtualFileExtension, VirtualFileMetadata, VirtualFileSystemInterface, WithUnpluginBuildContext, WorkerProcess, WorkspaceConfig, WriteData, WriteOptions, __ΩAPI, __ΩAPIContext, __ΩAnyOutputUserConfig, __ΩAnyUserConfig, __ΩBasePlugin, __ΩBuildInlineConfig, __ΩBuildPluginContext, __ΩBuilderVariant, __ΩCallHookOptions, __ΩCleanInlineConfig, __ΩCommandType, __ΩCommands, __ΩConfig, __ΩConfigEnv, __ΩContext, __ΩCopyConfig, __ΩCopyResolvedConfig, __ΩCreateLogOptions, __ΩCreateUnpluginModuleResolutionFunctionsOptions, __ΩCreateUnpluginOptions, __ΩCreateUnpluginResolverOptions, __ΩDeepkitOptions, __ΩDeployInlineConfig, __ΩDocsInlineConfig, __ΩEmitEntryOptions, __ΩEmitOptions, __ΩEnvironmentConfig, __ΩEnvironmentContext, __ΩEnvironmentContextPlugin, __ΩEnvironmentResolvedConfig, __ΩFetchOptions, __ΩFileHeaderOptions, __ΩHookFunctions, __ΩHookListOrders, __ΩHooks, __ΩHooksList, __ΩHooksListItem, __ΩInferHookFunction, __ΩInferHookParameters, __ΩInferHookReturnType, __ΩInferHookThisType, __ΩInferUnpluginOptions, __ΩInferUnpluginVariant, __ΩInitContextOptions, __ΩInitialUserConfig, __ΩInlineConfig, __ΩLevel, __ΩLintInlineConfig, __ΩLogFn, __ΩLogLevel, __ΩLogLevelConfig, __ΩLogger, __ΩMetaInfo, __ΩNewInlineConfig, __ΩNormalizedStringFilter, __ΩOutputConfig, __ΩOutputResolvedConfig, __ΩParseOptions, __ΩParsedTypeScriptConfig, __ΩParsedUserConfig, __ΩPartialPlugin, __ΩPartialPluginFactory, __ΩPartiallyResolvedContext, __ΩPlugin, __ΩPluginConfig, __ΩPluginConfigObject, __ΩPluginConfigTuple, __ΩPluginContext, __ΩPluginFactory, __ΩPluginFilter, __ΩPluginHook, __ΩPluginHookFields, __ΩPluginHookObject, __ΩPluginHooks, __ΩPluginNonHookFields, __ΩPowerlinesCommand, __ΩPrepareInlineConfig, __ΩProjectType, __ΩRawReflectionMode, __ΩReflectionMode, __ΩResolveConfig, __ΩResolveOptions, __ΩResolveResolvedConfig, __ΩResolveResult, __ΩResolvedAssetGlob, __ΩResolvedConfig, __ΩResolvedEntryTypeDefinition, __ΩResolver, __ΩSelectHookResult, __ΩSelectHookResultItem, __ΩSelectHooksOptions, __ΩSourceFile, __ΩStorageAdapter, __ΩStoragePort, __ΩStoragePreset, __ΩTSCompilerOptions, __ΩTSConfig, __ΩTransformHookFilter, __ΩTransformResult, __ΩTypesInlineConfig, __ΩTypesResult, __ΩUnimportContext, __ΩUnpluginAsyncFactory, __ΩUnpluginBuilderVariant, __ΩUnpluginFactory, __ΩUnpluginHookFunctions, __ΩUnpluginOptions, __ΩUnpluginUserConfig, __ΩUnresolvedContext, __ΩUserConfig, __ΩUserConfigFn, __ΩVirtualFile, __ΩVirtualFileData, __ΩVirtualFileExtension, __ΩVirtualFileMetadata, __ΩVirtualFileSystemInterface, __ΩWithUnpluginBuildContext, __ΩWorkerProcess, __ΩWorkspaceConfig, __ΩWriteData, __ΩWriteOptions, colorBackground, colorText, combineContexts, createLog, createUnplugin, createUnpluginModuleResolutionFunctions, createUnpluginResolver, defineConfig, extendLog, format, formatFolder, generateSourceMap, getFileHeader, getFileHeaderWarning, getFileHeaderWarningText, getMagicString, getSourceFile, getString, getTextColor, getTypescriptFileHeader, getUniqueInputs, isResolvedEntryTypeDefinition, isTypeDefinition, isUnpluginBuilderVariant, loadUserConfigFile, loadWorkspaceConfig, resolveEntryOutput, resolveInput, resolveInputs, resolveInputsSync, writeFile };
22
+ export { API, AnyOutputUserConfig, AnyUserConfig, BaseContext, BasePlugin, BuildInlineConfig, BuildPluginContext, BuilderVariant, CallHookOptions, CleanInlineConfig, CommandType, Commands, Config, Context, CopyConfig, CopyResolvedConfig, CreateLogOptions, CreateUnpluginModuleResolutionFunctionsOptions, CreateUnpluginOptions, CreateUnpluginResolverOptions, DeepkitOptions, DeployInlineConfig, DocsInlineConfig, EmitEntryOptions, EmitOptions, Engine, EngineContext, EngineOptions, EnvironmentConfig, EnvironmentContext, EnvironmentContextPlugin, EnvironmentResolvedConfig, Execution, ExecutionContext, ExecutionOptions, ExecutionWorkerParams, ExecutionWorkerProcess, FetchOptions, FileHeaderOptions, HookFunctions, HookListOrders, Hooks, HooksList, HooksListItem, InferHookFunction, InferHookParameters, InferHookReturnType, InferHookThisType, InferUnpluginOptions, InferUnpluginVariant, InitContextOptions, InlineConfig, Level, LintInlineConfig, LogFn, LogLevel, LogLevelConfig, Logger, MetaInfo, NewInlineConfig, NormalizedStringFilter, OutputConfig, OutputResolvedConfig, ParseOptions, ParsedTypeScriptConfig, ParsedUserConfig, PartialPlugin, PartialPluginFactory, PartiallyResolvedContext, Plugin, PluginConfig, PluginConfigObject, PluginConfigTuple, PluginContext, PluginFactory, PluginFilter, PluginHook, PluginHookFields, PluginHookObject, PluginHooks, PluginNonHookFields, PowerlinesCommand, PrepareInlineConfig, ProjectType, RawReflectionMode, ReflectionMode, ResolveConfig, ResolveOptions, ResolveResolvedConfig, ResolveResult, ResolvedAssetGlob, ResolvedConfig, ResolvedEngineOptions, ResolvedEntryTypeDefinition, ResolvedExecutionOptions, Resolver, SelectHookResult, SelectHookResultItem, SelectHooksOptions, SourceFile, StorageAdapter, StoragePort, StoragePreset, TSCompilerOptions, TSConfig, TestInlineConfig, TransformHookFilter, TransformResult, TypesInlineConfig, TypesResult, UnimportContext, UnpluginAsyncFactory, UnpluginBuilderVariant, UnpluginFactory, UnpluginHookFunctions, UnpluginOptions, UnpluginUserConfig, UnresolvedContext, UserConfig, UserConfigFn, VirtualFile, VirtualFileData, VirtualFileExtension, VirtualFileMetadata, VirtualFileSystemInterface, WithUnpluginBuildContext, WorkerProcess, WorkspaceConfig, WriteData, WriteOptions, __ΩAPI, __ΩAnyOutputUserConfig, __ΩAnyUserConfig, __ΩBaseContext, __ΩBasePlugin, __ΩBuildInlineConfig, __ΩBuildPluginContext, __ΩBuilderVariant, __ΩCallHookOptions, __ΩCleanInlineConfig, __ΩCommandType, __ΩCommands, __ΩConfig, __ΩContext, __ΩCopyConfig, __ΩCopyResolvedConfig, __ΩCreateLogOptions, __ΩCreateUnpluginModuleResolutionFunctionsOptions, __ΩCreateUnpluginOptions, __ΩCreateUnpluginResolverOptions, __ΩDeepkitOptions, __ΩDeployInlineConfig, __ΩDocsInlineConfig, __ΩEmitEntryOptions, __ΩEmitOptions, __ΩEngine, __ΩEngineContext, __ΩEngineOptions, __ΩEnvironmentConfig, __ΩEnvironmentContext, __ΩEnvironmentContextPlugin, __ΩEnvironmentResolvedConfig, __ΩExecution, __ΩExecutionContext, __ΩExecutionOptions, __ΩExecutionWorkerParams, __ΩExecutionWorkerProcess, __ΩFetchOptions, __ΩFileHeaderOptions, __ΩHookFunctions, __ΩHookListOrders, __ΩHooks, __ΩHooksList, __ΩHooksListItem, __ΩInferHookFunction, __ΩInferHookParameters, __ΩInferHookReturnType, __ΩInferHookThisType, __ΩInferUnpluginOptions, __ΩInferUnpluginVariant, __ΩInitContextOptions, __ΩInlineConfig, __ΩLevel, __ΩLintInlineConfig, __ΩLogFn, __ΩLogLevel, __ΩLogLevelConfig, __ΩLogger, __ΩMetaInfo, __ΩNewInlineConfig, __ΩNormalizedStringFilter, __ΩOutputConfig, __ΩOutputResolvedConfig, __ΩParseOptions, __ΩParsedTypeScriptConfig, __ΩParsedUserConfig, __ΩPartialPlugin, __ΩPartialPluginFactory, __ΩPartiallyResolvedContext, __ΩPlugin, __ΩPluginConfig, __ΩPluginConfigObject, __ΩPluginConfigTuple, __ΩPluginContext, __ΩPluginFactory, __ΩPluginFilter, __ΩPluginHook, __ΩPluginHookFields, __ΩPluginHookObject, __ΩPluginHooks, __ΩPluginNonHookFields, __ΩPowerlinesCommand, __ΩPrepareInlineConfig, __ΩProjectType, __ΩRawReflectionMode, __ΩReflectionMode, __ΩResolveConfig, __ΩResolveOptions, __ΩResolveResolvedConfig, __ΩResolveResult, __ΩResolvedAssetGlob, __ΩResolvedConfig, __ΩResolvedEngineOptions, __ΩResolvedEntryTypeDefinition, __ΩResolvedExecutionOptions, __ΩResolver, __ΩSelectHookResult, __ΩSelectHookResultItem, __ΩSelectHooksOptions, __ΩSourceFile, __ΩStorageAdapter, __ΩStoragePort, __ΩStoragePreset, __ΩTSCompilerOptions, __ΩTSConfig, __ΩTestInlineConfig, __ΩTransformHookFilter, __ΩTransformResult, __ΩTypesInlineConfig, __ΩTypesResult, __ΩUnimportContext, __ΩUnpluginAsyncFactory, __ΩUnpluginBuilderVariant, __ΩUnpluginFactory, __ΩUnpluginHookFunctions, __ΩUnpluginOptions, __ΩUnpluginUserConfig, __ΩUnresolvedContext, __ΩUserConfig, __ΩUserConfigFn, __ΩVirtualFile, __ΩVirtualFileData, __ΩVirtualFileExtension, __ΩVirtualFileMetadata, __ΩVirtualFileSystemInterface, __ΩWithUnpluginBuildContext, __ΩWorkerProcess, __ΩWorkspaceConfig, __ΩWriteData, __ΩWriteOptions, colorBackground, colorText, combineContexts, createLog, createUnplugin, createUnpluginModuleResolutionFunctions, createUnpluginResolver, defineConfig, extendLog, format, formatFolder, generateSourceMap, getFileHeader, getFileHeaderWarning, getFileHeaderWarningText, getMagicString, getSourceFile, getString, getTextColor, getTypescriptFileHeader, getUniqueInputs, isResolvedEntryTypeDefinition, isTypeDefinition, isUnpluginBuilderVariant, loadUserConfigFile, loadWorkspaceConfig, resolveEntryOutput, resolveInput, resolveInputs, resolveInputsSync, writeFile };
package/dist/index.d.mts CHANGED
@@ -1,12 +1,13 @@
1
1
  import { ResolveOptions, StorageAdapter, StoragePort, StoragePreset, VirtualFile, VirtualFileData, VirtualFileExtension, VirtualFileMetadata, VirtualFileSystemInterface, WriteData, WriteOptions, __ΩResolveOptions, __ΩStorageAdapter, __ΩStoragePort, __ΩStoragePreset, __ΩVirtualFile, __ΩVirtualFileData, __ΩVirtualFileExtension, __ΩVirtualFileMetadata, __ΩVirtualFileSystemInterface, __ΩWriteData, __ΩWriteOptions } from "./types/fs.mjs";
2
2
  import { CommandType, Commands, __ΩCommandType, __ΩCommands } from "./types/commands.mjs";
3
- import { API, __ΩAPI } from "./types/api.mjs";
3
+ import { WorkerProcess, __ΩWorkerProcess } from "./types/utils.mjs";
4
+ import { API, Engine, Execution, ExecutionWorkerParams, ExecutionWorkerProcess, __ΩAPI, __ΩEngine, __ΩExecution, __ΩExecutionWorkerParams, __ΩExecutionWorkerProcess } from "./types/api.mjs";
4
5
  import { BuilderVariant, InferUnpluginOptions, InferUnpluginVariant, UnpluginAsyncFactory, UnpluginBuilderVariant, UnpluginFactory, UnpluginHookFunctions, UnpluginOptions, UnpluginUserConfig, __ΩBuilderVariant, __ΩInferUnpluginOptions, __ΩInferUnpluginVariant, __ΩUnpluginAsyncFactory, __ΩUnpluginBuilderVariant, __ΩUnpluginFactory, __ΩUnpluginHookFunctions, __ΩUnpluginOptions, __ΩUnpluginUserConfig } from "./types/unplugin.mjs";
5
6
  import { BasePlugin, HookFunctions, Hooks, Plugin, PluginHook, PluginHookFields, PluginHookObject, PluginHooks, PluginNonHookFields, TypesResult, __ΩBasePlugin, __ΩHookFunctions, __ΩHooks, __ΩPlugin, __ΩPluginHook, __ΩPluginHookFields, __ΩPluginHookObject, __ΩPluginHooks, __ΩPluginNonHookFields, __ΩTypesResult } from "./types/plugin.mjs";
6
7
  import { CallHookOptions, HookListOrders, HooksList, HooksListItem, InferHookFunction, InferHookParameters, InferHookReturnType, InferHookThisType, NormalizedStringFilter, PluginFilter, TransformHookFilter, __ΩCallHookOptions, __ΩHookListOrders, __ΩHooksList, __ΩHooksListItem, __ΩInferHookFunction, __ΩInferHookParameters, __ΩInferHookReturnType, __ΩInferHookThisType, __ΩNormalizedStringFilter, __ΩPluginFilter, __ΩTransformHookFilter } from "./types/hooks.mjs";
7
8
  import { DeepkitOptions, Level, ParsedTypeScriptConfig, RawReflectionMode, ReflectionMode, TSCompilerOptions, TSConfig, __ΩDeepkitOptions, __ΩLevel, __ΩParsedTypeScriptConfig, __ΩRawReflectionMode, __ΩReflectionMode, __ΩTSCompilerOptions, __ΩTSConfig } from "./types/tsconfig.mjs";
8
- import { APIContext, BuildPluginContext, Context, EmitEntryOptions, EmitOptions, EnvironmentContext, EnvironmentContextPlugin, FetchOptions, InitContextOptions, MetaInfo, ParseOptions, PluginContext, ResolveResult, Resolver, SelectHookResult, SelectHookResultItem, SelectHooksOptions, SourceFile, TransformResult, UnimportContext, UnresolvedContext, WithUnpluginBuildContext, WorkerProcess, __ΩAPIContext, __ΩBuildPluginContext, __ΩContext, __ΩEmitEntryOptions, __ΩEmitOptions, __ΩEnvironmentContext, __ΩEnvironmentContextPlugin, __ΩFetchOptions, __ΩInitContextOptions, __ΩMetaInfo, __ΩParseOptions, __ΩPluginContext, __ΩResolveResult, __ΩResolver, __ΩSelectHookResult, __ΩSelectHookResultItem, __ΩSelectHooksOptions, __ΩSourceFile, __ΩTransformResult, __ΩUnimportContext, __ΩUnresolvedContext, __ΩWithUnpluginBuildContext, __ΩWorkerProcess } from "./types/context.mjs";
9
- import { AnyOutputUserConfig, AnyUserConfig, BuildInlineConfig, CleanInlineConfig, Config, ConfigEnv, CopyConfig, CopyResolvedConfig, DeployInlineConfig, DocsInlineConfig, EnvironmentConfig, EnvironmentResolvedConfig, InitialUserConfig, InlineConfig, LintInlineConfig, LogFn, LogLevel, LogLevelConfig, Logger, NewInlineConfig, OutputConfig, OutputResolvedConfig, ParsedUserConfig, PartialPlugin, PartialPluginFactory, PluginConfig, PluginConfigObject, PluginConfigTuple, PluginFactory, PowerlinesCommand, PrepareInlineConfig, ProjectType, ResolveConfig, ResolveResolvedConfig, ResolvedAssetGlob, ResolvedConfig, ResolvedEntryTypeDefinition, TypesInlineConfig, UserConfig, UserConfigFn, WorkspaceConfig, __ΩAnyOutputUserConfig, __ΩAnyUserConfig, __ΩBuildInlineConfig, __ΩCleanInlineConfig, __ΩConfig, __ΩConfigEnv, __ΩCopyConfig, __ΩCopyResolvedConfig, __ΩDeployInlineConfig, __ΩDocsInlineConfig, __ΩEnvironmentConfig, __ΩEnvironmentResolvedConfig, __ΩInitialUserConfig, __ΩInlineConfig, __ΩLintInlineConfig, __ΩLogFn, __ΩLogLevel, __ΩLogLevelConfig, __ΩLogger, __ΩNewInlineConfig, __ΩOutputConfig, __ΩOutputResolvedConfig, __ΩParsedUserConfig, __ΩPartialPlugin, __ΩPartialPluginFactory, __ΩPluginConfig, __ΩPluginConfigObject, __ΩPluginConfigTuple, __ΩPluginFactory, __ΩPowerlinesCommand, __ΩPrepareInlineConfig, __ΩProjectType, __ΩResolveConfig, __ΩResolveResolvedConfig, __ΩResolvedAssetGlob, __ΩResolvedConfig, __ΩResolvedEntryTypeDefinition, __ΩTypesInlineConfig, __ΩUserConfig, __ΩUserConfigFn, __ΩWorkspaceConfig } from "./types/config.mjs";
9
+ import { BaseContext, BuildPluginContext, Context, EmitEntryOptions, EmitOptions, EngineContext, EnvironmentContext, EnvironmentContextPlugin, ExecutionContext, FetchOptions, InitContextOptions, MetaInfo, ParseOptions, PluginContext, ResolveResult, Resolver, SelectHookResult, SelectHookResultItem, SelectHooksOptions, SourceFile, TransformResult, UnimportContext, UnresolvedContext, WithUnpluginBuildContext, __ΩBaseContext, __ΩBuildPluginContext, __ΩContext, __ΩEmitEntryOptions, __ΩEmitOptions, __ΩEngineContext, __ΩEnvironmentContext, __ΩEnvironmentContextPlugin, __ΩExecutionContext, __ΩFetchOptions, __ΩInitContextOptions, __ΩMetaInfo, __ΩParseOptions, __ΩPluginContext, __ΩResolveResult, __ΩResolver, __ΩSelectHookResult, __ΩSelectHookResultItem, __ΩSelectHooksOptions, __ΩSourceFile, __ΩTransformResult, __ΩUnimportContext, __ΩUnresolvedContext, __ΩWithUnpluginBuildContext } from "./types/context.mjs";
10
+ import { AnyOutputUserConfig, AnyUserConfig, BuildInlineConfig, CleanInlineConfig, Config, CopyConfig, CopyResolvedConfig, DeployInlineConfig, DocsInlineConfig, EngineOptions, EnvironmentConfig, EnvironmentResolvedConfig, ExecutionOptions, InlineConfig, LintInlineConfig, LogFn, LogLevel, LogLevelConfig, Logger, NewInlineConfig, OutputConfig, OutputResolvedConfig, ParsedUserConfig, PartialPlugin, PartialPluginFactory, PluginConfig, PluginConfigObject, PluginConfigTuple, PluginFactory, PowerlinesCommand, PrepareInlineConfig, ProjectType, ResolveConfig, ResolveResolvedConfig, ResolvedAssetGlob, ResolvedConfig, ResolvedEngineOptions, ResolvedEntryTypeDefinition, ResolvedExecutionOptions, TestInlineConfig, TypesInlineConfig, UserConfig, UserConfigFn, WorkspaceConfig, __ΩAnyOutputUserConfig, __ΩAnyUserConfig, __ΩBuildInlineConfig, __ΩCleanInlineConfig, __ΩConfig, __ΩCopyConfig, __ΩCopyResolvedConfig, __ΩDeployInlineConfig, __ΩDocsInlineConfig, __ΩEngineOptions, __ΩEnvironmentConfig, __ΩEnvironmentResolvedConfig, __ΩExecutionOptions, __ΩInlineConfig, __ΩLintInlineConfig, __ΩLogFn, __ΩLogLevel, __ΩLogLevelConfig, __ΩLogger, __ΩNewInlineConfig, __ΩOutputConfig, __ΩOutputResolvedConfig, __ΩParsedUserConfig, __ΩPartialPlugin, __ΩPartialPluginFactory, __ΩPluginConfig, __ΩPluginConfigObject, __ΩPluginConfigTuple, __ΩPluginFactory, __ΩPowerlinesCommand, __ΩPrepareInlineConfig, __ΩProjectType, __ΩResolveConfig, __ΩResolveResolvedConfig, __ΩResolvedAssetGlob, __ΩResolvedConfig, __ΩResolvedEngineOptions, __ΩResolvedEntryTypeDefinition, __ΩResolvedExecutionOptions, __ΩTestInlineConfig, __ΩTypesInlineConfig, __ΩUserConfig, __ΩUserConfigFn, __ΩWorkspaceConfig } from "./types/config.mjs";
10
11
  import { PartiallyResolvedContext, __ΩPartiallyResolvedContext, defineConfig, loadUserConfigFile, loadWorkspaceConfig } from "./lib/config.mjs";
11
12
  import { getUniqueInputs, isResolvedEntryTypeDefinition, isTypeDefinition, resolveEntryOutput, resolveInput, resolveInputs, resolveInputsSync } from "./lib/entry.mjs";
12
13
  import { CreateLogOptions, __ΩCreateLogOptions, colorBackground, colorText, createLog, extendLog, getTextColor } from "./lib/logger.mjs";
@@ -18,4 +19,4 @@ import { format, formatFolder } from "./lib/utilities/format.mjs";
18
19
  import { getMagicString, getSourceFile, getString } from "./lib/utilities/source-file.mjs";
19
20
  import { generateSourceMap } from "./lib/utilities/source-map.mjs";
20
21
  import { writeFile } from "./lib/utilities/write-file.mjs";
21
- export { API, APIContext, AnyOutputUserConfig, AnyUserConfig, BasePlugin, BuildInlineConfig, BuildPluginContext, BuilderVariant, CallHookOptions, CleanInlineConfig, CommandType, Commands, Config, ConfigEnv, Context, CopyConfig, CopyResolvedConfig, CreateLogOptions, CreateUnpluginModuleResolutionFunctionsOptions, CreateUnpluginOptions, CreateUnpluginResolverOptions, DeepkitOptions, DeployInlineConfig, DocsInlineConfig, EmitEntryOptions, EmitOptions, EnvironmentConfig, EnvironmentContext, EnvironmentContextPlugin, EnvironmentResolvedConfig, FetchOptions, FileHeaderOptions, HookFunctions, HookListOrders, Hooks, HooksList, HooksListItem, InferHookFunction, InferHookParameters, InferHookReturnType, InferHookThisType, InferUnpluginOptions, InferUnpluginVariant, InitContextOptions, InitialUserConfig, InlineConfig, Level, LintInlineConfig, LogFn, LogLevel, LogLevelConfig, Logger, MetaInfo, NewInlineConfig, NormalizedStringFilter, OutputConfig, OutputResolvedConfig, ParseOptions, ParsedTypeScriptConfig, ParsedUserConfig, PartialPlugin, PartialPluginFactory, PartiallyResolvedContext, Plugin, PluginConfig, PluginConfigObject, PluginConfigTuple, PluginContext, PluginFactory, PluginFilter, PluginHook, PluginHookFields, PluginHookObject, PluginHooks, PluginNonHookFields, PowerlinesCommand, PrepareInlineConfig, ProjectType, RawReflectionMode, ReflectionMode, ResolveConfig, ResolveOptions, ResolveResolvedConfig, ResolveResult, ResolvedAssetGlob, ResolvedConfig, ResolvedEntryTypeDefinition, Resolver, SelectHookResult, SelectHookResultItem, SelectHooksOptions, SourceFile, StorageAdapter, StoragePort, StoragePreset, TSCompilerOptions, TSConfig, TransformHookFilter, TransformResult, TypesInlineConfig, TypesResult, UnimportContext, UnpluginAsyncFactory, UnpluginBuilderVariant, UnpluginFactory, UnpluginHookFunctions, UnpluginOptions, UnpluginUserConfig, UnresolvedContext, UserConfig, UserConfigFn, VirtualFile, VirtualFileData, VirtualFileExtension, VirtualFileMetadata, VirtualFileSystemInterface, WithUnpluginBuildContext, WorkerProcess, WorkspaceConfig, WriteData, WriteOptions, __ΩAPI, __ΩAPIContext, __ΩAnyOutputUserConfig, __ΩAnyUserConfig, __ΩBasePlugin, __ΩBuildInlineConfig, __ΩBuildPluginContext, __ΩBuilderVariant, __ΩCallHookOptions, __ΩCleanInlineConfig, __ΩCommandType, __ΩCommands, __ΩConfig, __ΩConfigEnv, __ΩContext, __ΩCopyConfig, __ΩCopyResolvedConfig, __ΩCreateLogOptions, __ΩCreateUnpluginModuleResolutionFunctionsOptions, __ΩCreateUnpluginOptions, __ΩCreateUnpluginResolverOptions, __ΩDeepkitOptions, __ΩDeployInlineConfig, __ΩDocsInlineConfig, __ΩEmitEntryOptions, __ΩEmitOptions, __ΩEnvironmentConfig, __ΩEnvironmentContext, __ΩEnvironmentContextPlugin, __ΩEnvironmentResolvedConfig, __ΩFetchOptions, __ΩFileHeaderOptions, __ΩHookFunctions, __ΩHookListOrders, __ΩHooks, __ΩHooksList, __ΩHooksListItem, __ΩInferHookFunction, __ΩInferHookParameters, __ΩInferHookReturnType, __ΩInferHookThisType, __ΩInferUnpluginOptions, __ΩInferUnpluginVariant, __ΩInitContextOptions, __ΩInitialUserConfig, __ΩInlineConfig, __ΩLevel, __ΩLintInlineConfig, __ΩLogFn, __ΩLogLevel, __ΩLogLevelConfig, __ΩLogger, __ΩMetaInfo, __ΩNewInlineConfig, __ΩNormalizedStringFilter, __ΩOutputConfig, __ΩOutputResolvedConfig, __ΩParseOptions, __ΩParsedTypeScriptConfig, __ΩParsedUserConfig, __ΩPartialPlugin, __ΩPartialPluginFactory, __ΩPartiallyResolvedContext, __ΩPlugin, __ΩPluginConfig, __ΩPluginConfigObject, __ΩPluginConfigTuple, __ΩPluginContext, __ΩPluginFactory, __ΩPluginFilter, __ΩPluginHook, __ΩPluginHookFields, __ΩPluginHookObject, __ΩPluginHooks, __ΩPluginNonHookFields, __ΩPowerlinesCommand, __ΩPrepareInlineConfig, __ΩProjectType, __ΩRawReflectionMode, __ΩReflectionMode, __ΩResolveConfig, __ΩResolveOptions, __ΩResolveResolvedConfig, __ΩResolveResult, __ΩResolvedAssetGlob, __ΩResolvedConfig, __ΩResolvedEntryTypeDefinition, __ΩResolver, __ΩSelectHookResult, __ΩSelectHookResultItem, __ΩSelectHooksOptions, __ΩSourceFile, __ΩStorageAdapter, __ΩStoragePort, __ΩStoragePreset, __ΩTSCompilerOptions, __ΩTSConfig, __ΩTransformHookFilter, __ΩTransformResult, __ΩTypesInlineConfig, __ΩTypesResult, __ΩUnimportContext, __ΩUnpluginAsyncFactory, __ΩUnpluginBuilderVariant, __ΩUnpluginFactory, __ΩUnpluginHookFunctions, __ΩUnpluginOptions, __ΩUnpluginUserConfig, __ΩUnresolvedContext, __ΩUserConfig, __ΩUserConfigFn, __ΩVirtualFile, __ΩVirtualFileData, __ΩVirtualFileExtension, __ΩVirtualFileMetadata, __ΩVirtualFileSystemInterface, __ΩWithUnpluginBuildContext, __ΩWorkerProcess, __ΩWorkspaceConfig, __ΩWriteData, __ΩWriteOptions, colorBackground, colorText, combineContexts, createLog, createUnplugin, createUnpluginModuleResolutionFunctions, createUnpluginResolver, defineConfig, extendLog, format, formatFolder, generateSourceMap, getFileHeader, getFileHeaderWarning, getFileHeaderWarningText, getMagicString, getSourceFile, getString, getTextColor, getTypescriptFileHeader, getUniqueInputs, isResolvedEntryTypeDefinition, isTypeDefinition, isUnpluginBuilderVariant, loadUserConfigFile, loadWorkspaceConfig, resolveEntryOutput, resolveInput, resolveInputs, resolveInputsSync, writeFile };
22
+ export { API, AnyOutputUserConfig, AnyUserConfig, BaseContext, BasePlugin, BuildInlineConfig, BuildPluginContext, BuilderVariant, CallHookOptions, CleanInlineConfig, CommandType, Commands, Config, Context, CopyConfig, CopyResolvedConfig, CreateLogOptions, CreateUnpluginModuleResolutionFunctionsOptions, CreateUnpluginOptions, CreateUnpluginResolverOptions, DeepkitOptions, DeployInlineConfig, DocsInlineConfig, EmitEntryOptions, EmitOptions, Engine, EngineContext, EngineOptions, EnvironmentConfig, EnvironmentContext, EnvironmentContextPlugin, EnvironmentResolvedConfig, Execution, ExecutionContext, ExecutionOptions, ExecutionWorkerParams, ExecutionWorkerProcess, FetchOptions, FileHeaderOptions, HookFunctions, HookListOrders, Hooks, HooksList, HooksListItem, InferHookFunction, InferHookParameters, InferHookReturnType, InferHookThisType, InferUnpluginOptions, InferUnpluginVariant, InitContextOptions, InlineConfig, Level, LintInlineConfig, LogFn, LogLevel, LogLevelConfig, Logger, MetaInfo, NewInlineConfig, NormalizedStringFilter, OutputConfig, OutputResolvedConfig, ParseOptions, ParsedTypeScriptConfig, ParsedUserConfig, PartialPlugin, PartialPluginFactory, PartiallyResolvedContext, Plugin, PluginConfig, PluginConfigObject, PluginConfigTuple, PluginContext, PluginFactory, PluginFilter, PluginHook, PluginHookFields, PluginHookObject, PluginHooks, PluginNonHookFields, PowerlinesCommand, PrepareInlineConfig, ProjectType, RawReflectionMode, ReflectionMode, ResolveConfig, ResolveOptions, ResolveResolvedConfig, ResolveResult, ResolvedAssetGlob, ResolvedConfig, ResolvedEngineOptions, ResolvedEntryTypeDefinition, ResolvedExecutionOptions, Resolver, SelectHookResult, SelectHookResultItem, SelectHooksOptions, SourceFile, StorageAdapter, StoragePort, StoragePreset, TSCompilerOptions, TSConfig, TestInlineConfig, TransformHookFilter, TransformResult, TypesInlineConfig, TypesResult, UnimportContext, UnpluginAsyncFactory, UnpluginBuilderVariant, UnpluginFactory, UnpluginHookFunctions, UnpluginOptions, UnpluginUserConfig, UnresolvedContext, UserConfig, UserConfigFn, VirtualFile, VirtualFileData, VirtualFileExtension, VirtualFileMetadata, VirtualFileSystemInterface, WithUnpluginBuildContext, WorkerProcess, WorkspaceConfig, WriteData, WriteOptions, __ΩAPI, __ΩAnyOutputUserConfig, __ΩAnyUserConfig, __ΩBaseContext, __ΩBasePlugin, __ΩBuildInlineConfig, __ΩBuildPluginContext, __ΩBuilderVariant, __ΩCallHookOptions, __ΩCleanInlineConfig, __ΩCommandType, __ΩCommands, __ΩConfig, __ΩContext, __ΩCopyConfig, __ΩCopyResolvedConfig, __ΩCreateLogOptions, __ΩCreateUnpluginModuleResolutionFunctionsOptions, __ΩCreateUnpluginOptions, __ΩCreateUnpluginResolverOptions, __ΩDeepkitOptions, __ΩDeployInlineConfig, __ΩDocsInlineConfig, __ΩEmitEntryOptions, __ΩEmitOptions, __ΩEngine, __ΩEngineContext, __ΩEngineOptions, __ΩEnvironmentConfig, __ΩEnvironmentContext, __ΩEnvironmentContextPlugin, __ΩEnvironmentResolvedConfig, __ΩExecution, __ΩExecutionContext, __ΩExecutionOptions, __ΩExecutionWorkerParams, __ΩExecutionWorkerProcess, __ΩFetchOptions, __ΩFileHeaderOptions, __ΩHookFunctions, __ΩHookListOrders, __ΩHooks, __ΩHooksList, __ΩHooksListItem, __ΩInferHookFunction, __ΩInferHookParameters, __ΩInferHookReturnType, __ΩInferHookThisType, __ΩInferUnpluginOptions, __ΩInferUnpluginVariant, __ΩInitContextOptions, __ΩInlineConfig, __ΩLevel, __ΩLintInlineConfig, __ΩLogFn, __ΩLogLevel, __ΩLogLevelConfig, __ΩLogger, __ΩMetaInfo, __ΩNewInlineConfig, __ΩNormalizedStringFilter, __ΩOutputConfig, __ΩOutputResolvedConfig, __ΩParseOptions, __ΩParsedTypeScriptConfig, __ΩParsedUserConfig, __ΩPartialPlugin, __ΩPartialPluginFactory, __ΩPartiallyResolvedContext, __ΩPlugin, __ΩPluginConfig, __ΩPluginConfigObject, __ΩPluginConfigTuple, __ΩPluginContext, __ΩPluginFactory, __ΩPluginFilter, __ΩPluginHook, __ΩPluginHookFields, __ΩPluginHookObject, __ΩPluginHooks, __ΩPluginNonHookFields, __ΩPowerlinesCommand, __ΩPrepareInlineConfig, __ΩProjectType, __ΩRawReflectionMode, __ΩReflectionMode, __ΩResolveConfig, __ΩResolveOptions, __ΩResolveResolvedConfig, __ΩResolveResult, __ΩResolvedAssetGlob, __ΩResolvedConfig, __ΩResolvedEngineOptions, __ΩResolvedEntryTypeDefinition, __ΩResolvedExecutionOptions, __ΩResolver, __ΩSelectHookResult, __ΩSelectHookResultItem, __ΩSelectHooksOptions, __ΩSourceFile, __ΩStorageAdapter, __ΩStoragePort, __ΩStoragePreset, __ΩTSCompilerOptions, __ΩTSConfig, __ΩTestInlineConfig, __ΩTransformHookFilter, __ΩTransformResult, __ΩTypesInlineConfig, __ΩTypesResult, __ΩUnimportContext, __ΩUnpluginAsyncFactory, __ΩUnpluginBuilderVariant, __ΩUnpluginFactory, __ΩUnpluginHookFunctions, __ΩUnpluginOptions, __ΩUnpluginUserConfig, __ΩUnresolvedContext, __ΩUserConfig, __ΩUserConfigFn, __ΩVirtualFile, __ΩVirtualFileData, __ΩVirtualFileExtension, __ΩVirtualFileMetadata, __ΩVirtualFileSystemInterface, __ΩWithUnpluginBuildContext, __ΩWorkerProcess, __ΩWorkspaceConfig, __ΩWriteData, __ΩWriteOptions, colorBackground, colorText, combineContexts, createLog, createUnplugin, createUnpluginModuleResolutionFunctions, createUnpluginResolver, defineConfig, extendLog, format, formatFolder, generateSourceMap, getFileHeader, getFileHeaderWarning, getFileHeaderWarningText, getMagicString, getSourceFile, getString, getTextColor, getTypescriptFileHeader, getUniqueInputs, isResolvedEntryTypeDefinition, isTypeDefinition, isUnpluginBuilderVariant, loadUserConfigFile, loadWorkspaceConfig, resolveEntryOutput, resolveInput, resolveInputs, resolveInputsSync, writeFile };
@@ -16,47 +16,36 @@ defu = require_runtime.__toESM(defu, 1);
16
16
  /**
17
17
  * Loads the workspace configuration.
18
18
  *
19
- * @param workspaceRoot - The root directory of the workspace.
20
- * @param cwd - The current working directory to start searching from.
19
+ * @param cwd - The root directory of the workspace.
20
+ * @param root - The current working directory to start searching from.
21
21
  * @returns A promise that resolves to the loaded workspace configuration.
22
22
  */
23
- async function loadWorkspaceConfig(workspaceRoot, cwd) {
24
- return (0, defu.default)({ workspaceRoot }, await (0, _storm_software_config_tools_get_config.getWorkspaceConfig)(true, {
25
- cwd,
26
- workspaceRoot,
23
+ async function loadWorkspaceConfig(cwd, root) {
24
+ return (0, defu.default)({ workspaceRoot: cwd }, await (0, _storm_software_config_tools_get_config.getWorkspaceConfig)(true, {
25
+ cwd: root,
26
+ workspaceRoot: cwd,
27
27
  useDefault: true
28
28
  }));
29
29
  }
30
30
  /**
31
31
  * Loads the user configuration file for the project.
32
32
  *
33
- * @param projectRoot - The root directory of the project.
34
- * @param workspaceRoot - The root directory of the workspace.
33
+ * @param options - The engine options containing the root, cwd, mode, framework, and organization.
35
34
  * @param jiti - An instance of Jiti to resolve modules from
36
- * @param command - The {@link PowerlinesCommand} string associated with the current running process
37
- * @param mode - The mode in which the project is running (default is "production").
38
- * @param configFile - An optional path to a specific configuration file.
39
- * @param framework - The framework name to use for default configuration file names.
40
35
  * @returns A promise that resolves to the resolved user configuration.
41
36
  */
42
- async function loadUserConfigFile(projectRoot, workspaceRoot, jiti, command, mode = "production", configFile, framework = "powerlines") {
37
+ async function loadUserConfigFile(options, jiti) {
43
38
  let resolvedUserConfig = {};
44
39
  let resolvedUserConfigFile;
45
- if (configFile) resolvedUserConfigFile = (0, _stryke_fs_exists.existsSync)((0, _stryke_path_replace.replacePath)(configFile, projectRoot)) ? (0, _stryke_path_replace.replacePath)(configFile, projectRoot) : (0, _stryke_fs_exists.existsSync)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(projectRoot, workspaceRoot), (0, _stryke_path_replace.replacePath)(configFile, projectRoot))) ? (0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(projectRoot, workspaceRoot), (0, _stryke_path_replace.replacePath)(configFile, projectRoot)) : (0, _stryke_fs_exists.existsSync)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(projectRoot, workspaceRoot), configFile)) ? (0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(projectRoot, workspaceRoot), configFile) : void 0;
46
- if (!resolvedUserConfigFile) resolvedUserConfigFile = (0, _stryke_fs_exists.existsSync)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(projectRoot, workspaceRoot), `${framework}.${mode}.config.ts`)) ? (0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(projectRoot, workspaceRoot), `${framework}.${mode}.config.ts`) : (0, _stryke_fs_exists.existsSync)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(projectRoot, workspaceRoot), `${framework}.${mode}.config.js`)) ? (0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(projectRoot, workspaceRoot), `${framework}.${mode}.config.js`) : (0, _stryke_fs_exists.existsSync)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(projectRoot, workspaceRoot), `${framework}.${mode}.config.mts`)) ? (0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(projectRoot, workspaceRoot), `${framework}.${mode}.config.mts`) : (0, _stryke_fs_exists.existsSync)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(projectRoot, workspaceRoot), `${framework}.${mode}.config.mjs`)) ? (0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(projectRoot, workspaceRoot), `${framework}.${mode}.config.mjs`) : (0, _stryke_fs_exists.existsSync)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(projectRoot, workspaceRoot), `${framework}.config.ts`)) ? (0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(projectRoot, workspaceRoot), `${framework}.config.ts`) : (0, _stryke_fs_exists.existsSync)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(projectRoot, workspaceRoot), `${framework}.config.js`)) ? (0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(projectRoot, workspaceRoot), `${framework}.config.js`) : (0, _stryke_fs_exists.existsSync)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(projectRoot, workspaceRoot), `${framework}.config.mts`)) ? (0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(projectRoot, workspaceRoot), `${framework}.config.mts`) : (0, _stryke_fs_exists.existsSync)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(projectRoot, workspaceRoot), `${framework}.config.mjs`)) ? (0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(projectRoot, workspaceRoot), `${framework}.config.mjs`) : void 0;
40
+ if (options.configFile) resolvedUserConfigFile = (0, _stryke_fs_exists.existsSync)((0, _stryke_path_replace.replacePath)(options.configFile, options.root)) ? (0, _stryke_path_replace.replacePath)(options.configFile, options.root) : (0, _stryke_fs_exists.existsSync)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(options.root, options.cwd), (0, _stryke_path_replace.replacePath)(options.configFile, options.root))) ? (0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(options.root, options.cwd), (0, _stryke_path_replace.replacePath)(options.configFile, options.root)) : (0, _stryke_fs_exists.existsSync)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(options.root, options.cwd), options.configFile)) ? (0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(options.root, options.cwd), options.configFile) : void 0;
41
+ if (!resolvedUserConfigFile) resolvedUserConfigFile = (0, _stryke_fs_exists.existsSync)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(options.root, options.cwd), `${options.framework}.${options.mode}.config.ts`)) ? (0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(options.root, options.cwd), `${options.framework}.${options.mode}.config.ts`) : (0, _stryke_fs_exists.existsSync)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(options.root, options.cwd), `${options.framework}.${options.mode}.config.js`)) ? (0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(options.root, options.cwd), `${options.framework}.${options.mode}.config.js`) : (0, _stryke_fs_exists.existsSync)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(options.root, options.cwd), `${options.framework}.${options.mode}.config.mts`)) ? (0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(options.root, options.cwd), `${options.framework}.${options.mode}.config.mts`) : (0, _stryke_fs_exists.existsSync)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(options.root, options.cwd), `${options.framework}.${options.mode}.config.mjs`)) ? (0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(options.root, options.cwd), `${options.framework}.${options.mode}.config.mjs`) : (0, _stryke_fs_exists.existsSync)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(options.root, options.cwd), `${options.framework}.config.ts`)) ? (0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(options.root, options.cwd), `${options.framework}.config.ts`) : (0, _stryke_fs_exists.existsSync)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(options.root, options.cwd), `${options.framework}.config.js`)) ? (0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(options.root, options.cwd), `${options.framework}.config.js`) : (0, _stryke_fs_exists.existsSync)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(options.root, options.cwd), `${options.framework}.config.mts`)) ? (0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(options.root, options.cwd), `${options.framework}.config.mts`) : (0, _stryke_fs_exists.existsSync)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(options.root, options.cwd), `${options.framework}.config.mjs`)) ? (0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_append.appendPath)(options.root, options.cwd), `${options.framework}.config.mjs`) : void 0;
47
42
  if (resolvedUserConfigFile) {
48
43
  const resolved = await jiti.import(jiti.esmResolve(resolvedUserConfigFile));
49
44
  if (resolved?.default) {
50
45
  let config = {};
51
- if ((0, _stryke_type_checks_is_function.isFunction)(resolved.default)) config = await Promise.resolve(resolved.default({
52
- command,
53
- mode,
54
- framework,
55
- projectRoot,
56
- workspaceRoot
57
- }));
58
- else if ((0, _stryke_type_checks_is_set_object.isSetObject)(resolved.default)) config = resolved.default;
59
- if ((0, _stryke_type_checks_is_set_object.isSetObject)(config)) resolvedUserConfig = {
46
+ if ((0, _stryke_type_checks_is_function.isFunction)(resolved.default)) config = await Promise.resolve(resolved.default(options));
47
+ else if ((0, _stryke_type_checks_is_set_object.isSetObject)(resolved.default) || Array.isArray(resolved.default)) config = resolved.default;
48
+ if ((0, _stryke_type_checks_is_set_object.isSetObject)(config) || Array.isArray(config)) resolvedUserConfig = {
60
49
  ...config,
61
50
  config,
62
51
  configFile: resolvedUserConfigFile
@@ -64,11 +53,11 @@ async function loadUserConfigFile(projectRoot, workspaceRoot, jiti, command, mod
64
53
  }
65
54
  }
66
55
  const result = await (0, c12.loadConfig)({
67
- cwd: projectRoot,
68
- name: framework,
69
- envName: mode,
56
+ cwd: options.root,
57
+ name: options.framework,
58
+ envName: options.mode,
70
59
  globalRc: true,
71
- packageJson: (0, _stryke_string_format_camel_case.camelCase)(framework),
60
+ packageJson: (0, _stryke_string_format_camel_case.camelCase)(options.framework),
72
61
  dotenv: true,
73
62
  jiti
74
63
  });
@@ -1,5 +1,5 @@
1
1
  import { Context } from "../types/context.cjs";
2
- import { AnyUserConfig, ParsedUserConfig, PowerlinesCommand, UserConfig, WorkspaceConfig } from "../types/config.cjs";
2
+ import { AnyUserConfig, ParsedUserConfig, ResolvedEngineOptions, UserConfig, WorkspaceConfig } from "../types/config.cjs";
3
3
  import { Jiti } from "jiti";
4
4
 
5
5
  //#region src/lib/config.d.ts
@@ -9,24 +9,19 @@ type PartiallyResolvedContext<TContext extends Context = Context> = Omit<TContex
9
9
  /**
10
10
  * Loads the workspace configuration.
11
11
  *
12
- * @param workspaceRoot - The root directory of the workspace.
13
- * @param cwd - The current working directory to start searching from.
12
+ * @param cwd - The root directory of the workspace.
13
+ * @param root - The current working directory to start searching from.
14
14
  * @returns A promise that resolves to the loaded workspace configuration.
15
15
  */
16
- declare function loadWorkspaceConfig(workspaceRoot: string, cwd: string): Promise<WorkspaceConfig>;
16
+ declare function loadWorkspaceConfig(cwd: string, root: string): Promise<WorkspaceConfig>;
17
17
  /**
18
18
  * Loads the user configuration file for the project.
19
19
  *
20
- * @param projectRoot - The root directory of the project.
21
- * @param workspaceRoot - The root directory of the workspace.
20
+ * @param options - The engine options containing the root, cwd, mode, framework, and organization.
22
21
  * @param jiti - An instance of Jiti to resolve modules from
23
- * @param command - The {@link PowerlinesCommand} string associated with the current running process
24
- * @param mode - The mode in which the project is running (default is "production").
25
- * @param configFile - An optional path to a specific configuration file.
26
- * @param framework - The framework name to use for default configuration file names.
27
22
  * @returns A promise that resolves to the resolved user configuration.
28
23
  */
29
- declare function loadUserConfigFile(projectRoot: string, workspaceRoot: string, jiti: Jiti, command?: PowerlinesCommand, mode?: string, configFile?: string, framework?: string): Promise<ParsedUserConfig>;
24
+ declare function loadUserConfigFile(options: ResolvedEngineOptions, jiti: Jiti): Promise<ParsedUserConfig>;
30
25
  /**
31
26
  * A type helper to make it easier to use `powerlines.config.ts` files.
32
27
  *
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.cts","names":[],"sources":["../../src/lib/config.ts"],"mappings":";;;;;KAuCY,wBAAA,kBAA0C,OAAA,GAAU,OAAA,IAAW,IAAA,CACzE,QAAA,sEAGA,OAAA,CAAQ,QAAA;EACN,MAAA,EAAQ,QAAA;AAAA;;;;;;;;iBAUU,mBAAA,CACpB,aAAA,UACA,GAAA,WACC,OAAA,CAAQ,eAAA;;;;;;;;;;;;;iBAyBW,kBAAA,CACpB,WAAA,UACA,aAAA,UACA,IAAA,EAAM,IAAA,EACN,OAAA,GAAU,iBAAA,EACV,IAAA,WACA,UAAA,WACA,SAAA,YACC,OAAA,CAAQ,gBAAA;AApCX;;;;;;AAAA,iBAoMgB,YAAA,CAAa,MAAA,EAAQ,aAAA,GAAgB,UAAA;AAAA"}
1
+ {"version":3,"file":"config.d.cts","names":[],"sources":["../../src/lib/config.ts"],"mappings":";;;;;KAsCY,wBAAA,kBAA0C,OAAA,GAAU,OAAA,IAAW,IAAA,CACzE,QAAA,sEAGA,OAAA,CAAQ,QAAA;EACN,MAAA,EAAQ,QAAA;AAAA;;;;;;;;iBAUU,mBAAA,CACpB,GAAA,UACA,IAAA,WACC,OAAA,CAAQ,eAAA;;;;;;;;iBAoBW,kBAAA,CACpB,OAAA,EAAS,qBAAA,EACT,IAAA,EAAM,IAAA,GACL,OAAA,CAAQ,gBAAA;;;;;;AA1BX;iBA0LgB,YAAA,CAAa,MAAA,EAAQ,aAAA,GAAgB,UAAA;AAAA"}
@@ -1,5 +1,5 @@
1
1
  import { Context } from "../types/context.mjs";
2
- import { AnyUserConfig, ParsedUserConfig, PowerlinesCommand, UserConfig, WorkspaceConfig } from "../types/config.mjs";
2
+ import { AnyUserConfig, ParsedUserConfig, ResolvedEngineOptions, UserConfig, WorkspaceConfig } from "../types/config.mjs";
3
3
  import { Jiti } from "jiti";
4
4
 
5
5
  //#region src/lib/config.d.ts
@@ -9,24 +9,19 @@ type PartiallyResolvedContext<TContext extends Context = Context> = Omit<TContex
9
9
  /**
10
10
  * Loads the workspace configuration.
11
11
  *
12
- * @param workspaceRoot - The root directory of the workspace.
13
- * @param cwd - The current working directory to start searching from.
12
+ * @param cwd - The root directory of the workspace.
13
+ * @param root - The current working directory to start searching from.
14
14
  * @returns A promise that resolves to the loaded workspace configuration.
15
15
  */
16
- declare function loadWorkspaceConfig(workspaceRoot: string, cwd: string): Promise<WorkspaceConfig>;
16
+ declare function loadWorkspaceConfig(cwd: string, root: string): Promise<WorkspaceConfig>;
17
17
  /**
18
18
  * Loads the user configuration file for the project.
19
19
  *
20
- * @param projectRoot - The root directory of the project.
21
- * @param workspaceRoot - The root directory of the workspace.
20
+ * @param options - The engine options containing the root, cwd, mode, framework, and organization.
22
21
  * @param jiti - An instance of Jiti to resolve modules from
23
- * @param command - The {@link PowerlinesCommand} string associated with the current running process
24
- * @param mode - The mode in which the project is running (default is "production").
25
- * @param configFile - An optional path to a specific configuration file.
26
- * @param framework - The framework name to use for default configuration file names.
27
22
  * @returns A promise that resolves to the resolved user configuration.
28
23
  */
29
- declare function loadUserConfigFile(projectRoot: string, workspaceRoot: string, jiti: Jiti, command?: PowerlinesCommand, mode?: string, configFile?: string, framework?: string): Promise<ParsedUserConfig>;
24
+ declare function loadUserConfigFile(options: ResolvedEngineOptions, jiti: Jiti): Promise<ParsedUserConfig>;
30
25
  /**
31
26
  * A type helper to make it easier to use `powerlines.config.ts` files.
32
27
  *
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.mts","names":[],"sources":["../../src/lib/config.ts"],"mappings":";;;;;KAuCY,wBAAA,kBAA0C,OAAA,GAAU,OAAA,IAAW,IAAA,CACzE,QAAA,sEAGA,OAAA,CAAQ,QAAA;EACN,MAAA,EAAQ,QAAA;AAAA;;;;;;;;iBAUU,mBAAA,CACpB,aAAA,UACA,GAAA,WACC,OAAA,CAAQ,eAAA;;;;;;;;;;;;;iBAyBW,kBAAA,CACpB,WAAA,UACA,aAAA,UACA,IAAA,EAAM,IAAA,EACN,OAAA,GAAU,iBAAA,EACV,IAAA,WACA,UAAA,WACA,SAAA,YACC,OAAA,CAAQ,gBAAA;AApCX;;;;;;AAAA,iBAoMgB,YAAA,CAAa,MAAA,EAAQ,aAAA,GAAgB,UAAA;AAAA"}
1
+ {"version":3,"file":"config.d.mts","names":[],"sources":["../../src/lib/config.ts"],"mappings":";;;;;KAsCY,wBAAA,kBAA0C,OAAA,GAAU,OAAA,IAAW,IAAA,CACzE,QAAA,sEAGA,OAAA,CAAQ,QAAA;EACN,MAAA,EAAQ,QAAA;AAAA;;;;;;;;iBAUU,mBAAA,CACpB,GAAA,UACA,IAAA,WACC,OAAA,CAAQ,eAAA;;;;;;;;iBAoBW,kBAAA,CACpB,OAAA,EAAS,qBAAA,EACT,IAAA,EAAM,IAAA,GACL,OAAA,CAAQ,gBAAA;;;;;;AA1BX;iBA0LgB,YAAA,CAAa,MAAA,EAAQ,aAAA,GAAgB,UAAA;AAAA"}