@powerlines/engine 0.44.1 → 0.44.3

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 (38) hide show
  1. package/dist/_internal/worker.cjs +34 -5
  2. package/dist/_internal/worker.mjs +35 -6
  3. package/dist/_internal/worker.mjs.map +1 -1
  4. package/dist/api.cjs +4 -4
  5. package/dist/api.mjs +4 -4
  6. package/dist/{base-context-DkGTyGX0.cjs → base-context-CAA1druQ.cjs} +34 -1
  7. package/dist/{base-context-Dv5OTHxZ.mjs → base-context-fOM4ZWUo.mjs} +39 -6
  8. package/dist/base-context-fOM4ZWUo.mjs.map +1 -0
  9. package/dist/context/index.cjs +3 -3
  10. package/dist/context/index.d.cts.map +1 -1
  11. package/dist/context/index.d.mts.map +1 -1
  12. package/dist/context/index.mjs +3 -3
  13. package/dist/{engine-context-CytME-Ht.mjs → engine-context-BWGxMU_n.mjs} +2 -2
  14. package/dist/{engine-context-CytME-Ht.mjs.map → engine-context-BWGxMU_n.mjs.map} +1 -1
  15. package/dist/{engine-context-CDSR7PHF.cjs → engine-context-CUPubmrM.cjs} +1 -1
  16. package/dist/{execution-context-B-CVP76S.cjs → execution-context-BoJhCK0d.cjs} +9 -9
  17. package/dist/{execution-context-F7RyGqff.mjs → execution-context-CFJst4Fz.mjs} +10 -10
  18. package/dist/{execution-context-F7RyGqff.mjs.map → execution-context-CFJst4Fz.mjs.map} +1 -1
  19. package/dist/index.cjs +107 -41
  20. package/dist/index.d.cts +8 -0
  21. package/dist/index.d.cts.map +1 -1
  22. package/dist/index.d.mts +8 -0
  23. package/dist/index.d.mts.map +1 -1
  24. package/dist/index.mjs +107 -41
  25. package/dist/index.mjs.map +1 -1
  26. package/dist/storage/index.cjs +1 -1
  27. package/dist/storage/index.mjs +1 -1
  28. package/dist/{tsconfig-Cstsoprg.mjs → tsconfig-CI6bla4E.mjs} +2 -2
  29. package/dist/{tsconfig-Cstsoprg.mjs.map → tsconfig-CI6bla4E.mjs.map} +1 -1
  30. package/dist/{tsconfig-DeyWQC2N.cjs → tsconfig-QMSxSwBD.cjs} +1 -1
  31. package/dist/typescript/index.cjs +1 -1
  32. package/dist/typescript/index.mjs +1 -1
  33. package/dist/{virtual-CUgOdyIa.mjs → virtual-CYGZHTDd.mjs} +5 -5
  34. package/dist/virtual-CYGZHTDd.mjs.map +1 -0
  35. package/dist/{virtual-1hYa9zCy.cjs → virtual-Ct3ZqPeN.cjs} +2 -2
  36. package/package.json +3 -3
  37. package/dist/base-context-Dv5OTHxZ.mjs.map +0 -1
  38. package/dist/virtual-CUgOdyIa.mjs.map +0 -1
package/dist/api.cjs CHANGED
@@ -1,18 +1,19 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('./chunk-C0xms8kb.cjs');
3
- const require_execution_context = require('./execution-context-B-CVP76S.cjs');
4
- const require_tsconfig = require('./tsconfig-DeyWQC2N.cjs');
3
+ const require_execution_context = require('./execution-context-BoJhCK0d.cjs');
4
+ const require_tsconfig = require('./tsconfig-QMSxSwBD.cjs');
5
5
  const require_ts_morph = require('./ts-morph-BaLPVAdB.cjs');
6
+ let _stryke_convert_to_array = require("@stryke/convert/to-array");
6
7
  let _stryke_fs_resolve = require("@stryke/fs/resolve");
7
8
  let _stryke_type_checks_is_set = require("@stryke/type-checks/is-set");
8
9
  let _stryke_type_checks_is_set_object = require("@stryke/type-checks/is-set-object");
9
10
  let _stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
10
- let _stryke_convert_to_array = require("@stryke/convert/to-array");
11
11
  let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
12
12
  let _stryke_unique_id_uuid = require("@stryke/unique-id/uuid");
13
13
  let _powerlines_core_plugin_utils = require("@powerlines/core/plugin-utils");
14
14
  let _powerlines_core_plugin_utils_logging = require("@powerlines/core/plugin-utils/logging");
15
15
  let _stryke_json_storm_json = require("@stryke/json/storm-json");
16
+ let _stryke_path_append = require("@stryke/path/append");
16
17
  let _stryke_path_replace = require("@stryke/path/replace");
17
18
  let chalk = require("chalk");
18
19
  chalk = require_chunk.__toESM(chalk, 1);
@@ -32,7 +33,6 @@ let _stryke_fs_list_files = require("@stryke/fs/list-files");
32
33
  let _stryke_fs_package_fns = require("@stryke/fs/package-fns");
33
34
  let _stryke_helpers_get_unique = require("@stryke/helpers/get-unique");
34
35
  let _stryke_helpers_omit = require("@stryke/helpers/omit");
35
- let _stryke_path_append = require("@stryke/path/append");
36
36
  let _stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
37
37
  let _stryke_path_is_parent_path = require("@stryke/path/is-parent-path");
38
38
  let _stryke_type_checks_is_error = require("@stryke/type-checks/is-error");
package/dist/api.mjs CHANGED
@@ -1,16 +1,17 @@
1
- import { a as mergeConfigs, i as callHook, s as writeMetaFile, t as PowerlinesExecutionContext } from "./execution-context-F7RyGqff.mjs";
2
- import { a as isIncludeMatchFound, i as getTsconfigFilePath, r as getParsedTypeScriptConfig } from "./tsconfig-Cstsoprg.mjs";
1
+ import { a as mergeConfigs, i as callHook, s as writeMetaFile, t as PowerlinesExecutionContext } from "./execution-context-CFJst4Fz.mjs";
2
+ import { a as isIncludeMatchFound, i as getTsconfigFilePath, r as getParsedTypeScriptConfig } from "./tsconfig-CI6bla4E.mjs";
3
3
  import { n as createProgram } from "./ts-morph-D0CaA37w.mjs";
4
+ import { toArray } from "@stryke/convert/to-array";
4
5
  import { resolvePackage } from "@stryke/fs/resolve";
5
6
  import { isSet } from "@stryke/type-checks/is-set";
6
7
  import { isSetObject } from "@stryke/type-checks/is-set-object";
7
8
  import { isString } from "@stryke/type-checks/is-string";
8
- import { toArray } from "@stryke/convert/to-array";
9
9
  import { isSetString } from "@stryke/type-checks/is-set-string";
10
10
  import { uuid } from "@stryke/unique-id/uuid";
11
11
  import { findInvalidPluginConfig, isDuplicate, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple } from "@powerlines/core/plugin-utils";
12
12
  import { colorText } from "@powerlines/core/plugin-utils/logging";
13
13
  import { StormJSON } from "@stryke/json/storm-json";
14
+ import { appendPath } from "@stryke/path/append";
14
15
  import { replaceExtension, replacePath } from "@stryke/path/replace";
15
16
  import chalk from "chalk";
16
17
  import defu from "defu";
@@ -28,7 +29,6 @@ import { listFiles } from "@stryke/fs/list-files";
28
29
  import { doesPackageMatch, getPackageListing, isPackageExists, isPackageListed } from "@stryke/fs/package-fns";
29
30
  import { getUnique } from "@stryke/helpers/get-unique";
30
31
  import { omit } from "@stryke/helpers/omit";
31
- import { appendPath } from "@stryke/path/append";
32
32
  import { findFileName, findFilePath, relativePath } from "@stryke/path/file-path-fns";
33
33
  import { isParentPath } from "@stryke/path/is-parent-path";
34
34
  import { isError } from "@stryke/type-checks/is-error";
@@ -1,11 +1,16 @@
1
1
  const require_chunk = require('./chunk-C0xms8kb.cjs');
2
2
  let _stryke_fs_resolve = require("@stryke/fs/resolve");
3
+ let _stryke_type_checks_is_set_object = require("@stryke/type-checks/is-set-object");
3
4
  let _stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
5
+ let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
4
6
  let _powerlines_core_lib_config = require("@powerlines/core/lib/config");
5
7
  let _powerlines_core_plugin_utils = require("@powerlines/core/plugin-utils");
6
8
  let _powerlines_core_plugin_utils_logging = require("@powerlines/core/plugin-utils/logging");
7
9
  let _stryke_env_get_env_paths = require("@stryke/env/get-env-paths");
10
+ let _stryke_fs = require("@stryke/fs");
8
11
  let _stryke_json_storm_json = require("@stryke/json/storm-json");
12
+ let _stryke_path = require("@stryke/path");
13
+ let _stryke_path_append = require("@stryke/path/append");
9
14
  let _stryke_path_is_equal = require("@stryke/path/is-equal");
10
15
  let _stryke_path_replace = require("@stryke/path/replace");
11
16
  let chalk = require("chalk");
@@ -13,6 +18,7 @@ chalk = require_chunk.__toESM(chalk, 1);
13
18
  let date_fns_formatDistanceToNowStrict = require("date-fns/formatDistanceToNowStrict");
14
19
  let defu = require("defu");
15
20
  defu = require_chunk.__toESM(defu, 1);
21
+ let node_fs = require("node:fs");
16
22
  let _stryke_path_join_paths = require("@stryke/path/join-paths");
17
23
  let jiti = require("jiti");
18
24
 
@@ -46,6 +52,7 @@ function createResolver(options) {
46
52
  //#region src/context/base-context.ts
47
53
  var PowerlinesBaseContext = class PowerlinesBaseContext {
48
54
  #timestamp = Date.now();
55
+ #name = "powerlines";
49
56
  /**
50
57
  * The path to the Powerlines package
51
58
  */
@@ -186,7 +193,7 @@ var PowerlinesBaseContext = class PowerlinesBaseContext {
186
193
  * @returns A logger client instance that can be used to generate log messages with consistent formatting and metadata.
187
194
  */
188
195
  createLogger(options, callback) {
189
- return (0, _powerlines_core_plugin_utils_logging.createLogger)(this.options.name || this.options.framework || "powerlines", options, callback);
196
+ return (0, _powerlines_core_plugin_utils_logging.createLogger)(this.options.name || this.options.root, options, callback);
190
197
  }
191
198
  /**
192
199
  * Extend the base logger with additional configuration options
@@ -215,6 +222,7 @@ var PowerlinesBaseContext = class PowerlinesBaseContext {
215
222
  const cwd = options.cwd || this.options?.cwd || process.cwd();
216
223
  const root = (0, _stryke_path_replace.replacePath)((options.root || this.options?.root) && (options.root || this.options.root).replace(/^\.\/?/, "") && !(0, _stryke_path_is_equal.isEqual)(options.root || this.options.root, cwd) ? options.root || this.options.root : ".", cwd);
217
224
  this.options = (0, defu.default)({
225
+ name: options.name,
218
226
  root,
219
227
  cwd,
220
228
  mode: options.mode,
@@ -234,6 +242,31 @@ var PowerlinesBaseContext = class PowerlinesBaseContext {
234
242
  logLevel: this.logLevel
235
243
  });
236
244
  this.configFile = await (0, _powerlines_core_lib_config.loadUserConfigFile)(this.options, this.resolver);
245
+ if (!this.options.name) {
246
+ if (this.configFile.config) {
247
+ if ((0, _stryke_type_checks_is_set_object.isSetObject)(this.configFile.config) && (0, _stryke_type_checks_is_set_string.isSetString)(this.configFile.config.name)) this.options.name = this.configFile.config.name;
248
+ else if (Array.isArray(this.configFile.config)) {
249
+ for (const config of this.configFile.config) if ((0, _stryke_type_checks_is_set_object.isSetObject)(config) && (0, _stryke_type_checks_is_set_string.isSetString)(config.name)) {
250
+ this.options.name = config.name;
251
+ break;
252
+ }
253
+ }
254
+ }
255
+ if (!this.options.name) {
256
+ const packageJsonPath = (0, _stryke_path.joinPaths)((0, _stryke_path_append.appendPath)(this.options.root, this.options.cwd), "package.json");
257
+ if ((0, node_fs.existsSync)(packageJsonPath)) {
258
+ const packageJson = await (0, _stryke_fs.readJsonFile)(packageJsonPath);
259
+ this.options.name = packageJson.name;
260
+ }
261
+ if (!this.options.name) {
262
+ const projectJsonPath = (0, _stryke_path.joinPaths)((0, _stryke_path_append.appendPath)(this.options.root, this.options.cwd), "project.json");
263
+ if ((0, node_fs.existsSync)(projectJsonPath)) {
264
+ const projectJson = await (0, _stryke_fs.readJsonFile)(projectJsonPath);
265
+ this.options.name = projectJson.name;
266
+ }
267
+ }
268
+ }
269
+ }
237
270
  }
238
271
  };
239
272
 
@@ -1,16 +1,22 @@
1
1
  import { resolvePackage } from "@stryke/fs/resolve";
2
+ import { isSetObject } from "@stryke/type-checks/is-set-object";
2
3
  import { isString } from "@stryke/type-checks/is-string";
4
+ import { isSetString } from "@stryke/type-checks/is-set-string";
3
5
  import { loadUserConfigFile } from "@powerlines/core/lib/config";
4
6
  import { resolveLogLevel } from "@powerlines/core/plugin-utils";
5
7
  import { createLogger as createLogger$1, extendLogger } from "@powerlines/core/plugin-utils/logging";
6
8
  import { getEnvPaths } from "@stryke/env/get-env-paths";
9
+ import { readJsonFile } from "@stryke/fs";
7
10
  import { StormJSON } from "@stryke/json/storm-json";
11
+ import { joinPaths } from "@stryke/path";
12
+ import { appendPath } from "@stryke/path/append";
8
13
  import { isEqual } from "@stryke/path/is-equal";
9
14
  import { replacePath } from "@stryke/path/replace";
10
15
  import chalk from "chalk";
11
16
  import { formatDistanceToNowStrict } from "date-fns/formatDistanceToNowStrict";
12
17
  import defu from "defu";
13
- import { joinPaths } from "@stryke/path/join-paths";
18
+ import { existsSync } from "node:fs";
19
+ import { joinPaths as joinPaths$1 } from "@stryke/path/join-paths";
14
20
  import { createJiti } from "jiti";
15
21
 
16
22
  //#region src/_internal/helpers/resolver.ts
@@ -23,7 +29,7 @@ import { createJiti } from "jiti";
23
29
  function resolveOptions(options) {
24
30
  return defu(options, {
25
31
  interopDefault: true,
26
- fsCache: options.mode !== "development" ? joinPaths(options.cacheDir, "jiti") : false,
32
+ fsCache: options.mode !== "development" ? joinPaths$1(options.cacheDir, "jiti") : false,
27
33
  moduleCache: options.mode !== "development"
28
34
  });
29
35
  }
@@ -34,8 +40,8 @@ function resolveOptions(options) {
34
40
  * @returns A Jiti instance configured for the specified workspace and project root.
35
41
  */
36
42
  function createResolver(options) {
37
- const baseResolver = createJiti(joinPaths(options.workspaceRoot, options.root), resolveOptions(options));
38
- baseResolver.plugin = createJiti(joinPaths(options.workspaceRoot, options.root), resolveOptions(options));
43
+ const baseResolver = createJiti(joinPaths$1(options.workspaceRoot, options.root), resolveOptions(options));
44
+ baseResolver.plugin = createJiti(joinPaths$1(options.workspaceRoot, options.root), resolveOptions(options));
39
45
  return baseResolver;
40
46
  }
41
47
 
@@ -43,6 +49,7 @@ function createResolver(options) {
43
49
  //#region src/context/base-context.ts
44
50
  var PowerlinesBaseContext = class PowerlinesBaseContext {
45
51
  #timestamp = Date.now();
52
+ #name = "powerlines";
46
53
  /**
47
54
  * The path to the Powerlines package
48
55
  */
@@ -183,7 +190,7 @@ var PowerlinesBaseContext = class PowerlinesBaseContext {
183
190
  * @returns A logger client instance that can be used to generate log messages with consistent formatting and metadata.
184
191
  */
185
192
  createLogger(options, callback) {
186
- return createLogger$1(this.options.name || this.options.framework || "powerlines", options, callback);
193
+ return createLogger$1(this.options.name || this.options.root, options, callback);
187
194
  }
188
195
  /**
189
196
  * Extend the base logger with additional configuration options
@@ -212,6 +219,7 @@ var PowerlinesBaseContext = class PowerlinesBaseContext {
212
219
  const cwd = options.cwd || this.options?.cwd || process.cwd();
213
220
  const root = replacePath((options.root || this.options?.root) && (options.root || this.options.root).replace(/^\.\/?/, "") && !isEqual(options.root || this.options.root, cwd) ? options.root || this.options.root : ".", cwd);
214
221
  this.options = defu({
222
+ name: options.name,
215
223
  root,
216
224
  cwd,
217
225
  mode: options.mode,
@@ -231,9 +239,34 @@ var PowerlinesBaseContext = class PowerlinesBaseContext {
231
239
  logLevel: this.logLevel
232
240
  });
233
241
  this.configFile = await loadUserConfigFile(this.options, this.resolver);
242
+ if (!this.options.name) {
243
+ if (this.configFile.config) {
244
+ if (isSetObject(this.configFile.config) && isSetString(this.configFile.config.name)) this.options.name = this.configFile.config.name;
245
+ else if (Array.isArray(this.configFile.config)) {
246
+ for (const config of this.configFile.config) if (isSetObject(config) && isSetString(config.name)) {
247
+ this.options.name = config.name;
248
+ break;
249
+ }
250
+ }
251
+ }
252
+ if (!this.options.name) {
253
+ const packageJsonPath = joinPaths(appendPath(this.options.root, this.options.cwd), "package.json");
254
+ if (existsSync(packageJsonPath)) {
255
+ const packageJson = await readJsonFile(packageJsonPath);
256
+ this.options.name = packageJson.name;
257
+ }
258
+ if (!this.options.name) {
259
+ const projectJsonPath = joinPaths(appendPath(this.options.root, this.options.cwd), "project.json");
260
+ if (existsSync(projectJsonPath)) {
261
+ const projectJson = await readJsonFile(projectJsonPath);
262
+ this.options.name = projectJson.name;
263
+ }
264
+ }
265
+ }
266
+ }
234
267
  }
235
268
  };
236
269
 
237
270
  //#endregion
238
271
  export { PowerlinesBaseContext as t };
239
- //# sourceMappingURL=base-context-Dv5OTHxZ.mjs.map
272
+ //# sourceMappingURL=base-context-fOM4ZWUo.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-context-fOM4ZWUo.mjs","names":["joinPaths","#timestamp","createLogger"],"sources":["../src/_internal/helpers/resolver.ts","../src/context/base-context.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 type { ResolvedConfig, Resolver } from \"@powerlines/core\";\nimport { joinPaths } from \"@stryke/path/join-paths\";\nimport defu from \"defu\";\nimport { JitiOptions, createJiti } from \"jiti\";\n\nexport type CreateResolverOptions = Omit<\n JitiOptions,\n \"fsCache\" | \"moduleCache\" | \"interopDefault\"\n> &\n Pick<ResolvedConfig, \"mode\" | \"logLevel\" | \"skipCache\"> & {\n workspaceRoot: string;\n root: string;\n cacheDir: string;\n };\n\n/**\n * Create a Jiti resolver for the given workspace and project root.\n *\n * @param options - The options for creating the resolver.\n * @returns A Jiti instance configured for the specified workspace and project root.\n */\nfunction resolveOptions(options: CreateResolverOptions): JitiOptions {\n return defu(options, {\n interopDefault: true,\n fsCache:\n options.mode !== \"development\"\n ? joinPaths(options.cacheDir, \"jiti\")\n : false,\n moduleCache: options.mode !== \"development\"\n });\n}\n\n/**\n * Create a Jiti resolver for the given workspace and project root.\n *\n * @param options - The options for creating the resolver.\n * @returns A Jiti instance configured for the specified workspace and project root.\n */\nexport function createResolver(options: CreateResolverOptions): Resolver {\n const baseResolver = createJiti(\n joinPaths(options.workspaceRoot, options.root),\n resolveOptions(options)\n ) as Resolver;\n baseResolver.plugin = createJiti(\n joinPaths(options.workspaceRoot, options.root),\n resolveOptions(options)\n );\n\n return baseResolver;\n}\n","/* -------------------------------------------------------------------\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 type {\n BaseContext,\n EngineOptions,\n Logger,\n LoggerMessage,\n LoggerOptions,\n LogLevelResolvedConfig,\n LogMessage,\n ParsedUserConfig,\n ResolvedEngineOptions,\n Resolver\n} from \"@powerlines/core\";\nimport { loadUserConfigFile } from \"@powerlines/core/lib/config\";\nimport { resolveLogLevel } from \"@powerlines/core/plugin-utils\";\nimport {\n createLogger,\n extendLogger\n} from \"@powerlines/core/plugin-utils/logging\";\nimport { EnvPaths, getEnvPaths } from \"@stryke/env/get-env-paths\";\nimport { readJsonFile } from \"@stryke/fs\";\nimport { resolvePackage } from \"@stryke/fs/resolve\";\nimport { StormJSON } from \"@stryke/json/storm-json\";\nimport { joinPaths } from \"@stryke/path\";\nimport { appendPath } from \"@stryke/path/append\";\nimport { isEqual } from \"@stryke/path/is-equal\";\nimport { replacePath } from \"@stryke/path/replace\";\nimport { isSetObject } from \"@stryke/type-checks/is-set-object\";\nimport { isSetString } from \"@stryke/type-checks/is-set-string\";\nimport { isString } from \"@stryke/type-checks/is-string\";\nimport chalk from \"chalk\";\nimport { formatDistanceToNowStrict } from \"date-fns/formatDistanceToNowStrict\";\nimport defu from \"defu\";\nimport { existsSync } from \"node:fs\";\nimport { UserConfig } from \"tsdown/config\";\nimport { createResolver } from \"../_internal/helpers/resolver\";\n\nexport class PowerlinesBaseContext implements BaseContext {\n #timestamp: number = Date.now();\n\n #name: string = \"powerlines\";\n\n /**\n * The path to the Powerlines package\n */\n public powerlinesPath!: string;\n\n /**\n * The module resolver for the project\n */\n public resolver!: Resolver;\n\n /**\n * The options provided to the Powerlines process\n */\n public options!: ResolvedEngineOptions;\n\n /**\n * The input options used to initialize the context, which may be used when cloning the context to ensure the same configuration is applied to the new context\n */\n public inputOptions: Partial<EngineOptions> = {};\n\n /**\n * The parsed configuration file for the project\n */\n public configFile!: ParsedUserConfig;\n\n /**\n * The logger instance for the context, which can be used to create log messages with consistent formatting and metadata. This logger is extended by plugin contexts to include additional metadata such as the plugin name and category, which can be used to filter and format log messages in a more granular way.\n */\n public get logger(): Logger {\n return this.createLogger({ ...this.configFile.config, ...this.options });\n }\n\n /**\n * A timestamp representing when the context was initialized\n */\n public get timestamp(): number {\n return this.#timestamp;\n }\n\n public get logLevel(): LogLevelResolvedConfig {\n return resolveLogLevel(this.options.logLevel, this.options.mode);\n }\n\n /**\n * The environment paths for the project\n */\n public get envPaths(): EnvPaths {\n return getEnvPaths({\n orgId: this.options.organization,\n appId: this.options.framework || \"powerlines\",\n workspaceRoot: this.options.cwd\n });\n }\n\n /**\n * Creates a clone of the current context with the same configuration and workspace settings. This can be useful for running multiple builds in parallel or for creating isolated contexts for different parts of the build process.\n *\n * @remarks\n * The cloned context will have the same configuration and workspace settings as the original context, but will have a different build ID, release ID, and timestamp. The virtual file system and caches will also be separate between the original and cloned contexts.\n *\n * @returns A promise that resolves to the cloned context.\n */\n public async clone(): Promise<BaseContext> {\n const clone = new PowerlinesBaseContext();\n await clone.init(this.options);\n\n return clone;\n }\n\n /**\n * A logging function for fatal messages\n *\n * @param message - The message to log.\n */\n public fatal(message: string | LogMessage) {\n this.logger.error(\n isString(message) ? message : StormJSON.stringify(message)\n );\n }\n\n /**\n * A logging function for error messages\n *\n * @param message - The message to log.\n */\n public error(message: string | LogMessage) {\n this.logger.error(\n isString(message) ? message : StormJSON.stringify(message)\n );\n }\n\n /**\n * A logging function for warning messages\n *\n * @param message - The message to log.\n */\n public warn(message: string | LogMessage) {\n this.logger.warn(\n isString(message) ? message : StormJSON.stringify(message)\n );\n }\n\n /**\n * A logging function for informational messages\n *\n * @param message - The message to log.\n */\n public info(message: string | LogMessage) {\n this.logger.info(\n isString(message) ? message : StormJSON.stringify(message)\n );\n }\n\n /**\n * A logging function for debug messages\n *\n * @param message - The message to log.\n */\n public debug(message: string | LogMessage) {\n this.logger.debug(\n isString(message) ? message : StormJSON.stringify(message)\n );\n }\n\n /**\n * A logging function for trace messages\n *\n * @param message - The message to log.\n */\n public trace(message: string | LogMessage) {\n this.logger.trace(\n isString(message) ? message : StormJSON.stringify(message)\n );\n }\n\n /**\n * A function to create a timer for measuring the duration of asynchronous operations\n *\n * @example\n * ```ts\n * const stopTimer = context.timer(\"Your Async Operation\");\n * await performAsyncOperation();\n * stopTimer(); // \"Your Async Operation completed in 123.45 milliseconds\"\n * ```\n *\n * @param name - The name of the timer.\n * @returns A function that, when called, stops the timer and logs the duration.\n */\n public timer(name: string): () => void {\n const startDate = Date.now();\n const startDuration = performance.now();\n\n return () => {\n const duration = performance.now() - startDuration;\n this.logger.info({\n meta: {\n category: \"performance\"\n },\n message: `${chalk.bold.cyanBright(name)} completed in ${chalk.bold.cyanBright(\n duration < 1000\n ? `${duration.toFixed(2)} milliseconds`\n : formatDistanceToNowStrict(startDate)\n )}`\n });\n };\n }\n\n /**\n * Create a new logger instance\n *\n * @param options - The configuration options to use for the logger instance, which can be used to customize the appearance and behavior of the log messages generated by the logger. This is typically the name of the plugin or module that is creating the logger instance.\n * @returns A logger client instance that can be used to generate log messages with consistent formatting and metadata.\n */\n public createLogger(\n options: LoggerOptions,\n callback?: (message: string | LoggerMessage) => void\n ): Logger {\n return createLogger(\n this.options.name || this.options.root,\n options,\n callback\n );\n }\n\n /**\n * Extend the base logger with additional configuration options\n *\n * @param options - The configuration options to extend the base logger with, which can be used to add additional metadata or customize the appearance of log messages generated by the logger. This is typically the name of the plugin or module that is creating the logger instance, as well as any additional metadata such as the plugin category or environment.\n * @returns A new logger client instance that extends the base logger with the provided configuration options.\n */\n public extendLogger(options: LoggerOptions): Logger {\n return extendLogger(this.logger, options);\n }\n\n /**\n * Initialize the context with the provided configuration options\n *\n * @remarks\n * This method will set up the resolver and load the user configuration file based on the provided options. It is called during the construction of the context and can also be called when cloning the context to ensure that the new context has the same configuration and resolver setup.\n *\n * @param options - The configuration options to initialize the context with\n */\n protected async init(options: Partial<EngineOptions> = {}) {\n this.inputOptions = { ...options };\n\n if (!this.powerlinesPath) {\n const powerlinesPath = await resolvePackage(\"powerlines\");\n if (!powerlinesPath) {\n throw new Error(\"Could not resolve `powerlines` package location.\");\n }\n this.powerlinesPath = powerlinesPath;\n }\n\n const cwd = options.cwd || this.options?.cwd || process.cwd();\n const root = replacePath(\n (options.root || this.options?.root) &&\n (options.root || this.options.root).replace(/^\\.\\/?/, \"\") &&\n !isEqual(options.root || this.options.root, cwd)\n ? options.root || this.options.root\n : \".\",\n cwd\n );\n\n this.options = defu(\n {\n name: options.name,\n root,\n cwd,\n mode: options.mode,\n logLevel: options.logLevel,\n framework: options.framework,\n organization: options.organization,\n configFile: options.configFile\n },\n this.options ?? {},\n {\n mode: \"production\",\n framework: \"powerlines\"\n }\n ) as ResolvedEngineOptions;\n\n this.resolver = createResolver({\n workspaceRoot: cwd,\n root,\n cacheDir: this.envPaths.cache,\n mode: this.options.mode,\n logLevel: this.logLevel\n });\n\n this.configFile = await loadUserConfigFile(this.options, this.resolver);\n if (!this.options.name) {\n if (this.configFile.config) {\n if (\n isSetObject(this.configFile.config) &&\n isSetString((this.configFile.config as UserConfig).name)\n ) {\n this.options.name = (this.configFile.config as UserConfig).name;\n } else if (Array.isArray(this.configFile.config)) {\n for (const config of this.configFile.config) {\n if (\n isSetObject(config) &&\n isSetString((config as UserConfig).name)\n ) {\n this.options.name = (config as UserConfig).name;\n break;\n }\n }\n }\n }\n\n if (!this.options.name) {\n const packageJsonPath = joinPaths(\n appendPath(this.options.root, this.options.cwd),\n \"package.json\"\n );\n if (existsSync(packageJsonPath)) {\n const packageJson = await readJsonFile(packageJsonPath);\n this.options.name = packageJson.name;\n }\n\n if (!this.options.name) {\n const projectJsonPath = joinPaths(\n appendPath(this.options.root, this.options.cwd),\n \"project.json\"\n );\n if (existsSync(projectJsonPath)) {\n const projectJson = await readJsonFile(projectJsonPath);\n this.options.name = projectJson.name;\n }\n }\n }\n }\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a,gBAAgB;AACvD,UAAK,QAAQ,OAAO,YAAY;;AAGlC,QAAI,CAAC,KAAK,QAAQ,MAAM;KACtB,MAAM,kBAAkB,UACtB,WAAW,KAAK,QAAQ,MAAM,KAAK,QAAQ,IAAI,EAC/C,eACD;AACD,SAAI,WAAW,gBAAgB,EAAE;MAC/B,MAAM,cAAc,MAAM,aAAa,gBAAgB;AACvD,WAAK,QAAQ,OAAO,YAAY"}
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_base_context = require('../base-context-DkGTyGX0.cjs');
3
- const require_engine_context = require('../engine-context-CDSR7PHF.cjs');
4
- const require_execution_context = require('../execution-context-B-CVP76S.cjs');
2
+ const require_base_context = require('../base-context-CAA1druQ.cjs');
3
+ const require_engine_context = require('../engine-context-CUPubmrM.cjs');
4
+ const require_execution_context = require('../execution-context-BoJhCK0d.cjs');
5
5
 
6
6
  exports.PowerlinesBaseContext = require_base_context.PowerlinesBaseContext;
7
7
  exports.PowerlinesContext = require_execution_context.PowerlinesContext;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/context/base-context.ts","../../src/context/context.ts","../../src/context/engine-context.ts","../../src/context/environment-context.ts","../../src/context/execution-context.ts","../../src/context/plugin-context.ts"],"mappings":";;;;;;;;;;cA+Ca,qBAAA,YAAiC,WAAA;EAAA;;;;EAMrC,cAAA;;;AANT;EAWS,QAAA,EAAW,QAAA;;;;EAKX,OAAA,EAAU,qBAAA;EAKI;;;EAAd,YAAA,EAAc,OAAA,CAAQ,aAAA;EA4BN;;;EAvBhB,UAAA,EAAa,gBAAA;EA8DW;;;EAAA,IAzDpB,MAAA,CAAA,GAAU,MAAA;EAqGU;;;EAAA,IA9FpB,SAAA,CAAA;EAAA,IAIA,QAAA,CAAA,GAAY,sBAAA;EAuJsB;;;EAAA,IAhJlC,QAAA,CAAA,GAAY,QAAA;EAjDqB;;;;;;;;EAiE/B,KAAA,CAAA,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zB;;;;;;EIyFlB,EAAA,CACX,WAAA,EAAa,yBAAA,GACZ,OAAA,CAAQ,2BAAA,CAA4B,eAAA;EJpChC;;;EI+De,KAAA,CAAA,GAAK,OAAA;EJ7Db;;;;;EImFD,SAAA,CAAU,MAAA,EAAQ,MAAA,CAAO,aAAA,CAAc,eAAA,KAAiB,OAAA;EJpExB;;;;;;EIoFhC,cAAA,CAAe,IAAA,YAAa,OAAA,CAAA,kBAAA,CAAA,eAAA;EJxEgB;;;;AC7G3D;;EG4Ne,kBAAA,CACX,IAAA,YACC,OAAA,CAAQ,kBAAA,CAAmB,eAAA;EH7NN;;;;;;;;EG6OX,aAAA,CAAA,GAAiB,OAAA,CAAQ,kBAAA,CAAmB,eAAA;AAAA;;;;;;;;;;;iBCnV3C,mBAAA,yBACU,cAAA,GAAiB,cAAA,CAAA,CAEzC,QAAA,UACA,MAAA,EAAQ,MAAA,CAAO,aAAA,CAAc,eAAA,IAC7B,WAAA,EAAa,2BAAA,CAA4B,eAAA,IACxC,sBAAA,CAAuB,eAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/context/base-context.ts","../../src/context/context.ts","../../src/context/engine-context.ts","../../src/context/environment-context.ts","../../src/context/execution-context.ts","../../src/context/plugin-context.ts"],"mappings":";;;;;;;;;;cAsDa,qBAAA,YAAiC,WAAA;EAAA;;;;EAQrC,cAAA;;;AART;EAaS,QAAA,EAAW,QAAA;;;;EAKX,OAAA,EAAU,qBAAA;EAKI;;;EAAd,YAAA,EAAc,OAAA,CAAQ,aAAA;EA4BN;;;EAvBhB,UAAA,EAAa,gBAAA;EA8DW;;;EAAA,IAzDpB,MAAA,CAAA,GAAU,MAAA;EAqGU;;;EAAA,IA9FpB,SAAA,CAAA;EAAA,IAIA,QAAA,CAAA,GAAY,sBAAA;EAuJsB;;;EAAA,IAhJlC,QAAA,CAAA,GAAY,QAAA;EAnDqB;;;;;;;;EAmE/B,KAAA,CAAA,GAAS,OAAA,CAAQ,WAAA;EA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X,WAAA,EAAa,yBAAA,GACZ,OAAA,CAAQ,2BAAA,CAA4B,eAAA;EJ3BhC;;;EIsDe,KAAA,CAAA,GAAK,OAAA;EJpDb;;;;;EI0ED,SAAA,CAAU,MAAA,EAAQ,MAAA,CAAO,aAAA,CAAc,eAAA,KAAiB,OAAA;EJ3DxB;;;;;;EI2EhC,cAAA,CAAe,IAAA,YAAa,OAAA,CAAA,kBAAA,CAAA,eAAA;EJ/DgB;;;;ACtH3D;;EG4Ne,kBAAA,CACX,IAAA,YACC,OAAA,CAAQ,kBAAA,CAAmB,eAAA;EH7NN;;;;;;;;EG6OX,aAAA,CAAA,GAAiB,OAAA,CAAQ,kBAAA,CAAmB,eAAA;AAAA;;;;;;;;;;;iBCnV3C,mBAAA,yBACU,cAAA,GAAiB,cAAA,CAAA,CAEzC,QAAA,UACA,MAAA,EAAQ,MAAA,CAAO,aAAA,CAAc,eAAA,IAC7B,WAAA,EAAa,2BAAA,CAA4B,eAAA,IACxC,sBAAA,CAAuB,eAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../../src/context/base-context.ts","../../src/context/context.ts","../../src/context/engine-context.ts","../../src/context/environment-context.ts","../../src/context/execution-context.ts","../../src/context/plugin-context.ts"],"mappings":";;;;;;;;;;cA+Ca,qBAAA,YAAiC,WAAA;EAAA;;;;EAMrC,cAAA;;;AANT;EAWS,QAAA,EAAW,QAAA;;;;EAKX,OAAA,EAAU,qBAAA;EAKI;;;EAAd,YAAA,EAAc,OAAA,CAAQ,aAAA;EA4BN;;;EAvBhB,UAAA,EAAa,gBAAA;EA8DW;;;EAAA,IAzDpB,MAAA,CAAA,GAAU,MAAA;EAqGU;;;EAAA,IA9FpB,SAAA,CAAA;EAAA,IAIA,QAAA,CAAA,GAAY,sBAAA;EAuJsB;;;EAAA,IAhJlC,QAAA,CAAA,GAAY,QAAA;EAjDqB;;;;;;;;EAiE/B,KAAA,CAAA,GAAS,OAAA,CAAQ,WAAA;EAjDb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AA,EAAa,yBAAA,GACZ,OAAA,CAAQ,2BAAA,CAA4B,eAAA;EJpChC;;;EI+De,KAAA,CAAA,GAAK,OAAA;EJ7Db;;;;;EImFD,SAAA,CAAU,MAAA,EAAQ,MAAA,CAAO,aAAA,CAAc,eAAA,KAAiB,OAAA;EJpExB;;;;;;EIoFhC,cAAA,CAAe,IAAA,YAAa,OAAA,CAAA,kBAAA,CAAA,eAAA;EJxEgB;;;;AC7G3D;;EG4Ne,kBAAA,CACX,IAAA,YACC,OAAA,CAAQ,kBAAA,CAAmB,eAAA;EH7NN;;;;;;;;EG6OX,aAAA,CAAA,GAAiB,OAAA,CAAQ,kBAAA,CAAmB,eAAA;AAAA;;;;;;;;;;;iBCnV3C,mBAAA,yBACU,cAAA,GAAiB,cAAA,CAAA,CAEzC,QAAA,UACA,MAAA,EAAQ,MAAA,CAAO,aAAA,CAAc,eAAA,IAC7B,WAAA,EAAa,2BAAA,CAA4B,eAAA,IACxC,sBAAA,CAAuB,eAAA"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../../src/context/base-context.ts","../../src/context/context.ts","../../src/context/engine-context.ts","../../src/context/environment-context.ts","../../src/context/execution-context.ts","../../src/context/plugin-context.ts"],"mappings":";;;;;;;;;;cAsDa,qBAAA,YAAiC,WAAA;EAAA;;;;EAQrC,cAAA;;;AART;EAaS,QAAA,EAAW,QAAA;;;;EAKX,OAAA,EAAU,qBAAA;EAKI;;;EAAd,YAAA,EAAc,OAAA,CAAQ,aAAA;EA4BN;;;EAvBhB,UAAA,EAAa,gBAAA;EA8DW;;;EAAA,IAzDpB,MAAA,CAAA,GAAU,MAAA;EAqGU;;;EAAA,IA9FpB,SAAA,CAAA;EAAA,IAIA,QAAA,CAAA,GAAY,sBAAA;EAuJsB;;;EAAA,IAhJlC,QAAA,CAAA,GAAY,QAAA;EAnDqB;;;;;;;;EAmE/B,KAAA,CAAA,GAAS,OAAA,CAAQ,WAAA;EAjDb;;;;;EA6DV,KAAA,CAAM,OA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A,CAAQ,2BAAA,CAA4B,eAAA;EJ3BhC;;;EIsDe,KAAA,CAAA,GAAK,OAAA;EJpDb;;;;;EI0ED,SAAA,CAAU,MAAA,EAAQ,MAAA,CAAO,aAAA,CAAc,eAAA,KAAiB,OAAA;EJ3DxB;;;;;;EI2EhC,cAAA,CAAe,IAAA,YAAa,OAAA,CAAA,kBAAA,CAAA,eAAA;EJ/DgB;;;;ACtH3D;;EG4Ne,kBAAA,CACX,IAAA,YACC,OAAA,CAAQ,kBAAA,CAAmB,eAAA;EH7NN;;;;;;;;EG6OX,aAAA,CAAA,GAAiB,OAAA,CAAQ,kBAAA,CAAmB,eAAA;AAAA;;;;;;;;;;;iBCnV3C,mBAAA,yBACU,cAAA,GAAiB,cAAA,CAAA,CAEzC,QAAA,UACA,MAAA,EAAQ,MAAA,CAAO,aAAA,CAAc,eAAA,IAC7B,WAAA,EAAa,2BAAA,CAA4B,eAAA,IACxC,sBAAA,CAAuB,eAAA"}
@@ -1,5 +1,5 @@
1
- import { t as PowerlinesBaseContext } from "../base-context-Dv5OTHxZ.mjs";
2
- import { t as PowerlinesEngineContext } from "../engine-context-CytME-Ht.mjs";
3
- import { n as PowerlinesEnvironmentContext, o as PowerlinesContext, r as createPluginContext, t as PowerlinesExecutionContext } from "../execution-context-F7RyGqff.mjs";
1
+ import { t as PowerlinesBaseContext } from "../base-context-fOM4ZWUo.mjs";
2
+ import { t as PowerlinesEngineContext } from "../engine-context-BWGxMU_n.mjs";
3
+ import { n as PowerlinesEnvironmentContext, o as PowerlinesContext, r as createPluginContext, t as PowerlinesExecutionContext } from "../execution-context-CFJst4Fz.mjs";
4
4
 
5
5
  export { PowerlinesBaseContext, PowerlinesContext, PowerlinesEngineContext, PowerlinesEnvironmentContext, PowerlinesExecutionContext, createPluginContext };
@@ -1,4 +1,4 @@
1
- import { t as PowerlinesBaseContext } from "./base-context-Dv5OTHxZ.mjs";
1
+ import { t as PowerlinesBaseContext } from "./base-context-fOM4ZWUo.mjs";
2
2
  import { uuid } from "@stryke/unique-id/uuid";
3
3
 
4
4
  //#region src/context/engine-context.ts
@@ -63,4 +63,4 @@ var PowerlinesEngineContext = class PowerlinesEngineContext extends PowerlinesBa
63
63
 
64
64
  //#endregion
65
65
  export { PowerlinesEngineContext as t };
66
- //# sourceMappingURL=engine-context-CytME-Ht.mjs.map
66
+ //# sourceMappingURL=engine-context-BWGxMU_n.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"engine-context-CytME-Ht.mjs","names":["#executions"],"sources":["../src/context/engine-context.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 type {\n EngineContext,\n EngineOptions,\n ExecutionState\n} from \"@powerlines/core\";\nimport { uuid } from \"@stryke/unique-id/uuid\";\nimport { PowerlinesBaseContext } from \"./base-context\";\n\nexport class PowerlinesEngineContext\n extends PowerlinesBaseContext\n implements EngineContext\n{\n #executions: ExecutionState[] = [];\n\n /**\n * Creates a new instance of the PowerlinesEngineContext class.\n *\n * @param options - The options to initialize the context with.\n * @returns A promise that resolves to an instance of the PowerlinesEngineContext class.\n */\n public static async fromOptions(\n options: EngineOptions\n ): Promise<PowerlinesEngineContext> {\n const context = new PowerlinesEngineContext();\n await context.init(options);\n\n if (!context.configFile?.config) {\n context.fatal(\n \"No configuration file found. Please ensure you have a valid configuration file in your project.\"\n );\n throw new Error(\"No configuration file found\");\n }\n\n if (Array.isArray(context.configFile.config)) {\n context.#executions = await Promise.all(\n context.configFile.config.map(async (_, executionIndex) => {\n const executionId = uuid();\n\n return {\n executionId,\n options: { ...context.options, executionId, executionIndex },\n active: {\n command: null,\n hook: null,\n plugin: null\n }\n };\n })\n );\n } else {\n const executionId = uuid();\n context.#executions = [\n {\n executionId,\n options: { ...context.options, executionId, executionIndex: 0 },\n active: {\n command: null,\n hook: null,\n plugin: null\n }\n }\n ];\n }\n\n return context;\n }\n\n /**\n * A list of all command executions that will be run during the lifecycle of the engine\n *\n * @returns An array of {@link ExecutionState} representing each execution context for the engine.\n */\n public get executions(): ExecutionState[] {\n return this.#executions;\n }\n}\n"],"mappings":";;;;AA0BA,IAAa,0BAAb,MAAa,gCACH,sBAEV;CACE,cAAgC,EAAE;;;;;;;CAQlC,aAAoB,YAClB,SACkC;EAClC,MAAM,UAAU,IAAI,yBAAyB;AAC7C,QAAM,QAAQ,KAAK,QAAQ;AAE3B,MAAI,CAAC,QAAQ,YAAY,QAAQ;AAC/B,WAAQ,MACN,kGACD;AACD,SAAM,IAAI,MAAM,8BAA8B;;AAGhD,MAAI,MAAM,QAAQ,QAAQ,WAAW,OAAO,CAC1C,UAAQA,aAAc,MAAM,QAAQ,IAClC,QAAQ,WAAW,OAAO,IAAI,OAAO,GAAG,mBAAmB;GACzD,MAAM,cAAc,MAAM;AAE1B,UAAO;IACL;IACA,SAAS;KAAE,GAAG,QAAQ;KAAS;KAAa;KAAgB;IAC5D,QAAQ;KACN,SAAS;KACT,MAAM;KACN,QAAQ;KACT;IACF;IACD,CACH;OACI;GACL,MAAM,cAAc,MAAM;AAC1B,YAAQA,aAAc,CACpB;IACE;IACA,SAAS;KAAE,GAAG,QAAQ;KAAS;KAAa,gBAAgB;KAAG;IAC/D,QAAQ;KACN,SAAS;KACT,MAAM;KACN,QAAQ;KACT;IACF,CACF;;AAGH,SAAO;;;;;;;CAQT,IAAW,aAA+B;AACxC,SAAO,MAAKA"}
1
+ {"version":3,"file":"engine-context-BWGxMU_n.mjs","names":["#executions"],"sources":["../src/context/engine-context.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 type {\n EngineContext,\n EngineOptions,\n ExecutionState\n} from \"@powerlines/core\";\nimport { uuid } from \"@stryke/unique-id/uuid\";\nimport { PowerlinesBaseContext } from \"./base-context\";\n\nexport class PowerlinesEngineContext\n extends PowerlinesBaseContext\n implements EngineContext\n{\n #executions: ExecutionState[] = [];\n\n /**\n * Creates a new instance of the PowerlinesEngineContext class.\n *\n * @param options - The options to initialize the context with.\n * @returns A promise that resolves to an instance of the PowerlinesEngineContext class.\n */\n public static async fromOptions(\n options: EngineOptions\n ): Promise<PowerlinesEngineContext> {\n const context = new PowerlinesEngineContext();\n await context.init(options);\n\n if (!context.configFile?.config) {\n context.fatal(\n \"No configuration file found. Please ensure you have a valid configuration file in your project.\"\n );\n throw new Error(\"No configuration file found\");\n }\n\n if (Array.isArray(context.configFile.config)) {\n context.#executions = await Promise.all(\n context.configFile.config.map(async (_, executionIndex) => {\n const executionId = uuid();\n\n return {\n executionId,\n options: { ...context.options, executionId, executionIndex },\n active: {\n command: null,\n hook: null,\n plugin: null\n }\n };\n })\n );\n } else {\n const executionId = uuid();\n context.#executions = [\n {\n executionId,\n options: { ...context.options, executionId, executionIndex: 0 },\n active: {\n command: null,\n hook: null,\n plugin: null\n }\n }\n ];\n }\n\n return context;\n }\n\n /**\n * A list of all command executions that will be run during the lifecycle of the engine\n *\n * @returns An array of {@link ExecutionState} representing each execution context for the engine.\n */\n public get executions(): ExecutionState[] {\n return this.#executions;\n }\n}\n"],"mappings":";;;;AA0BA,IAAa,0BAAb,MAAa,gCACH,sBAEV;CACE,cAAgC,EAAE;;;;;;;CAQlC,aAAoB,YAClB,SACkC;EAClC,MAAM,UAAU,IAAI,yBAAyB;AAC7C,QAAM,QAAQ,KAAK,QAAQ;AAE3B,MAAI,CAAC,QAAQ,YAAY,QAAQ;AAC/B,WAAQ,MACN,kGACD;AACD,SAAM,IAAI,MAAM,8BAA8B;;AAGhD,MAAI,MAAM,QAAQ,QAAQ,WAAW,OAAO,CAC1C,UAAQA,aAAc,MAAM,QAAQ,IAClC,QAAQ,WAAW,OAAO,IAAI,OAAO,GAAG,mBAAmB;GACzD,MAAM,cAAc,MAAM;AAE1B,UAAO;IACL;IACA,SAAS;KAAE,GAAG,QAAQ;KAAS;KAAa;KAAgB;IAC5D,QAAQ;KACN,SAAS;KACT,MAAM;KACN,QAAQ;KACT;IACF;IACD,CACH;OACI;GACL,MAAM,cAAc,MAAM;AAC1B,YAAQA,aAAc,CACpB;IACE;IACA,SAAS;KAAE,GAAG,QAAQ;KAAS;KAAa,gBAAgB;KAAG;IAC/D,QAAQ;KACN,SAAS;KACT,MAAM;KACN,QAAQ;KACT;IACF,CACF;;AAGH,SAAO;;;;;;;CAQT,IAAW,aAA+B;AACxC,SAAO,MAAKA"}
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('./chunk-C0xms8kb.cjs');
2
- const require_base_context = require('./base-context-DkGTyGX0.cjs');
2
+ const require_base_context = require('./base-context-CAA1druQ.cjs');
3
3
  let _stryke_unique_id_uuid = require("@stryke/unique-id/uuid");
4
4
 
5
5
  //#region src/context/engine-context.ts
@@ -1,19 +1,20 @@
1
1
  const require_chunk = require('./chunk-C0xms8kb.cjs');
2
- const require_base_context = require('./base-context-DkGTyGX0.cjs');
2
+ const require_base_context = require('./base-context-CAA1druQ.cjs');
3
3
  const require_fs = require('./fs-XogSgMqT.cjs');
4
- const require_virtual = require('./virtual-1hYa9zCy.cjs');
5
- const require_tsconfig = require('./tsconfig-DeyWQC2N.cjs');
4
+ const require_virtual = require('./virtual-Ct3ZqPeN.cjs');
5
+ const require_tsconfig = require('./tsconfig-QMSxSwBD.cjs');
6
6
  let _powerlines_core_constants = require("@powerlines/core/constants");
7
+ let _stryke_convert_to_array = require("@stryke/convert/to-array");
7
8
  let _stryke_fs_resolve = require("@stryke/fs/resolve");
8
9
  let _stryke_path_join = require("@stryke/path/join");
9
10
  let _stryke_type_checks_is_set = require("@stryke/type-checks/is-set");
10
11
  let _stryke_type_checks_is_set_object = require("@stryke/type-checks/is-set-object");
11
12
  let _stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
12
- let _stryke_convert_to_array = require("@stryke/convert/to-array");
13
13
  let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
14
14
  let _stryke_unique_id_uuid = require("@stryke/unique-id/uuid");
15
15
  let _powerlines_core_plugin_utils = require("@powerlines/core/plugin-utils");
16
16
  let _powerlines_core_plugin_utils_logging = require("@powerlines/core/plugin-utils/logging");
17
+ let _stryke_path_append = require("@stryke/path/append");
17
18
  let _stryke_path_is_equal = require("@stryke/path/is-equal");
18
19
  let _stryke_path_replace = require("@stryke/path/replace");
19
20
  let chalk = require("chalk");
@@ -26,7 +27,6 @@ let _powerlines_core_lib_utilities_format = require("@powerlines/core/lib/utilit
26
27
  let _stryke_fs_exists = require("@stryke/fs/exists");
27
28
  let _stryke_helpers_get_unique = require("@stryke/helpers/get-unique");
28
29
  let _stryke_helpers_omit = require("@stryke/helpers/omit");
29
- let _stryke_path_append = require("@stryke/path/append");
30
30
  let _stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
31
31
  let _stryke_path_is_parent_path = require("@stryke/path/is-parent-path");
32
32
  let _stryke_type_checks_is_function = require("@stryke/type-checks/is-function");
@@ -2016,7 +2016,7 @@ var PowerlinesContext = class PowerlinesContext extends require_base_context.Pow
2016
2016
  */
2017
2017
  async innerSetup() {
2018
2018
  const logger = this.extendLogger({ category: "config" });
2019
- logger.debug(`Pre-setup Powerlines configuration object: \n${JSON.stringify({
2019
+ logger.trace(`Pre-setup Powerlines configuration object: \n${JSON.stringify({
2020
2020
  ...(0, _stryke_helpers_omit.omit)(this.config, ["plugins"]),
2021
2021
  userConfig: this.config.userConfig ? (0, _stryke_helpers_omit.omit)(this.config.userConfig, ["plugins"]) : {},
2022
2022
  inlineConfig: this.config.inlineConfig ? (0, _stryke_helpers_omit.omit)(this.config.inlineConfig, ["plugins"]) : {},
@@ -2048,8 +2048,7 @@ var PowerlinesContext = class PowerlinesContext extends require_base_context.Pow
2048
2048
  else this.config.logLevel = _powerlines_core_constants.DEFAULT_PRODUCTION_LOG_LEVEL;
2049
2049
  if (!this.config.userConfig?.tsconfig && !this.config.inlineConfig?.tsconfig) this.config.tsconfig = require_tsconfig.getTsconfigFilePath(this.config.cwd, this.config.root);
2050
2050
  else if (this.config.tsconfig) this.config.tsconfig = (0, _stryke_path_replace.replacePath)((0, _powerlines_core_plugin_utils.replacePathTokens)(this, this.config.tsconfig), this.config.cwd);
2051
- this.resolvedConfig.output = (0, defu.default)(this.config.output ?? {}, {
2052
- path: (0, _stryke_path_join.joinPaths)(this.config.root, "dist"),
2051
+ this.config.output = (0, defu.default)(this.config.output ?? {}, {
2053
2052
  copy: { assets: [
2054
2053
  { glob: "LICENSE" },
2055
2054
  {
@@ -2066,6 +2065,7 @@ var PowerlinesContext = class PowerlinesContext extends require_base_context.Pow
2066
2065
  });
2067
2066
  this.config.output.format = (0, _stryke_helpers_get_unique.getUnique)((0, _stryke_convert_to_array.toArray)(this.config.output?.format ?? (this.config.projectType === "library" ? ["cjs", "esm"] : ["esm"])));
2068
2067
  if (this.config.output.path) this.config.output.path = (0, _stryke_path_append.appendPath)((0, _powerlines_core_plugin_utils.replacePathTokens)(this, this.config.output.path), this.config.cwd);
2068
+ else this.config.output.path = (0, _stryke_path_append.appendPath)((0, _stryke_path_join.joinPaths)(this.config.root, "dist"), this.config.cwd);
2069
2069
  if (this.config.output.copy !== false) {
2070
2070
  this.config.output.copy ??= {};
2071
2071
  if (!this.config.root.replace(/^\.\/?/, "")) this.config.output.copy.path = this.config.output.copy.path ? (0, _stryke_path_append.appendPath)((0, _powerlines_core_plugin_utils.replacePathTokens)(this, this.config.output.copy.path), this.config.cwd) : this.config.output.path;
@@ -2093,7 +2093,7 @@ var PowerlinesContext = class PowerlinesContext extends require_base_context.Pow
2093
2093
  }));
2094
2094
  if ((0, _stryke_type_checks_is_set_string.isSetString)(this.config.output?.storage) && this.config.output.storage === "virtual" || (0, _stryke_type_checks_is_set_object.isSetObject)(this.config.output?.storage) && Object.values(this.config.output.storage).every((adapter) => adapter.preset === "virtual")) this.config.output.overwrite = true;
2095
2095
  this.#fs ??= await VirtualFileSystem.create(this);
2096
- logger.debug(`Post-setup Powerlines configuration object: \n${JSON.stringify({
2096
+ if ((0, _stryke_type_checks_is_set_object.isSetObject)(this.config.userConfig) && (0, _stryke_type_checks_is_set_object.isSetObject)(this.config.inlineConfig) && (0, _stryke_type_checks_is_set_object.isSetObject)(this.config.pluginConfig)) logger.debug(`Resolved Powerlines configuration object: \n${JSON.stringify({
2097
2097
  ...(0, _stryke_helpers_omit.omit)(this.config, ["plugins"]),
2098
2098
  userConfig: this.config.userConfig ? (0, _stryke_helpers_omit.omit)(this.config.userConfig, ["plugins"]) : {},
2099
2099
  inlineConfig: this.config.inlineConfig ? (0, _stryke_helpers_omit.omit)(this.config.inlineConfig, ["plugins"]) : {},
@@ -1,18 +1,19 @@
1
- import { t as PowerlinesBaseContext } from "./base-context-Dv5OTHxZ.mjs";
1
+ import { t as PowerlinesBaseContext } from "./base-context-fOM4ZWUo.mjs";
2
2
  import { a as FileSystem } from "./fs-D1nIP45P.mjs";
3
- import { n as FileSystemStorageAdapter, t as VirtualStorageAdapter } from "./virtual-CUgOdyIa.mjs";
4
- import { i as getTsconfigFilePath } from "./tsconfig-Cstsoprg.mjs";
3
+ import { n as FileSystemStorageAdapter, t as VirtualStorageAdapter } from "./virtual-CYGZHTDd.mjs";
4
+ import { i as getTsconfigFilePath } from "./tsconfig-CI6bla4E.mjs";
5
5
  import { CACHE_HASH_LENGTH, DEFAULT_DEVELOPMENT_LOG_LEVEL, DEFAULT_ENVIRONMENT, DEFAULT_PRODUCTION_LOG_LEVEL, DEFAULT_TEST_LOG_LEVEL, GLOBAL_ENVIRONMENT, PLUGIN_NON_HOOK_FIELDS, ROOT_HASH_LENGTH } from "@powerlines/core/constants";
6
+ import { toArray } from "@stryke/convert/to-array";
6
7
  import { getResolutionCombinations, resolve, resolvePackage, resolveSync } from "@stryke/fs/resolve";
7
8
  import { joinPaths } from "@stryke/path/join";
8
9
  import { isSet } from "@stryke/type-checks/is-set";
9
10
  import { isSetObject } from "@stryke/type-checks/is-set-object";
10
11
  import { isString } from "@stryke/type-checks/is-string";
11
- import { toArray } from "@stryke/convert/to-array";
12
12
  import { isSetString } from "@stryke/type-checks/is-set-string";
13
13
  import { uuid } from "@stryke/unique-id/uuid";
14
14
  import { addPluginHook, createLogger, dedupeHooklist, isDuplicate, isPlugin, isPluginConfig, isPluginHook, isPluginHookField, mergeConfig, replacePathTokens, withCustomLogger, withLogger } from "@powerlines/core/plugin-utils";
15
15
  import { colorText } from "@powerlines/core/plugin-utils/logging";
16
+ import { appendPath } from "@stryke/path/append";
16
17
  import { isEqual } from "@stryke/path/is-equal";
17
18
  import { replaceExtension, replacePath } from "@stryke/path/replace";
18
19
  import chalk from "chalk";
@@ -23,7 +24,6 @@ import { format } from "@powerlines/core/lib/utilities/format";
23
24
  import { existsSync } from "@stryke/fs/exists";
24
25
  import { getUnique, getUniqueBy } from "@stryke/helpers/get-unique";
25
26
  import { omit } from "@stryke/helpers/omit";
26
- import { appendPath } from "@stryke/path/append";
27
27
  import { findFileDotExtensionSafe, findFileExtensionSafe, findFileName, findFilePath, hasFileExtension } from "@stryke/path/file-path-fns";
28
28
  import { isParentPath } from "@stryke/path/is-parent-path";
29
29
  import { isFunction } from "@stryke/type-checks/is-function";
@@ -2012,7 +2012,7 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
2012
2012
  */
2013
2013
  async innerSetup() {
2014
2014
  const logger = this.extendLogger({ category: "config" });
2015
- logger.debug(`Pre-setup Powerlines configuration object: \n${JSON.stringify({
2015
+ logger.trace(`Pre-setup Powerlines configuration object: \n${JSON.stringify({
2016
2016
  ...omit(this.config, ["plugins"]),
2017
2017
  userConfig: this.config.userConfig ? omit(this.config.userConfig, ["plugins"]) : {},
2018
2018
  inlineConfig: this.config.inlineConfig ? omit(this.config.inlineConfig, ["plugins"]) : {},
@@ -2044,8 +2044,7 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
2044
2044
  else this.config.logLevel = DEFAULT_PRODUCTION_LOG_LEVEL;
2045
2045
  if (!this.config.userConfig?.tsconfig && !this.config.inlineConfig?.tsconfig) this.config.tsconfig = getTsconfigFilePath(this.config.cwd, this.config.root);
2046
2046
  else if (this.config.tsconfig) this.config.tsconfig = replacePath(replacePathTokens(this, this.config.tsconfig), this.config.cwd);
2047
- this.resolvedConfig.output = defu(this.config.output ?? {}, {
2048
- path: joinPaths(this.config.root, "dist"),
2047
+ this.config.output = defu(this.config.output ?? {}, {
2049
2048
  copy: { assets: [
2050
2049
  { glob: "LICENSE" },
2051
2050
  {
@@ -2062,6 +2061,7 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
2062
2061
  });
2063
2062
  this.config.output.format = getUnique(toArray(this.config.output?.format ?? (this.config.projectType === "library" ? ["cjs", "esm"] : ["esm"])));
2064
2063
  if (this.config.output.path) this.config.output.path = appendPath(replacePathTokens(this, this.config.output.path), this.config.cwd);
2064
+ else this.config.output.path = appendPath(joinPaths(this.config.root, "dist"), this.config.cwd);
2065
2065
  if (this.config.output.copy !== false) {
2066
2066
  this.config.output.copy ??= {};
2067
2067
  if (!this.config.root.replace(/^\.\/?/, "")) this.config.output.copy.path = this.config.output.copy.path ? appendPath(replacePathTokens(this, this.config.output.copy.path), this.config.cwd) : this.config.output.path;
@@ -2089,7 +2089,7 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
2089
2089
  }));
2090
2090
  if (isSetString(this.config.output?.storage) && this.config.output.storage === "virtual" || isSetObject(this.config.output?.storage) && Object.values(this.config.output.storage).every((adapter) => adapter.preset === "virtual")) this.config.output.overwrite = true;
2091
2091
  this.#fs ??= await VirtualFileSystem.create(this);
2092
- logger.debug(`Post-setup Powerlines configuration object: \n${JSON.stringify({
2092
+ if (isSetObject(this.config.userConfig) && isSetObject(this.config.inlineConfig) && isSetObject(this.config.pluginConfig)) logger.debug(`Resolved Powerlines configuration object: \n${JSON.stringify({
2093
2093
  ...omit(this.config, ["plugins"]),
2094
2094
  userConfig: this.config.userConfig ? omit(this.config.userConfig, ["plugins"]) : {},
2095
2095
  inlineConfig: this.config.inlineConfig ? omit(this.config.inlineConfig, ["plugins"]) : {},
@@ -2683,4 +2683,4 @@ var PowerlinesExecutionContext = class PowerlinesExecutionContext extends Powerl
2683
2683
 
2684
2684
  //#endregion
2685
2685
  export { mergeConfigs as a, callHook as i, PowerlinesEnvironmentContext as n, PowerlinesContext as o, createPluginContext as r, writeMetaFile as s, PowerlinesExecutionContext as t };
2686
- //# sourceMappingURL=execution-context-F7RyGqff.mjs.map
2686
+ //# sourceMappingURL=execution-context-CFJst4Fz.mjs.map