@sap-ux/ui5-application-writer 2.0.2 → 2.0.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 +2 -0
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -57,6 +57,7 @@ async function generate(basePath, ui5AppConfig, fs) {
57
57
  }
58
58
  });
59
59
  ui5Config.addFioriToolsAppReloadMiddleware();
60
+ ui5Config.addBuilderResourceExcludes();
60
61
  const previewMiddleWareOpts = getPreviewMiddlewareOpts(ui5App.app, ui5App.ui5?.ui5Theme, ui5AppConfig.appOptions?.useVirtualPreviewEndpoints);
61
62
  const fioriToolsPreviewConfigMiddlware = getPreviewMiddlewareConfig(previewMiddleWareOpts);
62
63
  // add preview middleware to ui5Config for edmx projects and cap apps using virtual endpoints
@@ -69,6 +70,7 @@ async function generate(basePath, ui5AppConfig, fs) {
69
70
  const ui5LocalConfig = await UI5Config.newInstance(fs.read(ui5LocalConfigPath));
70
71
  ui5LocalConfig.addUI5Framework(ui5App.ui5.framework, ui5App.ui5.localVersion, ui5App.ui5.ui5Libs, ui5App.ui5.ui5Theme);
71
72
  ui5LocalConfig.addFioriToolsAppReloadMiddleware();
73
+ ui5LocalConfig.addBuilderResourceExcludes();
72
74
  // Add optional features
73
75
  await applyOptionalFeatures(ui5App, fs, basePath, tmplPath, [ui5Config, ui5LocalConfig]);
74
76
  // add preview middleware to ui5LocalConfig
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "bugs": {
11
11
  "url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Aui5-application-writer"
12
12
  },
13
- "version": "2.0.2",
13
+ "version": "2.0.4",
14
14
  "license": "Apache-2.0",
15
15
  "main": "dist/index.js",
16
16
  "files": [
@@ -28,7 +28,7 @@
28
28
  "mem-fs": "2.1.0",
29
29
  "mem-fs-editor": "9.4.0",
30
30
  "semver": "7.7.4",
31
- "@sap-ux/ui5-config": "1.0.2"
31
+ "@sap-ux/ui5-config": "1.0.3"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/ejs": "3.1.5",
@@ -38,8 +38,8 @@
38
38
  "@types/mem-fs-editor": "7.0.1",
39
39
  "@types/semver": "7.7.1",
40
40
  "fs-extra": "11.3.4",
41
- "@sap-ux/eslint-plugin-fiori-tools": "10.5.3",
42
- "@sap-ux/project-access": "2.1.0"
41
+ "@sap-ux/eslint-plugin-fiori-tools": "10.6.2",
42
+ "@sap-ux/project-access": "2.1.2"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=22.x"