cds-plugin-ui5 0.13.4 → 0.13.5

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,14 @@
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.5](https://github.com/ui5-community/ui5-ecosystem-showcase/compare/cds-plugin-ui5@0.13.4...cds-plugin-ui5@0.13.5) (2025-09-15)
7
+
8
+ **Note:** Version bump only for package cds-plugin-ui5
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.13.4](https://github.com/ui5-community/ui5-ecosystem-showcase/compare/cds-plugin-ui5@0.13.3...cds-plugin-ui5@0.13.4) (2025-07-31)
7
15
 
8
16
 
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  > :wave: This is a **community project** and there is no official support for this package! Feel free to use it, open issues, contribute, and help answering questions.
4
4
 
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 tooling based (UI5 freestyle or Fiori elements) projects into the CDS server via the UI5 tooling 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.
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
7
  > :construction: **Note**
8
8
  > This cds-plugin is still work in progress and not final yet!
@@ -136,7 +136,7 @@ CDS_PLUGIN_UI5_MODULES="{ \"ui5-bookshop\": { \"configFile\": \"ui5-dist.yaml\"
136
136
 
137
137
  The configuration options from the UI5 server middlewares and the mount path can be mixed together as they both are in the same section of the `package.json`.
138
138
 
139
- ## Info for UI5 Tooling Extension Developers
139
+ ## Info for UI5 CLI Extension Developers
140
140
 
141
141
  Custom middlewares may generate virtual app pages which should also be listed as web applications in the welcome page of the `@sap/cds` server. This is possible by assigning a static `getAppPages` function to the middleware function. The following snippet show-cases how this can be done:
142
142
 
@@ -172,7 +172,7 @@ This section includes hints for the usage of the `cds-plugin-ui5` with other too
172
172
 
173
173
  ### JEST
174
174
 
175
- The `cds-plugin-ui5` doesn't work with JEST out of the box as it internally is using dynamic imports to load helpers from the UI5 tooling. JEST fails with a `segmentation fault` error and therefore, the `cds-plugin-ui5` is disabled when running in context of JEST. It can be forcefully enabled by setting the environment variable `CDS_PLUGIN_UI5_ACTIVE=true`. But in this case you need to at least use Node.js 21 (https://github.com/nodejs/node/issues/35889) and you need to enable the experimental support for ES modules (https://jestjs.io/docs/ecmascript-modules). This enables the `cds-plugin-ui5` to run in context of JEST.
175
+ The `cds-plugin-ui5` doesn't work with JEST out of the box as it internally is using dynamic imports to load helpers from the UI5 CLI. JEST fails with a `segmentation fault` error and therefore, the `cds-plugin-ui5` is disabled when running in context of JEST. It can be forcefully enabled by setting the environment variable `CDS_PLUGIN_UI5_ACTIVE=true`. But in this case you need to at least use Node.js 21 (https://github.com/nodejs/node/issues/35889) and you need to enable the experimental support for ES modules (https://jestjs.io/docs/ecmascript-modules). This enables the `cds-plugin-ui5` to run in context of JEST.
176
176
 
177
177
  ## Support
178
178
 
package/cds-plugin.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // >> IMPORTANT <<
2
2
  //
3
3
  // JEST has issues with dynamic imports and will fail when they are used,
4
- // e.g. in the findUI5Modules the UI5 tooling is used which is implemented
4
+ // e.g. in the findUI5Modules the UI5 CLI is used which is implemented
5
5
  // using ES modules. To avoid issues when running JEST tests, the plugin
6
6
  // will be disabled by default but it can be enforced with CDS_PLUGIN_UI5_ACTIVE=true
7
7
  // since JEST supports ES modules when using Node.js 21 and the experimental
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cds-plugin-ui5",
3
- "version": "0.13.4",
4
- "description": "A CDS server plugin to inject the middlewares of all related UI5 tooling based projects.",
3
+ "version": "0.13.5",
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",
7
7
  "homepage": "https://github.com/ui5-community/ui5-ecosystem-showcase/tree/main/packages/cds-plugin-ui5#readme",
@@ -27,5 +27,5 @@
27
27
  "@sap/cds": ">=6.8.2",
28
28
  "express": ">=4.18.2"
29
29
  },
30
- "gitHead": "5859e2f476004c8a9a7e3320f8948d5605986982"
30
+ "gitHead": "4cce1d164ff2a48d73361bb37a98381b3baf83ec"
31
31
  }