@powerlines/engine 0.44.6 → 0.44.7
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/_internal/worker.cjs +2 -5
- package/dist/_internal/worker.mjs +2 -5
- package/dist/_internal/worker.mjs.map +1 -1
- package/dist/api.cjs +1 -1
- package/dist/api.mjs +1 -1
- package/dist/context/index.cjs +1 -1
- package/dist/context/index.mjs +1 -1
- package/dist/{execution-context-FJlgn1f3.mjs → execution-context-BLq0jnIo.mjs} +3 -6
- package/dist/execution-context-BLq0jnIo.mjs.map +1 -0
- package/dist/{execution-context-DMKQgUvW.cjs → execution-context-D-XTNs1z.cjs} +2 -5
- package/package.json +6 -6
- package/dist/execution-context-FJlgn1f3.mjs.map +0 -1
package/dist/api.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
3
|
+
const require_execution_context = require('./execution-context-D-XTNs1z.cjs');
|
|
4
4
|
const require_tsconfig = require('./tsconfig-QMSxSwBD.cjs');
|
|
5
5
|
const require_ts_morph = require('./ts-morph-BaLPVAdB.cjs');
|
|
6
6
|
let _stryke_convert_to_array = require("@stryke/convert/to-array");
|
package/dist/api.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as mergeConfigs, i as callHook, s as writeMetaFile, t as PowerlinesExecutionContext } from "./execution-context-
|
|
1
|
+
import { a as mergeConfigs, i as callHook, s as writeMetaFile, t as PowerlinesExecutionContext } from "./execution-context-BLq0jnIo.mjs";
|
|
2
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
4
|
import { toArray } from "@stryke/convert/to-array";
|
package/dist/context/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_base_context = require('../base-context-CAA1druQ.cjs');
|
|
3
3
|
const require_engine_context = require('../engine-context-CUPubmrM.cjs');
|
|
4
|
-
const require_execution_context = require('../execution-context-
|
|
4
|
+
const require_execution_context = require('../execution-context-D-XTNs1z.cjs');
|
|
5
5
|
|
|
6
6
|
exports.PowerlinesBaseContext = require_base_context.PowerlinesBaseContext;
|
|
7
7
|
exports.PowerlinesContext = require_execution_context.PowerlinesContext;
|
package/dist/context/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as PowerlinesBaseContext } from "../base-context-fOM4ZWUo.mjs";
|
|
2
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-
|
|
3
|
+
import { n as PowerlinesEnvironmentContext, o as PowerlinesContext, r as createPluginContext, t as PowerlinesExecutionContext } from "../execution-context-BLq0jnIo.mjs";
|
|
4
4
|
|
|
5
5
|
export { PowerlinesBaseContext, PowerlinesContext, PowerlinesEngineContext, PowerlinesEnvironmentContext, PowerlinesExecutionContext, createPluginContext };
|
|
@@ -668,10 +668,7 @@ var VirtualFileSystem = class VirtualFileSystem {
|
|
|
668
668
|
return ret;
|
|
669
669
|
}, {});
|
|
670
670
|
}
|
|
671
|
-
this.#logger = context.extendLogger({
|
|
672
|
-
source: "VFS",
|
|
673
|
-
category: "fs"
|
|
674
|
-
});
|
|
671
|
+
this.#logger = context.extendLogger({ category: "fs" });
|
|
675
672
|
}
|
|
676
673
|
/**
|
|
677
674
|
* Asynchronously checks if a file exists in the virtual file system (VFS).
|
|
@@ -2140,7 +2137,7 @@ function mergeConfigs(currentResult, previousResults) {
|
|
|
2140
2137
|
async function callHook(context, key, options, ...args) {
|
|
2141
2138
|
const hooks = context.selectHooks(key, options);
|
|
2142
2139
|
if (hooks.length > 0) {
|
|
2143
|
-
context.extendLogger({ category: "hooks" }).debug(
|
|
2140
|
+
context.extendLogger({ category: "hooks" }).debug(`🧩 Calling ${hooks.length} ${chalk.bold.cyanBright(`${key}${options?.order ? ` (${options.order})` : ""}`)} plugin hook${hooks.length > 1 ? "s" : ""}:\n${hooks.map((hook, index) => ` ${index + 1}. ${colorText(hook.plugin.name)}`).join("\n")}`);
|
|
2144
2141
|
const invokeHook = async (hook, hookArgs) => {
|
|
2145
2142
|
return Reflect.apply(hook.handler, hook.context, hookArgs);
|
|
2146
2143
|
};
|
|
@@ -2679,4 +2676,4 @@ var PowerlinesExecutionContext = class PowerlinesExecutionContext extends Powerl
|
|
|
2679
2676
|
|
|
2680
2677
|
//#endregion
|
|
2681
2678
|
export { mergeConfigs as a, callHook as i, PowerlinesEnvironmentContext as n, PowerlinesContext as o, createPluginContext as r, writeMetaFile as s, PowerlinesExecutionContext as t };
|
|
2682
|
-
//# sourceMappingURL=execution-context-
|
|
2679
|
+
//# sourceMappingURL=execution-context-BLq0jnIo.mjs.map
|