@dotcom-tool-kit/serverless 2.2.0 → 2.2.2
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;CAoC3B"}
|
package/lib/tasks/deploy.js
CHANGED
|
@@ -24,7 +24,10 @@ class ServerlessDeploy extends types_1.Task {
|
|
|
24
24
|
args.push('--config', configPath);
|
|
25
25
|
}
|
|
26
26
|
const child = (0, child_process_1.spawn)('serverless', args, {
|
|
27
|
-
env:
|
|
27
|
+
env: {
|
|
28
|
+
...process.env,
|
|
29
|
+
...dopplerEnv
|
|
30
|
+
}
|
|
28
31
|
});
|
|
29
32
|
(0, logger_1.hookFork)(this.logger, 'serverless', child);
|
|
30
33
|
});
|
|
@@ -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;CA0C3B"}
|
package/lib/tasks/provision.js
CHANGED
|
@@ -31,7 +31,10 @@ class ServerlessProvision extends types_1.Task {
|
|
|
31
31
|
args.push('--config', './serverless.yml');
|
|
32
32
|
}
|
|
33
33
|
const child = (0, child_process_1.spawn)('serverless', args, {
|
|
34
|
-
env:
|
|
34
|
+
env: {
|
|
35
|
+
...process.env,
|
|
36
|
+
...dopplerEnv
|
|
37
|
+
}
|
|
35
38
|
});
|
|
36
39
|
(0, logger_1.hookFork)(this.logger, 'serverless', child);
|
|
37
40
|
}
|
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.2",
|
|
4
4
|
"description": "a plugin to manage and deploy apps using AWS Serverless",
|
|
5
5
|
"main": "lib",
|
|
6
6
|
"scripts": {
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@dotcom-tool-kit/error": "^3.1.0",
|
|
29
|
-
"@dotcom-tool-kit/state": "^3.1.
|
|
29
|
+
"@dotcom-tool-kit/state": "^3.1.1",
|
|
30
30
|
"@dotcom-tool-kit/types": "^3.4.0",
|
|
31
|
-
"@dotcom-tool-kit/doppler": "^1.0.
|
|
31
|
+
"@dotcom-tool-kit/doppler": "^1.0.1",
|
|
32
32
|
"get-port": "^5.1.1",
|
|
33
33
|
"tslib": "^2.3.1",
|
|
34
34
|
"wait-port": "^0.2.9"
|