@sap-ux/fiori-app-sub-generator 0.0.13 → 0.0.15

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.
@@ -274,7 +274,8 @@ class FioriAppGenerator extends yeoman_generator_1.default {
274
274
  capService: this.state.service.capService,
275
275
  enableCodeAssist: this.state.project?.enableCodeAssist ?? false,
276
276
  // Assumption that npm workspaces will be enabled if cds ui5 plugin is a depenedency
277
- useNpmWorkspaces: !!(this.state.service.capService?.cdsUi5PluginInfo?.isCdsUi5PluginEnabled ||
277
+ useNpmWorkspaces: !!(this.state.project.enableTypeScript || // If typescript is enabled, it is required that the CAP project will be updated to use NPM workspaces
278
+ this.state.service.capService?.cdsUi5PluginInfo?.isCdsUi5PluginEnabled ||
278
279
  this.state.service.capService?.cdsUi5PluginInfo?.hasCdsUi5Plugin ||
279
280
  this.state.service.capService?.cdsUi5PluginInfo?.isWorkspaceEnabled),
280
281
  ui5Version: this.state.project?.ui5Version
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.0.13",
4
+ "version": "0.0.15",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -34,7 +34,7 @@
34
34
  "@sap-ux/btp-utils": "1.0.3",
35
35
  "@sap-ux/cap-config-writer": "0.9.25",
36
36
  "@sap-ux/feature-toggle": "0.2.3",
37
- "@sap-ux/fiori-elements-writer": "2.1.40",
37
+ "@sap-ux/fiori-elements-writer": "2.1.41",
38
38
  "@sap-ux/fiori-freestyle-writer": "2.2.8",
39
39
  "@sap-ux/fiori-generator-shared": "0.10.2",
40
40
  "@sap-ux/fiori-tools-settings": "0.1.0",
@@ -42,10 +42,10 @@
42
42
  "@sap-ux/odata-service-inquirer": "2.2.36",
43
43
  "@sap-ux/odata-service-writer": "0.26.13",
44
44
  "@sap-ux/project-access": "1.29.18",
45
- "@sap-ux/telemetry": "0.5.74",
46
- "@sap-ux/store": "1.0.0",
47
45
  "@sap-ux/ui5-application-inquirer": "0.11.6",
48
- "@sap-ux/ui5-info": "0.9.1"
46
+ "@sap-ux/store": "1.0.0",
47
+ "@sap-ux/ui5-info": "0.9.1",
48
+ "@sap-ux/telemetry": "0.5.74"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@sap-devx/yeoman-ui-types": "1.16.9",