powerlines 0.43.31 → 0.44.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/package.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  //#region package.json
3
3
  var name = "powerlines";
4
- var version = "0.43.31";
4
+ var version = "0.44.1";
5
5
 
6
6
  //#endregion
7
7
  Object.defineProperty(exports, 'name', {
package/dist/package.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  //#region package.json
2
2
  var name = "powerlines";
3
- var version = "0.43.31";
3
+ var version = "0.44.1";
4
4
 
5
5
  //#endregion
6
6
  export { name, version };
package/dist/unplugin.cjs CHANGED
@@ -2,9 +2,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_runtime = require('./_virtual/_rolldown/runtime.cjs');
3
3
  require('./api.cjs');
4
4
  let unplugin = require("unplugin");
5
- let _powerlines_core_lib_logger = require("@powerlines/core/lib/logger");
6
5
  let _powerlines_core_lib_utilities_source_file = require("@powerlines/core/lib/utilities/source-file");
7
- let _storm_software_config_tools_types = require("@storm-software/config-tools/types");
6
+ let _powerlines_core_plugin_utils_logging = require("@powerlines/core/plugin-utils/logging");
8
7
  let _stryke_fs_get_workspace_root = require("@stryke/fs/get-workspace-root");
9
8
  let _powerlines_engine_api = require("@powerlines/engine/api");
10
9
 
@@ -18,8 +17,8 @@ let _powerlines_engine_api = require("@powerlines/engine/api");
18
17
  */
19
18
  function createUnpluginFactory(variant, decorate) {
20
19
  return (config, meta) => {
21
- const log = (0, _powerlines_core_lib_logger.createLog)("unplugin", config);
22
- log(_storm_software_config_tools_types.LogLevelLabel.DEBUG, "Initializing Unplugin");
20
+ let logger = (0, _powerlines_core_plugin_utils_logging.createLogger)(config.name || "powerlines", { source: "unplugin" });
21
+ logger.debug("Initializing Unplugin");
23
22
  try {
24
23
  const userConfig = {
25
24
  ...config,
@@ -28,7 +27,6 @@ function createUnpluginFactory(variant, decorate) {
28
27
  };
29
28
  let api;
30
29
  async function buildStart() {
31
- log(_storm_software_config_tools_types.LogLevelLabel.DEBUG, "Powerlines build plugin starting...");
32
30
  api = await _powerlines_engine_api.PowerlinesAPI.fromOptions({
33
31
  cwd: (0, _stryke_fs_get_workspace_root.getWorkspaceRoot)(process.cwd()),
34
32
  root: userConfig.root,
@@ -37,9 +35,11 @@ function createUnpluginFactory(variant, decorate) {
37
35
  command: "build",
38
36
  ...userConfig
39
37
  });
38
+ logger = api.context.extendLogger({ source: "unplugin" });
39
+ logger.debug("Powerlines build plugin starting...");
40
40
  await api.context.setup();
41
41
  (0, unplugin.setParseImpl)(api.context.parse);
42
- log(_storm_software_config_tools_types.LogLevelLabel.DEBUG, "Preparing build artifacts for the Powerlines project...");
42
+ logger.debug("Preparing build artifacts for the Powerlines project...");
43
43
  await api.prepare({ command: "build" });
44
44
  }
45
45
  async function resolveId(id, importer, options = { isEntry: false }) {
@@ -72,7 +72,7 @@ function createUnpluginFactory(variant, decorate) {
72
72
  }, (0, _powerlines_core_lib_utilities_source_file.getString)(code), id);
73
73
  }
74
74
  async function writeBundle() {
75
- log(_storm_software_config_tools_types.LogLevelLabel.DEBUG, "Finalizing Powerlines project output...");
75
+ logger.debug("Finalizing Powerlines project output...");
76
76
  await api.callHook("writeBundle", { environment: await api.context.getEnvironment() });
77
77
  }
78
78
  const options = {
@@ -85,13 +85,13 @@ function createUnpluginFactory(variant, decorate) {
85
85
  writeBundle
86
86
  };
87
87
  const result = decorate ? decorate(api, options) : options;
88
- log(_storm_software_config_tools_types.LogLevelLabel.DEBUG, "Unplugin initialized successfully.");
88
+ logger.debug("Unplugin initialized successfully.");
89
89
  return {
90
90
  api,
91
91
  ...result
92
92
  };
93
93
  } catch (error) {
94
- log(_storm_software_config_tools_types.LogLevelLabel.FATAL, error?.message);
94
+ logger.error(error?.message);
95
95
  throw error;
96
96
  }
97
97
  };
@@ -1 +1 @@
1
- {"version":3,"file":"unplugin.d.cts","names":[],"sources":["../src/unplugin.ts"],"mappings":";;;;;;;;;AA+CA;;;;iBAAgB,qBAAA,kBACG,OAAA,kCACe,sBAAA,GAC9B,sBAAA,CAAA,CAEF,OAAA,EAAS,uBAAA,EACT,QAAA,IACE,GAAA,EAAK,aAAA,CAAc,QAAA,aACnB,MAAA,EAAQ,eAAA,CAAgB,QAAA,MACrB,iBAAA,GACJ,eAAA,CAAgB,QAAA"}
1
+ {"version":3,"file":"unplugin.d.cts","names":[],"sources":["../src/unplugin.ts"],"mappings":";;;;;;;;;AA8CA;;;;iBAAgB,qBAAA,kBACG,OAAA,kCACe,sBAAA,GAC9B,sBAAA,CAAA,CAEF,OAAA,EAAS,uBAAA,EACT,QAAA,IACE,GAAA,EAAK,aAAA,CAAc,QAAA,aACnB,MAAA,EAAQ,eAAA,CAAgB,QAAA,MACrB,iBAAA,GACJ,eAAA,CAAgB,QAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"unplugin.d.mts","names":[],"sources":["../src/unplugin.ts"],"mappings":";;;;;;;;;AA+CA;;;;iBAAgB,qBAAA,kBACG,OAAA,kCACe,sBAAA,GAC9B,sBAAA,CAAA,CAEF,OAAA,EAAS,uBAAA,EACT,QAAA,IACE,GAAA,EAAK,aAAA,CAAc,QAAA,aACnB,MAAA,EAAQ,iBAAA,CAAgB,QAAA,MACrB,eAAA,GACJ,eAAA,CAAgB,QAAA"}
1
+ {"version":3,"file":"unplugin.d.mts","names":[],"sources":["../src/unplugin.ts"],"mappings":";;;;;;;;;AA8CA;;;;iBAAgB,qBAAA,kBACG,OAAA,kCACe,sBAAA,GAC9B,sBAAA,CAAA,CAEF,OAAA,EAAS,uBAAA,EACT,QAAA,IACE,GAAA,EAAK,aAAA,CAAc,QAAA,aACnB,MAAA,EAAQ,iBAAA,CAAgB,QAAA,MACrB,eAAA,GACJ,eAAA,CAAgB,QAAA"}
package/dist/unplugin.mjs CHANGED
@@ -1,8 +1,7 @@
1
1
  import { PowerlinesAPI } from "./api.mjs";
2
2
  import { setParseImpl } from "unplugin";
3
- import { createLog } from "@powerlines/core/lib/logger";
4
3
  import { getString } from "@powerlines/core/lib/utilities/source-file";
5
- import { LogLevelLabel } from "@storm-software/config-tools/types";
4
+ import { createLogger } from "@powerlines/core/plugin-utils/logging";
6
5
  import { getWorkspaceRoot } from "@stryke/fs/get-workspace-root";
7
6
 
8
7
  export * from "@powerlines/core/lib/unplugin"
@@ -17,8 +16,8 @@ export * from "@powerlines/core/lib/unplugin"
17
16
  */
18
17
  function createUnpluginFactory(variant, decorate) {
19
18
  return (config, meta) => {
20
- const log = createLog("unplugin", config);
21
- log(LogLevelLabel.DEBUG, "Initializing Unplugin");
19
+ let logger = createLogger(config.name || "powerlines", { source: "unplugin" });
20
+ logger.debug("Initializing Unplugin");
22
21
  try {
23
22
  const userConfig = {
24
23
  ...config,
@@ -27,7 +26,6 @@ function createUnpluginFactory(variant, decorate) {
27
26
  };
28
27
  let api;
29
28
  async function buildStart() {
30
- log(LogLevelLabel.DEBUG, "Powerlines build plugin starting...");
31
29
  api = await PowerlinesAPI.fromOptions({
32
30
  cwd: getWorkspaceRoot(process.cwd()),
33
31
  root: userConfig.root,
@@ -36,9 +34,11 @@ function createUnpluginFactory(variant, decorate) {
36
34
  command: "build",
37
35
  ...userConfig
38
36
  });
37
+ logger = api.context.extendLogger({ source: "unplugin" });
38
+ logger.debug("Powerlines build plugin starting...");
39
39
  await api.context.setup();
40
40
  setParseImpl(api.context.parse);
41
- log(LogLevelLabel.DEBUG, "Preparing build artifacts for the Powerlines project...");
41
+ logger.debug("Preparing build artifacts for the Powerlines project...");
42
42
  await api.prepare({ command: "build" });
43
43
  }
44
44
  async function resolveId(id, importer, options = { isEntry: false }) {
@@ -71,7 +71,7 @@ function createUnpluginFactory(variant, decorate) {
71
71
  }, getString(code), id);
72
72
  }
73
73
  async function writeBundle() {
74
- log(LogLevelLabel.DEBUG, "Finalizing Powerlines project output...");
74
+ logger.debug("Finalizing Powerlines project output...");
75
75
  await api.callHook("writeBundle", { environment: await api.context.getEnvironment() });
76
76
  }
77
77
  const options = {
@@ -84,13 +84,13 @@ function createUnpluginFactory(variant, decorate) {
84
84
  writeBundle
85
85
  };
86
86
  const result = decorate ? decorate(api, options) : options;
87
- log(LogLevelLabel.DEBUG, "Unplugin initialized successfully.");
87
+ logger.debug("Unplugin initialized successfully.");
88
88
  return {
89
89
  api,
90
90
  ...result
91
91
  };
92
92
  } catch (error) {
93
- log(LogLevelLabel.FATAL, error?.message);
93
+ logger.error(error?.message);
94
94
  throw error;
95
95
  }
96
96
  };
@@ -1 +1 @@
1
- {"version":3,"file":"unplugin.mjs","names":[],"sources":["../src/unplugin.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 Context,\n UnpluginBuilderVariant,\n UnpluginFactory,\n UnpluginOptions\n} from \"@powerlines/core\";\nimport { createLog } from \"@powerlines/core/lib/logger\";\nimport { getString } from \"@powerlines/core/lib/utilities/source-file\";\nimport { LogLevelLabel } from \"@storm-software/config-tools/types\";\nimport { getWorkspaceRoot } from \"@stryke/fs/get-workspace-root\";\nimport { LoadResult } from \"rolldown\";\nimport type {\n UnpluginOptions as BaseUnpluginOptions,\n TransformResult,\n UnpluginBuildContext,\n UnpluginContext\n} from \"unplugin\";\nimport { setParseImpl } from \"unplugin\";\nimport { PowerlinesAPI } from \"./api\";\n\nexport * from \"@powerlines/core/lib/unplugin\";\n\n/**\n * Creates a Powerlines unplugin factory that generates a plugin instance.\n *\n * @param variant - The build variant for which to create the unplugin.\n * @param decorate - An optional function to decorate the unplugin options.\n * @returns The unplugin factory that generates a plugin instance.\n */\nexport function createUnpluginFactory<\n TContext extends Context,\n TUnpluginBuilderVariant extends UnpluginBuilderVariant =\n UnpluginBuilderVariant\n>(\n variant: TUnpluginBuilderVariant,\n decorate?: (\n api: PowerlinesAPI<TContext[\"config\"]>,\n plugin: UnpluginOptions<TContext>\n ) => BaseUnpluginOptions\n): UnpluginFactory<TContext> {\n return (config, meta): UnpluginOptions<TContext> => {\n const log = createLog(\"unplugin\", config);\n log(LogLevelLabel.DEBUG, \"Initializing Unplugin\");\n\n try {\n const userConfig = {\n ...config,\n variant,\n unplugin: meta\n } as TContext[\"config\"][\"userConfig\"];\n\n let api!: PowerlinesAPI<TContext[\"config\"]>;\n\n async function buildStart(this: UnpluginBuildContext): Promise<void> {\n log(LogLevelLabel.DEBUG, \"Powerlines build plugin starting...\");\n\n api = await PowerlinesAPI.fromOptions(\n {\n cwd: getWorkspaceRoot(process.cwd()),\n root: userConfig.root,\n mode: userConfig.mode\n },\n { command: \"build\", ...userConfig }\n );\n\n await api.context.setup();\n\n setParseImpl(api.context.parse);\n\n log(\n LogLevelLabel.DEBUG,\n \"Preparing build artifacts for the Powerlines project...\"\n );\n\n await api.prepare({\n command: \"build\"\n });\n }\n\n async function resolveId(\n this: UnpluginBuildContext & UnpluginContext,\n id: string,\n importer?: string,\n options: {\n isEntry: boolean;\n } = { isEntry: false }\n ) {\n return api.context.resolve(id, importer, options);\n }\n\n async function load(\n this: UnpluginBuildContext & UnpluginContext,\n id: string\n ): Promise<LoadResult> {\n const environment = await api.context.getEnvironment();\n\n let result = await api.callHook(\n \"load\",\n { environment, order: \"pre\" },\n id\n );\n if (result) {\n return result;\n }\n\n result = await api.callHook(\n \"load\",\n { environment, order: \"normal\" },\n id\n );\n if (result) {\n return result;\n }\n\n result = await environment.load(id);\n if (result) {\n return result;\n }\n\n return api.callHook(\"load\", { environment, order: \"post\" }, id);\n }\n\n async function transform(\n code: string,\n id: string\n ): Promise<TransformResult> {\n return api.callHook(\n \"transform\",\n {\n environment: await api.context.getEnvironment(),\n result: \"merge\",\n asNextParam: previousResult => getString(previousResult)\n },\n getString(code),\n id\n );\n }\n\n async function writeBundle(): Promise<void> {\n log(LogLevelLabel.DEBUG, \"Finalizing Powerlines project output...\");\n\n await api.callHook(\"writeBundle\", {\n environment: await api.context.getEnvironment()\n });\n }\n\n const options = {\n name: \"powerlines\",\n api,\n resolveId,\n load,\n transform,\n buildStart,\n writeBundle\n } as UnpluginOptions<TContext>;\n\n const result = decorate ? decorate(api, options) : options;\n\n log(LogLevelLabel.DEBUG, \"Unplugin initialized successfully.\");\n\n return { api, ...result };\n } catch (error) {\n log(LogLevelLabel.FATAL, (error as Error)?.message);\n\n throw error;\n }\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AA+CA,SAAgB,sBAKd,SACA,UAI2B;AAC3B,SAAQ,QAAQ,SAAoC;EAClD,MAAM,MAAM,UAAU,YAAY,OAAO;AACzC,MAAI,cAAc,OAAO,wBAAwB;AAEjD,MAAI;GACF,MAAM,aAAa;IACjB,GAAG;IACH;IACA,UAAU;IACX;GAED,IAAI;GAEJ,eAAe,aAAsD;AACnE,QAAI,cAAc,OAAO,sCAAsC;AAE/D,UAAM,MAAM,cAAc,YACxB;KACE,KAAK,iBAAiB,QAAQ,KAAK,CAAC;KACpC,MAAM,WAAW;KACjB,MAAM,WAAW;KAClB,EACD;KAAE,SAAS;KAAS,GAAG;KAAY,CACpC;AAED,UAAM,IAAI,QAAQ,OAAO;AAEzB,iBAAa,IAAI,QAAQ,MAAM;AAE/B,QACE,cAAc,OACd,0DACD;AAED,UAAM,IAAI,QAAQ,EAChB,SAAS,SACV,CAAC;;GAGJ,eAAe,UAEb,IACA,UACA,UAEI,EAAE,SAAS,OAAO,EACtB;AACA,WAAO,IAAI,QAAQ,QAAQ,IAAI,UAAU,QAAQ;;GAGnD,eAAe,KAEb,IACqB;IACrB,MAAM,cAAc,MAAM,IAAI,QAAQ,gBAAgB;IAEtD,IAAI,SAAS,MAAM,IAAI,SACrB,QACA;KAAE;KAAa,OAAO;KAAO,EAC7B,GACD;AACD,QAAI,OACF,QAAO;AAGT,aAAS,MAAM,IAAI,SACjB,QACA;KAAE;KAAa,OAAO;KAAU,EAChC,GACD;AACD,QAAI,OACF,QAAO;AAGT,aAAS,MAAM,YAAY,KAAK,GAAG;AACnC,QAAI,OACF,QAAO;AAGT,WAAO,IAAI,SAAS,QAAQ;KAAE;KAAa,OAAO;KAAQ,EAAE,GAAG;;GAGjE,eAAe,UACb,MACA,IAC0B;AAC1B,WAAO,IAAI,SACT,aACA;KACE,aAAa,MAAM,IAAI,QAAQ,gBAAgB;KAC/C,QAAQ;KACR,cAAa,mBAAkB,UAAU,eAAe;KACzD,EACD,UAAU,KAAK,EACf,GACD;;GAGH,eAAe,cAA6B;AAC1C,QAAI,cAAc,OAAO,0CAA0C;AAEnE,UAAM,IAAI,SAAS,eAAe,EAChC,aAAa,MAAM,IAAI,QAAQ,gBAAgB,EAChD,CAAC;;GAGJ,MAAM,UAAU;IACd,MAAM;IACN;IACA;IACA;IACA;IACA;IACA;IACD;GAED,MAAM,SAAS,WAAW,SAAS,KAAK,QAAQ,GAAG;AAEnD,OAAI,cAAc,OAAO,qCAAqC;AAE9D,UAAO;IAAE;IAAK,GAAG;IAAQ;WAClB,OAAO;AACd,OAAI,cAAc,OAAQ,OAAiB,QAAQ;AAEnD,SAAM"}
1
+ {"version":3,"file":"unplugin.mjs","names":[],"sources":["../src/unplugin.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 Context,\n UnpluginBuilderVariant,\n UnpluginFactory,\n UnpluginOptions\n} from \"@powerlines/core\";\nimport { getString } from \"@powerlines/core/lib/utilities/source-file\";\nimport { createLogger } from \"@powerlines/core/plugin-utils/logging\";\nimport { getWorkspaceRoot } from \"@stryke/fs/get-workspace-root\";\nimport { LoadResult } from \"rolldown\";\nimport type {\n UnpluginOptions as BaseUnpluginOptions,\n TransformResult,\n UnpluginBuildContext,\n UnpluginContext\n} from \"unplugin\";\nimport { setParseImpl } from \"unplugin\";\nimport { PowerlinesAPI } from \"./api\";\n\nexport * from \"@powerlines/core/lib/unplugin\";\n\n/**\n * Creates a Powerlines unplugin factory that generates a plugin instance.\n *\n * @param variant - The build variant for which to create the unplugin.\n * @param decorate - An optional function to decorate the unplugin options.\n * @returns The unplugin factory that generates a plugin instance.\n */\nexport function createUnpluginFactory<\n TContext extends Context,\n TUnpluginBuilderVariant extends UnpluginBuilderVariant =\n UnpluginBuilderVariant\n>(\n variant: TUnpluginBuilderVariant,\n decorate?: (\n api: PowerlinesAPI<TContext[\"config\"]>,\n plugin: UnpluginOptions<TContext>\n ) => BaseUnpluginOptions\n): UnpluginFactory<TContext> {\n return (config, meta): UnpluginOptions<TContext> => {\n let logger = createLogger(config.name || \"powerlines\", {\n source: \"unplugin\"\n });\n logger.debug(\"Initializing Unplugin\");\n\n try {\n const userConfig = {\n ...config,\n variant,\n unplugin: meta\n } as TContext[\"config\"][\"userConfig\"];\n\n let api!: PowerlinesAPI<TContext[\"config\"]>;\n\n async function buildStart(this: UnpluginBuildContext): Promise<void> {\n api = await PowerlinesAPI.fromOptions(\n {\n cwd: getWorkspaceRoot(process.cwd()),\n root: userConfig.root,\n mode: userConfig.mode\n },\n { command: \"build\", ...userConfig }\n );\n\n logger = api.context.extendLogger({ source: \"unplugin\" });\n logger.debug(\"Powerlines build plugin starting...\");\n\n await api.context.setup();\n\n setParseImpl(api.context.parse);\n\n logger.debug(\"Preparing build artifacts for the Powerlines project...\");\n\n await api.prepare({\n command: \"build\"\n });\n }\n\n async function resolveId(\n this: UnpluginBuildContext & UnpluginContext,\n id: string,\n importer?: string,\n options: {\n isEntry: boolean;\n } = { isEntry: false }\n ) {\n return api.context.resolve(id, importer, options);\n }\n\n async function load(\n this: UnpluginBuildContext & UnpluginContext,\n id: string\n ): Promise<LoadResult> {\n const environment = await api.context.getEnvironment();\n\n let result = await api.callHook(\n \"load\",\n { environment, order: \"pre\" },\n id\n );\n if (result) {\n return result;\n }\n\n result = await api.callHook(\n \"load\",\n { environment, order: \"normal\" },\n id\n );\n if (result) {\n return result;\n }\n\n result = await environment.load(id);\n if (result) {\n return result;\n }\n\n return api.callHook(\"load\", { environment, order: \"post\" }, id);\n }\n\n async function transform(\n code: string,\n id: string\n ): Promise<TransformResult> {\n return api.callHook(\n \"transform\",\n {\n environment: await api.context.getEnvironment(),\n result: \"merge\",\n asNextParam: previousResult => getString(previousResult)\n },\n getString(code),\n id\n );\n }\n\n async function writeBundle(): Promise<void> {\n logger.debug(\"Finalizing Powerlines project output...\");\n\n await api.callHook(\"writeBundle\", {\n environment: await api.context.getEnvironment()\n });\n }\n\n const options = {\n name: \"powerlines\",\n api,\n resolveId,\n load,\n transform,\n buildStart,\n writeBundle\n } as UnpluginOptions<TContext>;\n\n const result = decorate ? decorate(api, options) : options;\n\n logger.debug(\"Unplugin initialized successfully.\");\n\n return { api, ...result };\n } catch (error) {\n logger.error((error as Error)?.message);\n\n throw error;\n }\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;AA8CA,SAAgB,sBAKd,SACA,UAI2B;AAC3B,SAAQ,QAAQ,SAAoC;EAClD,IAAI,SAAS,aAAa,OAAO,QAAQ,cAAc,EACrD,QAAQ,YACT,CAAC;AACF,SAAO,MAAM,wBAAwB;AAErC,MAAI;GACF,MAAM,aAAa;IACjB,GAAG;IACH;IACA,UAAU;IACX;GAED,IAAI;GAEJ,eAAe,aAAsD;AACnE,UAAM,MAAM,cAAc,YACxB;KACE,KAAK,iBAAiB,QAAQ,KAAK,CAAC;KACpC,MAAM,WAAW;KACjB,MAAM,WAAW;KAClB,EACD;KAAE,SAAS;KAAS,GAAG;KAAY,CACpC;AAED,aAAS,IAAI,QAAQ,aAAa,EAAE,QAAQ,YAAY,CAAC;AACzD,WAAO,MAAM,sCAAsC;AAEnD,UAAM,IAAI,QAAQ,OAAO;AAEzB,iBAAa,IAAI,QAAQ,MAAM;AAE/B,WAAO,MAAM,0DAA0D;AAEvE,UAAM,IAAI,QAAQ,EAChB,SAAS,SACV,CAAC;;GAGJ,eAAe,UAEb,IACA,UACA,UAEI,EAAE,SAAS,OAAO,EACtB;AACA,WAAO,IAAI,QAAQ,QAAQ,IAAI,UAAU,QAAQ;;GAGnD,eAAe,KAEb,IACqB;IACrB,MAAM,cAAc,MAAM,IAAI,QAAQ,gBAAgB;IAEtD,IAAI,SAAS,MAAM,IAAI,SACrB,QACA;KAAE;KAAa,OAAO;KAAO,EAC7B,GACD;AACD,QAAI,OACF,QAAO;AAGT,aAAS,MAAM,IAAI,SACjB,QACA;KAAE;KAAa,OAAO;KAAU,EAChC,GACD;AACD,QAAI,OACF,QAAO;AAGT,aAAS,MAAM,YAAY,KAAK,GAAG;AACnC,QAAI,OACF,QAAO;AAGT,WAAO,IAAI,SAAS,QAAQ;KAAE;KAAa,OAAO;KAAQ,EAAE,GAAG;;GAGjE,eAAe,UACb,MACA,IAC0B;AAC1B,WAAO,IAAI,SACT,aACA;KACE,aAAa,MAAM,IAAI,QAAQ,gBAAgB;KAC/C,QAAQ;KACR,cAAa,mBAAkB,UAAU,eAAe;KACzD,EACD,UAAU,KAAK,EACf,GACD;;GAGH,eAAe,cAA6B;AAC1C,WAAO,MAAM,0CAA0C;AAEvD,UAAM,IAAI,SAAS,eAAe,EAChC,aAAa,MAAM,IAAI,QAAQ,gBAAgB,EAChD,CAAC;;GAGJ,MAAM,UAAU;IACd,MAAM;IACN;IACA;IACA;IACA;IACA;IACA;IACD;GAED,MAAM,SAAS,WAAW,SAAS,KAAK,QAAQ,GAAG;AAEnD,UAAO,MAAM,qCAAqC;AAElD,UAAO;IAAE;IAAK,GAAG;IAAQ;WAClB,OAAO;AACd,UAAO,MAAO,OAAiB,QAAQ;AAEvC,SAAM"}
package/dist/utils.cjs CHANGED
@@ -8,18 +8,18 @@ Object.keys(_powerlines_core_lib_entry).forEach(function (k) {
8
8
  });
9
9
  });
10
10
 
11
- var _powerlines_core_lib_logger = require("@powerlines/core/lib/logger");
12
- Object.keys(_powerlines_core_lib_logger).forEach(function (k) {
11
+ var _powerlines_core_lib_utilities = require("@powerlines/core/lib/utilities");
12
+ Object.keys(_powerlines_core_lib_utilities).forEach(function (k) {
13
13
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
14
14
  enumerable: true,
15
- get: function () { return _powerlines_core_lib_logger[k]; }
15
+ get: function () { return _powerlines_core_lib_utilities[k]; }
16
16
  });
17
17
  });
18
18
 
19
- var _powerlines_core_lib_utilities = require("@powerlines/core/lib/utilities");
20
- Object.keys(_powerlines_core_lib_utilities).forEach(function (k) {
19
+ var _powerlines_core_plugin_utils_logging = require("@powerlines/core/plugin-utils/logging");
20
+ Object.keys(_powerlines_core_plugin_utils_logging).forEach(function (k) {
21
21
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
22
22
  enumerable: true,
23
- get: function () { return _powerlines_core_lib_utilities[k]; }
23
+ get: function () { return _powerlines_core_plugin_utils_logging[k]; }
24
24
  });
25
25
  });
package/dist/utils.d.cts CHANGED
@@ -1,3 +1,3 @@
1
1
  export * from "@powerlines/core/lib/entry";
2
- export * from "@powerlines/core/lib/logger";
3
- export * from "@powerlines/core/lib/utilities";
2
+ export * from "@powerlines/core/lib/utilities";
3
+ export * from "@powerlines/core/plugin-utils/logging";
package/dist/utils.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- export * from "@powerlines/core/lib/logger";
1
+ export * from "@powerlines/core/plugin-utils/logging";
2
2
  export * from "@powerlines/core/lib/entry";
3
3
  export * from "@powerlines/core/lib/utilities";
package/dist/utils.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export * from "@powerlines/core/lib/logger"
1
+ export * from "@powerlines/core/plugin-utils/logging"
2
2
 
3
3
  export * from "@powerlines/core/lib/entry"
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "powerlines",
3
- "version": "0.43.31",
3
+ "version": "0.44.1",
4
4
  "private": false,
5
5
  "description": "The \"framework framework\" that simplifies modern dev tool usage, generates virtual (or actual) code modules, and improves DX across the board.",
6
6
  "keywords": [
@@ -373,8 +373,8 @@
373
373
  "files": ["dist/**/*", "files/**/*", "schemas/**/*"],
374
374
  "dependencies": {
375
375
  "@babel/types": "8.0.0-rc.3",
376
- "@powerlines/core": "^0.43.31",
377
- "@powerlines/engine": "^0.43.31",
376
+ "@powerlines/core": "^0.44.1",
377
+ "@powerlines/engine": "^0.44.1",
378
378
  "@storm-software/config": "^1.137.32",
379
379
  "@storm-software/config-tools": "^1.189.78",
380
380
  "@stryke/fs": "^0.33.69",
@@ -441,5 +441,5 @@
441
441
  },
442
442
  "publishConfig": { "access": "public" },
443
443
  "bin": { "powerlines": "./bin/bin.mjs" },
444
- "gitHead": "abf752430f7af954a70fd6c9805e50eba2fa666b"
444
+ "gitHead": "e246dfd00453dc44868dac37f1b6cefb369c6e48"
445
445
  }