@dotcom-tool-kit/node 2.0.2 → 2.1.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.
package/lib/tasks/node.js CHANGED
@@ -11,7 +11,7 @@ const get_port_1 = (0, tslib_1.__importDefault)(require("get-port"));
11
11
  const wait_port_1 = (0, tslib_1.__importDefault)(require("wait-port"));
12
12
  class Node extends types_1.Task {
13
13
  async run() {
14
- const { entry } = this.options;
14
+ const { entry, args } = this.options;
15
15
  const vault = new vault_1.VaultEnvVars(this.logger, {
16
16
  environment: 'development'
17
17
  });
@@ -26,7 +26,7 @@ class Node extends types_1.Task {
26
26
  throw error;
27
27
  }
28
28
  this.logger.verbose('starting the child node process...');
29
- const child = (0, child_process_1.fork)(entry, {
29
+ const child = (0, child_process_1.fork)(entry, args, {
30
30
  env: {
31
31
  ...vaultEnv,
32
32
  PORT: port.toString(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotcom-tool-kit/node",
3
- "version": "2.0.2",
3
+ "version": "2.1.2",
4
4
  "description": "",
5
5
  "main": "lib",
6
6
  "scripts": {
@@ -12,8 +12,8 @@
12
12
  "dependencies": {
13
13
  "@dotcom-tool-kit/error": "^2.0.0",
14
14
  "@dotcom-tool-kit/state": "^2.0.0",
15
- "@dotcom-tool-kit/types": "^2.2.0",
16
- "@dotcom-tool-kit/vault": "^2.0.2",
15
+ "@dotcom-tool-kit/types": "^2.5.0",
16
+ "@dotcom-tool-kit/vault": "^2.0.5",
17
17
  "get-port": "^5.1.1",
18
18
  "wait-port": "^0.2.9"
19
19
  },