@ui5/task-adaptation 1.6.0-rc.2 → 1.6.0-rc.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/CHANGELOG.md CHANGED
@@ -2,10 +2,16 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
4
4
 
5
- A list of unreleased changes can be found [here](https://github.com/SAP/ui5-task-adaptation/compare/v1.6.0-rc.2...HEAD).
5
+ A list of unreleased changes can be found [here](https://github.com/SAP/ui5-task-adaptation/compare/v1.6.0-rc.4...HEAD).
6
+
7
+ <a name="v1.6.0-rc.4"></a>
8
+ ## [v1.6.0-rc.4] - 2026-02-12
9
+
10
+ <a name="v1.6.0-rc.3"></a>
11
+ ## [v1.6.0-rc.3] - 2026-02-05
6
12
 
7
13
  <a name="v1.6.0-rc.2"></a>
8
- ## [v1.6.0-rc.2] - 0001-01-01
14
+ ## [v1.6.0-rc.2] - 2026-02-05
9
15
 
10
16
  <a name="v1.6.0-rc.1"></a>
11
17
  ## [v1.6.0-rc.1] - 2026-02-05
@@ -137,6 +143,8 @@ A list of unreleased changes can be found [here](https://github.com/SAP/ui5-task
137
143
  <a name="v1.0.0"></a>
138
144
  ## v1.0.0 - 2020-12-09
139
145
 
146
+ [v1.6.0-rc.4]: https://github.com/SAP/ui5-task-adaptation/compare/v1.6.0-rc.3...v1.6.0-rc.4
147
+ [v1.6.0-rc.3]: https://github.com/SAP/ui5-task-adaptation/compare/v1.6.0-rc.2...v1.6.0-rc.3
140
148
  [v1.6.0-rc.2]: https://github.com/SAP/ui5-task-adaptation/compare/v1.6.0-rc.1...v1.6.0-rc.2
141
149
  [v1.6.0-rc.1]: https://github.com/SAP/ui5-task-adaptation/compare/v1.6.0-rc.0...v1.6.0-rc.1
142
150
  [v1.6.0-rc.0]: https://github.com/SAP/ui5-task-adaptation/compare/v1.6.0...v1.6.0-rc.0
@@ -16,7 +16,7 @@ export default class PreviewManager {
16
16
  }
17
17
  catch (_err) {
18
18
  log.verbose("Preview mode not requested (env variable ADP_BUILDER_MODE=preview is not set), skipping preview resources processing.");
19
- throw new Error(`ui5AppInfo.json is missing in project root, cannot process preview resources.`);
19
+ throw new Error(`ui5AppInfo.json is missing in project root, cannot process preview resources: ${_err instanceof Error ? _err.message : String(_err)}`);
20
20
  }
21
21
  }
22
22
  return new PreviewManager(appId, ui5AppInfo, processor);
@@ -40,6 +40,9 @@ export default class FileMerger {
40
40
  files.set(path.join(i18nTargetFolder, filename), content);
41
41
  }
42
42
  }
43
+ else if (filename === "xs-app.json") {
44
+ // xs-app.json take from base app files
45
+ }
43
46
  else {
44
47
  files.set(filename, content);
45
48
  }
@@ -1,4 +1,4 @@
1
- import path from "path";
1
+ import path from "path/posix";
2
2
  import { isManifestChange } from "../commonUtil.js";
3
3
  const EXT_DIR = "ext/";
4
4
  const CHANGES_DIR = "changes/";
@@ -86,7 +86,7 @@ export default class ResourceUtil {
86
86
  */
87
87
  static async readInProject(filepath) {
88
88
  try {
89
- return await fs.readFile(path.resolve(process.cwd(), filepath), UTF8);
89
+ return await fs.readFile(path.join(process.cwd(), filepath), UTF8);
90
90
  }
91
91
  catch (error) {
92
92
  const isProjectRoot = await ResourceUtil.fileExists(path.join(process.cwd(), "ui5.yaml"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/task-adaptation",
3
- "version": "1.6.0-rc.2",
3
+ "version": "1.6.0-rc.4",
4
4
  "description": "Custom task for ui5-builder which allows building UI5 Flexibility Adaptation Projects for SAP BTP, Cloud Foundry environment",
5
5
  "main": "index.js",
6
6
  "scripts": {