@sap/ux-ui5-tooling 1.5.4 → 1.5.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 +23 -4
- package/dist/cli/index.js +82 -3643
- package/dist/middlewares/fiori-tools-appreload.js +1 -2
- package/dist/middlewares/fiori-tools-preview.js +82 -3632
- package/dist/middlewares/fiori-tools-proxy.js +80 -3624
- package/dist/middlewares/fiori-tools-servestatic.js +14 -8
- package/dist/tasks/cf-deploy/index.js +20 -3610
- package/dist/tasks/deploy/index.js +77 -3627
- package/dist/templates/control-property-editor/app.js +1 -1
- package/dist/templates/control-property-editor/ui5-adaptation.js +1 -1
- package/package.json +8 -8
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.5.5] - 2022-04-21
|
|
6
|
+
### Fixed
|
|
7
|
+
- Fixed an issue with the `fiori-tools-servestatic` middleware not serving files starting with a dot
|
|
8
|
+
|
|
5
9
|
## [1.5.4] - 2022-04-07
|
|
6
10
|
### Fixed
|
|
7
11
|
- Fixed an issue with escaping runtime arguments on Windows with Node.js version 16
|
package/README.md
CHANGED
|
@@ -245,9 +245,10 @@ server:
|
|
|
245
245
|
src: "Path/To/libs"
|
|
246
246
|
```
|
|
247
247
|
|
|
248
|
-
### Configuration options
|
|
248
|
+
### [Configuration options](#configuration-options-1)
|
|
249
|
+
Additionaly you can specify any of the configuration options (excluding `setHeaders`!) of the [serve-static](https://www.npmjs.com/package/serve-static) middleware.
|
|
249
250
|
|
|
250
|
-
|
|
251
|
+
E.g. you can set `fallthrough: false`, which will cause the middleware to return 404 error, when it can't find a file on the local system:
|
|
251
252
|
|
|
252
253
|
```
|
|
253
254
|
server:
|
|
@@ -256,9 +257,27 @@ server:
|
|
|
256
257
|
afterMiddleware: compression
|
|
257
258
|
configuration:
|
|
258
259
|
paths:
|
|
259
|
-
- path: /
|
|
260
|
-
src: "Path/To/
|
|
260
|
+
- path: /resources
|
|
261
|
+
src: "Path/To/SAPUI5-SDK"
|
|
262
|
+
- path: /test-resources
|
|
263
|
+
src: "Path/To/SAPUI5-SDK"
|
|
264
|
+
fallthrough: false
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
Alternatively you can set e.g. `fallthrough: false` only for specific requests:
|
|
268
|
+
|
|
269
|
+
```
|
|
270
|
+
server:
|
|
271
|
+
customMiddleware:
|
|
272
|
+
- name: fiori-tools-servestatic
|
|
273
|
+
afterMiddleware: compression
|
|
274
|
+
configuration:
|
|
275
|
+
paths:
|
|
276
|
+
- path: /resources
|
|
277
|
+
src: "Path/To/SAPUI5-SDK"
|
|
261
278
|
fallthrough: false
|
|
279
|
+
- path: /test-resources
|
|
280
|
+
src: "Path/To/SAPUI5-SDK"
|
|
262
281
|
```
|
|
263
282
|
|
|
264
283
|
### [**4. Preview**](#4-preview)
|