@axway/axway-central-cli 2.11.0-rc.1 → 2.12.0
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/commands/install/agents.js +8 -1
- package/dist/commands/install/awsAgents.js +4 -4
- package/dist/commands/install/azureAgents.js +2 -2
- package/dist/commands/install/edgeAgents.js +1 -1
- package/dist/commands/install/helpers/templates/awsTemplates.js +2 -0
- package/dist/commands/install/helpers/templates/azureTemplates.js +2 -0
- package/dist/commands/install/helpers/templates/edgeTemplates.js +4 -0
- package/dist/commands/install/helpers/templates/istioTemplates.js +2 -1
- package/dist/commands/install/istioAgents.js +5 -1
- package/dist/commands/install/platform.js +2 -2
- package/dist/common/Kubectl.js +6 -1
- package/dist/common/types.js +10 -5
- package/package.json +27 -28
- package/renovate.json +12 -0
|
@@ -19,10 +19,14 @@ var _DefinitionsManager = require("../../common/DefinitionsManager");
|
|
|
19
19
|
|
|
20
20
|
var _PlatformClient = require("../../common/PlatformClient");
|
|
21
21
|
|
|
22
|
+
var _CliConfigManager = require("../../common/CliConfigManager");
|
|
23
|
+
|
|
22
24
|
var _Renderer = _interopRequireDefault(require("../../common/Renderer"));
|
|
23
25
|
|
|
24
26
|
var _types = require("../../common/types");
|
|
25
27
|
|
|
28
|
+
var _utils = require("../../common/utils");
|
|
29
|
+
|
|
26
30
|
var awsAgents = _interopRequireWildcard(require("./awsAgents"));
|
|
27
31
|
|
|
28
32
|
var azureAgents = _interopRequireWildcard(require("./azureAgents"));
|
|
@@ -119,7 +123,10 @@ const agents = {
|
|
|
119
123
|
console.log(_chalk.default.gray(`This command configures and installs the agents so that you can manage your gateway environment within the Amplify Platform.\n`));
|
|
120
124
|
let installConfig = new _types.AgentInstallConfig();
|
|
121
125
|
installConfig.centralConfig.axwayManaged = !!axwayManaged;
|
|
122
|
-
|
|
126
|
+
let configurationRegion = (await (0, _utils.getConfig)())[_CliConfigManager.CliConfigKeys.REGION]; // top priority is region option on command line, second priority is region from config file, default is US
|
|
127
|
+
|
|
128
|
+
installConfig.centralConfig.region = region ? region.toString() : configurationRegion ? configurationRegion : _types.Regions.US;
|
|
129
|
+
installConfig.centralConfig.singleEntryPointUrl = _types.SingleEntryPointUrls[installConfig.centralConfig.region]; // gateway type
|
|
123
130
|
|
|
124
131
|
let gatewayType = await (0, _basicPrompts.askList)({
|
|
125
132
|
msg: prompts.selectGatewayType,
|
|
@@ -480,17 +480,17 @@ ${_chalk.default.cyan(`docker pull ${taImage}:${installConfig.taVersion}`)}
|
|
|
480
480
|
${_utils.isWindows ? `
|
|
481
481
|
Start the Discovery agent on Windows machine (cmd.exe):
|
|
482
482
|
${_chalk.default.cyan(`docker run --env-file ${helpers.pwdWin}/${ConfigFiles.DAEnvVars} -v ${helpers.pwdWin}:/keys ${helpers.eolCharWin}
|
|
483
|
-
${daImage}:${installConfig.daVersion}`)}` : `
|
|
483
|
+
-v /data ${daImage}:${installConfig.daVersion}`)}` : `
|
|
484
484
|
Start the Discovery agent on Linux based machine:
|
|
485
485
|
${_chalk.default.cyan(`docker run --env-file ${helpers.pwd}/${ConfigFiles.DAEnvVars} -v ${helpers.pwd}:/keys ${helpers.eolChar}
|
|
486
|
-
${daImage}:${installConfig.daVersion}`)}`}
|
|
486
|
+
-v /data ${daImage}:${installConfig.daVersion}`)}`}
|
|
487
487
|
${_utils.isWindows ? `
|
|
488
488
|
Start the Traceability agent on Windows machine (cmd.exe):
|
|
489
489
|
${_chalk.default.cyan(`docker run --env-file ${helpers.pwdWin}/${ConfigFiles.TAEnvVars} -v ${helpers.pwdWin}:/keys ${helpers.eolCharWin}
|
|
490
|
-
${taImage}:${installConfig.taVersion}`)}` : `
|
|
490
|
+
-v /data ${taImage}:${installConfig.taVersion}`)}` : `
|
|
491
491
|
Start the Traceability agent on Linux based machine:
|
|
492
492
|
${_chalk.default.cyan(`docker run --env-file ${helpers.pwd}/${ConfigFiles.TAEnvVars} -v ${helpers.pwd}:/keys ${helpers.eolChar}
|
|
493
|
-
${taImage}:${installConfig.taVersion}`)}`}`;
|
|
493
|
+
-v /data ${taImage}:${installConfig.taVersion}`)}`}`;
|
|
494
494
|
break;
|
|
495
495
|
}
|
|
496
496
|
|
|
@@ -182,7 +182,7 @@ const dockerSuccessMsg = installConfig => {
|
|
|
182
182
|
console.log(_chalk.default.cyan(`docker pull ${daImageVersion}`));
|
|
183
183
|
console.log(_chalk.default.white(_utils.isWindows ? startDaWinMsg : startDaLinuxMsg));
|
|
184
184
|
console.log(_chalk.default.cyan(_utils.isWindows ? runDaWinMsg : runDaLinuxMsg));
|
|
185
|
-
console.log(_chalk.default.cyan(daImageVersion), '\n');
|
|
185
|
+
console.log('\t', _chalk.default.cyan(`-v /data ${daImageVersion}`), '\n');
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
if (installConfig.switches.isTaEnabled) {
|
|
@@ -191,7 +191,7 @@ const dockerSuccessMsg = installConfig => {
|
|
|
191
191
|
console.log(_chalk.default.cyan(`docker pull ${taImageVersion}`));
|
|
192
192
|
console.log(_chalk.default.white(_utils.isWindows ? startTaWinMsg : startTaLinuxMsg));
|
|
193
193
|
console.log(_chalk.default.cyan(_utils.isWindows ? runTaWinMsg : runTaLinuxMsg));
|
|
194
|
-
console.log(_chalk.default.cyan(taImageVersion), '\n');
|
|
194
|
+
console.log('\t', _chalk.default.cyan(`-v /data ${taImageVersion}`), '\n');
|
|
195
195
|
}
|
|
196
196
|
}; // Azure DA prompts
|
|
197
197
|
|
|
@@ -392,7 +392,7 @@ const dockerSuccessMsg = (installConfig, eventLogPath) => {
|
|
|
392
392
|
console.log(_cliKit.chalk.cyan(`docker pull ${daImageVersion}`));
|
|
393
393
|
console.log(_cliKit.chalk.white(_utils.isWindows ? startDaWinMsg : startDaLinuxMsg));
|
|
394
394
|
console.log(_cliKit.chalk.cyan(_utils.isWindows ? runDaWinMsg : runDaLinuxMsg));
|
|
395
|
-
console.log('\t', _cliKit.chalk.cyan(daImageVersion)
|
|
395
|
+
console.log('\t', _cliKit.chalk.cyan(`-v /data ${daImageVersion}`));
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
if (installConfig.switches.isTaEnabled) {
|
|
@@ -91,6 +91,7 @@ CENTRAL_AUTH_PUBLICKEY={{centralConfig.dosaAccount.templatePublicKey}}
|
|
|
91
91
|
CENTRAL_ENVIRONMENT={{centralConfig.environment}}
|
|
92
92
|
CENTRAL_ORGANIZATIONID={{centralConfig.orgId}}
|
|
93
93
|
CENTRAL_TEAM={{centralConfig.ampcTeamName}}
|
|
94
|
+
CENTRAL_SINGLEURL={{centralConfig.singleEntryPointUrl}}
|
|
94
95
|
{{#compare . centralConfig.region "EU"}}
|
|
95
96
|
CENTRAL_URL={{centralConfig.url}}
|
|
96
97
|
CENTRAL_DEPLOYMENT={{centralConfig.deployment}}
|
|
@@ -143,6 +144,7 @@ CENTRAL_AUTH_PUBLICKEY={{centralConfig.dosaAccount.templatePublicKey}}
|
|
|
143
144
|
CENTRAL_ENVIRONMENT={{centralConfig.environment}}
|
|
144
145
|
CENTRAL_ORGANIZATIONID={{centralConfig.orgId}}
|
|
145
146
|
CENTRAL_TEAM={{centralConfig.ampcTeamName}}
|
|
147
|
+
CENTRAL_SINGLEURL={{centralConfig.singleEntryPointUrl}}
|
|
146
148
|
{{#compare . centralConfig.region "EU"}}
|
|
147
149
|
CENTRAL_URL={{centralConfig.url}}
|
|
148
150
|
{{/compare}}
|
|
@@ -86,6 +86,7 @@ CENTRAL_AUTH_PUBLICKEY={{centralConfig.dosaAccount.templatePublicKey}}
|
|
|
86
86
|
CENTRAL_ENVIRONMENT={{centralConfig.environment}}
|
|
87
87
|
CENTRAL_ORGANIZATIONID={{centralConfig.orgId}}
|
|
88
88
|
CENTRAL_TEAM={{centralConfig.ampcTeamName}}
|
|
89
|
+
CENTRAL_SINGLEURL={{centralConfig.singleEntryPointUrl}}
|
|
89
90
|
{{#compare . centralConfig.region "EU"}}
|
|
90
91
|
CENTRAL_URL={{centralConfig.url}}
|
|
91
92
|
CENTRAL_DEPLOYMENT={{centralConfig.deployment}}
|
|
@@ -135,6 +136,7 @@ CENTRAL_AUTH_PUBLICKEY={{centralConfig.dosaAccount.templatePublicKey}}
|
|
|
135
136
|
CENTRAL_ENVIRONMENT={{centralConfig.environment}}
|
|
136
137
|
CENTRAL_ORGANIZATIONID={{centralConfig.orgId}}
|
|
137
138
|
CENTRAL_TEAM={{centralConfig.ampcTeamName}}
|
|
139
|
+
CENTRAL_SINGLEURL={{centralConfig.singleEntryPointUrl}}
|
|
138
140
|
{{#compare . centralConfig.region "EU"}}
|
|
139
141
|
CENTRAL_URL={{centralConfig.url}}
|
|
140
142
|
{{/compare}}
|
|
@@ -127,6 +127,7 @@ CENTRAL_ORGANIZATIONID={{centralConfig.orgId}}
|
|
|
127
127
|
{{#compare . centralConfig.ampcTeamName "" operator="!=" }}
|
|
128
128
|
CENTRAL_TEAM={{centralConfig.ampcTeamName}}
|
|
129
129
|
{{/compare}}
|
|
130
|
+
CENTRAL_SINGLEURL={{centralConfig.singleEntryPointUrl}}
|
|
130
131
|
{{#compare . centralConfig.region "EU"}}
|
|
131
132
|
CENTRAL_URL={{centralConfig.url}}
|
|
132
133
|
CENTRAL_DEPLOYMENT={{centralConfig.deployment}}
|
|
@@ -195,6 +196,7 @@ env:
|
|
|
195
196
|
{{#compare . centralConfig.ampcTeamName "" operator="!=" }}
|
|
196
197
|
CENTRAL_TEAM: {{centralConfig.ampcTeamName}}
|
|
197
198
|
{{/compare}}
|
|
199
|
+
CENTRAL_SINGLEURL={{centralConfig.singleEntryPointUrl}}
|
|
198
200
|
CENTRAL_URL: {{centralConfig.url}}
|
|
199
201
|
EVENT_LOG_FILE_PATHS: /events/*.log
|
|
200
202
|
LOG_LEVEL: info
|
|
@@ -268,6 +270,7 @@ CENTRAL_ORGANIZATIONID={{centralConfig.orgId}}
|
|
|
268
270
|
{{#compare . centralConfig.ampcTeamName "" operator="!=" }}
|
|
269
271
|
CENTRAL_TEAM={{centralConfig.ampcTeamName}}
|
|
270
272
|
{{/compare}}
|
|
273
|
+
CENTRAL_SINGLEURL={{centralConfig.singleEntryPointUrl}}
|
|
271
274
|
{{#compare . centralConfig.region "EU"}}
|
|
272
275
|
CENTRAL_URL={{centralConfig.url}}
|
|
273
276
|
{{/compare}}
|
|
@@ -319,6 +322,7 @@ env:
|
|
|
319
322
|
{{#compare . centralConfig.ampcTeamName "" operator="!=" }}
|
|
320
323
|
CENTRAL_TEAM: {{centralConfig.ampcTeamName}}
|
|
321
324
|
{{/compare}}
|
|
325
|
+
CENTRAL_SINGLEURL={{centralConfig.singleEntryPointUrl}}
|
|
322
326
|
CENTRAL_URL: {{centralConfig.url}}
|
|
323
327
|
LOG_LEVEL: info
|
|
324
328
|
|
|
@@ -89,7 +89,8 @@ als:
|
|
|
89
89
|
keysSecretName: {{istioAgentValues.keysSecretName}}
|
|
90
90
|
publishHeaders: true
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
istioGatewayNamespaces:
|
|
93
|
+
- {{istioAgentValues.envoyFilterNamespace}}
|
|
93
94
|
|
|
94
95
|
# discovers API Documentation
|
|
95
96
|
ada:
|
|
@@ -106,7 +106,11 @@ https://docs.axway.com/bundle/amplify-central/page/docs/connect_manage_environ/m
|
|
|
106
106
|
const {
|
|
107
107
|
error
|
|
108
108
|
} = await _Kubectl.kubectl.isInstalled();
|
|
109
|
-
|
|
109
|
+
|
|
110
|
+
if (error) {
|
|
111
|
+
throw new Error(`Kubectl is required to fill out the following prompts. It appears to be missing or misconfigured.\n${error}`);
|
|
112
|
+
}
|
|
113
|
+
|
|
110
114
|
const istioOverrides = await setupIstio(istioValues);
|
|
111
115
|
installConfig.gatewayConfig = istioValues; // Set up the following values from installConfig to be used in setupKubernetes
|
|
112
116
|
|
|
@@ -113,7 +113,7 @@ const getCentralConfig = async (apiServerClient, platformClient, defsManager, ap
|
|
|
113
113
|
} // Get the DA Agent name
|
|
114
114
|
|
|
115
115
|
|
|
116
|
-
centralConfig.daAgentName = ''; //
|
|
116
|
+
centralConfig.daAgentName = ''; // Istio will not prompt for agent name. Remove when that ability exists
|
|
117
117
|
|
|
118
118
|
if (installConfig.switches.isDaEnabled && installConfig.gatewayType !== _types.GatewayTypes.ISTIO) {
|
|
119
119
|
centralConfig.daAgentName = await helpers.askAgentName(apiServerClient, defsManager, _types.AgentTypes.da, centralConfig.ampcEnvInfo.name);
|
|
@@ -148,7 +148,7 @@ const finalizeCentralInstall = async (apiServerClient, platformClient, defsManag
|
|
|
148
148
|
installConfig.centralConfig.environment = installConfig.centralConfig.ampcEnvInfo.isNew ? await helpers.createByResourceType(apiServerClient, defsManager, installConfig.centralConfig.ampcEnvInfo.name, 'Environment', 'env', {
|
|
149
149
|
axwayManaged: installConfig.centralConfig.axwayManaged,
|
|
150
150
|
production: installConfig.centralConfig.production
|
|
151
|
-
}) : installConfig.centralConfig.ampcEnvInfo.name; // Create DiscoveryAgent Resource unless gateway type is
|
|
151
|
+
}) : installConfig.centralConfig.ampcEnvInfo.name; // Create DiscoveryAgent Resource unless gateway type is Istio. This can be removed when this is available for Istio
|
|
152
152
|
|
|
153
153
|
if (installConfig.gatewayType !== _types.GatewayTypes.ISTIO) {
|
|
154
154
|
if (installConfig.centralConfig.daAgentName != '') {
|
package/dist/common/Kubectl.js
CHANGED
|
@@ -63,10 +63,15 @@ class Kubectl {
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
async execKubectl(action, resource) {
|
|
66
|
-
|
|
66
|
+
let {
|
|
67
67
|
stdout,
|
|
68
68
|
stderr
|
|
69
69
|
} = await exec(`kubectl ${action} | awk ${quotes}{print $1}${quotes}`);
|
|
70
|
+
|
|
71
|
+
if (stderr.includes('WARNING')) {
|
|
72
|
+
stderr = '';
|
|
73
|
+
}
|
|
74
|
+
|
|
70
75
|
return stderr ? {
|
|
71
76
|
data: null,
|
|
72
77
|
error: `K8S ${resource}: ${stderr}`
|
package/dist/common/types.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.docsUrl = exports.commonCmdArgsDescription = exports.cliVersionHeader = exports.YesNoChoices = exports.YesNo = exports.WAIT_TIMEOUT = exports.TrueFalseChoices = exports.TrueFalse = exports.TraceabilityConfig = exports.Regions = exports.PublicRepoUrl = exports.PublicDockerRepoBaseUrl = exports.Protocol = exports.ProdBaseUrls = exports.Platforms = exports.OutputTypes = exports.MAX_FILE_SIZE = exports.MAX_CACHE_FILE_SIZE = exports.LoggingSource = exports.KindTypes = exports.Kind = exports.IstioProfileChoices = exports.IstioInstallValues = exports.IstioAgentValues = exports.IngestionProtocolToHosts = exports.IngestionProtocol = exports.IngestionHostsHTTP = exports.IngestionHosts = exports.IngestionHTTPHosts = exports.GatewayTypes = exports.GatewayTypeToDataPlane = exports.GatewayMode = exports.EnvironmentConfigInfo = exports.DosaAccount = exports.DataPlaneNames = exports.DOSAConfigInfo = exports.ConfigTypes = exports.CloudFormationConfig = exports.Certificate = exports.CentralAgentConfig = exports.CACHE_FILE_TTL_MILLISECONDS = exports.BundleType = exports.BasePaths = exports.AuthUrls = exports.AgentTypes = exports.AgentResourceKind = exports.AgentNames = exports.AgentInstallSwitches = exports.AgentInstallConfig = exports.AgentConfigTypes = exports.APICDeployments = exports.ABORT_TIMEOUT = void 0;
|
|
6
|
+
exports.docsUrl = exports.commonCmdArgsDescription = exports.cliVersionHeader = exports.YesNoChoices = exports.YesNo = exports.WAIT_TIMEOUT = exports.TrueFalseChoices = exports.TrueFalse = exports.TraceabilityConfig = exports.SingleEntryPointUrls = exports.Regions = exports.PublicRepoUrl = exports.PublicDockerRepoBaseUrl = exports.Protocol = exports.ProdBaseUrls = exports.Platforms = exports.OutputTypes = exports.MAX_FILE_SIZE = exports.MAX_CACHE_FILE_SIZE = exports.LoggingSource = exports.KindTypes = exports.Kind = exports.IstioProfileChoices = exports.IstioInstallValues = exports.IstioAgentValues = exports.IngestionProtocolToHosts = exports.IngestionProtocol = exports.IngestionHostsHTTP = exports.IngestionHosts = exports.IngestionHTTPHosts = exports.GatewayTypes = exports.GatewayTypeToDataPlane = exports.GatewayMode = exports.EnvironmentConfigInfo = exports.DosaAccount = exports.DataPlaneNames = exports.DOSAConfigInfo = exports.ConfigTypes = exports.CloudFormationConfig = exports.Certificate = exports.CentralAgentConfig = exports.CACHE_FILE_TTL_MILLISECONDS = exports.BundleType = exports.BasePaths = exports.AuthUrls = exports.AgentTypes = exports.AgentResourceKind = exports.AgentNames = exports.AgentInstallSwitches = exports.AgentInstallConfig = exports.AgentConfigTypes = exports.APICDeployments = exports.ABORT_TIMEOUT = void 0;
|
|
7
7
|
|
|
8
8
|
var _dataService = require("./dataService");
|
|
9
9
|
|
|
@@ -84,6 +84,11 @@ exports.AuthUrls = AuthUrls;
|
|
|
84
84
|
AuthUrls["Prod"] = "https://login.axway.com";
|
|
85
85
|
})(AuthUrls || (exports.AuthUrls = AuthUrls = {}));
|
|
86
86
|
|
|
87
|
+
const SingleEntryPointUrls = {
|
|
88
|
+
US: 'https://ingestion.platform.axway.com',
|
|
89
|
+
EU: 'https://ingestion-eu.platform.axway.com'
|
|
90
|
+
};
|
|
91
|
+
exports.SingleEntryPointUrls = SingleEntryPointUrls;
|
|
87
92
|
let Regions;
|
|
88
93
|
exports.Regions = Regions;
|
|
89
94
|
|
|
@@ -221,9 +226,6 @@ const IstioProfileChoices = [{
|
|
|
221
226
|
}, {
|
|
222
227
|
name: 'preview',
|
|
223
228
|
value: 'preview'
|
|
224
|
-
}, {
|
|
225
|
-
name: 'remote',
|
|
226
|
-
value: 'remote'
|
|
227
229
|
}];
|
|
228
230
|
exports.IstioProfileChoices = IstioProfileChoices;
|
|
229
231
|
// exporting for tests
|
|
@@ -304,7 +306,7 @@ const GatewayTypeToDataPlane = {
|
|
|
304
306
|
[GatewayTypes.EDGE_GATEWAY_ONLY]: DataPlaneNames.EDGE,
|
|
305
307
|
[GatewayTypes.AWS_GATEWAY]: DataPlaneNames.AWS,
|
|
306
308
|
[GatewayTypes.AZURE_GATEWAY]: DataPlaneNames.AZURE,
|
|
307
|
-
[GatewayTypes.ISTIO]: '
|
|
309
|
+
[GatewayTypes.ISTIO]: 'Istio'
|
|
308
310
|
};
|
|
309
311
|
exports.GatewayTypeToDataPlane = GatewayTypeToDataPlane;
|
|
310
312
|
let AgentResourceKind;
|
|
@@ -386,6 +388,8 @@ class CentralAgentConfig {
|
|
|
386
388
|
|
|
387
389
|
_defineProperty(this, "host", void 0);
|
|
388
390
|
|
|
391
|
+
_defineProperty(this, "singleEntryPointUrl", void 0);
|
|
392
|
+
|
|
389
393
|
_defineProperty(this, "scheme", void 0);
|
|
390
394
|
|
|
391
395
|
_defineProperty(this, "production", void 0);
|
|
@@ -414,6 +418,7 @@ class CentralAgentConfig {
|
|
|
414
418
|
[this.scheme, this.host] = this.url.split('://');
|
|
415
419
|
this.production = false;
|
|
416
420
|
this.axwayManaged = false;
|
|
421
|
+
this.singleEntryPointUrl = SingleEntryPointUrls[this.region];
|
|
417
422
|
}
|
|
418
423
|
|
|
419
424
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axway/axway-central-cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.0",
|
|
4
4
|
"description": "Manage APIs, services and publish to the Unified Catalog",
|
|
5
5
|
"homepage": "https://platform.axway.com",
|
|
6
6
|
"author": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
],
|
|
22
22
|
"repository": {
|
|
23
23
|
"type": "git",
|
|
24
|
-
"url": "https://git.ecd.axway.
|
|
24
|
+
"url": "https://git.ecd.axway.org/apigov/apicentral-cli.git"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
27
|
"build": "babel src --extensions .ts -d dist --ignore src/**/*.spec.ts,src/**/*.spec.js",
|
|
@@ -41,46 +41,45 @@
|
|
|
41
41
|
"name": "central"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@axway/amplify-cli-utils": "^5.0.
|
|
44
|
+
"@axway/amplify-cli-utils": "^5.0.10",
|
|
45
45
|
"chalk": "^4.1.2",
|
|
46
|
-
"cli-kit": "^1.
|
|
47
|
-
"dayjs": "^1.11.
|
|
46
|
+
"cli-kit": "^1.16.0",
|
|
47
|
+
"dayjs": "^1.11.2",
|
|
48
48
|
"easy-table": "^1.2.0",
|
|
49
49
|
"extract-zip": "^2.0.1",
|
|
50
50
|
"form-data": "^4.0.0",
|
|
51
|
-
"fs-extra": "^10.0
|
|
52
|
-
"g": "^2.0.1",
|
|
51
|
+
"fs-extra": "^10.1.0",
|
|
53
52
|
"handlebars": "^4.7.7",
|
|
54
|
-
"inquirer": "^8.2.
|
|
53
|
+
"inquirer": "^8.2.4",
|
|
55
54
|
"js-yaml": "^4.1.0",
|
|
56
55
|
"lodash": "^4.17.21",
|
|
57
56
|
"node-cache": "^5.1.2",
|
|
58
|
-
"npm-check-updates": "^12.5.
|
|
57
|
+
"npm-check-updates": "^12.5.12",
|
|
59
58
|
"ora": "^5.4.1",
|
|
60
59
|
"promise-limit": "^2.7.0",
|
|
61
|
-
"semver": "^7.3.
|
|
60
|
+
"semver": "^7.3.7",
|
|
62
61
|
"snooplogg": "^3.0.2",
|
|
63
62
|
"tmp": "^0.2.1"
|
|
64
63
|
},
|
|
65
64
|
"devDependencies": {
|
|
66
|
-
"@babel/cli": "^7.17.
|
|
67
|
-
"@babel/core": "^7.
|
|
68
|
-
"@babel/plugin-proposal-class-properties": "^7.
|
|
69
|
-
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.
|
|
70
|
-
"@babel/plugin-proposal-optional-chaining": "^7.
|
|
71
|
-
"@babel/preset-env": "^7.
|
|
72
|
-
"@babel/preset-typescript": "^7.
|
|
73
|
-
"@types/chai": "^4.3.
|
|
65
|
+
"@babel/cli": "^7.17.10",
|
|
66
|
+
"@babel/core": "^7.18.2",
|
|
67
|
+
"@babel/plugin-proposal-class-properties": "^7.17.12",
|
|
68
|
+
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.17.12",
|
|
69
|
+
"@babel/plugin-proposal-optional-chaining": "^7.17.12",
|
|
70
|
+
"@babel/preset-env": "^7.18.2",
|
|
71
|
+
"@babel/preset-typescript": "^7.17.12",
|
|
72
|
+
"@types/chai": "^4.3.1",
|
|
74
73
|
"@types/chai-as-promised": "^7.1.5",
|
|
75
74
|
"@types/form-data": "^2.5.0",
|
|
76
75
|
"@types/fs-extra": "^9.0.13",
|
|
77
|
-
"@types/inquirer": "^8.2.
|
|
76
|
+
"@types/inquirer": "^8.2.1",
|
|
78
77
|
"@types/js-yaml": "^4.0.5",
|
|
79
|
-
"@types/lodash": "^4.14.
|
|
80
|
-
"@types/mocha": "^9.1.
|
|
81
|
-
"@types/node": "^17.0.
|
|
78
|
+
"@types/lodash": "^4.14.182",
|
|
79
|
+
"@types/mocha": "^9.1.1",
|
|
80
|
+
"@types/node": "^17.0.23",
|
|
82
81
|
"@types/rx": "^4.1.2",
|
|
83
|
-
"@types/semver": "^7.3.
|
|
82
|
+
"@types/semver": "^7.3.10",
|
|
84
83
|
"@types/sinon": "^10.0.11",
|
|
85
84
|
"@types/tmp": "^0.2.3",
|
|
86
85
|
"@types/update-notifier": "^5.1.0",
|
|
@@ -88,16 +87,16 @@
|
|
|
88
87
|
"babel-plugin-lodash": "^3.3.4",
|
|
89
88
|
"chai": "^4.3.6",
|
|
90
89
|
"chai-as-promised": "^7.1.1",
|
|
91
|
-
"core-js": "^3.
|
|
90
|
+
"core-js": "^3.22.8",
|
|
92
91
|
"mocha": "^9.2.2",
|
|
93
92
|
"nock": "^13.2.4",
|
|
94
|
-
"nodemon": "^2.0.
|
|
93
|
+
"nodemon": "^2.0.18",
|
|
95
94
|
"nyc": "^15.1.0",
|
|
96
|
-
"prettier": "^2.6.
|
|
95
|
+
"prettier": "^2.6.2",
|
|
97
96
|
"sinon": "^11.1.2",
|
|
98
97
|
"source-map-support": "^0.5.21",
|
|
99
|
-
"ts-mocha": "^
|
|
100
|
-
"typescript": "^4.
|
|
98
|
+
"ts-mocha": "^10.0.0",
|
|
99
|
+
"typescript": "^4.7.2"
|
|
101
100
|
},
|
|
102
101
|
"jest": {
|
|
103
102
|
"verbose": true,
|
package/renovate.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
3
|
+
"extends": [
|
|
4
|
+
"config:base"
|
|
5
|
+
],
|
|
6
|
+
"branchPrefix": "APIGOV-renovate-",
|
|
7
|
+
"commitMessagePrefix": "APIGOV-renovate -",
|
|
8
|
+
"onboardingBranch": "ConfigureRenovate",
|
|
9
|
+
"rangeStrategy": "bump",
|
|
10
|
+
"prConcurrentLimit": 0,
|
|
11
|
+
"prHourlyLimit": 0
|
|
12
|
+
}
|