@powerlines/engine 0.14.4 → 0.15.0

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.
@@ -3085,7 +3085,7 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
3085
3085
  async innerSetup() {
3086
3086
  this.resolvedConfig.compatibilityDate = (0, compatx.resolveCompatibilityDates)(this.config.inlineConfig.compatibilityDate ?? this.config.userConfig.compatibilityDate ?? this.config.pluginConfig.compatibilityDate, "latest");
3087
3087
  this.resolvedConfig.output = (0, defu.default)(this.resolvedConfig.output ?? {}, {
3088
- path: this.config.root ? (0, _stryke_path_append.appendPath)((0, _stryke_path_join.joinPaths)(this.config.root, "dist"), this.config.cwd) : void 0,
3088
+ path: (0, _stryke_path_append.appendPath)((0, _stryke_path_join.joinPaths)(this.config.root, "dist"), this.config.cwd),
3089
3089
  copy: { assets: [
3090
3090
  { glob: "LICENSE" },
3091
3091
  {
@@ -3120,7 +3120,6 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
3120
3120
  if (this.config.resolve.noExternal) this.config.resolve.noExternal = (0, _stryke_helpers_get_unique.getUnique)(this.config.resolve.noExternal);
3121
3121
  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"])));
3122
3122
  if (this.config.output.dts !== false && !this.config.output.types) this.config.output.types = `${this.config.root ? `${this.config.root}/` : ""}${this.config.framework ?? "powerlines"}.d.ts`;
3123
- if (!this.config.output.path) this.config.output.path ??= (0, _stryke_path_join.joinPaths)(this.config.root, "dist");
3124
3123
  if (this.config.root && this.config.output.copy !== false) this.config.output.copy = {
3125
3124
  path: (0, _stryke_path_join.joinPaths)(this.config.cwd, "dist", (0, _stryke_path_replace.replacePath)(this.config.root, this.config.cwd)),
3126
3125
  ...this.config.output.copy || {}
@@ -3052,7 +3052,7 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
3052
3052
  async innerSetup() {
3053
3053
  this.resolvedConfig.compatibilityDate = resolveCompatibilityDates(this.config.inlineConfig.compatibilityDate ?? this.config.userConfig.compatibilityDate ?? this.config.pluginConfig.compatibilityDate, "latest");
3054
3054
  this.resolvedConfig.output = defu(this.resolvedConfig.output ?? {}, {
3055
- path: this.config.root ? appendPath(joinPaths$1(this.config.root, "dist"), this.config.cwd) : void 0,
3055
+ path: appendPath(joinPaths$1(this.config.root, "dist"), this.config.cwd),
3056
3056
  copy: { assets: [
3057
3057
  { glob: "LICENSE" },
3058
3058
  {
@@ -3087,7 +3087,6 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
3087
3087
  if (this.config.resolve.noExternal) this.config.resolve.noExternal = getUnique(this.config.resolve.noExternal);
3088
3088
  this.config.output.format = getUnique(toArray(this.config.output?.format ?? (this.config.projectType === "library" ? ["cjs", "esm"] : ["esm"])));
3089
3089
  if (this.config.output.dts !== false && !this.config.output.types) this.config.output.types = `${this.config.root ? `${this.config.root}/` : ""}${this.config.framework ?? "powerlines"}.d.ts`;
3090
- if (!this.config.output.path) this.config.output.path ??= joinPaths$1(this.config.root, "dist");
3091
3090
  if (this.config.root && this.config.output.copy !== false) this.config.output.copy = {
3092
3091
  path: joinPaths$1(this.config.cwd, "dist", replacePath(this.config.root, this.config.cwd)),
3093
3092
  ...this.config.output.copy || {}