@sap-ux/fiori-freestyle-writer 2.4.33 → 2.4.35

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 +3 -6
  2. package/package.json +7 -7
package/dist/index.js CHANGED
@@ -128,20 +128,17 @@ async function generate(basePath, data, fs, log) {
128
128
  // Add placeholder middleware so allow adding service later
129
129
  const ui5LocalConfigPath = (0, path_1.join)(basePath, 'ui5-local.yaml');
130
130
  const ui5LocalConfig = await ui5_config_1.UI5Config.newInstance(fs.read(ui5LocalConfigPath));
131
- ui5LocalConfig.addFioriToolsProxydMiddleware({});
131
+ ui5LocalConfig.addFioriToolsProxyMiddleware({});
132
132
  fs.write(ui5LocalConfigPath, ui5LocalConfig.toString());
133
133
  }
134
134
  if (ffApp.service?.capService) {
135
- const enableCdsUi5Plugin = !!ffApp?.appOptions?.typescript || !!ffApp?.service.capService?.cdsUi5PluginInfo?.isCdsUi5PluginEnabled;
136
135
  const settings = {
137
136
  appRoot: basePath,
138
137
  packageName: ffApp.package.name ?? '',
139
138
  appId: ffApp.app.id,
140
139
  sapux: ffApp.appOptions?.sapux,
141
- enableTypescript: ffApp.appOptions?.typescript,
142
- // Enable CDS UI5 plugin and NPM workspaces if the CDS UI5 plugin info is present
143
- enableCdsUi5Plugin: enableCdsUi5Plugin,
144
- enableNPMWorkspaces: enableCdsUi5Plugin
140
+ enableCdsUi5Plugin: ffApp.appOptions?.addCdsUi5Plugin,
141
+ enableTypescript: ffApp.appOptions?.typescript
145
142
  };
146
143
  // apply cap updates when service is cap
147
144
  await (0, cap_config_writer_1.applyCAPUpdates)(fs, ffApp.service.capService, settings);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/fiori-freestyle-writer",
3
3
  "description": "SAP Fiori freestyle application writer",
4
- "version": "2.4.33",
4
+ "version": "2.4.35",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -27,12 +27,12 @@
27
27
  "mem-fs-editor": "9.4.0",
28
28
  "read-pkg-up": "7.0.1",
29
29
  "semver": "7.5.4",
30
- "@sap-ux/odata-service-writer": "0.27.16",
31
- "@sap-ux/ui5-application-writer": "1.5.11",
32
- "@sap-ux/ui5-config": "0.29.1",
33
- "@sap-ux/fiori-generator-shared": "0.13.8",
34
- "@sap-ux/cap-config-writer": "0.10.26",
35
- "@sap-ux/ui5-test-writer": "0.7.18",
30
+ "@sap-ux/odata-service-writer": "0.27.17",
31
+ "@sap-ux/ui5-application-writer": "1.5.13",
32
+ "@sap-ux/ui5-config": "0.29.2",
33
+ "@sap-ux/fiori-generator-shared": "0.13.9",
34
+ "@sap-ux/cap-config-writer": "0.11.0",
35
+ "@sap-ux/ui5-test-writer": "0.7.20",
36
36
  "@sap-ux/logger": "0.7.0"
37
37
  },
38
38
  "devDependencies": {