cds-plugin-ui5 0.13.0 → 0.13.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.
- package/CHANGELOG.md +22 -0
- package/cds-plugin.js +6 -1
- package/package.json +3 -3
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.13.2](https://github.com/ui5-community/ui5-ecosystem-showcase/compare/cds-plugin-ui5@0.13.1...cds-plugin-ui5@0.13.2) (2025-07-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update project dependencies ([#1235](https://github.com/ui5-community/ui5-ecosystem-showcase/issues/1235)) ([456fb61](https://github.com/ui5-community/ui5-ecosystem-showcase/commit/456fb6143125e3334acafb129e219499b2a1c882))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [0.13.1](https://github.com/ui5-community/ui5-ecosystem-showcase/compare/cds-plugin-ui5@0.13.0...cds-plugin-ui5@0.13.1) (2025-06-09)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **cds-plugin-ui5:** wait for middlewares if not lazy ([#1229](https://github.com/ui5-community/ui5-ecosystem-showcase/issues/1229)) ([7155226](https://github.com/ui5-community/ui5-ecosystem-showcase/commit/71552268eab84b40d6ef7d9bdddb0e707075e26b))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
# [0.13.0](https://github.com/ui5-community/ui5-ecosystem-showcase/compare/cds-plugin-ui5@0.12.1...cds-plugin-ui5@0.13.0) (2025-05-20)
|
|
7
29
|
|
|
8
30
|
|
package/cds-plugin.js
CHANGED
|
@@ -188,7 +188,7 @@ if (!skip) {
|
|
|
188
188
|
const router = createPatchedRouter();
|
|
189
189
|
|
|
190
190
|
// determine the application info and apply the UI5 middlewares (maybe lazy)
|
|
191
|
-
applyUI5Middleware(router, {
|
|
191
|
+
const promiseApply = applyUI5Middleware(router, {
|
|
192
192
|
cwd,
|
|
193
193
|
basePath: modulePath,
|
|
194
194
|
...(config[moduleId] || {}),
|
|
@@ -203,6 +203,11 @@ if (!skip) {
|
|
|
203
203
|
});
|
|
204
204
|
});
|
|
205
205
|
|
|
206
|
+
// if lazy loading is not enabled, we wait for the middlewares to be applied
|
|
207
|
+
if (!isLazyLoadingEnabled) {
|
|
208
|
+
await promiseApply; // wait for the middlewares to be applied
|
|
209
|
+
}
|
|
210
|
+
|
|
206
211
|
// register the router to the specified mount path
|
|
207
212
|
app.use(mountPath, router);
|
|
208
213
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cds-plugin-ui5",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.2",
|
|
4
4
|
"description": "A CDS server plugin to inject the middlewares of all related UI5 tooling based projects.",
|
|
5
5
|
"author": "Peter Muessig",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@ui5/server": "^4",
|
|
17
17
|
"js-yaml": "^4.1.0",
|
|
18
18
|
"node-html-parser": "^7.0.1",
|
|
19
|
-
"semver": "^7.7.
|
|
19
|
+
"semver": "^7.7.2"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@sap/cds": "*",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"@sap/cds": ">=6.8.2",
|
|
27
27
|
"express": ">=4.18.2"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "4564f2dc020ee4e2dcc5a7e0ebc982d488709350"
|
|
30
30
|
}
|