@powerlines/engine 0.45.1 → 0.45.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.
- package/dist/_internal/worker.cjs +2 -0
- package/dist/_internal/worker.mjs +2 -0
- 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.d.cts.map +1 -1
- package/dist/context/index.d.mts.map +1 -1
- package/dist/context/index.mjs +1 -1
- package/dist/{execution-context-SXtPe9Ae.cjs → execution-context-BYGFYty0.cjs} +2 -0
- package/dist/{execution-context-O6eXdsCn.mjs → execution-context-Bkxp1fML.mjs} +3 -1
- package/dist/{execution-context-O6eXdsCn.mjs.map → execution-context-Bkxp1fML.mjs.map} +1 -1
- package/package.json +3 -3
|
@@ -3225,6 +3225,7 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
|
|
|
3225
3225
|
*/
|
|
3226
3226
|
async innerSetup() {
|
|
3227
3227
|
const logger = this.extendLogger({ category: "config" });
|
|
3228
|
+
this.config.plugins = (this.config.initialConfig.plugins ?? []).concat(this.config.userConfig.plugins ?? [], this.config.inlineConfig.plugins ?? []);
|
|
3228
3229
|
this.config.output = (0, defu.default)(this.config.output ?? {}, {
|
|
3229
3230
|
copy: { assets: [
|
|
3230
3231
|
{ glob: "LICENSE" },
|
|
@@ -3721,6 +3722,7 @@ var PowerlinesExecutionContext = class PowerlinesExecutionContext extends Powerl
|
|
|
3721
3722
|
const powerlinesPath = await (0, _stryke_fs_resolve.resolvePackage)("powerlines");
|
|
3722
3723
|
if (!powerlinesPath) throw new Error("Could not resolve `powerlines` package location.");
|
|
3723
3724
|
context.powerlinesPath = powerlinesPath;
|
|
3725
|
+
await context.setup();
|
|
3724
3726
|
return context;
|
|
3725
3727
|
}
|
|
3726
3728
|
/**
|
|
@@ -3192,6 +3192,7 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
|
|
|
3192
3192
|
*/
|
|
3193
3193
|
async innerSetup() {
|
|
3194
3194
|
const logger = this.extendLogger({ category: "config" });
|
|
3195
|
+
this.config.plugins = (this.config.initialConfig.plugins ?? []).concat(this.config.userConfig.plugins ?? [], this.config.inlineConfig.plugins ?? []);
|
|
3195
3196
|
this.config.output = defu(this.config.output ?? {}, {
|
|
3196
3197
|
copy: { assets: [
|
|
3197
3198
|
{ glob: "LICENSE" },
|
|
@@ -3688,6 +3689,7 @@ var PowerlinesExecutionContext = class PowerlinesExecutionContext extends Powerl
|
|
|
3688
3689
|
const powerlinesPath = await resolvePackage("powerlines");
|
|
3689
3690
|
if (!powerlinesPath) throw new Error("Could not resolve `powerlines` package location.");
|
|
3690
3691
|
context.powerlinesPath = powerlinesPath;
|
|
3692
|
+
await context.setup();
|
|
3691
3693
|
return context;
|
|
3692
3694
|
}
|
|
3693
3695
|
/**
|