@sap-ux/ui5-application-writer 1.5.11 → 1.5.13
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/dist/index.js +1 -1
- package/dist/types.d.ts +4 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -55,7 +55,7 @@ async function generate(basePath, ui5AppConfig, fs) {
|
|
|
55
55
|
// ui5.yaml
|
|
56
56
|
const ui5ConfigPath = (0, path_1.join)(basePath, 'ui5.yaml');
|
|
57
57
|
const ui5Config = await ui5_config_1.UI5Config.newInstance(fs.read(ui5ConfigPath));
|
|
58
|
-
ui5Config.
|
|
58
|
+
ui5Config.addFioriToolsProxyMiddleware({
|
|
59
59
|
ui5: {
|
|
60
60
|
url: ui5App.ui5?.frameworkUrl
|
|
61
61
|
}
|
package/dist/types.d.ts
CHANGED
|
@@ -157,6 +157,10 @@ export interface AppOptions {
|
|
|
157
157
|
* Also updates the configs (e.g. ui5.yaml) and package.json scripts accordingly.
|
|
158
158
|
*/
|
|
159
159
|
useVirtualPreviewEndpoints?: boolean;
|
|
160
|
+
/**
|
|
161
|
+
* add the cds ui5 plugin (and enable npm workspaces) in the project - defaults to true.
|
|
162
|
+
*/
|
|
163
|
+
addCdsUi5Plugin?: boolean;
|
|
160
164
|
}
|
|
161
165
|
/**
|
|
162
166
|
* Options for template generation.
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"bugs": {
|
|
10
10
|
"url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Aui5-application-writer"
|
|
11
11
|
},
|
|
12
|
-
"version": "1.5.
|
|
12
|
+
"version": "1.5.13",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"main": "dist/index.js",
|
|
15
15
|
"files": [
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"mem-fs": "2.1.0",
|
|
28
28
|
"mem-fs-editor": "9.4.0",
|
|
29
29
|
"semver": "7.5.4",
|
|
30
|
-
"@sap-ux/ui5-config": "0.29.
|
|
30
|
+
"@sap-ux/ui5-config": "0.29.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/ejs": "3.1.2",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@types/semver": "7.5.2",
|
|
39
39
|
"fs-extra": "10.0.0",
|
|
40
40
|
"@sap-ux/eslint-plugin-fiori-tools": "0.6.0",
|
|
41
|
-
"@sap-ux/project-access": "1.30.
|
|
41
|
+
"@sap-ux/project-access": "1.30.12"
|
|
42
42
|
},
|
|
43
43
|
"engines": {
|
|
44
44
|
"node": ">=20.x"
|