@sap-ux/fiori-app-sub-generator 0.8.7 → 0.8.8

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.
@@ -178,6 +178,13 @@ async function transformState({ project, service, floorplan, entityRelatedConfig
178
178
  ...capServiceInfo,
179
179
  cdsUi5PluginInfo
180
180
  };
181
+ // If enable cds-ui5-plugin is true (default) then
182
+ // set isWorkspaceEnabled && hasCdsUi5Plugin to true to ensure that npm install uses correct path for CAP.
183
+ if (appConfig.appOptions?.addCdsUi5Plugin === true) {
184
+ appConfig.service.capService.cdsUi5PluginInfo = appConfig.service.capService.cdsUi5PluginInfo ?? {};
185
+ appConfig.service.capService.cdsUi5PluginInfo.isWorkspaceEnabled = true;
186
+ appConfig.service.capService.cdsUi5PluginInfo.hasCdsUi5Plugin = true;
187
+ }
181
188
  }
182
189
  if (service.destinationAuthType === btp_utils_1.Authentication.SAML_ASSERTION ||
183
190
  service.connectedSystem?.destination?.Authentication === btp_utils_1.Authentication.SAML_ASSERTION ||
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/fiori-app-sub-generator",
3
3
  "description": "A yeoman (sub) generator that can generate Fiori applications. Not for standalone use.",
4
- "version": "0.8.7",
4
+ "version": "0.8.8",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -29,23 +29,23 @@
29
29
  "mem-fs-editor": "9.4.0",
30
30
  "uuid": "11.0.5",
31
31
  "yeoman-generator": "5.10.0",
32
- "@sap-ux/annotation-generator": "0.3.75",
33
32
  "@sap-ux/axios-extension": "1.24.2",
34
- "@sap-ux/btp-utils": "1.1.5",
33
+ "@sap-ux/annotation-generator": "0.3.75",
35
34
  "@sap-ux/cap-config-writer": "0.12.25",
36
35
  "@sap-ux/feature-toggle": "0.3.4",
36
+ "@sap-ux/btp-utils": "1.1.5",
37
37
  "@sap-ux/fiori-elements-writer": "2.8.4",
38
38
  "@sap-ux/fiori-freestyle-writer": "2.5.2",
39
39
  "@sap-ux/fiori-generator-shared": "0.13.34",
40
40
  "@sap-ux/fiori-tools-settings": "0.2.2",
41
41
  "@sap-ux/launch-config": "0.10.35",
42
+ "@sap-ux/project-access": "1.32.9",
42
43
  "@sap-ux/odata-service-inquirer": "2.11.8",
43
44
  "@sap-ux/odata-service-writer": "0.27.30",
44
- "@sap-ux/project-access": "1.32.9",
45
45
  "@sap-ux/store": "1.3.3",
46
- "@sap-ux/telemetry": "0.6.39",
47
46
  "@sap-ux/ui5-application-inquirer": "0.15.35",
48
- "@sap-ux/ui5-info": "0.13.2"
47
+ "@sap-ux/ui5-info": "0.13.2",
48
+ "@sap-ux/telemetry": "0.6.39"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@sap-devx/yeoman-ui-types": "1.16.9",
@@ -64,8 +64,8 @@
64
64
  "yeoman-test": "6.3.0",
65
65
  "@sap-ux/deploy-config-sub-generator": "0.5.5",
66
66
  "@sap-ux/flp-config-sub-generator": "0.3.67",
67
- "@sap-ux/inquirer-common": "0.9.4",
68
67
  "@sap-ux/jest-file-matchers": "0.2.6",
68
+ "@sap-ux/inquirer-common": "0.9.4",
69
69
  "@sap-ux/logger": "0.7.1"
70
70
  },
71
71
  "engines": {