@modernpoacher/deps 2.1.37 → 2.1.39

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/bin/bash/deps.sh CHANGED
@@ -4,7 +4,9 @@
4
4
 
5
5
  DIR="$(dirname "$0")"
6
6
 
7
- export NODE_OPTIONS='--disable-warning=ExperimentalWarning'
7
+ NODE_OPTIONS="${NODE_OPTIONS:---disable-warning=ExperimentalWarning}"
8
+
9
+ export NODE_OPTIONS=$NODE_OPTIONS # export NODE_OPTIONS='--disable-warning=ExperimentalWarning'
8
10
 
9
11
  if [ -f "$HOME/.zshrc" ];
10
12
  then
package/bin/bash/head.sh CHANGED
@@ -2,7 +2,9 @@
2
2
 
3
3
  DIR="$(dirname "$0")"
4
4
 
5
- export NODE_OPTIONS='--disable-warning=ExperimentalWarning'
5
+ NODE_OPTIONS="${NODE_OPTIONS:---disable-warning=ExperimentalWarning}"
6
+
7
+ export NODE_OPTIONS=$NODE_OPTIONS # export NODE_OPTIONS='--disable-warning=ExperimentalWarning'
6
8
 
7
9
  if [ -f "$HOME/.zshrc" ];
8
10
  then
package/bin/bash/push.sh CHANGED
@@ -2,7 +2,9 @@
2
2
 
3
3
  DIR="$(dirname "$0")"
4
4
 
5
- export NODE_OPTIONS='--disable-warning=ExperimentalWarning'
5
+ NODE_OPTIONS="${NODE_OPTIONS:---disable-warning=ExperimentalWarning}"
6
+
7
+ export NODE_OPTIONS=$NODE_OPTIONS # export NODE_OPTIONS='--disable-warning=ExperimentalWarning'
6
8
 
7
9
  if [ -f "$HOME/.zshrc" ];
8
10
  then
package/bin/bash/wipe.sh CHANGED
@@ -2,7 +2,9 @@
2
2
 
3
3
  DIR="$(dirname "$0")"
4
4
 
5
- export NODE_OPTIONS='--disable-warning=ExperimentalWarning'
5
+ NODE_OPTIONS="${NODE_OPTIONS:---disable-warning=ExperimentalWarning}"
6
+
7
+ export NODE_OPTIONS=$NODE_OPTIONS # export NODE_OPTIONS='--disable-warning=ExperimentalWarning'
6
8
 
7
9
  if [ -f "$HOME/.zshrc" ];
8
10
  then
package/bin/deps/deps.mjs CHANGED
@@ -28,10 +28,13 @@ import {
28
28
 
29
29
  const {
30
30
  env: {
31
+ NODE_OPTIONS = '--disable-warning=ExperimentalWarning',
31
32
  DEBUG = '@modernpoacher/deps*'
32
33
  }
33
34
  } = process
34
35
 
36
+ process.env.NODE_OPTIONS = NODE_OPTIONS
37
+
35
38
  debug.enable(DEBUG)
36
39
 
37
40
  const command = (
@@ -55,10 +55,13 @@ import {
55
55
 
56
56
  const {
57
57
  env: {
58
+ NODE_OPTIONS = '--disable-warning=ExperimentalWarning',
58
59
  DEBUG = '@modernpoacher/deps*'
59
60
  }
60
61
  } = process
61
62
 
63
+ process.env.NODE_OPTIONS = NODE_OPTIONS
64
+
62
65
  debug.enable(DEBUG)
63
66
 
64
67
  const log = debug('@modernpoacher/deps')
package/bin/deps/head.mjs CHANGED
@@ -28,10 +28,13 @@ import {
28
28
 
29
29
  const {
30
30
  env: {
31
+ NODE_OPTIONS = '--disable-warning=ExperimentalWarning',
31
32
  DEBUG = '@modernpoacher/deps*'
32
33
  }
33
34
  } = process
34
35
 
36
+ process.env.NODE_OPTIONS = NODE_OPTIONS
37
+
35
38
  debug.enable(DEBUG)
36
39
 
37
40
  const command = (
@@ -33,10 +33,13 @@ import {
33
33
 
34
34
  const {
35
35
  env: {
36
+ NODE_OPTIONS = '--disable-warning=ExperimentalWarning',
36
37
  DEBUG = '@modernpoacher/deps*'
37
38
  }
38
39
  } = process
39
40
 
41
+ process.env.NODE_OPTIONS = NODE_OPTIONS
42
+
40
43
  debug.enable(DEBUG)
41
44
 
42
45
  const log = debug('@modernpoacher/deps')
package/bin/deps/push.mjs CHANGED
@@ -28,10 +28,13 @@ import {
28
28
 
29
29
  const {
30
30
  env: {
31
+ NODE_OPTIONS = '--disable-warning=ExperimentalWarning',
31
32
  DEBUG = '@modernpoacher/deps*'
32
33
  }
33
34
  } = process
34
35
 
36
+ process.env.NODE_OPTIONS = NODE_OPTIONS
37
+
35
38
  debug.enable(DEBUG)
36
39
 
37
40
  const command = (
package/bin/deps/wipe.mjs CHANGED
@@ -28,10 +28,13 @@ import {
28
28
 
29
29
  const {
30
30
  env: {
31
+ NODE_OPTIONS = '--disable-warning=ExperimentalWarning',
31
32
  DEBUG = '@modernpoacher/deps*'
32
33
  }
33
34
  } = process
34
35
 
36
+ process.env.NODE_OPTIONS = NODE_OPTIONS
37
+
35
38
  debug.enable(DEBUG)
36
39
 
37
40
  const command = (
package/bin/deps.mjs CHANGED
@@ -35,10 +35,13 @@ import {
35
35
 
36
36
  const {
37
37
  env: {
38
+ NODE_OPTIONS = '--disable-warning=ExperimentalWarning',
38
39
  DEBUG = '@modernpoacher/deps*'
39
40
  }
40
41
  } = process
41
42
 
43
+ process.env.NODE_OPTIONS = NODE_OPTIONS
44
+
42
45
  debug.enable(DEBUG)
43
46
 
44
47
  const log = debug('@modernpoacher/deps')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernpoacher/deps",
3
- "version": "2.1.37",
3
+ "version": "2.1.39",
4
4
  "description": "Update NPM package dependencies from the command line",
5
5
  "keywords": [
6
6
  "deps",
@@ -59,6 +59,6 @@ export function getOptions (cwd) {
59
59
 
60
60
  return {
61
61
  ...OPTIONS,
62
- cwd
62
+ ...(cwd ? { cwd } : {})
63
63
  }
64
64
  }