@sap-ux/ui5-application-writer 1.1.3 → 1.1.4

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -0
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -58,6 +58,10 @@ async function generate(basePath, ui5AppConfig, fs) {
58
58
  const ui5LocalConfigPath = (0, path_1.join)(basePath, 'ui5-local.yaml');
59
59
  // write ui5-local.yaml only for non-CAP applications
60
60
  const ui5LocalConfig = await ui5_config_1.UI5Config.newInstance(fs.read(ui5LocalConfigPath));
61
+ // default UI5 lib
62
+ if (!ui5App.ui5.ui5Libs.includes('sap.ushell')) {
63
+ ui5App.ui5.ui5Libs.push('sap.ushell');
64
+ }
61
65
  ui5LocalConfig.addUI5Framework(ui5App.ui5.framework, ui5App.ui5.localVersion, ui5App.ui5.ui5Libs, ui5App.ui5.ui5Theme);
62
66
  ui5LocalConfig.addFioriToolsAppReloadMiddleware();
63
67
  // Add optional features
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.1.3",
12
+ "version": "1.1.4",
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.23.1"
30
+ "@sap-ux/ui5-config": "0.24.0"
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.5.0",
41
- "@sap-ux/project-access": "1.26.3"
41
+ "@sap-ux/project-access": "1.26.7"
42
42
  },
43
43
  "engines": {
44
44
  "node": ">=18.x"