@axway/axway-central-cli 2.11.0-rc.0 → 2.11.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.
@@ -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
- installConfig.centralConfig.region = region ? region.toString() : _types.Regions.US; // gateway type
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,
@@ -483,11 +483,11 @@ ${_chalk.default.cyan(`docker run --env-file ${helpers.pwdWin}/${ConfigFiles.DAE
483
483
  ${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
493
  ${taImage}:${installConfig.taVersion}`)}`}`;
@@ -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), '\n');
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
- envoyFilterNamespace: {{istioAgentValues.envoyFilterNamespace}}
92
+ istioGatewayNamespaces:
93
+ - {{istioAgentValues.envoyFilterNamespace}}
93
94
 
94
95
  # discovers API Documentation
95
96
  ada:
@@ -71,6 +71,7 @@ const istioPrompts = {
71
71
  enterCertificatePath: 'Enter the file path to the certificate',
72
72
  existingIstioPrompt: 'Use existing Istio installation?',
73
73
  askGatewayNamespace: 'Select the namespace where the Istio ingress gateway is running',
74
+ profilePrompt: 'Select the Istio profile to use',
74
75
  // kubernetes
75
76
  enterMeshAgentNamespace: 'Enter the namespace to use for the Amplify Istio Agents',
76
77
  alsModePrompt: 'Select Traceability Agent HTTP header publishing mode',
@@ -105,7 +106,11 @@ https://docs.axway.com/bundle/amplify-central/page/docs/connect_manage_environ/m
105
106
  const {
106
107
  error
107
108
  } = await _Kubectl.kubectl.isInstalled();
108
- if (error) throw new Error(`Kubectl is required to fill out the following prompts. It appears to be missing or misconfigured.\n${error}`);
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
+
109
114
  const istioOverrides = await setupIstio(istioValues);
110
115
  installConfig.gatewayConfig = istioValues; // Set up the following values from installConfig to be used in setupKubernetes
111
116
 
@@ -164,6 +169,11 @@ const askCertificateOption = async () => (0, _basicPrompts.askList)({
164
169
  name: 'Provide certificate',
165
170
  value: _types.Certificate.PROVIDE
166
171
  }]
172
+ });
173
+
174
+ const askIstioProfile = async () => (0, _basicPrompts.askList)({
175
+ msg: istioPrompts.profilePrompt,
176
+ choices: _types.IstioProfileChoices
167
177
  }); //Setup Overrides
168
178
 
169
179
 
@@ -181,6 +191,7 @@ const setupIstio = async istioValues => {
181
191
  return istioInstallValues;
182
192
  }
183
193
 
194
+ istioInstallValues.profile = await askIstioProfile();
184
195
  console.log(_chalk.default.gray('\nFor a Kubernetes cluster exposing HTTPS endpoints, you must own or be able to configure a certificate for the correspoinding fully qualified domain name\n'));
185
196
  istioInstallValues.host = (await askHost()).toLowerCase();
186
197
 
@@ -325,7 +336,7 @@ const createIstioOverride = overrides => {
325
336
  console.log(`\nIstio override file has been placed at ${process.cwd()}/${overrideFileName}`);
326
337
 
327
338
  if (overrides.istioInstallValues.isNewInstall) {
328
- console.log('To complete the istio installation run the following command:', _chalk.default.cyan(`\n istioctl install --set profile=demo -f ${overrideFileName}\n`));
339
+ console.log('To complete the istio installation run the following command:', _chalk.default.cyan(`\n istioctl install --set profile=${overrides.istioInstallValues.profile} -f ${overrideFileName}\n`));
329
340
  } else {
330
341
  console.log(_chalk.default.cyan(` Please merge the generated ${overrideFileName} file with your Istio configuration to allow the Traceability Agent to function.\n`));
331
342
  }
@@ -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 = ''; // ISTIO will not prompt for agent name. Remove when that ability exists
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 ISTIO. This can be removed when this is available for ISTIO
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 != '') {
@@ -63,10 +63,15 @@ class Kubectl {
63
63
  }
64
64
 
65
65
  async execKubectl(action, resource) {
66
- const {
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}`
@@ -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.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
 
@@ -203,6 +208,26 @@ const YesNoChoices = [{
203
208
  value: YesNo.No
204
209
  }];
205
210
  exports.YesNoChoices = YesNoChoices;
211
+ const IstioProfileChoices = [{
212
+ name: 'default',
213
+ value: 'default'
214
+ }, {
215
+ name: 'demo',
216
+ value: 'demo'
217
+ }, {
218
+ name: 'empty',
219
+ value: 'empty'
220
+ }, {
221
+ name: 'minimal',
222
+ value: 'minimal'
223
+ }, {
224
+ name: 'openshift',
225
+ value: 'openshift'
226
+ }, {
227
+ name: 'preview',
228
+ value: 'preview'
229
+ }];
230
+ exports.IstioProfileChoices = IstioProfileChoices;
206
231
  // exporting for tests
207
232
  let AgentConfigTypes;
208
233
  exports.AgentConfigTypes = AgentConfigTypes;
@@ -281,7 +306,7 @@ const GatewayTypeToDataPlane = {
281
306
  [GatewayTypes.EDGE_GATEWAY_ONLY]: DataPlaneNames.EDGE,
282
307
  [GatewayTypes.AWS_GATEWAY]: DataPlaneNames.AWS,
283
308
  [GatewayTypes.AZURE_GATEWAY]: DataPlaneNames.AZURE,
284
- [GatewayTypes.ISTIO]: 'ISTIO'
309
+ [GatewayTypes.ISTIO]: 'Istio'
285
310
  };
286
311
  exports.GatewayTypeToDataPlane = GatewayTypeToDataPlane;
287
312
  let AgentResourceKind;
@@ -363,6 +388,8 @@ class CentralAgentConfig {
363
388
 
364
389
  _defineProperty(this, "host", void 0);
365
390
 
391
+ _defineProperty(this, "singleEntryPointUrl", void 0);
392
+
366
393
  _defineProperty(this, "scheme", void 0);
367
394
 
368
395
  _defineProperty(this, "production", void 0);
@@ -391,6 +418,7 @@ class CentralAgentConfig {
391
418
  [this.scheme, this.host] = this.url.split('://');
392
419
  this.production = false;
393
420
  this.axwayManaged = false;
421
+ this.singleEntryPointUrl = SingleEntryPointUrls[this.region];
394
422
  }
395
423
 
396
424
  }
@@ -712,20 +740,23 @@ class IstioInstallValues {
712
740
 
713
741
  _defineProperty(this, "protocol", void 0);
714
742
 
743
+ _defineProperty(this, "profile", void 0);
744
+
715
745
  _defineProperty(this, "targetPort", void 0);
716
746
 
717
747
  _defineProperty(this, "certificateOption", void 0);
718
748
 
719
749
  this.alsNamespace = 'amplify-agents';
750
+ this.certificateOption = '';
720
751
  this.enableAls = false;
721
752
  this.enableTracing = false;
722
753
  this.gatewayNamespace = 'istio-system';
723
754
  this.host = '';
724
755
  this.isNewInstall = true;
725
756
  this.port = 8080;
757
+ this.profile = 'demo';
726
758
  this.protocol = Protocol.HTTP;
727
759
  this.targetPort = 0;
728
- this.certificateOption = '';
729
760
  }
730
761
 
731
762
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axway/axway-central-cli",
3
- "version": "2.11.0-rc.0",
3
+ "version": "2.11.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.int/apigov/apicentral-cli"
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.7",
44
+ "@axway/amplify-cli-utils": "^5.0.10",
45
45
  "chalk": "^4.1.2",
46
- "cli-kit": "^1.15.0",
47
- "dayjs": "^1.11.0",
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.1",
52
- "g": "^2.0.1",
51
+ "fs-extra": "^10.1.0",
53
52
  "handlebars": "^4.7.7",
54
- "inquirer": "^8.2.1",
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.4",
57
+ "npm-check-updates": "^12.5.12",
59
58
  "ora": "^5.4.1",
60
59
  "promise-limit": "^2.7.0",
61
- "semver": "^7.3.5",
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.6",
67
- "@babel/core": "^7.17.8",
68
- "@babel/plugin-proposal-class-properties": "^7.16.7",
69
- "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
70
- "@babel/plugin-proposal-optional-chaining": "^7.16.7",
71
- "@babel/preset-env": "^7.16.11",
72
- "@babel/preset-typescript": "^7.16.7",
73
- "@types/chai": "^4.3.0",
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.0",
76
+ "@types/inquirer": "^8.2.1",
78
77
  "@types/js-yaml": "^4.0.5",
79
- "@types/lodash": "^4.14.180",
80
- "@types/mocha": "^9.1.0",
81
- "@types/node": "^17.0.22",
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.9",
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.21.1",
90
+ "core-js": "^3.22.8",
92
91
  "mocha": "^9.2.2",
93
92
  "nock": "^13.2.4",
94
- "nodemon": "^2.0.15",
93
+ "nodemon": "^2.0.18",
95
94
  "nyc": "^15.1.0",
96
- "prettier": "^2.6.0",
95
+ "prettier": "^2.6.2",
97
96
  "sinon": "^11.1.2",
98
97
  "source-map-support": "^0.5.21",
99
- "ts-mocha": "^9.0.2",
100
- "typescript": "^4.6.2"
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
+ }