@sap/ux-ui5-tooling 1.7.3 → 1.7.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 +4 -0
- package/README.md +25 -5
- package/dist/cli/index.js +1017 -297
- package/dist/markdowns/cfDeploy/cfDeploy.en.md +5 -1
- package/dist/middlewares/fiori-tools-appreload.js +183 -35
- package/dist/middlewares/fiori-tools-preview.js +1023 -292
- package/dist/middlewares/fiori-tools-proxy.js +5146 -2161
- package/dist/middlewares/fiori-tools-servestatic.js +2 -2
- package/dist/tasks/cf-deploy/index.js +1011 -291
- package/dist/tasks/deploy/index.js +1008 -290
- package/dist/templates/control-property-editor/app.css +1 -1
- package/dist/templates/control-property-editor/app.js +49 -49
- package/dist/templates/control-property-editor/ui5-adaptation.js +1 -1
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
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
|
+
## [1.7.4] - 2022-09-08
|
|
6
|
+
### Fixed
|
|
7
|
+
- Fixed an issue where the use of the `pathPrefix` property was not working.
|
|
8
|
+
|
|
5
9
|
## [1.7.1] - 2022-08-11
|
|
6
10
|
### Added
|
|
7
11
|
- Added a check if the SAPUI5 version is available on the SAPUI5 SDK when starting the application. If not, the nearest highest patch version is used instead.
|
package/README.md
CHANGED
|
@@ -170,10 +170,31 @@ By the default the `fiori-tools-proxy` will read the proxy configuration from th
|
|
|
170
170
|
url: https://my.backend.com:1234
|
|
171
171
|
|
|
172
172
|
```
|
|
173
|
+
#### [Providing Credentials](#providing-credentials)
|
|
174
|
+
Starting with version `1.6.7` it is now possible to provide the credentials for the backend service upfront in a `.env` file.
|
|
175
|
+
|
|
176
|
+
```
|
|
177
|
+
FIORI_TOOLS_USER=YOUR_USER
|
|
178
|
+
FIORI_TOOLS_PASSWORD=YOUR_PASSWORD
|
|
179
|
+
```
|
|
180
|
+
When the two environment variables `FIORI_TOOLS_USER` and `FIORI_TOOLS_PASSWORD` are defined, then they will be used as credentials when connecting to the backend service.
|
|
173
181
|
|
|
174
182
|
#### [UI5](#ui5)
|
|
175
183
|
|
|
176
|
-
|
|
184
|
+
The proxy configuration contains also the configuration for loading the SAPUI5 resources when previewing the application, e.g.
|
|
185
|
+
|
|
186
|
+
```
|
|
187
|
+
- name: fiori-tools-proxy
|
|
188
|
+
afterMiddleware: compression
|
|
189
|
+
configuration:
|
|
190
|
+
ui5:
|
|
191
|
+
path:
|
|
192
|
+
- /resources
|
|
193
|
+
- /test-resources
|
|
194
|
+
url: https://ui5.sap.com
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
By using the proxy configuration one can also change the SAPUI5 version, which is used to preview the application. You can use the `version` parameter to change the SAPUI5 version as follows:
|
|
177
198
|
|
|
178
199
|
```
|
|
179
200
|
- name: fiori-tools-proxy
|
|
@@ -183,8 +204,8 @@ By using the proxy configuration one can also change the SAPUI5 version, which i
|
|
|
183
204
|
path:
|
|
184
205
|
- /resources
|
|
185
206
|
- /test-resources
|
|
186
|
-
url: https://
|
|
187
|
-
version: 1.
|
|
207
|
+
url: https://ui5.sap.com
|
|
208
|
+
version: 1.102.7
|
|
188
209
|
```
|
|
189
210
|
|
|
190
211
|
Starting with `ux-ui5-tooling` version `1.4.7`, if the `version` property is not set in the `ui5.yaml`, then the `minUI5Version` from `manifest.json` will be used for the application preview. If the `version` property is set, but it is empty, then the `latest` SAPUI5 version from https://ui5.sap.com will be used for the application preview. For any other case the value of the `version` property will be used for the application preview.
|
|
@@ -201,8 +222,7 @@ Starting with `ux-ui5-tooling` version `1.7.1` a check for the SAPUI5 version of
|
|
|
201
222
|
path:
|
|
202
223
|
- /resources
|
|
203
224
|
- /test-resources
|
|
204
|
-
url: https://
|
|
205
|
-
version: 1.78.0
|
|
225
|
+
url: https://ui5.sap.com
|
|
206
226
|
directLoad: true
|
|
207
227
|
```
|
|
208
228
|
|