@sap/ux-ui5-tooling 1.18.6 → 1.19.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 +23 -0
- package/README.md +43 -16
- package/dist/cli/index.js +502 -435
- package/dist/markdowns/deploy/deploy.en.md +44 -33
- package/dist/markdowns/undeploy/undeploy.en.md +23 -21
- package/dist/middlewares/fiori-tools-appreload.js +2 -0
- package/dist/middlewares/fiori-tools-preview.js +51 -15
- package/dist/middlewares/fiori-tools-proxy.js +53 -19
- package/dist/middlewares/fiori-tools-servestatic.js +12 -1
- package/dist/tasks/cf-deploy/index.js +68 -34
- package/dist/tasks/deploy/index.js +557 -369
- package/package.json +19 -19
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,29 @@ 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.19.0] - 2025-09-18
|
|
7
|
+
### Quality
|
|
8
|
+
| Package | Change |
|
|
9
|
+
|---|---|
|
|
10
|
+
| [@sap-ux/preview-middleware](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/preview-middleware)) | [`0.23.5` -> `0.23.9`] |
|
|
11
|
+
| [@sap-ux/adp-tooling](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/adp-tooling)) | [`0.15.24` -> `0.15.27`] |
|
|
12
|
+
| [@sap-ux/deploy-tooling](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/deploy-tooling)) | [`0.16.46` -> `0.16.48`] |
|
|
13
|
+
| [@sap-ux/ui5-proxy-middleware](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/ui5-proxy-middleware)) | [`1.5.10` -> `1.5.11`] |
|
|
14
|
+
|
|
15
|
+
## [1.18.7] - 2025-09-04
|
|
16
|
+
### Quality
|
|
17
|
+
| Package | Change |
|
|
18
|
+
|---|---|
|
|
19
|
+
| [@sap-ux/preview-middleware](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/preview-middleware)) | [`0.23.0` -> `0.23.5`] |
|
|
20
|
+
| [@sap-ux/adp-tooling](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/adp-tooling)) | [`0.15.21` -> `0.15.24`] |
|
|
21
|
+
| [@sap-ux/backend-proxy-middleware](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/backend-proxy-middleware)) | [`0.9.12` -> `0.9.17`] |
|
|
22
|
+
| [@sap-ux/btp-utils](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/btp-utils)) | [`1.1.0` -> `1.1.1`] |
|
|
23
|
+
| [@sap-ux/deploy-tooling](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/deploy-tooling)) | [`0.16.42` -> `0.16.46`] |
|
|
24
|
+
| [@sap-ux/reload-middleware](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/reload-middleware)) | [`0.3.0` -> `0.3.1`] |
|
|
25
|
+
| [@sap-ux/serve-static-middleware](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/serve-static-middleware)) | [`0.3.0` -> `0.4.0`] |
|
|
26
|
+
| [@sap-ux/store](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/store)) | [`1.1.2` -> `1.1.4`] |
|
|
27
|
+
| [@sap-ux/ui5-proxy-middleware](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/ui5-proxy-middleware)) | [`1.5.9` -> `1.5.10`] |
|
|
28
|
+
|
|
6
29
|
## [1.18.6] - 2025-08-20
|
|
7
30
|
### Quality
|
|
8
31
|
| Package | Change |
|
package/README.md
CHANGED
|
@@ -431,11 +431,11 @@ With the following configuration, the local Fiori launchpad will be available at
|
|
|
431
431
|
customMiddleware:
|
|
432
432
|
- name: fiori-tools-preview
|
|
433
433
|
afterMiddleware: fiori-tools-appreload
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
434
|
+
configuration:
|
|
435
|
+
flp:
|
|
436
|
+
path: /test/flpSandbox.html
|
|
437
|
+
theme: sap_horizon
|
|
438
|
+
debug: true
|
|
439
439
|
```
|
|
440
440
|
|
|
441
441
|
#### [Deprecated configuration](#deprecated-configuration)
|
|
@@ -455,15 +455,38 @@ This configuration is internally converted to following.
|
|
|
455
455
|
customMiddleware:
|
|
456
456
|
- name: fiori-tools-preview
|
|
457
457
|
afterMiddleware: fiori-tools-appreload
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
458
|
+
configuration:
|
|
459
|
+
flp:
|
|
460
|
+
path: /test/flpSandbox.html
|
|
461
|
+
intent:
|
|
462
|
+
object: preview
|
|
463
|
+
action: app
|
|
464
|
+
theme: sap_fiori_3
|
|
465
465
|
```
|
|
466
|
+
#### [Custom Init](#custom-init)
|
|
466
467
|
|
|
468
|
+
If you want to add custom modifications to the local SAP Fiori Launchpad sandbox file that is served at a virtual endpoint, you can do so by creating a `.js` or `.ts` file (depending on your setup).
|
|
469
|
+
This file can then be used as a custom init in the configuration options. It will be executed after the standard initialization of the middleware.
|
|
470
|
+
|
|
471
|
+
**test/myCustomInit.js**
|
|
472
|
+
```js
|
|
473
|
+
// Example for setting the ABAP date format
|
|
474
|
+
sap.ui.require(['sap/base/i18n/Formatting'], function(Formatting) {
|
|
475
|
+
Formatting.setABAPDateFormat('1');
|
|
476
|
+
});
|
|
477
|
+
|
|
478
|
+
// If you are on a UI5 version lower than 1.120 you need to use
|
|
479
|
+
//sap.ui.getCore().getConfiguration().getFormatSettings().setLegacyDateFormat('1');
|
|
480
|
+
```
|
|
481
|
+
|
|
482
|
+
```yaml
|
|
483
|
+
customMiddleware:
|
|
484
|
+
- name: fiori-tools-preview
|
|
485
|
+
afterMiddleware: fiori-tools-appreload
|
|
486
|
+
configuration:
|
|
487
|
+
flp:
|
|
488
|
+
init: /test/myCustomInit
|
|
489
|
+
```
|
|
467
490
|
|
|
468
491
|
## [**Tasks**](#tasks)
|
|
469
492
|
|
|
@@ -491,7 +514,7 @@ builder:
|
|
|
491
514
|
- name: deploy-to-abap
|
|
492
515
|
afterTask: replaceVersion
|
|
493
516
|
configuration:
|
|
494
|
-
|
|
517
|
+
ignoreCertErrors: false # Disabled by default. Set to `true` to ignore certificate errors.
|
|
495
518
|
target:
|
|
496
519
|
url: https://XYZ.sap-system.corp:44311
|
|
497
520
|
client: 200
|
|
@@ -536,7 +559,9 @@ builder:
|
|
|
536
559
|
- name: deploy-to-abap
|
|
537
560
|
afterTask: replaceVersion
|
|
538
561
|
configuration:
|
|
539
|
-
|
|
562
|
+
verbose: true # Disabled by default. Set to `true` to include more information in the log.
|
|
563
|
+
yes: true # Enabled by default. Set to `true` to disable the confirmation prompt.
|
|
564
|
+
ignoreCertErrors: true # Disabled by default. Set to `true` to ignore certificate errors.
|
|
540
565
|
target:
|
|
541
566
|
url: https://XYZ.sap-system.corp:44311
|
|
542
567
|
client: 200
|
|
@@ -643,7 +668,7 @@ The app object describes the backend object that is created/updated as result of
|
|
|
643
668
|
- `boolean` (default: `false`)
|
|
644
669
|
- If set to `true`, the task will log additional information about the deployment process. This is useful for debugging purposes.
|
|
645
670
|
|
|
646
|
-
## [Commands](#commands)
|
|
671
|
+
## [CLI Commands](#commands)
|
|
647
672
|
### [fiori run](#fiori-run---starts-a-local-web-server-for-running-a-fe-application) - starts a local web server for running a FE application
|
|
648
673
|
#### Options
|
|
649
674
|
|
|
@@ -734,7 +759,9 @@ Deploys an application to an ABAP frontend server.
|
|
|
734
759
|
* `--testMode, -tm` - Shows the results of CRUD operations that would be done in a real deployment to help you make an informed decision.
|
|
735
760
|
* `--archive-path, -ap` - The path to the archive that should be deployed. If provided, the archive will be used instead of creating a new one from the dist folder.
|
|
736
761
|
* `--verbose, -vb` - Enable verbose logging (default: `false`).
|
|
737
|
-
* `--strict-ssl, -ss` -
|
|
762
|
+
* `--strict-ssl, -ss` - Deprecated. Use `ignoreCertErrors` (plural) instead.
|
|
763
|
+
* `--ignore-cert-error, -ic` - Deprecated. Use `ignoreCertErrors` (plural) instead.
|
|
764
|
+
* `--ignore-cert-errors, -ics` - Disabled by default. If set to `true`, the task will not validate the SSL certificate of the target system. This is useful for development purposes but must not be used in production environments.
|
|
738
765
|
|
|
739
766
|
## [FAQ](#faq)
|
|
740
767
|
|