@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.
@@ -2016,6 +2016,21 @@ var PowerlinesContext = class PowerlinesContext extends require_base_context.Pow
2016
2016
  */
2017
2017
  async innerSetup() {
2018
2018
  const logger = this.extendLogger({ category: "config" });
2019
+ this.config.output = (0, defu.default)(this.config.output ?? {}, {
2020
+ copy: { assets: [
2021
+ { glob: "LICENSE" },
2022
+ {
2023
+ input: this.config.root,
2024
+ glob: "*.md"
2025
+ },
2026
+ {
2027
+ input: this.config.root,
2028
+ glob: "package.json"
2029
+ }
2030
+ ] },
2031
+ artifactsPath: `.${this.config.framework ?? "powerlines"}`,
2032
+ dts: true
2033
+ });
2019
2034
  logger.trace(`Pre-setup Powerlines configuration object: \n${JSON.stringify({
2020
2035
  ...(0, _stryke_helpers_omit.omit)(this.config, ["plugins"]),
2021
2036
  userConfig: this.config.userConfig ? (0, _stryke_helpers_omit.omit)(this.config.userConfig, ["plugins"]) : {},
@@ -2048,21 +2063,6 @@ var PowerlinesContext = class PowerlinesContext extends require_base_context.Pow
2048
2063
  else this.config.logLevel = _powerlines_core_constants.DEFAULT_PRODUCTION_LOG_LEVEL;
2049
2064
  if (!this.config.userConfig?.tsconfig && !this.config.inlineConfig?.tsconfig) this.config.tsconfig = require_tsconfig.getTsconfigFilePath(this.config.cwd, this.config.root);
2050
2065
  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);
2051
- this.config.output = (0, defu.default)(this.config.output ?? {}, {
2052
- copy: { assets: [
2053
- { glob: "LICENSE" },
2054
- {
2055
- input: this.config.root,
2056
- glob: "*.md"
2057
- },
2058
- {
2059
- input: this.config.root,
2060
- glob: "package.json"
2061
- }
2062
- ] },
2063
- artifactsPath: `.${this.config.framework ?? "powerlines"}`,
2064
- dts: true
2065
- });
2066
2066
  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"])));
2067
2067
  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);
2068
2068
  else this.config.output.path = (0, _stryke_path_append.appendPath)((0, _stryke_path_join.joinPaths)(this.config.root, "dist"), this.config.cwd);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/engine",
3
- "version": "0.44.2",
3
+ "version": "0.44.4",
4
4
  "private": false,
5
5
  "description": "An internal package containing the core engine modules for Powerlines.",
6
6
  "homepage": "https://stormsoftware.com",
@@ -137,7 +137,7 @@
137
137
  "@cacheable/memory": "^2.0.8",
138
138
  "@donedeal0/superdiff": "^3.2.0",
139
139
  "@jridgewell/sourcemap-codec": "^1.5.5",
140
- "@powerlines/core": "^0.44.2",
140
+ "@powerlines/core": "^0.44.4",
141
141
  "@storm-software/config": "^1.137.32",
142
142
  "@storm-software/config-tools": "^1.189.78",
143
143
  "@stryke/async": "^0.1.0",
@@ -180,5 +180,5 @@
180
180
  "typescript": "^6.0.3",
181
181
  "undici-types": "^7.25.0"
182
182
  },
183
- "gitHead": "e334be23d413125e5ac9d015ba2d26b434129a7c"
183
+ "gitHead": "eb9eda0379dc4e0c15936117ed0df7137977aa0c"
184
184
  }