@powerlines/engine 0.44.8 → 0.44.9
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 +1 -1
- package/dist/_internal/worker.mjs +1 -1
- 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-D-XTNs1z.cjs → execution-context-BVn7D0Ax.cjs} +1 -1
- package/dist/{execution-context-BLq0jnIo.mjs → execution-context-UJPngOZR.mjs} +2 -2
- package/dist/{execution-context-BLq0jnIo.mjs.map → execution-context-UJPngOZR.mjs.map} +1 -1
- package/dist/index.cjs +2 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
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-BVn7D0Ax.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-UJPngOZR.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-BVn7D0Ax.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-UJPngOZR.mjs";
|
|
4
4
|
|
|
5
5
|
export { PowerlinesBaseContext, PowerlinesContext, PowerlinesEngineContext, PowerlinesEnvironmentContext, PowerlinesExecutionContext, createPluginContext };
|
|
@@ -2021,7 +2021,6 @@ var PowerlinesContext = class PowerlinesContext extends require_base_context.Pow
|
|
|
2021
2021
|
glob: "package.json"
|
|
2022
2022
|
}
|
|
2023
2023
|
] },
|
|
2024
|
-
artifactsPath: `.${this.config.framework ?? "powerlines"}`,
|
|
2025
2024
|
dts: true
|
|
2026
2025
|
});
|
|
2027
2026
|
logger.trace(`Pre-setup Powerlines configuration object: \n${JSON.stringify({
|
|
@@ -2077,6 +2076,7 @@ var PowerlinesContext = class PowerlinesContext extends require_base_context.Pow
|
|
|
2077
2076
|
else this.config.output.sourceMap = false;
|
|
2078
2077
|
if (!this.config.userConfig?.output?.minify && !this.config.inlineConfig?.output?.minify) if (this.config.mode === "production") this.config.output.minify = true;
|
|
2079
2078
|
else this.config.output.minify = false;
|
|
2079
|
+
if (!this.config.userConfig?.output?.artifactsPath && !this.config.inlineConfig?.output?.artifactsPath && !this.config.pluginConfig?.output?.artifactsPath) this.config.output.artifactsPath = `.${this.config.framework || "powerlines"}`;
|
|
2080
2080
|
if (this.config.output.copy && this.config.output.copy.assets) this.config.output.copy.assets = this.config.output.copy.assets.map((asset) => ({
|
|
2081
2081
|
...asset,
|
|
2082
2082
|
glob: (0, _powerlines_core_plugin_utils.replacePathTokens)(this, asset.glob),
|
|
@@ -2017,7 +2017,6 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
|
|
|
2017
2017
|
glob: "package.json"
|
|
2018
2018
|
}
|
|
2019
2019
|
] },
|
|
2020
|
-
artifactsPath: `.${this.config.framework ?? "powerlines"}`,
|
|
2021
2020
|
dts: true
|
|
2022
2021
|
});
|
|
2023
2022
|
logger.trace(`Pre-setup Powerlines configuration object: \n${JSON.stringify({
|
|
@@ -2073,6 +2072,7 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
|
|
|
2073
2072
|
else this.config.output.sourceMap = false;
|
|
2074
2073
|
if (!this.config.userConfig?.output?.minify && !this.config.inlineConfig?.output?.minify) if (this.config.mode === "production") this.config.output.minify = true;
|
|
2075
2074
|
else this.config.output.minify = false;
|
|
2075
|
+
if (!this.config.userConfig?.output?.artifactsPath && !this.config.inlineConfig?.output?.artifactsPath && !this.config.pluginConfig?.output?.artifactsPath) this.config.output.artifactsPath = `.${this.config.framework || "powerlines"}`;
|
|
2076
2076
|
if (this.config.output.copy && this.config.output.copy.assets) this.config.output.copy.assets = this.config.output.copy.assets.map((asset) => ({
|
|
2077
2077
|
...asset,
|
|
2078
2078
|
glob: replacePathTokens(this, asset.glob),
|
|
@@ -2676,4 +2676,4 @@ var PowerlinesExecutionContext = class PowerlinesExecutionContext extends Powerl
|
|
|
2676
2676
|
|
|
2677
2677
|
//#endregion
|
|
2678
2678
|
export { mergeConfigs as a, callHook as i, PowerlinesEnvironmentContext as n, PowerlinesContext as o, createPluginContext as r, writeMetaFile as s, PowerlinesExecutionContext as t };
|
|
2679
|
-
//# sourceMappingURL=execution-context-
|
|
2679
|
+
//# sourceMappingURL=execution-context-UJPngOZR.mjs.map
|