@adobe/helix-deploy 8.1.1 → 9.0.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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
# [9.0.0](https://github.com/adobe/helix-deploy/compare/v8.1.2...v9.0.0) (2023-01-31)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* update to esm helix-universal ([40ab053](https://github.com/adobe/helix-deploy/commit/40ab05305ff97bae16a510a97dc849e3f2ad0790))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### BREAKING CHANGES
|
|
10
|
+
|
|
11
|
+
* needs helix-universal 4.x
|
|
12
|
+
|
|
13
|
+
## [8.1.2](https://github.com/adobe/helix-deploy/compare/v8.1.1...v8.1.2) (2023-01-28)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **deps:** update external fixes ([97fc6c1](https://github.com/adobe/helix-deploy/commit/97fc6c19365427422b36f3d3897aa19ae6a5858e))
|
|
19
|
+
|
|
1
20
|
## [8.1.1](https://github.com/adobe/helix-deploy/compare/v8.1.0...v8.1.1) (2023-01-28)
|
|
2
21
|
|
|
3
22
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-deploy",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0",
|
|
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",
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
"require": "test/setup-env.js"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@adobe/helix-universal": ">=1.
|
|
36
|
+
"@adobe/helix-universal": ">=4.1.1"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@adobe/fastly-native-promises": "2.0.15",
|
|
40
|
-
"@adobe/fetch": "
|
|
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.
|
|
47
|
-
"@fastly/js-compute": "1.
|
|
40
|
+
"@adobe/fetch": "4.0.1",
|
|
41
|
+
"@aws-sdk/client-apigatewayv2": "3.259.0",
|
|
42
|
+
"@aws-sdk/client-lambda": "3.259.0",
|
|
43
|
+
"@aws-sdk/client-s3": "3.259.0",
|
|
44
|
+
"@aws-sdk/client-secrets-manager": "3.259.0",
|
|
45
|
+
"@aws-sdk/client-ssm": "3.259.0",
|
|
46
|
+
"@aws-sdk/client-sts": "3.259.0",
|
|
47
|
+
"@fastly/js-compute": "1.3.1",
|
|
48
48
|
"@google-cloud/functions": "2.2.3",
|
|
49
49
|
"@google-cloud/secret-manager": "4.2.0",
|
|
50
|
-
"@google-cloud/storage": "6.9.
|
|
50
|
+
"@google-cloud/storage": "6.9.1",
|
|
51
51
|
"@rollup/plugin-alias": "4.0.3",
|
|
52
52
|
"@rollup/plugin-commonjs": "24.0.1",
|
|
53
53
|
"@rollup/plugin-json": "6.0.0",
|
|
54
54
|
"@rollup/plugin-node-resolve": "15.0.1",
|
|
55
|
-
"@rollup/plugin-terser": "0.
|
|
55
|
+
"@rollup/plugin-terser": "0.4.0",
|
|
56
56
|
"archiver": "5.3.1",
|
|
57
57
|
"chalk-template": "0.5.0",
|
|
58
58
|
"constants-browserify": "1.0.0",
|
|
@@ -63,8 +63,7 @@
|
|
|
63
63
|
"get-stream": "6.0.1",
|
|
64
64
|
"isomorphic-git": "1.21.0",
|
|
65
65
|
"openwhisk": "3.21.7",
|
|
66
|
-
"
|
|
67
|
-
"rollup": "3.10.1",
|
|
66
|
+
"rollup": "3.12.0",
|
|
68
67
|
"semver": "7.3.8",
|
|
69
68
|
"tar": "6.1.13",
|
|
70
69
|
"webpack": "5.75.0",
|
|
@@ -72,18 +71,12 @@
|
|
|
72
71
|
},
|
|
73
72
|
"devDependencies": {
|
|
74
73
|
"@adobe/eslint-config-helix": "2.0.1",
|
|
75
|
-
"@adobe/helix-shared-wrap": "
|
|
76
|
-
"@adobe/helix-status": "
|
|
77
|
-
"@adobe/helix-universal-logger": "2.0.18",
|
|
74
|
+
"@adobe/helix-shared-wrap": "2.0.0",
|
|
75
|
+
"@adobe/helix-status": "10.0.0",
|
|
78
76
|
"@semantic-release/changelog": "6.0.2",
|
|
79
77
|
"@semantic-release/git": "10.0.1",
|
|
80
78
|
"c8": "7.12.0",
|
|
81
|
-
"chai": "4.3.7",
|
|
82
|
-
"chai-http": "4.3.0",
|
|
83
|
-
"codecov": "3.8.3",
|
|
84
79
|
"eslint": "8.32.0",
|
|
85
|
-
"eslint-plugin-header": "3.1.1",
|
|
86
|
-
"eslint-plugin-import": "2.27.5",
|
|
87
80
|
"husky": "8.0.3",
|
|
88
81
|
"lint-staged": "13.1.0",
|
|
89
82
|
"mocha": "10.2.0",
|
|
@@ -91,7 +84,6 @@
|
|
|
91
84
|
"mocha-multi-reporters": "1.5.1",
|
|
92
85
|
"nock": "13.3.0",
|
|
93
86
|
"semantic-release": "19.0.5",
|
|
94
|
-
"sinon": "15.0.1",
|
|
95
87
|
"yauzl": "2.10.0"
|
|
96
88
|
},
|
|
97
89
|
"engines": {
|
package/src/DevelopmentServer.js
CHANGED
|
@@ -9,17 +9,13 @@
|
|
|
9
9
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
10
|
* governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
|
-
import { createRequire } from 'module';
|
|
13
12
|
import fse from 'fs-extra';
|
|
14
13
|
import path from 'path';
|
|
15
14
|
import express from 'express';
|
|
15
|
+
import { createAdapter } from '@adobe/helix-universal/google';
|
|
16
16
|
import ActionBuilder from './ActionBuilder.js';
|
|
17
17
|
import BaseConfig from './BaseConfig.js';
|
|
18
18
|
|
|
19
|
-
// load proxyquire specially since it doesn't support ESM yet.
|
|
20
|
-
const require = createRequire(import.meta.url);
|
|
21
|
-
const proxyquire = require('proxyquire').noCallThru();
|
|
22
|
-
|
|
23
19
|
function rawBody() {
|
|
24
20
|
return (req, res, next) => {
|
|
25
21
|
if (req.method === 'GET' || req.method === 'HEAD') {
|
|
@@ -140,11 +136,7 @@ export default class DevelopmentServer {
|
|
|
140
136
|
// use google adapter since it already supports express req/res types
|
|
141
137
|
process.env.K_SERVICE = `${config.packageName}--${config.name}`;
|
|
142
138
|
process.env.K_REVISION = config.version;
|
|
143
|
-
this._handler =
|
|
144
|
-
'./main.js': {
|
|
145
|
-
main: this._main,
|
|
146
|
-
},
|
|
147
|
-
}).raw;
|
|
139
|
+
this._handler = createAdapter({ factory: () => this._main });
|
|
148
140
|
this.params = config.params;
|
|
149
141
|
return this;
|
|
150
142
|
}
|
|
@@ -43,7 +43,7 @@ export default class Bundler extends BaseBundler {
|
|
|
43
43
|
format: cfg.esm ? 'es' : 'cjs',
|
|
44
44
|
preferConst: true,
|
|
45
45
|
externalLiveBindings: false,
|
|
46
|
-
|
|
46
|
+
inlineDynamicImports: true,
|
|
47
47
|
exports: 'default',
|
|
48
48
|
},
|
|
49
49
|
// shimMissingExports: false,
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
const { dirname } = require('path');
|
|
13
13
|
const {
|
|
14
14
|
openwhisk,
|
|
15
|
-
|
|
15
|
+
lambda,
|
|
16
16
|
google,
|
|
17
17
|
} = require('@adobe/helix-universal').adapter;
|
|
18
18
|
|
|
@@ -21,6 +21,6 @@ global.__rootdir = dirname(__filename); // __dirname is transformed by webpack,
|
|
|
21
21
|
|
|
22
22
|
module.exports = {
|
|
23
23
|
main: openwhisk,
|
|
24
|
-
lambda
|
|
24
|
+
lambda,
|
|
25
25
|
google,
|
|
26
26
|
};
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
import { dirname } from 'path';
|
|
14
14
|
import { fileURLToPath } from 'url';
|
|
15
15
|
import { adapter } from '@adobe/helix-universal';
|
|
16
|
-
const { openwhisk, aws, google } = adapter;
|
|
17
16
|
|
|
18
17
|
// eslint-disable-next-line no-underscore-dangle
|
|
19
18
|
global.__rootdir = dirname(fileURLToPath(import.meta.url));
|
|
20
19
|
|
|
20
|
+
const { openwhisk, lambda, google } = adapter;
|
|
21
21
|
export default {
|
|
22
|
-
|
|
23
|
-
lambda
|
|
22
|
+
openwhisk,
|
|
23
|
+
lambda,
|
|
24
24
|
google,
|
|
25
|
-
}
|
|
25
|
+
}
|