@ui5/builder 4.1.2 → 4.1.3

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-builder/compare/v4.1.2...HEAD).
5
+ A list of unreleased changes can be found [here](https://github.com/SAP/ui5-builder/compare/v4.1.3...HEAD).
6
+
7
+ <a name="v4.1.3"></a>
8
+ ## [v4.1.3] - 2025-11-26
9
+ ### Bug Fixes
10
+ - **Bundling:** generateFlexChangesBundle should not rely on existing manifest.json ([#1178](https://github.com/SAP/ui5-builder/issues/1178)) [`f61705b`](https://github.com/SAP/ui5-builder/commit/f61705bcd03b1033afed7d4243647eee60f2faa1)
11
+
6
12
 
7
13
  <a name="v4.1.2"></a>
8
- ## [v4.1.2] - 2025-11-13
14
+ ## [v4.1.2] - 2025-11-14
9
15
 
10
16
  <a name="v4.1.1"></a>
11
17
  ## [v4.1.1] - 2025-10-30
@@ -1004,6 +1010,7 @@ to load the custom bundle file instead.
1004
1010
 
1005
1011
  ### Features
1006
1012
  - Add ability to configure component preloads and custom bundles [`2241e5f`](https://github.com/SAP/ui5-builder/commit/2241e5ff98fd95f1f80cc74959655ae7a9c660e7)
1013
+ [v4.1.3]: https://github.com/SAP/ui5-builder/compare/v4.1.2...v4.1.3
1007
1014
  [v4.1.2]: https://github.com/SAP/ui5-builder/compare/v4.1.1...v4.1.2
1008
1015
  [v4.1.1]: https://github.com/SAP/ui5-builder/compare/v4.1.0...v4.1.1
1009
1016
  [v4.1.0]: https://github.com/SAP/ui5-builder/compare/v4.0.13...v4.1.0
@@ -63,6 +63,10 @@ export default async function({workspace, taskUtil, options = {}}) {
63
63
 
64
64
  async function updateManifestWithFlDependencyAndFlexBundleFlag(bBundleCreated) {
65
65
  const manifestResource = await workspace.byPath(`${pathPrefix}/manifest.json`);
66
+ if (!manifestResource) {
67
+ log.verbose("No manifest.json found, skipping update of sap.ui.fl dependency and flexBundle flag");
68
+ return;
69
+ }
66
70
  const manifestContent = JSON.parse(await manifestResource.getString());
67
71
 
68
72
  updateJson(manifestContent, bBundleCreated);
@@ -73,6 +77,10 @@ export default async function({workspace, taskUtil, options = {}}) {
73
77
 
74
78
  async function readManifestMinUI5Version() {
75
79
  const manifestResource = await workspace.byPath(`${pathPrefix}/manifest.json`);
80
+ if (!manifestResource) {
81
+ log.verbose("No manifest.json found, cannot read minUI5Version");
82
+ return [];
83
+ }
76
84
  const manifestContent = JSON.parse(await manifestResource.getString());
77
85
 
78
86
  manifestContent["sap.ui5"] = manifestContent["sap.ui5"] || {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/builder",
3
- "version": "4.1.2",
3
+ "version": "4.1.3",
4
4
  "description": "UI5 CLI - Builder",
5
5
  "author": {
6
6
  "name": "SAP SE",
@@ -156,7 +156,7 @@
156
156
  "line-column": "^1.0.2",
157
157
  "nyc": "^17.1.0",
158
158
  "open-cli": "^8.0.0",
159
- "rimraf": "^6.1.0",
159
+ "rimraf": "^6.1.2",
160
160
  "sinon": "^21.0.0",
161
161
  "tap-xunit": "^2.4.1"
162
162
  }