@sap-ux/ui5-application-inquirer 0.4.5 → 0.5.1
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/i18n.js +11 -22
- package/dist/index.js +28 -44
- package/dist/prompts/prompt-helpers.js +3 -4
- package/dist/prompts/prompts.js +19 -30
- package/package.json +6 -6
package/dist/i18n.js
CHANGED
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
2
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
4
|
};
|
|
@@ -20,18 +11,16 @@ exports.defaultProjectNumber = 1;
|
|
|
20
11
|
/**
|
|
21
12
|
* Initialize i18next with the translations for this module.
|
|
22
13
|
*/
|
|
23
|
-
function initI18nUi5AppInquirer() {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
defaultProjectNumber: exports.defaultProjectNumber
|
|
31
|
-
}
|
|
14
|
+
async function initI18nUi5AppInquirer() {
|
|
15
|
+
await i18next_1.default.init({
|
|
16
|
+
lng: 'en',
|
|
17
|
+
fallbackLng: 'en',
|
|
18
|
+
interpolation: {
|
|
19
|
+
defaultVariables: {
|
|
20
|
+
defaultProjectNumber: exports.defaultProjectNumber
|
|
32
21
|
}
|
|
33
|
-
}
|
|
34
|
-
});
|
|
22
|
+
}
|
|
23
|
+
}, () => i18next_1.default.addResourceBundle('en', ui5AppInquirerNamespace, ui5_application_inquirer_i18n_json_1.default));
|
|
35
24
|
}
|
|
36
25
|
exports.initI18nUi5AppInquirer = initI18nUi5AppInquirer;
|
|
37
26
|
/**
|
|
@@ -42,8 +31,8 @@ exports.initI18nUi5AppInquirer = initI18nUi5AppInquirer;
|
|
|
42
31
|
* @returns {string} localized string stored for the given key
|
|
43
32
|
*/
|
|
44
33
|
function t(key, options) {
|
|
45
|
-
if (!
|
|
46
|
-
options = Object.assign(options
|
|
34
|
+
if (!options?.ns) {
|
|
35
|
+
options = Object.assign(options ?? {}, { ns: ui5AppInquirerNamespace });
|
|
47
36
|
}
|
|
48
37
|
return i18next_1.default.t(key, options);
|
|
49
38
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
2
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
4
|
};
|
|
@@ -28,20 +19,17 @@ const i18n_1 = require("./i18n");
|
|
|
28
19
|
* @param [isYUI] - optional, default is `false`. Changes the behaviour of some validation since YUI does not re-validate prompts that may be inter-dependant.
|
|
29
20
|
* @returns the prompts used to provide input for ui5 library generation
|
|
30
21
|
*/
|
|
31
|
-
function getPrompts(promptOptions, capCdsInfo, isYUI = false) {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
const ui5Versions = yield (0, ui5_info_1.getUI5Versions)(filterOptions);
|
|
43
|
-
return (0, prompts_1.getQuestions)(ui5Versions, promptOptions, capCdsInfo, isYUI);
|
|
44
|
-
});
|
|
22
|
+
async function getPrompts(promptOptions, capCdsInfo, isYUI = false) {
|
|
23
|
+
// prompt texts must be loaded before the prompts are created, wait for the i18n bundle to be initialized
|
|
24
|
+
await (0, i18n_1.initI18nUi5AppInquirer)();
|
|
25
|
+
const filterOptions = {
|
|
26
|
+
useCache: true,
|
|
27
|
+
includeMaintained: true,
|
|
28
|
+
includeDefault: true,
|
|
29
|
+
minSupportedUI5Version: promptOptions?.ui5Version?.minUI5Version ?? undefined
|
|
30
|
+
};
|
|
31
|
+
const ui5Versions = await (0, ui5_info_1.getUI5Versions)(filterOptions);
|
|
32
|
+
return (0, prompts_1.getQuestions)(ui5Versions, promptOptions, capCdsInfo, isYUI);
|
|
45
33
|
}
|
|
46
34
|
exports.getPrompts = getPrompts;
|
|
47
35
|
/**
|
|
@@ -53,22 +41,19 @@ exports.getPrompts = getPrompts;
|
|
|
53
41
|
* @param [isYUI] - optional, default is `false`. Changes the behaviour of some validation since YUI does not re-validate prompts that may be inter-dependant.
|
|
54
42
|
* @returns the prompt answers
|
|
55
43
|
*/
|
|
56
|
-
function prompt(adapter, promptOptions, capCdsInfo, isYUI = false) {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
const
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
return answers;
|
|
71
|
-
});
|
|
44
|
+
async function prompt(adapter, promptOptions, capCdsInfo, isYUI = false) {
|
|
45
|
+
const ui5AppPrompts = await getPrompts(promptOptions, capCdsInfo, isYUI);
|
|
46
|
+
if (adapter?.promptModule && promptOptions?.ui5Version?.useAutocomplete) {
|
|
47
|
+
const pm = adapter.promptModule;
|
|
48
|
+
pm.registerPrompt('autocomplete', inquirer_autocomplete_prompt_1.default);
|
|
49
|
+
}
|
|
50
|
+
const answers = await adapter.prompt(ui5AppPrompts);
|
|
51
|
+
// Apply default values to prompts in case they have not been executed
|
|
52
|
+
if (promptOptions) {
|
|
53
|
+
const defaultAnswers = applyPromptOptionDefaults(answers, ui5AppPrompts, promptOptions, capCdsInfo);
|
|
54
|
+
Object.assign(answers, defaultAnswers);
|
|
55
|
+
}
|
|
56
|
+
return answers;
|
|
72
57
|
}
|
|
73
58
|
exports.prompt = prompt;
|
|
74
59
|
/**
|
|
@@ -84,14 +69,13 @@ exports.prompt = prompt;
|
|
|
84
69
|
function applyPromptOptionDefaults(answers, ui5AppPrompts, promptOptions, capCdsInfo) {
|
|
85
70
|
const defaultAnswers = {};
|
|
86
71
|
Object.entries(promptOptions).forEach(([key, promptOpt]) => {
|
|
87
|
-
var _a;
|
|
88
72
|
const promptKey = key;
|
|
89
73
|
// Do we have an answer, if not apply the default
|
|
90
74
|
const defaultValueOrFunc = promptOpt.default;
|
|
91
75
|
// A prompt option for ui5Theme is not supported (as its dependant on the ui5Version) and is special cased
|
|
92
76
|
// `enableTypeScript` is dependent on the CdsUi5PluginInfo and is special cased
|
|
93
77
|
if ((0, isNil_1.default)(answers[promptKey]) &&
|
|
94
|
-
((defaultValueOrFunc
|
|
78
|
+
((defaultValueOrFunc ?? promptKey === types_1.promptNames.ui5Theme) || promptOpt.advancedOption === true)) {
|
|
95
79
|
let defaultValue;
|
|
96
80
|
if (promptKey === types_1.promptNames.ui5Theme) {
|
|
97
81
|
defaultValue = (0, ui5_info_1.getDefaultUI5Theme)(answers.ui5Version);
|
|
@@ -102,8 +86,8 @@ function applyPromptOptionDefaults(answers, ui5AppPrompts, promptOptions, capCds
|
|
|
102
86
|
// If an enableTypeScript default function is provided, use it to determine the default value
|
|
103
87
|
// otherwise override with the provided default value
|
|
104
88
|
defaultValue =
|
|
105
|
-
typeof
|
|
106
|
-
? enableTypeScriptOpts.default(
|
|
89
|
+
typeof enableTypeScriptOpts?.default === 'function'
|
|
90
|
+
? enableTypeScriptOpts.default({ ...answers, capCdsInfo })
|
|
107
91
|
: defaultValueOrFunc;
|
|
108
92
|
}
|
|
109
93
|
else if (defaultValueOrFunc !== undefined) {
|
|
@@ -111,7 +95,7 @@ function applyPromptOptionDefaults(answers, ui5AppPrompts, promptOptions, capCds
|
|
|
111
95
|
}
|
|
112
96
|
else if (promptOpt.advancedOption) {
|
|
113
97
|
// Apply the orginal default value if it was not answered
|
|
114
|
-
const originalDefault =
|
|
98
|
+
const originalDefault = ui5AppPrompts.find((prompt) => prompt.name === promptKey)?.default;
|
|
115
99
|
defaultValue = getDefaultValue(answers, originalDefault);
|
|
116
100
|
}
|
|
117
101
|
Object.assign(defaultAnswers, {
|
|
@@ -15,7 +15,7 @@ const types_1 = require("../types");
|
|
|
15
15
|
* @returns true, if the combined path exists otherwise false
|
|
16
16
|
*/
|
|
17
17
|
function appPathExists(appName, targetPath) {
|
|
18
|
-
return (0, fs_1.existsSync)((0, path_1.join)(targetPath
|
|
18
|
+
return (0, fs_1.existsSync)((0, path_1.join)(targetPath ?? process.cwd(), appName.trim()));
|
|
19
19
|
}
|
|
20
20
|
exports.appPathExists = appPathExists;
|
|
21
21
|
/**
|
|
@@ -66,11 +66,10 @@ exports.isVersionIncluded = isVersionIncluded;
|
|
|
66
66
|
*/
|
|
67
67
|
function hidePrompts(prompts, promptOptions, isCapProject) {
|
|
68
68
|
const questions = [];
|
|
69
|
-
if (promptOptions
|
|
69
|
+
if (promptOptions ?? isCapProject) {
|
|
70
70
|
Object.keys(prompts).forEach((key) => {
|
|
71
|
-
var _a;
|
|
72
71
|
const promptKey = key;
|
|
73
|
-
if (!
|
|
72
|
+
if (!promptOptions?.[promptKey]?.hide &&
|
|
74
73
|
// Target directory is determined by the CAP project. `enableEsLint` and `targetFolder` are not available for CAP projects
|
|
75
74
|
!([types_1.promptNames.targetFolder, types_1.promptNames.enableEslint].includes(types_1.promptNames[promptKey]) && isCapProject)) {
|
|
76
75
|
questions.push(prompts[promptKey]);
|
package/dist/prompts/prompts.js
CHANGED
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.getQuestions = void 0;
|
|
13
4
|
const inquirer_common_1 = require("@sap-ux/inquirer-common");
|
|
@@ -28,12 +19,11 @@ const validators_1 = require("./validators");
|
|
|
28
19
|
* @returns the prompts
|
|
29
20
|
*/
|
|
30
21
|
function getQuestions(ui5Versions, promptOptions, capCdsInfo, isYUI = false) {
|
|
31
|
-
var _a, _b;
|
|
32
22
|
// Set shared defaults
|
|
33
|
-
const appName = typeof
|
|
23
|
+
const appName = typeof promptOptions?.[types_1.promptNames.name]?.default === 'string'
|
|
34
24
|
? promptOptions[types_1.promptNames.name].default
|
|
35
25
|
: undefined; // Default functions will be applied later, these replace the existing defaults
|
|
36
|
-
const targetDir = typeof
|
|
26
|
+
const targetDir = typeof promptOptions?.[types_1.promptNames.targetFolder]?.default === 'string'
|
|
37
27
|
? promptOptions[types_1.promptNames.targetFolder].default // Default functions will be applied later, these replace the existing defaults
|
|
38
28
|
: process.cwd();
|
|
39
29
|
const isCapProject = !!capCdsInfo;
|
|
@@ -43,9 +33,9 @@ function getQuestions(ui5Versions, promptOptions, capCdsInfo, isYUI = false) {
|
|
|
43
33
|
[types_1.promptNames.namespace]: getNamespacePrompt(appName),
|
|
44
34
|
[types_1.promptNames.description]: getDescriptionPrompt(),
|
|
45
35
|
[types_1.promptNames.targetFolder]: getTargetFolderPrompt(targetDir),
|
|
46
|
-
[types_1.promptNames.ui5Version]: getUI5VersionPrompt(ui5Versions, promptOptions
|
|
47
|
-
[types_1.promptNames.addDeployConfig]: getAddDeployConfigPrompt(targetDir, promptOptions
|
|
48
|
-
[types_1.promptNames.addFlpConfig]: getAddFlpConfigPrompt(promptOptions
|
|
36
|
+
[types_1.promptNames.ui5Version]: getUI5VersionPrompt(ui5Versions, promptOptions?.ui5Version),
|
|
37
|
+
[types_1.promptNames.addDeployConfig]: getAddDeployConfigPrompt(targetDir, promptOptions?.addDeployConfig, isCapProject),
|
|
38
|
+
[types_1.promptNames.addFlpConfig]: getAddFlpConfigPrompt(promptOptions?.addFlpConfig),
|
|
49
39
|
[types_1.promptNames.showAdvanced]: getShowAdvancedPrompt(),
|
|
50
40
|
[types_1.promptNames.ui5Theme]: getUI5ThemePrompt(),
|
|
51
41
|
[types_1.promptNames.enableEslint]: getEnableEsLintPrompt(),
|
|
@@ -75,7 +65,7 @@ function getEnableTypeScriptPrompt(capCdsInfo) {
|
|
|
75
65
|
return {
|
|
76
66
|
when: (answers) => {
|
|
77
67
|
if (capCdsInfo) {
|
|
78
|
-
return capCdsInfo.isCdsUi5PluginEnabled || !!
|
|
68
|
+
return capCdsInfo.isCdsUi5PluginEnabled || !!answers?.enableNPMWorkspaces;
|
|
79
69
|
}
|
|
80
70
|
return true;
|
|
81
71
|
},
|
|
@@ -135,7 +125,7 @@ function getSkipAnnotationsPrompt() {
|
|
|
135
125
|
*/
|
|
136
126
|
function getEnableCodeAssistPrompt() {
|
|
137
127
|
return {
|
|
138
|
-
when: (answers) => (0, prompt_helpers_1.isVersionIncluded)(
|
|
128
|
+
when: (answers) => (0, prompt_helpers_1.isVersionIncluded)(answers?.ui5Version || ui5_info_1.defaultVersion, ui5_info_1.minUi5VersionSupportingCodeAssist),
|
|
139
129
|
type: 'confirm',
|
|
140
130
|
name: types_1.promptNames.enableCodeAssist,
|
|
141
131
|
message: (0, i18n_1.t)('prompts.appEnableCodeAssistMessage'),
|
|
@@ -216,7 +206,7 @@ function getAddFlpConfigPrompt(addFlpConfigOptions) {
|
|
|
216
206
|
message: () => (0, i18n_1.t)('prompts.appAddFlpConfigMessage'),
|
|
217
207
|
default: false,
|
|
218
208
|
validate: (addFlpConfig) => {
|
|
219
|
-
if (typeof
|
|
209
|
+
if (typeof addFlpConfigOptions?.validatorCallback === 'function') {
|
|
220
210
|
addFlpConfigOptions.validatorCallback(addFlpConfig, types_1.promptNames.addFlpConfig);
|
|
221
211
|
}
|
|
222
212
|
return true;
|
|
@@ -240,11 +230,10 @@ function getAddDeployConfigPrompt(targetDir, addDeployConfigOptions, isCapProjec
|
|
|
240
230
|
breadcrumb: (0, i18n_1.t)('prompts.appAddDeployConfigBreadcrumb')
|
|
241
231
|
},
|
|
242
232
|
// If the target directory is a CAP project then only offer `addDeployConfig (addToMta)` if an mta file is found
|
|
243
|
-
when: (answers) =>
|
|
244
|
-
|
|
245
|
-
mtaPath = (_a = (yield (0, project_access_1.getMtaPath)((answers === null || answers === void 0 ? void 0 : answers.targetFolder) || targetDir))) === null || _a === void 0 ? void 0 : _a.mtaPath;
|
|
233
|
+
when: async (answers) => {
|
|
234
|
+
mtaPath = (await (0, project_access_1.getMtaPath)(answers?.targetFolder || targetDir))?.mtaPath;
|
|
246
235
|
return !!(mtaPath && isCapProject) || !isCapProject;
|
|
247
|
-
}
|
|
236
|
+
},
|
|
248
237
|
message: () => {
|
|
249
238
|
return mtaPath
|
|
250
239
|
? (0, i18n_1.t)('prompts.appAddDeployConfigToMtaMessage', {
|
|
@@ -253,9 +242,9 @@ function getAddDeployConfigPrompt(targetDir, addDeployConfigOptions, isCapProjec
|
|
|
253
242
|
})
|
|
254
243
|
: (0, i18n_1.t)('prompts.appAddDeployConfigMessage');
|
|
255
244
|
},
|
|
256
|
-
default: () =>
|
|
245
|
+
default: async () => !!mtaPath,
|
|
257
246
|
validate: (addDeployConfig) => {
|
|
258
|
-
if (typeof
|
|
247
|
+
if (typeof addDeployConfigOptions?.validatorCallback === 'function') {
|
|
259
248
|
addDeployConfigOptions.validatorCallback(addDeployConfig, types_1.promptNames.addDeployConfig);
|
|
260
249
|
}
|
|
261
250
|
return true;
|
|
@@ -271,13 +260,13 @@ function getAddDeployConfigPrompt(targetDir, addDeployConfigOptions, isCapProjec
|
|
|
271
260
|
*/
|
|
272
261
|
function getUI5VersionPrompt(ui5Versions = [], ui5VersionPromptOptions) {
|
|
273
262
|
// Set the default to be closest to the passed value or the default as defined by ui5 version service
|
|
274
|
-
const defaultChoice = (0, inquirer_common_1.getDefaultUI5VersionChoice)(ui5Versions, ui5VersionPromptOptions
|
|
275
|
-
const ui5VersionChoices = (0, inquirer_common_1.ui5VersionsGrouped)(ui5Versions, ui5VersionPromptOptions
|
|
263
|
+
const defaultChoice = (0, inquirer_common_1.getDefaultUI5VersionChoice)(ui5Versions, ui5VersionPromptOptions?.defaultChoice);
|
|
264
|
+
const ui5VersionChoices = (0, inquirer_common_1.ui5VersionsGrouped)(ui5Versions, ui5VersionPromptOptions?.includeSeparators
|
|
276
265
|
// defaultChoice - this is added to support systemn versions however currently the middleware preview does not support this
|
|
277
266
|
);
|
|
278
267
|
return {
|
|
279
268
|
when: () => !!ui5VersionChoices,
|
|
280
|
-
type:
|
|
269
|
+
type: ui5VersionPromptOptions?.useAutocomplete ? 'autocomplete' : 'list',
|
|
281
270
|
name: types_1.promptNames.ui5Version,
|
|
282
271
|
guiOptions: {
|
|
283
272
|
hint: (0, i18n_1.t)('prompts.appUi5VersionTooltip'),
|
|
@@ -287,7 +276,7 @@ function getUI5VersionPrompt(ui5Versions = [], ui5VersionPromptOptions) {
|
|
|
287
276
|
source: (prevAnswers, input) => (0, inquirer_common_1.searchChoices)(input, ui5VersionChoices),
|
|
288
277
|
message: (0, i18n_1.t)('prompts.appUi5VersionMessage'),
|
|
289
278
|
default: () => {
|
|
290
|
-
return defaultChoice
|
|
279
|
+
return defaultChoice?.value;
|
|
291
280
|
}
|
|
292
281
|
};
|
|
293
282
|
}
|
|
@@ -349,7 +338,7 @@ function getNamespacePrompt(appName) {
|
|
|
349
338
|
},
|
|
350
339
|
name: types_1.promptNames.namespace,
|
|
351
340
|
message: (0, i18n_1.t)('prompts.appNamespaceMessage'),
|
|
352
|
-
default: (answers) =>
|
|
341
|
+
default: (answers) => answers.namespace ?? '',
|
|
353
342
|
validate: (namespace, answers) => {
|
|
354
343
|
if (namespace) {
|
|
355
344
|
return (0, project_input_validator_1.validateNamespace)(namespace, answers.name || appName);
|
|
@@ -413,6 +402,6 @@ function getNamePrompt(targetDir, isCapProject, appName, isYUI) {
|
|
|
413
402
|
* @param promptOptions the prompt options which specify which prompts should be grouped as advanced options
|
|
414
403
|
*/
|
|
415
404
|
function applyAdvancedOption(questions, promptOptions) {
|
|
416
|
-
(0, inquirer_common_1.withCondition)(questions.filter(({ name }) =>
|
|
405
|
+
(0, inquirer_common_1.withCondition)(questions.filter(({ name }) => promptOptions?.[name]?.advancedOption), (answers) => answers.showAdvanced ?? false);
|
|
417
406
|
}
|
|
418
407
|
//# sourceMappingURL=prompts.js.map
|
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.
|
|
4
|
+
"version": "0.5.1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"inquirer-autocomplete-prompt": "2.0.1",
|
|
24
24
|
"lodash": "4.17.21",
|
|
25
25
|
"semver": "7.5.4",
|
|
26
|
-
"@sap-ux/inquirer-common": "0.
|
|
27
|
-
"@sap-ux/project-access": "1.
|
|
28
|
-
"@sap-ux/project-input-validator": "0.
|
|
29
|
-
"@sap-ux/ui5-info": "0.
|
|
26
|
+
"@sap-ux/inquirer-common": "0.4.0",
|
|
27
|
+
"@sap-ux/project-access": "1.24.0",
|
|
28
|
+
"@sap-ux/project-input-validator": "0.3.0",
|
|
29
|
+
"@sap-ux/ui5-info": "0.6.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@sap-devx/yeoman-ui-types": "1.14.4",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@types/lodash": "4.14.202",
|
|
36
36
|
"@types/semver": "7.5.4",
|
|
37
37
|
"inquirer": "8.2.6",
|
|
38
|
-
"@sap-ux/cap-config-writer": "0.
|
|
38
|
+
"@sap-ux/cap-config-writer": "0.6.2"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=18.x"
|