@sap-ux/inquirer-common 0.11.46 → 0.13.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/index.d.ts +1 -0
- package/dist/types.d.ts +8 -2
- package/package.json +12 -12
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './prompts/utility';
|
|
2
2
|
export * from './types';
|
|
3
|
+
export type { OutputTabLinkResult, ShowOutputTabLink } from '@sap-devx/yeoman-ui-types';
|
|
3
4
|
export * from './prompts/helpers';
|
|
4
5
|
export * from './error-handler/error-handler';
|
|
5
6
|
export * from './prompts/cf-helper';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IValidationLink, IMessageSeverity } from '@sap-devx/yeoman-ui-types';
|
|
1
|
+
import type { IValidationLink, IMessageSeverity, ShowOutputTabLink } from '@sap-devx/yeoman-ui-types';
|
|
2
2
|
import type { Answers, ConfirmQuestion as BaseConfirmQuestion, InputQuestion as BaseInputQuestion, ListQuestion as BaseListQuestion, CheckboxQuestion as BaseCheckBoxQuestion, NumberQuestion as BaseNumberQuestion, EditorQuestion as BaseEditorQuestion, PasswordQuestion as BasePasswordQuestion, ListChoiceOptions, PromptFunction, PromptModule, Question, Validator, AsyncDynamicQuestionProperty } from 'inquirer';
|
|
3
3
|
export interface UI5VersionChoice extends ListChoiceOptions {
|
|
4
4
|
/**
|
|
@@ -17,7 +17,7 @@ export interface InquirerAdapter {
|
|
|
17
17
|
promptModule?: PromptModule;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
|
-
* To be replaced when YUI specific types are available from
|
|
20
|
+
* To be replaced when YUI specific types are available from `@sap-devx/yeoman-ui-types`.
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
23
|
export interface GuiOptions {
|
|
@@ -60,11 +60,13 @@ export type YUIQuestion<A extends Answers = Answers> = Question<A> & {
|
|
|
60
60
|
name: string;
|
|
61
61
|
guiOptions?: GuiOptions;
|
|
62
62
|
additionalMessages?: PromptSeverityMessage;
|
|
63
|
+
showOutputTabLink?: ShowOutputTabLink;
|
|
63
64
|
};
|
|
64
65
|
export interface PasswordQuestion<A extends Answers = Answers> extends BasePasswordQuestion<A> {
|
|
65
66
|
name: YUIQuestion['name'];
|
|
66
67
|
guiOptions?: YUIQuestion['guiOptions'];
|
|
67
68
|
additionalMessages?: YUIQuestion['additionalMessages'];
|
|
69
|
+
showOutputTabLink?: YUIQuestion['showOutputTabLink'];
|
|
68
70
|
}
|
|
69
71
|
export interface FileBrowserQuestion<A extends Answers = Answers> extends BaseInputQuestion<A> {
|
|
70
72
|
name: YUIQuestion['name'];
|
|
@@ -75,11 +77,13 @@ export interface ListQuestion<A extends Answers = Answers> extends BaseListQuest
|
|
|
75
77
|
name: YUIQuestion['name'];
|
|
76
78
|
guiOptions?: YUIQuestion['guiOptions'];
|
|
77
79
|
additionalMessages?: YUIQuestion['additionalMessages'];
|
|
80
|
+
showOutputTabLink?: YUIQuestion['showOutputTabLink'];
|
|
78
81
|
}
|
|
79
82
|
export interface ConfirmQuestion<A extends Answers = Answers> extends BaseConfirmQuestion<A> {
|
|
80
83
|
name: YUIQuestion['name'];
|
|
81
84
|
guiOptions?: YUIQuestion['guiOptions'];
|
|
82
85
|
additionalMessages?: PromptSeverityMessage;
|
|
86
|
+
showOutputTabLink?: YUIQuestion['showOutputTabLink'];
|
|
83
87
|
}
|
|
84
88
|
export interface EditorQuestion<A extends Answers = Answers> extends BaseEditorQuestion<A> {
|
|
85
89
|
name: YUIQuestion['name'];
|
|
@@ -89,11 +93,13 @@ export interface InputQuestion<A extends Answers = Answers> extends BaseInputQue
|
|
|
89
93
|
name: YUIQuestion['name'];
|
|
90
94
|
guiOptions?: YUIQuestion['guiOptions'];
|
|
91
95
|
additionalMessages?: YUIQuestion['additionalMessages'];
|
|
96
|
+
showOutputTabLink?: YUIQuestion['showOutputTabLink'];
|
|
92
97
|
}
|
|
93
98
|
export interface CheckBoxQuestion<A extends Answers = Answers> extends BaseCheckBoxQuestion<A> {
|
|
94
99
|
name: YUIQuestion['name'];
|
|
95
100
|
guiOptions?: YUIQuestion['guiOptions'];
|
|
96
101
|
additionalMessages?: YUIQuestion['additionalMessages'];
|
|
102
|
+
showOutputTabLink?: YUIQuestion['showOutputTabLink'];
|
|
97
103
|
}
|
|
98
104
|
export interface NumberQuestion<A extends Answers = Answers> extends BaseNumberQuestion<A> {
|
|
99
105
|
name: YUIQuestion['name'];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/inquirer-common",
|
|
3
3
|
"description": "Commonly used shared functionality and types to support inquirer modules.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.13.1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -30,26 +30,26 @@
|
|
|
30
30
|
"lodash": "4.18.1",
|
|
31
31
|
"os-name": "4.0.1",
|
|
32
32
|
"semver": "7.7.4",
|
|
33
|
-
"@sap-ux/btp-utils": "1.
|
|
34
|
-
"@sap-ux/feature-toggle": "0.
|
|
35
|
-
"@sap-ux/fiori-generator-shared": "0.
|
|
36
|
-
"@sap-ux/guided-answers-helper": "0.
|
|
37
|
-
"@sap-ux/telemetry": "0.
|
|
38
|
-
"@sap-ux/logger": "0.
|
|
39
|
-
"@sap-ux/project-access": "1.
|
|
40
|
-
"@sap-ux/odata-service-writer": "0.
|
|
41
|
-
"@sap-ux/ui5-info": "0.
|
|
33
|
+
"@sap-ux/btp-utils": "1.2.0",
|
|
34
|
+
"@sap-ux/feature-toggle": "0.4.0",
|
|
35
|
+
"@sap-ux/fiori-generator-shared": "0.15.2",
|
|
36
|
+
"@sap-ux/guided-answers-helper": "0.5.0",
|
|
37
|
+
"@sap-ux/telemetry": "0.7.1",
|
|
38
|
+
"@sap-ux/logger": "0.9.0",
|
|
39
|
+
"@sap-ux/project-access": "1.38.0",
|
|
40
|
+
"@sap-ux/odata-service-writer": "0.32.1",
|
|
41
|
+
"@sap-ux/ui5-info": "0.14.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@sap-ux/vocabularies-types": "0.15.0",
|
|
45
|
-
"@sap-devx/yeoman-ui-types": "1.
|
|
45
|
+
"@sap-devx/yeoman-ui-types": "1.25.0",
|
|
46
46
|
"@types/inquirer": "8.2.6",
|
|
47
47
|
"@types/semver": "7.7.1",
|
|
48
48
|
"@types/lodash": "4.17.24",
|
|
49
49
|
"jest-extended": "7.0.0"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
|
-
"node": ">=
|
|
52
|
+
"node": ">=22.x"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"build": "tsc --build",
|