@dotcom-tool-kit/serverless 2.2.7 → 2.2.9
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../src/tasks/deploy.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAA;AAI/E,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,IAAI,CAAC,OAAO,gBAAgB,CAAC;IACzE,MAAM,CAAC,WAAW,SAAmB;IAE/B,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../src/tasks/deploy.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAA;AAI/E,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,IAAI,CAAC,OAAO,gBAAgB,CAAC;IACzE,MAAM,CAAC,WAAW,SAAmB;IAE/B,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAqC3B"}
|
package/lib/tasks/deploy.js
CHANGED
|
@@ -17,7 +17,7 @@ class ServerlessDeploy extends types_1.Task {
|
|
|
17
17
|
const doppler = new doppler_1.DopplerEnvVars(this.logger, 'prod');
|
|
18
18
|
dopplerEnv = await doppler.get();
|
|
19
19
|
}
|
|
20
|
-
|
|
20
|
+
for (const region of regions) {
|
|
21
21
|
this.logger.verbose('starting the child serverless process...');
|
|
22
22
|
const args = ['deploy', '--region', region, '--stage', 'prod'];
|
|
23
23
|
if (configPath) {
|
|
@@ -30,7 +30,8 @@ class ServerlessDeploy extends types_1.Task {
|
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
(0, logger_1.hookFork)(this.logger, 'serverless', child);
|
|
33
|
-
|
|
33
|
+
await (0, logger_1.waitOnExit)('serverless', child);
|
|
34
|
+
}
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
37
|
exports.default = ServerlessDeploy;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provision.d.ts","sourceRoot":"","sources":["../../src/tasks/provision.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAA;AAI/E,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,IAAI,CAAC,OAAO,gBAAgB,CAAC;IAC5E,MAAM,CAAC,WAAW,SAA4B;IAExC,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"provision.d.ts","sourceRoot":"","sources":["../../src/tasks/provision.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAA;AAI/E,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,IAAI,CAAC,OAAO,gBAAgB,CAAC;IAC5E,MAAM,CAAC,WAAW,SAA4B;IAExC,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CA2C3B"}
|
package/lib/tasks/provision.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotcom-tool-kit/serverless",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.9",
|
|
4
4
|
"description": "a plugin to manage and deploy apps using AWS Serverless",
|
|
5
5
|
"main": "lib",
|
|
6
6
|
"scripts": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@dotcom-tool-kit/error": "^3.1.0",
|
|
29
29
|
"@dotcom-tool-kit/state": "^3.1.1",
|
|
30
30
|
"@dotcom-tool-kit/types": "^3.4.1",
|
|
31
|
-
"@dotcom-tool-kit/doppler": "^1.0.
|
|
31
|
+
"@dotcom-tool-kit/doppler": "^1.0.7",
|
|
32
32
|
"get-port": "^5.1.1",
|
|
33
33
|
"tslib": "^2.3.1",
|
|
34
34
|
"wait-port": "^0.2.9"
|