@sap-ux/deploy-config-generator-shared 0.0.21 → 0.0.22
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/index.js
CHANGED
|
@@ -7,7 +7,7 @@ const i18n_1 = require("../utils/i18n");
|
|
|
7
7
|
*/
|
|
8
8
|
var promptNames;
|
|
9
9
|
(function (promptNames) {
|
|
10
|
-
promptNames["
|
|
10
|
+
promptNames["confirmConfigUpdate"] = "confirmConfigUpdate";
|
|
11
11
|
})(promptNames || (promptNames = {}));
|
|
12
12
|
/**
|
|
13
13
|
* Returns prompt which asks whether the user wants to continue with the configuration update even though it is managed centrally as part of the CI pipeline.
|
|
@@ -19,8 +19,8 @@ function getConfirmConfigUpdatePrompt(configType) {
|
|
|
19
19
|
return [
|
|
20
20
|
{
|
|
21
21
|
type: 'confirm',
|
|
22
|
-
name: promptNames.
|
|
23
|
-
message: (0, i18n_1.t)('prompts.
|
|
22
|
+
name: promptNames.confirmConfigUpdate,
|
|
23
|
+
message: (0, i18n_1.t)('prompts.confirmConfigUpdate.message', { configType }),
|
|
24
24
|
default: false
|
|
25
25
|
}
|
|
26
26
|
];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"prompts": {
|
|
3
|
-
"
|
|
3
|
+
"confirmConfigUpdate": {
|
|
4
4
|
"message": "{{- configType}} configuration is managed centrally as part of the CI pipeline, local updates to the configuration will not be for productive use. Are you sure you want to continue?"
|
|
5
5
|
}
|
|
6
6
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/deploy-config-generator-shared",
|
|
3
3
|
"description": "Commonly used shared functionality and types to support the deploy config generator.",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.22",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|