@dotcom-tool-kit/node 3.2.1 → 3.3.1
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/.toolkitrc.yml +1 -1
- package/lib/tasks/node.d.ts.map +1 -1
- package/lib/tasks/node.js +2 -4
- package/package.json +4 -4
package/.toolkitrc.yml
CHANGED
package/lib/tasks/node.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/tasks/node.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAA;AAMnE,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,IAAI,CAAC,OAAO,UAAU,CAAC;IACvD,MAAM,CAAC,WAAW,SAAK;IAEjB,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/tasks/node.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAA;AAMnE,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,IAAI,CAAC,OAAO,UAAU,CAAC;IACvD,MAAM,CAAC,WAAW,SAAK;IAEjB,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAgD3B"}
|
package/lib/tasks/node.js
CHANGED
|
@@ -5,7 +5,7 @@ const error_1 = require("@dotcom-tool-kit/error");
|
|
|
5
5
|
const logger_1 = require("@dotcom-tool-kit/logger");
|
|
6
6
|
const state_1 = require("@dotcom-tool-kit/state");
|
|
7
7
|
const types_1 = require("@dotcom-tool-kit/types");
|
|
8
|
-
const
|
|
8
|
+
const doppler_1 = require("@dotcom-tool-kit/doppler");
|
|
9
9
|
const child_process_1 = require("child_process");
|
|
10
10
|
const get_port_1 = tslib_1.__importDefault(require("get-port"));
|
|
11
11
|
const wait_port_1 = tslib_1.__importDefault(require("wait-port"));
|
|
@@ -14,9 +14,7 @@ class Node extends types_1.Task {
|
|
|
14
14
|
const { entry, args, useVault, ports } = this.options;
|
|
15
15
|
let vaultEnv = {};
|
|
16
16
|
if (useVault) {
|
|
17
|
-
const vault = new
|
|
18
|
-
environment: 'development'
|
|
19
|
-
});
|
|
17
|
+
const vault = new doppler_1.DopplerEnvVars(this.logger, 'dev');
|
|
20
18
|
vaultEnv = await vault.get();
|
|
21
19
|
}
|
|
22
20
|
const port = Number(process.env.PORT) ||
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotcom-tool-kit/node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib",
|
|
6
6
|
"scripts": {
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@dotcom-tool-kit/error": "^3.1.0",
|
|
14
|
-
"@dotcom-tool-kit/state": "^3.1.
|
|
15
|
-
"@dotcom-tool-kit/types": "^3.
|
|
16
|
-
"@dotcom-tool-kit/
|
|
14
|
+
"@dotcom-tool-kit/state": "^3.1.1",
|
|
15
|
+
"@dotcom-tool-kit/types": "^3.4.0",
|
|
16
|
+
"@dotcom-tool-kit/doppler": "^1.0.1",
|
|
17
17
|
"get-port": "^5.1.1",
|
|
18
18
|
"tslib": "^2.3.1",
|
|
19
19
|
"wait-port": "^0.2.9"
|