@sap-ux/ui-service-sub-generator 0.0.14 → 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.
- package/generators/app/index.js +3 -1
- package/package.json +8 -8
package/generators/app/index.js
CHANGED
|
@@ -121,7 +121,9 @@ class default_1 extends yeoman_generator_1.default {
|
|
|
121
121
|
// UI Service configuration step
|
|
122
122
|
(0, utils_2.setToolbarMessage)(this.options.data, this.systemSelectionAnswers, this.appWizard);
|
|
123
123
|
// prompt service configuration
|
|
124
|
-
const configPrompts = await (0, ui_service_inquirer_1.getConfigPrompts)(this.systemSelectionAnswers,
|
|
124
|
+
const configPrompts = await (0, ui_service_inquirer_1.getConfigPrompts)(this.systemSelectionAnswers, {
|
|
125
|
+
useDraftEnabled: !(this.answers.objectType === ui_service_inquirer_1.ObjectType.CDS_VIEW || this.options.data?.type === types_1.BAS_OBJECT.CDS)
|
|
126
|
+
}, logger_1.default.logger);
|
|
125
127
|
const configAnswers = await this.prompt(configPrompts.prompts);
|
|
126
128
|
Object.assign(this.answers, configAnswers);
|
|
127
129
|
Object.assign(this.serviceConfigAnswers, configPrompts.answers);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/ui-service-sub-generator",
|
|
3
3
|
"description": "Generator for creating UI Service",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.15",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
"@sap-devx/yeoman-ui-types": "1.16.9",
|
|
23
23
|
"i18next": "23.5.1",
|
|
24
24
|
"yeoman-generator": "5.10.0",
|
|
25
|
-
"@sap-ux/axios-extension": "1.19.2",
|
|
26
|
-
"@sap-ux/btp-utils": "1.0.2",
|
|
27
25
|
"@sap-ux/feature-toggle": "0.2.3",
|
|
28
|
-
"@sap-ux/
|
|
26
|
+
"@sap-ux/axios-extension": "1.19.2",
|
|
29
27
|
"@sap-ux/inquirer-common": "0.6.33",
|
|
28
|
+
"@sap-ux/fiori-generator-shared": "0.10.0",
|
|
30
29
|
"@sap-ux/logger": "0.6.0",
|
|
31
|
-
"@sap-ux/system-access": "0.5.34",
|
|
32
30
|
"@sap-ux/telemetry": "0.5.72",
|
|
33
|
-
"@sap-ux/
|
|
31
|
+
"@sap-ux/btp-utils": "1.0.2",
|
|
32
|
+
"@sap-ux/system-access": "0.5.34",
|
|
33
|
+
"@sap-ux/ui-service-inquirer": "0.0.15"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@sap/service-provider-apis": "2.1.5",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"rimraf": "5.0.5",
|
|
48
48
|
"typescript": "5.3.3",
|
|
49
49
|
"yeoman-test": "6.3.0",
|
|
50
|
-
"@sap-ux/
|
|
51
|
-
"@sap-ux/
|
|
50
|
+
"@sap-ux/store": "1.0.0",
|
|
51
|
+
"@sap-ux/jest-file-matchers": "0.2.1"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|
|
54
54
|
"node": ">=18.x"
|