@powerlines/engine 0.44.2 → 0.44.4
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 +15 -15
- package/dist/_internal/worker.mjs +15 -15
- 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-CFJst4Fz.mjs → execution-context-2BaxsoMK.mjs} +16 -16
- package/dist/{execution-context-CFJst4Fz.mjs.map → execution-context-2BaxsoMK.mjs.map} +1 -1
- package/dist/{execution-context-BoJhCK0d.cjs → execution-context-DYfAOOP2.cjs} +15 -15
- package/package.json +3 -3
|
@@ -3161,6 +3161,21 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
|
|
|
3161
3161
|
*/
|
|
3162
3162
|
async innerSetup() {
|
|
3163
3163
|
const logger = this.extendLogger({ category: "config" });
|
|
3164
|
+
this.config.output = (0, defu.default)(this.config.output ?? {}, {
|
|
3165
|
+
copy: { assets: [
|
|
3166
|
+
{ glob: "LICENSE" },
|
|
3167
|
+
{
|
|
3168
|
+
input: this.config.root,
|
|
3169
|
+
glob: "*.md"
|
|
3170
|
+
},
|
|
3171
|
+
{
|
|
3172
|
+
input: this.config.root,
|
|
3173
|
+
glob: "package.json"
|
|
3174
|
+
}
|
|
3175
|
+
] },
|
|
3176
|
+
artifactsPath: `.${this.config.framework ?? "powerlines"}`,
|
|
3177
|
+
dts: true
|
|
3178
|
+
});
|
|
3164
3179
|
logger.trace(`Pre-setup Powerlines configuration object: \n${JSON.stringify({
|
|
3165
3180
|
...(0, _stryke_helpers_omit.omit)(this.config, ["plugins"]),
|
|
3166
3181
|
userConfig: this.config.userConfig ? (0, _stryke_helpers_omit.omit)(this.config.userConfig, ["plugins"]) : {},
|
|
@@ -3193,21 +3208,6 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
|
|
|
3193
3208
|
else this.config.logLevel = _powerlines_core_constants.DEFAULT_PRODUCTION_LOG_LEVEL;
|
|
3194
3209
|
if (!this.config.userConfig?.tsconfig && !this.config.inlineConfig?.tsconfig) this.config.tsconfig = getTsconfigFilePath(this.config.cwd, this.config.root);
|
|
3195
3210
|
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);
|
|
3196
|
-
this.config.output = (0, defu.default)(this.config.output ?? {}, {
|
|
3197
|
-
copy: { assets: [
|
|
3198
|
-
{ glob: "LICENSE" },
|
|
3199
|
-
{
|
|
3200
|
-
input: this.config.root,
|
|
3201
|
-
glob: "*.md"
|
|
3202
|
-
},
|
|
3203
|
-
{
|
|
3204
|
-
input: this.config.root,
|
|
3205
|
-
glob: "package.json"
|
|
3206
|
-
}
|
|
3207
|
-
] },
|
|
3208
|
-
artifactsPath: `.${this.config.framework ?? "powerlines"}`,
|
|
3209
|
-
dts: true
|
|
3210
|
-
});
|
|
3211
3211
|
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"])));
|
|
3212
3212
|
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);
|
|
3213
3213
|
else this.config.output.path = (0, _stryke_path_append.appendPath)((0, _stryke_path_join.joinPaths)(this.config.root, "dist"), this.config.cwd);
|
|
@@ -3128,6 +3128,21 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
|
|
|
3128
3128
|
*/
|
|
3129
3129
|
async innerSetup() {
|
|
3130
3130
|
const logger = this.extendLogger({ category: "config" });
|
|
3131
|
+
this.config.output = defu(this.config.output ?? {}, {
|
|
3132
|
+
copy: { assets: [
|
|
3133
|
+
{ glob: "LICENSE" },
|
|
3134
|
+
{
|
|
3135
|
+
input: this.config.root,
|
|
3136
|
+
glob: "*.md"
|
|
3137
|
+
},
|
|
3138
|
+
{
|
|
3139
|
+
input: this.config.root,
|
|
3140
|
+
glob: "package.json"
|
|
3141
|
+
}
|
|
3142
|
+
] },
|
|
3143
|
+
artifactsPath: `.${this.config.framework ?? "powerlines"}`,
|
|
3144
|
+
dts: true
|
|
3145
|
+
});
|
|
3131
3146
|
logger.trace(`Pre-setup Powerlines configuration object: \n${JSON.stringify({
|
|
3132
3147
|
...omit(this.config, ["plugins"]),
|
|
3133
3148
|
userConfig: this.config.userConfig ? omit(this.config.userConfig, ["plugins"]) : {},
|
|
@@ -3160,21 +3175,6 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
|
|
|
3160
3175
|
else this.config.logLevel = DEFAULT_PRODUCTION_LOG_LEVEL;
|
|
3161
3176
|
if (!this.config.userConfig?.tsconfig && !this.config.inlineConfig?.tsconfig) this.config.tsconfig = getTsconfigFilePath(this.config.cwd, this.config.root);
|
|
3162
3177
|
else if (this.config.tsconfig) this.config.tsconfig = replacePath(replacePathTokens(this, this.config.tsconfig), this.config.cwd);
|
|
3163
|
-
this.config.output = defu(this.config.output ?? {}, {
|
|
3164
|
-
copy: { assets: [
|
|
3165
|
-
{ glob: "LICENSE" },
|
|
3166
|
-
{
|
|
3167
|
-
input: this.config.root,
|
|
3168
|
-
glob: "*.md"
|
|
3169
|
-
},
|
|
3170
|
-
{
|
|
3171
|
-
input: this.config.root,
|
|
3172
|
-
glob: "package.json"
|
|
3173
|
-
}
|
|
3174
|
-
] },
|
|
3175
|
-
artifactsPath: `.${this.config.framework ?? "powerlines"}`,
|
|
3176
|
-
dts: true
|
|
3177
|
-
});
|
|
3178
3178
|
this.config.output.format = getUnique(toArray(this.config.output?.format ?? (this.config.projectType === "library" ? ["cjs", "esm"] : ["esm"])));
|
|
3179
3179
|
if (this.config.output.path) this.config.output.path = appendPath(replacePathTokens(this, this.config.output.path), this.config.cwd);
|
|
3180
3180
|
else this.config.output.path = appendPath(joinPaths$1(this.config.root, "dist"), this.config.cwd);
|