@sap/ux-ui5-tooling 1.4.6 → 1.4.7

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,11 @@ All notable changes to this project are documented in this file.
3
3
 
4
4
  This project adheres to [Semantic Versioning](http://semver.org/) and the changelog is formatted based on [Keep a Changelog](http://keepachangelog.com/).
5
5
 
6
+ ## [1.4.7] - 2022-01-27
7
+ ### Changed
8
+ - Forward request to next available middleware if UI5 proxy response returns 404
9
+ - Consolidate UI5 version handling
10
+
6
11
  ## [1.4.6] - 2022-01-13
7
12
  ### Fixed
8
13
  - Improved variant management validation logic
package/README.md CHANGED
@@ -261,6 +261,27 @@ server:
261
261
  fallthrough: false
262
262
  ```
263
263
 
264
+ ### [**4. Preview**](#4-preview)
265
+ The `fiori-tools-preview` middleware enables the developer variant creation for SAP Fiori applications.
266
+
267
+ ### Example configuration
268
+ Executing `npx fiori run --open preview.html` in your project with the configuration below in the `ui5.yaml` opens a new browser tab with the application switched to UI adaptation mode for variant creation. The file `preview.html` is created dynamically at runtime by the `fiori-tools-preview` middleware.
269
+
270
+ ```
271
+ server:
272
+ customMiddleware:
273
+ - name: fiori-tools-preview
274
+ afterMiddleware: fiori-tools-appreload
275
+ configuration:
276
+ component: myapp
277
+ ui5Theme: sap_fiori_3
278
+ ```
279
+
280
+ ### Configuration options
281
+ - **`component`** - application component of the SAP Fiori application (value is prefilled when the application is generated with https://www.npmjs.com/package/@sap/generator-fiori).
282
+ - **`ui5Theme`** - SAP Fiori theme of the application (value is prefilled when the application is generated with https://www.npmjs.com/package/@sap/generator-fiori).
283
+ - **`libs`** - a comma separated list of additional libraries that should be loaded, e.g. `libs: my.custom.lib1, my.custom.lib2`
284
+
264
285
  ## [**Tasks**](#tasks)
265
286
 
266
287
  SAP Fiori Tools use the capabilities of custom tasks to deploy the SAP Fiori projects to ABAP servers.