@sap-ux/preview-middleware 1.0.22 → 1.0.23
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/README.md +24 -24
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -15,30 +15,30 @@ When this middleware is used together with the `reload-middleware`, then the ord
|
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
## [Configuration Options](#configuration-options)
|
|
18
|
-
| Option | Value Type | Requirement Type | Default Value | Description
|
|
19
|
-
|
|
20
|
-
| `flp` | --- | optional | --- | Configuration object for the local SAP Fiori launchpad
|
|
21
|
-
| `flp.path` | `string` | optional | `/test/flp.html` | The mount point of the local SAP Fiori launchpad. In case no file is found at the given path, a virtual endpoint will be instantiated.
|
|
22
|
-
| `flp.init` | `string` | optional | `undefined` | UI5 module/script to be executed after the standard initialization
|
|
23
|
-
| `flp.intent` | --- | optional | --- | Intent object to be used for the application
|
|
24
|
-
| `flp.intent.object` | `string` | optional | `app` | Name of the semantic object
|
|
25
|
-
| `flp.intent.action` | `string` | optional | `preview` | Name of the action
|
|
26
|
-
| `flp.apps` | `array` | optional | `undefined` | Additional local apps that are available in the local SAP Fiori launchpad
|
|
27
|
-
| `flp.libs` | `boolean` | optional | `false` | Flag to add a generic script fetching the paths of used libraries not available in UI5. To disable it, set it to `false`. If not set, then the project is checked for a `load-reuse-libs` script and, if available, the libraries are fetched as well
|
|
28
|
-
| `flp.theme` | `string` | optional | `(calculated)` | Name of the UI5 theme to be used (default is `sap_horizon` or the first entry in the sap.ui.supportedThemes list provided in the manifest.json file if `sap_horizon` is not contained in the list)
|
|
29
|
-
| `flp.enhancedHomePage` | `boolean` | optional | `false` | Flag for enabling enhanced FLP homepage, available only from UI5 version 1.123.0 onwards
|
|
30
|
-
| `adp.target` | --- | mandatory for adaptation projects | --- | Configuration object defining the connected back end
|
|
31
|
-
| `adp.ignoreCertErrors` | `boolean` | optional | `false` | Flag to ignore certification validation errors when working with development systems with self-signed certificates, for example
|
|
32
|
-
| `adp.cfBuildPath` | `string` | optional (experimental, CF only) | `undefined` | **Experimental**: For CF ADP projects only. Path to build output folder (e.g., `dist`) to serve built resources directly. When set, the middleware serves static files from this path and reads manifest.json from it.
|
|
33
|
-
| `rta` | --- | 🚫 deprecated</br> *use `editors.rta` instead* | --- | Configuration allowing to add mount points for runtime adaptation
|
|
34
|
-
| `editors` | `array` | optional | `undefined` | List of configurations allowing to add mount points for additional editors
|
|
35
|
-
| `editors.rta` | `array` | optional | `undefined` | Configuration allowing to add mount points for runtime adaptation
|
|
36
|
-
| `editors.rta.layer` | `string` | optional | `(calculated)` | Property for defining the runtime adaptation layer for changes (default is `CUSTOMER_BASE` or read from the project for adaptation projects)
|
|
37
|
-
| `editors.rta.endpoints` | `array` | optional | `undefined` | List of mount points for editing
|
|
38
|
-
| `editors.cardGenerator` | --- | optional | `undefined` | Configuration object that enables card generation for an application. The generated cards are only available when the application is deployed to an ABAP-based SAP Fiori launchpad, such as SAP Fiori launchpad in SAP S/4HANA Cloud Public Edition.
|
|
39
|
-
| `editors.cardGenerator.path` | `string` | optional | `test/flpGeneratorSandbox.html` | The mount point of the local SAP Fiori launchpad which will be considered for card generation.
|
|
40
|
-
| `test` | `array` | optional | `undefined` | List of configurations for automated testing.
|
|
41
|
-
| `debug` | `boolean` | optional | `false` | Enables the debug output
|
|
18
|
+
| Option | Value Type | Requirement Type | Default Value | Description |
|
|
19
|
+
|-------------------------|------------|------------------------------------------------|------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
20
|
+
| `flp` | --- | optional | --- | Configuration object for the local SAP Fiori launchpad |
|
|
21
|
+
| `flp.path` | `string` | optional | `/test/flp.html` | The mount point of the local SAP Fiori launchpad. In case no file is found at the given path, a virtual endpoint will be instantiated. |
|
|
22
|
+
| `flp.init` | `string` | optional | `undefined` | UI5 module/script to be executed after the standard initialization |
|
|
23
|
+
| `flp.intent` | --- | optional | --- | Intent object to be used for the application |
|
|
24
|
+
| `flp.intent.object` | `string` | optional | `app` | Name of the semantic object |
|
|
25
|
+
| `flp.intent.action` | `string` | optional | `preview` | Name of the action |
|
|
26
|
+
| `flp.apps` | `array` | optional | `undefined` | Additional local apps that are available in the local SAP Fiori launchpad |
|
|
27
|
+
| `flp.libs` | `boolean` | optional | `false` | Flag to add a generic script fetching the paths of used libraries not available in UI5. To disable it, set it to `false`. If not set, then the project is checked for a `load-reuse-libs` script and, if available, the libraries are fetched as well |
|
|
28
|
+
| `flp.theme` | `string` | optional | `(calculated)` | Name of the UI5 theme to be used (default is `sap_horizon` or the first entry in the sap.ui.supportedThemes list provided in the manifest.json file if `sap_horizon` is not contained in the list) |
|
|
29
|
+
| `flp.enhancedHomePage` | `boolean` | optional | `false` | Flag for enabling enhanced FLP homepage, available only from UI5 version 1.123.0 onwards |
|
|
30
|
+
| `adp.target` | --- | mandatory for adaptation projects | --- | Configuration object defining the connected back end |
|
|
31
|
+
| `adp.ignoreCertErrors` | `boolean` | optional | `false` | Flag to ignore certification validation errors when working with development systems with self-signed certificates, for example |
|
|
32
|
+
| `adp.cfBuildPath` | `string` | optional (experimental, CF only) | `undefined` | **Experimental**: For CF ADP projects only. Path to build output folder (e.g., `dist`) to serve built resources directly. When set, the middleware serves static files from this path and reads manifest.json from it. |
|
|
33
|
+
| `rta` | --- | 🚫 deprecated</br> *use `editors.rta` instead* | --- | Configuration allowing to add mount points for runtime adaptation |
|
|
34
|
+
| `editors` | `array` | optional | `undefined` | List of configurations allowing to add mount points for additional editors |
|
|
35
|
+
| `editors.rta` | `array` | optional | `undefined` | Configuration allowing to add mount points for runtime adaptation |
|
|
36
|
+
| `editors.rta.layer` | `string` | optional | `(calculated)` | Property for defining the runtime adaptation layer for changes (default is `CUSTOMER_BASE` or read from the project for adaptation projects) |
|
|
37
|
+
| `editors.rta.endpoints` | `array` | optional | `undefined` | List of mount points for editing |
|
|
38
|
+
| `editors.cardGenerator` | --- | optional | `undefined` | Configuration object that enables card generation for an application. The generated cards are only available when the application is deployed to an ABAP-based SAP Fiori launchpad, such as SAP Fiori launchpad in SAP S/4HANA Cloud Public Edition. Available only from UI5 version 1.149.0 onwards for CAP node apps and from UI5 version 1.121.0 onwards for ABAP backends |
|
|
39
|
+
| `editors.cardGenerator.path` | `string` | optional | `test/flpGeneratorSandbox.html` | The mount point of the local SAP Fiori launchpad which will be considered for card generation. |
|
|
40
|
+
| `test` | `array` | optional | `undefined` | List of configurations for automated testing. |
|
|
41
|
+
| `debug` | `boolean` | optional | `false` | Enables the debug output |
|
|
42
42
|
|
|
43
43
|
### [`flp.apps`](#configuration-option-flpapps)
|
|
44
44
|
Array of additional application configurations:
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"bugs": {
|
|
11
11
|
"url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Apreview-middleware"
|
|
12
12
|
},
|
|
13
|
-
"version": "1.0.
|
|
13
|
+
"version": "1.0.23",
|
|
14
14
|
"license": "Apache-2.0",
|
|
15
15
|
"author": "@SAP/ux-tools-team",
|
|
16
16
|
"main": "dist/index.js",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"nock": "14.0.11",
|
|
55
55
|
"npm-run-all2": "8.0.4",
|
|
56
56
|
"supertest": "7.2.2",
|
|
57
|
-
"@private/preview-middleware-client": "npm:@sap-ux-private/preview-middleware-client@1.0.
|
|
57
|
+
"@private/preview-middleware-client": "npm:@sap-ux-private/preview-middleware-client@1.0.23",
|
|
58
58
|
"@sap-ux-private/playwright": "1.0.2",
|
|
59
59
|
"@sap-ux/axios-extension": "2.0.3",
|
|
60
60
|
"@sap-ux/store": "2.0.1",
|