@sap-ux/ui5-application-inquirer 0.12.4 → 0.12.5
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/dist/prompts/prompts1.js +2 -2
- package/package.json +1 -1
package/dist/prompts/prompts1.js
CHANGED
|
@@ -175,13 +175,13 @@ function getEnableTypeScriptPrompt(capCdsInfo) {
|
|
|
175
175
|
return {
|
|
176
176
|
when: () => {
|
|
177
177
|
if (capCdsInfo) {
|
|
178
|
-
return capCdsInfo.
|
|
178
|
+
return capCdsInfo.hasMinCdsVersion;
|
|
179
179
|
}
|
|
180
180
|
return true;
|
|
181
181
|
},
|
|
182
182
|
additionalMessages: (val) => {
|
|
183
183
|
let message;
|
|
184
|
-
if (val &&
|
|
184
|
+
if (val && !capCdsInfo?.isWorkspaceEnabled) {
|
|
185
185
|
message = { message: (0, i18n_1.t)('prompts.enableTypeScript.warningMsg'), severity: yeoman_ui_types_1.Severity.warning };
|
|
186
186
|
}
|
|
187
187
|
return message;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/ui5-application-inquirer",
|
|
3
3
|
"description": "Prompts module that can prompt users for inputs required for UI5 application writing",
|
|
4
|
-
"version": "0.12.
|
|
4
|
+
"version": "0.12.5",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|