@adobe/helix-deploy 9.1.13 → 9.1.15
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/CHANGELOG.md +14 -0
- package/package.json +11 -11
- package/src/deploy/AWSDeployer.js +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [9.1.15](https://github.com/adobe/helix-deploy/compare/v9.1.14...v9.1.15) (2023-08-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* rename default api gw name ([#567](https://github.com/adobe/helix-deploy/issues/567)) ([3bfd1a0](https://github.com/adobe/helix-deploy/commit/3bfd1a067db21a866cf00be1f7c1e3bc19045faf))
|
|
7
|
+
|
|
8
|
+
## [9.1.14](https://github.com/adobe/helix-deploy/compare/v9.1.13...v9.1.14) (2023-08-12)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** update external fixes ([a40662b](https://github.com/adobe/helix-deploy/commit/a40662b0f9ff028e0904a21c58923fba52de4e17))
|
|
14
|
+
|
|
1
15
|
## [9.1.13](https://github.com/adobe/helix-deploy/compare/v9.1.12...v9.1.13) (2023-08-09)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-deploy",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.15",
|
|
4
4
|
"description": "Library and Commandline Tools to build and deploy OpenWhisk Actions",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/adobe/helix-deploy#readme",
|
|
@@ -38,18 +38,18 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@adobe/fastly-native-promises": "3.0.4",
|
|
40
40
|
"@adobe/fetch": "4.0.13",
|
|
41
|
-
"@aws-sdk/client-apigatewayv2": "3.
|
|
42
|
-
"@aws-sdk/client-lambda": "3.
|
|
43
|
-
"@aws-sdk/client-s3": "3.
|
|
44
|
-
"@aws-sdk/client-secrets-manager": "3.
|
|
45
|
-
"@aws-sdk/client-ssm": "3.
|
|
46
|
-
"@aws-sdk/client-sts": "3.
|
|
41
|
+
"@aws-sdk/client-apigatewayv2": "3.388.0",
|
|
42
|
+
"@aws-sdk/client-lambda": "3.388.0",
|
|
43
|
+
"@aws-sdk/client-s3": "3.388.0",
|
|
44
|
+
"@aws-sdk/client-secrets-manager": "3.389.0",
|
|
45
|
+
"@aws-sdk/client-ssm": "3.388.0",
|
|
46
|
+
"@aws-sdk/client-sts": "3.388.0",
|
|
47
47
|
"@fastly/js-compute": "3.1.1",
|
|
48
48
|
"@google-cloud/functions": "3.0.0",
|
|
49
49
|
"@google-cloud/secret-manager": "5.0.0",
|
|
50
50
|
"@google-cloud/storage": "7.0.1",
|
|
51
51
|
"@rollup/plugin-alias": "5.0.0",
|
|
52
|
-
"@rollup/plugin-commonjs": "25.0.
|
|
52
|
+
"@rollup/plugin-commonjs": "25.0.4",
|
|
53
53
|
"@rollup/plugin-json": "6.0.0",
|
|
54
54
|
"@rollup/plugin-node-resolve": "15.1.0",
|
|
55
55
|
"@rollup/plugin-terser": "0.4.3",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"fs-extra": "11.1.1",
|
|
63
63
|
"isomorphic-git": "1.24.5",
|
|
64
64
|
"openwhisk": "3.21.7",
|
|
65
|
-
"rollup": "3.
|
|
65
|
+
"rollup": "3.28.0",
|
|
66
66
|
"semver": "7.5.4",
|
|
67
67
|
"tar": "6.1.15",
|
|
68
68
|
"webpack": "5.88.2",
|
|
@@ -75,9 +75,9 @@
|
|
|
75
75
|
"@semantic-release/changelog": "6.0.3",
|
|
76
76
|
"@semantic-release/git": "10.0.1",
|
|
77
77
|
"c8": "8.0.1",
|
|
78
|
-
"eslint": "8.
|
|
78
|
+
"eslint": "8.47.0",
|
|
79
79
|
"husky": "8.0.3",
|
|
80
|
-
"lint-staged": "
|
|
80
|
+
"lint-staged": "14.0.0",
|
|
81
81
|
"mocha": "10.2.0",
|
|
82
82
|
"mocha-junit-reporter": "2.2.1",
|
|
83
83
|
"mocha-multi-reporters": "1.5.1",
|
|
@@ -54,6 +54,8 @@ import BaseDeployer from './BaseDeployer.js';
|
|
|
54
54
|
import ActionBuilder from '../ActionBuilder.js';
|
|
55
55
|
import AWSConfig from './AWSConfig.js';
|
|
56
56
|
|
|
57
|
+
const API_GW_NAME_DEFAULT = 'API Managed by Helix Deploy';
|
|
58
|
+
|
|
57
59
|
export default class AWSDeployer extends BaseDeployer {
|
|
58
60
|
/**
|
|
59
61
|
* @param {BaseConfig} baseConfig
|
|
@@ -316,14 +318,14 @@ export default class AWSDeployer extends BaseDeployer {
|
|
|
316
318
|
} else if (this._cfg.apiId === 'create') {
|
|
317
319
|
this.log.info('--: creating API from scratch');
|
|
318
320
|
res = await this._api.send(new CreateApiCommand({
|
|
319
|
-
Name:
|
|
321
|
+
Name: API_GW_NAME_DEFAULT,
|
|
320
322
|
ProtocolType: 'HTTP',
|
|
321
323
|
}));
|
|
322
324
|
this.log.info(`Using new API "${res.ApiId}"`);
|
|
323
325
|
} else if (this._cfg.apiId === 'auto') {
|
|
324
326
|
res = await this._api.send(new GetApisCommand({ }));
|
|
325
327
|
// todo: find API with appropriate tag. eg `helix-deploy:<namespace`.
|
|
326
|
-
res = res.Items.find((a) => a.Name ===
|
|
328
|
+
res = res.Items.find((a) => a.Name === API_GW_NAME_DEFAULT);
|
|
327
329
|
if (!res) {
|
|
328
330
|
throw Error('--aws-api=auto didn\'t find an appropriate api.');
|
|
329
331
|
}
|