cds-plugin-ui5 0.15.0 → 0.16.1
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 +22 -0
- package/cds-plugin.js +6 -4
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.16.1](https://github.com/ui5-community/ui5-ecosystem-showcase/compare/cds-plugin-ui5@0.16.0...cds-plugin-ui5@0.16.1) (2025-12-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **cds-plugin-ui5:** coerce versions for satisfy check ([#1303](https://github.com/ui5-community/ui5-ecosystem-showcase/issues/1303)) ([61e65ff](https://github.com/ui5-community/ui5-ecosystem-showcase/commit/61e65ffb64dd7d80976d235fa7cbca3366dac511))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [0.16.0](https://github.com/ui5-community/ui5-ecosystem-showcase/compare/cds-plugin-ui5@0.15.0...cds-plugin-ui5@0.16.0) (2025-12-02)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* update depedency versions ([#1302](https://github.com/ui5-community/ui5-ecosystem-showcase/issues/1302)) ([0a22ebd](https://github.com/ui5-community/ui5-ecosystem-showcase/commit/0a22ebdde9bcbce570eb7ccdda8539e106dc44e1))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
# [0.15.0](https://github.com/ui5-community/ui5-ecosystem-showcase/compare/cds-plugin-ui5@0.14.0...cds-plugin-ui5@0.15.0) (2025-11-16)
|
|
7
29
|
|
|
8
30
|
|
package/cds-plugin.js
CHANGED
|
@@ -297,7 +297,7 @@ if (!skip) {
|
|
|
297
297
|
// check if the register function for build tasks is available at the cds object
|
|
298
298
|
// and if the Plugin class is available to register the cds build task to cover
|
|
299
299
|
// the tracks of the cds-plugin-ui5 workspace configuration and dependencies
|
|
300
|
-
const { minVersion, satisfies } = require("semver");
|
|
300
|
+
const { minVersion, satisfies, coerce } = require("semver");
|
|
301
301
|
if (typeof cds.build?.register === "function" && typeof cds.build?.Plugin?.constructor === "function") {
|
|
302
302
|
const { readFile, writeFile } = require("fs").promises;
|
|
303
303
|
const { existsSync } = require("fs");
|
|
@@ -333,12 +333,14 @@ if (!skip) {
|
|
|
333
333
|
}
|
|
334
334
|
init() {}
|
|
335
335
|
clean() {
|
|
336
|
-
|
|
336
|
+
// allowed ranges for CDSDK >= 8 are -1024..-1 and 512..1024
|
|
337
|
+
if (!satisfies(coerce(cdsdkVersion), ">=8")) {
|
|
337
338
|
this._priority = -1; // hack to ensure that the task is executed last!
|
|
338
339
|
}
|
|
339
340
|
}
|
|
340
341
|
get priority() {
|
|
341
|
-
|
|
342
|
+
// allowed ranges for CDSDK >= 8 are -1024..-1 and 512..1024
|
|
343
|
+
if (!satisfies(coerce(cdsdkVersion), ">=8")) {
|
|
342
344
|
return this._priority || 1;
|
|
343
345
|
} else {
|
|
344
346
|
return -1;
|
|
@@ -390,7 +392,7 @@ if (!skip) {
|
|
|
390
392
|
},
|
|
391
393
|
);
|
|
392
394
|
} else {
|
|
393
|
-
if (!satisfies(cdsdkVersion, ">=7.5.0")) {
|
|
395
|
+
if (!satisfies(coerce(cdsdkVersion), ">=7.5.0")) {
|
|
394
396
|
// TODO: add error message to inform the user that the cds build task is not available
|
|
395
397
|
// and that the @sap/cds-dk version is too old to support the cds build task
|
|
396
398
|
LOG.warn(`The cds build task requires @sap/cds-dk version >= 7.5.0! Skipping execution as your @sap/cds-dk version ${cdsdkVersion} is too old...`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cds-plugin-ui5",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.1",
|
|
4
4
|
"description": "A CDS server plugin to inject the middlewares of all related UI5 CLI based projects.",
|
|
5
5
|
"author": "Peter Muessig",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"@ui5/fs": "^4",
|
|
15
15
|
"@ui5/project": "^4",
|
|
16
16
|
"@ui5/server": "^4",
|
|
17
|
-
"glob": "^
|
|
18
|
-
"js-yaml": "^4.1.
|
|
17
|
+
"glob": "^13.0.0",
|
|
18
|
+
"js-yaml": "^4.1.1",
|
|
19
19
|
"node-html-parser": "^7.0.1",
|
|
20
|
-
"semver": "^7.7.
|
|
20
|
+
"semver": "^7.7.3"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@sap/cds": "*",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"@sap/cds": ">=6.8.2",
|
|
28
28
|
"express": ">=4.18.2"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "ac5494cf765d45bb66d0061bdc0d0933cb63d500"
|
|
31
31
|
}
|