@powerlines/engine 0.45.0 → 0.45.2

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.
@@ -3156,6 +3156,7 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
3156
3156
  environments: {},
3157
3157
  resolve: {}
3158
3158
  });
3159
+ this.config.plugins = (this.config.initialConfig.plugins ?? []).concat(this.config.userConfig.plugins ?? [], this.config.inlineConfig.plugins ?? []);
3159
3160
  await this.innerSetup();
3160
3161
  }
3161
3162
  /**
@@ -3214,6 +3215,8 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
3214
3215
  ...this.initialOptions,
3215
3216
  ...initialConfig,
3216
3217
  ...userConfig,
3218
+ inlineConfig: {},
3219
+ pluginConfig: {},
3217
3220
  initialConfig,
3218
3221
  userConfig
3219
3222
  };
@@ -3260,7 +3263,7 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
3260
3263
  }
3261
3264
  if (!this.config.userConfig?.projectType && !this.config.inlineConfig?.projectType && !this.config.initialConfig?.projectType && !this.config.pluginConfig?.projectType) this.config.projectType = "application";
3262
3265
  if (!this.config.userConfig?.platform && !this.config.inlineConfig?.platform && !this.config.initialConfig?.platform && !this.config.pluginConfig?.platform) this.config.platform = "neutral";
3263
- this.resolvedConfig.compatibilityDate = (0, compatx.resolveCompatibilityDates)(this.config.inlineConfig.compatibilityDate ?? this.config.userConfig.compatibilityDate ?? this.config.initialConfig.compatibilityDate ?? this.config.pluginConfig.compatibilityDate, "latest");
3266
+ this.config.compatibilityDate = (0, compatx.resolveCompatibilityDates)(this.config.inlineConfig.compatibilityDate ?? this.config.userConfig.compatibilityDate ?? this.config.initialConfig.compatibilityDate ?? this.config.pluginConfig.compatibilityDate, "latest");
3264
3267
  this.config.input = (0, _powerlines_core_lib_entry.getUniqueInputs)(this.config.input);
3265
3268
  if (this.config.name?.startsWith("@") && this.config.name.split("/").filter(Boolean).length > 1) this.config.name = this.config.name.split("/").filter(Boolean)[1];
3266
3269
  this.config.title ??= (0, _stryke_string_format_title_case.titleCase)(this.config.name);
@@ -3123,6 +3123,7 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
3123
3123
  environments: {},
3124
3124
  resolve: {}
3125
3125
  });
3126
+ this.config.plugins = (this.config.initialConfig.plugins ?? []).concat(this.config.userConfig.plugins ?? [], this.config.inlineConfig.plugins ?? []);
3126
3127
  await this.innerSetup();
3127
3128
  }
3128
3129
  /**
@@ -3181,6 +3182,8 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
3181
3182
  ...this.initialOptions,
3182
3183
  ...initialConfig,
3183
3184
  ...userConfig,
3185
+ inlineConfig: {},
3186
+ pluginConfig: {},
3184
3187
  initialConfig,
3185
3188
  userConfig
3186
3189
  };
@@ -3227,7 +3230,7 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
3227
3230
  }
3228
3231
  if (!this.config.userConfig?.projectType && !this.config.inlineConfig?.projectType && !this.config.initialConfig?.projectType && !this.config.pluginConfig?.projectType) this.config.projectType = "application";
3229
3232
  if (!this.config.userConfig?.platform && !this.config.inlineConfig?.platform && !this.config.initialConfig?.platform && !this.config.pluginConfig?.platform) this.config.platform = "neutral";
3230
- this.resolvedConfig.compatibilityDate = resolveCompatibilityDates(this.config.inlineConfig.compatibilityDate ?? this.config.userConfig.compatibilityDate ?? this.config.initialConfig.compatibilityDate ?? this.config.pluginConfig.compatibilityDate, "latest");
3233
+ this.config.compatibilityDate = resolveCompatibilityDates(this.config.inlineConfig.compatibilityDate ?? this.config.userConfig.compatibilityDate ?? this.config.initialConfig.compatibilityDate ?? this.config.pluginConfig.compatibilityDate, "latest");
3231
3234
  this.config.input = getUniqueInputs(this.config.input);
3232
3235
  if (this.config.name?.startsWith("@") && this.config.name.split("/").filter(Boolean).length > 1) this.config.name = this.config.name.split("/").filter(Boolean)[1];
3233
3236
  this.config.title ??= titleCase(this.config.name);