@sap-ux/fiori-elements-writer 2.5.26 → 2.5.28

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 -5
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -208,16 +208,13 @@ async function generate(basePath, data, fs, log) {
208
208
  (0, ui5_test_writer_1.generateOPAFiles)(basePath, opaConfig, fs);
209
209
  }
210
210
  if (feApp.service.capService) {
211
- const enableCdsUi5Plugin = !!feApp?.appOptions?.typescript || !!feApp?.service.capService?.cdsUi5PluginInfo?.isCdsUi5PluginEnabled;
212
211
  const settings = {
213
212
  appRoot: basePath,
214
213
  packageName: feApp.package.name ?? '',
215
214
  appId: feApp.app.id,
216
215
  sapux: feApp.appOptions?.sapux,
217
- enableTypescript: feApp.appOptions?.typescript,
218
- // Enable CDS UI5 plugin and NPM workspaces if the CDS UI5 plugin info is present
219
- enableCdsUi5Plugin: enableCdsUi5Plugin,
220
- enableNPMWorkspaces: enableCdsUi5Plugin
216
+ enableCdsUi5Plugin: feApp.appOptions?.addCdsUi5Plugin,
217
+ enableTypescript: feApp.appOptions?.typescript
221
218
  };
222
219
  // apply cap updates when service is cap
223
220
  await (0, cap_config_writer_1.applyCAPUpdates)(fs, feApp.service.capService, settings);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/fiori-elements-writer",
3
3
  "description": "SAP Fiori elements application writer",
4
- "version": "2.5.26",
4
+ "version": "2.5.28",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -28,13 +28,13 @@
28
28
  "read-pkg-up": "7.0.1",
29
29
  "semver": "7.5.4",
30
30
  "@sap-ux/odata-service-writer": "0.27.17",
31
- "@sap-ux/ui5-application-writer": "1.5.12",
32
- "@sap-ux/fe-fpm-writer": "0.37.2",
31
+ "@sap-ux/ui5-application-writer": "1.5.13",
32
+ "@sap-ux/fe-fpm-writer": "0.37.3",
33
33
  "@sap-ux/ui5-config": "0.29.2",
34
- "@sap-ux/ui5-test-writer": "0.7.19",
34
+ "@sap-ux/ui5-test-writer": "0.7.20",
35
35
  "@sap-ux/fiori-generator-shared": "0.13.9",
36
- "@sap-ux/cap-config-writer": "0.10.27",
37
- "@sap-ux/annotation-generator": "0.3.52",
36
+ "@sap-ux/cap-config-writer": "0.11.0",
37
+ "@sap-ux/annotation-generator": "0.3.53",
38
38
  "@sap-ux/logger": "0.7.0"
39
39
  },
40
40
  "devDependencies": {