cds-plugin-ui5 0.13.6 → 0.15.0

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
@@ -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.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
+
8
+
9
+ ### Features
10
+
11
+ * **cds-plugin-ui5:** remove the under construction hint ([#1294](https://github.com/ui5-community/ui5-ecosystem-showcase/issues/1294)) ([55818e4](https://github.com/ui5-community/ui5-ecosystem-showcase/commit/55818e4994f62e33f62e401b11d2818fc5b81013)), closes [#1293](https://github.com/ui5-community/ui5-ecosystem-showcase/issues/1293)
12
+
13
+
14
+
15
+
16
+
17
+ # [0.14.0](https://github.com/ui5-community/ui5-ecosystem-showcase/compare/cds-plugin-ui5@0.13.6...cds-plugin-ui5@0.14.0) (2025-11-02)
18
+
19
+
20
+ ### Features
21
+
22
+ * support express >= 4 ([#1287](https://github.com/ui5-community/ui5-ecosystem-showcase/issues/1287)) ([f37a1fa](https://github.com/ui5-community/ui5-ecosystem-showcase/commit/f37a1fa9462622ae9aae9dbb6fa17a6662dd38c9))
23
+
24
+
25
+
26
+
27
+
6
28
  ## [0.13.6](https://github.com/ui5-community/ui5-ecosystem-showcase/compare/cds-plugin-ui5@0.13.5...cds-plugin-ui5@0.13.6) (2025-09-17)
7
29
 
8
30
  **Note:** Version bump only for package cds-plugin-ui5
package/README.md CHANGED
@@ -4,9 +4,6 @@
4
4
 
5
5
  The `cds-plugin-ui5` is a CDS server `cds-plugin` for the node runtime of the [SAP Cloud Application Programming Model (CAP)](https://cap.cloud.sap/docs/about/) which enables the integration of UI5 CLI based (UI5 freestyle or Fiori elements) projects into the CDS server via the UI5 CLI express middlewares. The UI5 or Fiori elements projects just need to be located in the `app` folder of the CDS server, or via the `cds.env.folders.app` variable, or be a dependency of the CDS server.
6
6
 
7
- > :construction: **Note**
8
- > This cds-plugin is still work in progress and not final yet!
9
-
10
7
  ## Prerequisites
11
8
 
12
9
  The plugin requires [`@sap/cds`](https://www.npmjs.com/package/@sap/cds) `>=6.8.2`.
package/cds-plugin.js CHANGED
@@ -273,7 +273,7 @@ if (!skip) {
273
273
  // move our middleware before the CDS index serve middleware to
274
274
  // allow that we can intercept the response and modify it to
275
275
  // inject our application pages an remove the exitsing ones
276
- const middlewareStack = app?._router?.stack;
276
+ const middlewareStack = (app?._router ?? app?.router)?.stack;
277
277
  if (Array.isArray(middlewareStack)) {
278
278
  const cmw = middlewareStack.pop();
279
279
  const idxOfServeStatic = middlewareStack.findIndex((layer) => layer.name === "serveStatic");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cds-plugin-ui5",
3
- "version": "0.13.6",
3
+ "version": "0.15.0",
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",
@@ -27,5 +27,5 @@
27
27
  "@sap/cds": ">=6.8.2",
28
28
  "express": ">=4.18.2"
29
29
  },
30
- "gitHead": "9331deafb31d1c844c9832a38cc2595a7d00baa8"
30
+ "gitHead": "a8ba3237066e506dd0c6416624f67fe674bbbf8c"
31
31
  }