@modernpoacher/deps 2.1.39 → 2.2.0

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/b.sh ADDED
@@ -0,0 +1,14 @@
1
+ #!/bin/bash
2
+
3
+ cd "$HOME"
4
+
5
+ if [ -f .bashrc ];
6
+ then
7
+ source .bashrc
8
+ fi
9
+
10
+ export ZSH_AUTH_SOCK=$ZSH_AUTH_SOCK
11
+ export PATH=$PATH
12
+ export HOME=$HOME
13
+
14
+ exit 0
package/bin/deps/b.sh ADDED
@@ -0,0 +1,14 @@
1
+ #!/bin/bash
2
+
3
+ cd "$HOME"
4
+
5
+ if [ -f .bashrc ];
6
+ then
7
+ source .bashrc
8
+ fi
9
+
10
+ export ZSH_AUTH_SOCK=$ZSH_AUTH_SOCK
11
+ export PATH=$PATH
12
+ export HOME=$HOME
13
+
14
+ exit 0
@@ -0,0 +1,19 @@
1
+ #!/bin/bash
2
+
3
+ DIR="$(dirname "$0")"
4
+
5
+ NODE_OPTIONS="${NODE_OPTIONS:---disable-warning=ExperimentalWarning}"
6
+
7
+ export NODE_OPTIONS=$NODE_OPTIONS # export NODE_OPTIONS='--disable-warning=ExperimentalWarning'
8
+
9
+ if [ -f "$HOME/.zshrc" ];
10
+ then
11
+ zsh "$DIR/z.sh"
12
+ else
13
+ if [ -f "$HOME/.bashrc" ];
14
+ then
15
+ bash "$DIR/b.sh"
16
+ fi
17
+ fi
18
+
19
+ node ./bin/node/deps.mjs
@@ -0,0 +1,19 @@
1
+ #!/bin/bash
2
+
3
+ DIR="$(dirname "$0")"
4
+
5
+ NODE_OPTIONS="${NODE_OPTIONS:---disable-warning=ExperimentalWarning}"
6
+
7
+ export NODE_OPTIONS=$NODE_OPTIONS # export NODE_OPTIONS='--disable-warning=ExperimentalWarning'
8
+
9
+ if [ -f "$HOME/.zshrc" ];
10
+ then
11
+ zsh "$DIR/z.sh"
12
+ else
13
+ if [ -f "$HOME/.bashrc" ];
14
+ then
15
+ bash "$DIR/b.sh"
16
+ fi
17
+ fi
18
+
19
+ node ./bin/node/execute.mjs
@@ -0,0 +1,19 @@
1
+ #!/bin/bash
2
+
3
+ DIR="$(dirname "$0")"
4
+
5
+ NODE_OPTIONS="${NODE_OPTIONS:---disable-warning=ExperimentalWarning}"
6
+
7
+ export NODE_OPTIONS=$NODE_OPTIONS # export NODE_OPTIONS='--disable-warning=ExperimentalWarning'
8
+
9
+ if [ -f "$HOME/.zshrc" ];
10
+ then
11
+ zsh "$DIR/z.sh"
12
+ else
13
+ if [ -f "$HOME/.bashrc" ];
14
+ then
15
+ bash "$DIR/b.sh"
16
+ fi
17
+ fi
18
+
19
+ node ./bin/node/head.mjs
@@ -0,0 +1,19 @@
1
+ #!/bin/bash
2
+
3
+ DIR="$(dirname "$0")"
4
+
5
+ NODE_OPTIONS="${NODE_OPTIONS:---disable-warning=ExperimentalWarning}"
6
+
7
+ export NODE_OPTIONS=$NODE_OPTIONS # export NODE_OPTIONS='--disable-warning=ExperimentalWarning'
8
+
9
+ if [ -f "$HOME/.zshrc" ];
10
+ then
11
+ zsh "$DIR/z.sh"
12
+ else
13
+ if [ -f "$HOME/.bashrc" ];
14
+ then
15
+ bash "$DIR/b.sh"
16
+ fi
17
+ fi
18
+
19
+ node ./bin/node/install.mjs
@@ -0,0 +1,19 @@
1
+ #!/bin/bash
2
+
3
+ DIR="$(dirname "$0")"
4
+
5
+ NODE_OPTIONS="${NODE_OPTIONS:---disable-warning=ExperimentalWarning}"
6
+
7
+ export NODE_OPTIONS=$NODE_OPTIONS # export NODE_OPTIONS='--disable-warning=ExperimentalWarning'
8
+
9
+ if [ -f "$HOME/.zshrc" ];
10
+ then
11
+ zsh "$DIR/z.sh"
12
+ else
13
+ if [ -f "$HOME/.bashrc" ];
14
+ then
15
+ bash "$DIR/b.sh"
16
+ fi
17
+ fi
18
+
19
+ node ./bin/node/push.mjs
@@ -0,0 +1,19 @@
1
+ #!/bin/bash
2
+
3
+ DIR="$(dirname "$0")"
4
+
5
+ NODE_OPTIONS="${NODE_OPTIONS:---disable-warning=ExperimentalWarning}"
6
+
7
+ export NODE_OPTIONS=$NODE_OPTIONS # export NODE_OPTIONS='--disable-warning=ExperimentalWarning'
8
+
9
+ if [ -f "$HOME/.zshrc" ];
10
+ then
11
+ zsh "$DIR/z.sh"
12
+ else
13
+ if [ -f "$HOME/.bashrc" ];
14
+ then
15
+ bash "$DIR/b.sh"
16
+ fi
17
+ fi
18
+
19
+ node ./bin/node/wipe.mjs
package/bin/deps/z.sh ADDED
@@ -0,0 +1,14 @@
1
+ #!/bin/zsh
2
+
3
+ cd "$HOME"
4
+
5
+ if [ -f .zshrc ];
6
+ then
7
+ source .zshrc
8
+ fi
9
+
10
+ export ZSH_AUTH_SOCK=$ZSH_AUTH_SOCK
11
+ export PATH=$PATH
12
+ export HOME=$HOME
13
+
14
+ exit 0
package/bin/deps.mjs CHANGED
@@ -35,13 +35,10 @@ import {
35
35
 
36
36
  const {
37
37
  env: {
38
- NODE_OPTIONS = '--disable-warning=ExperimentalWarning',
39
38
  DEBUG = '@modernpoacher/deps*'
40
39
  }
41
40
  } = process
42
41
 
43
- process.env.NODE_OPTIONS = NODE_OPTIONS
44
-
45
42
  debug.enable(DEBUG)
46
43
 
47
44
  const log = debug('@modernpoacher/deps')
package/bin/deps.sh ADDED
@@ -0,0 +1,19 @@
1
+ #!/bin/bash
2
+
3
+ DIR="$(dirname "$0")"
4
+
5
+ NODE_OPTIONS="${NODE_OPTIONS:---disable-warning=ExperimentalWarning}"
6
+
7
+ export NODE_OPTIONS=$NODE_OPTIONS # export NODE_OPTIONS='--disable-warning=ExperimentalWarning'
8
+
9
+ if [ -f "$HOME/.zshrc" ];
10
+ then
11
+ zsh "$DIR/z.sh"
12
+ else
13
+ if [ -f "$HOME/.bashrc" ];
14
+ then
15
+ bash "$DIR/b.sh"
16
+ fi
17
+ fi
18
+
19
+ node ./bin/deps.mjs
@@ -28,13 +28,10 @@ import {
28
28
 
29
29
  const {
30
30
  env: {
31
- NODE_OPTIONS = '--disable-warning=ExperimentalWarning',
32
31
  DEBUG = '@modernpoacher/deps*'
33
32
  }
34
33
  } = process
35
34
 
36
- process.env.NODE_OPTIONS = NODE_OPTIONS
37
-
38
35
  debug.enable(DEBUG)
39
36
 
40
37
  const command = (
@@ -55,13 +55,10 @@ import {
55
55
 
56
56
  const {
57
57
  env: {
58
- NODE_OPTIONS = '--disable-warning=ExperimentalWarning',
59
58
  DEBUG = '@modernpoacher/deps*'
60
59
  }
61
60
  } = process
62
61
 
63
- process.env.NODE_OPTIONS = NODE_OPTIONS
64
-
65
62
  debug.enable(DEBUG)
66
63
 
67
64
  const log = debug('@modernpoacher/deps')
@@ -28,13 +28,10 @@ import {
28
28
 
29
29
  const {
30
30
  env: {
31
- NODE_OPTIONS = '--disable-warning=ExperimentalWarning',
32
31
  DEBUG = '@modernpoacher/deps*'
33
32
  }
34
33
  } = process
35
34
 
36
- process.env.NODE_OPTIONS = NODE_OPTIONS
37
-
38
35
  debug.enable(DEBUG)
39
36
 
40
37
  const command = (
@@ -33,13 +33,10 @@ import {
33
33
 
34
34
  const {
35
35
  env: {
36
- NODE_OPTIONS = '--disable-warning=ExperimentalWarning',
37
36
  DEBUG = '@modernpoacher/deps*'
38
37
  }
39
38
  } = process
40
39
 
41
- process.env.NODE_OPTIONS = NODE_OPTIONS
42
-
43
40
  debug.enable(DEBUG)
44
41
 
45
42
  const log = debug('@modernpoacher/deps')
@@ -28,13 +28,10 @@ import {
28
28
 
29
29
  const {
30
30
  env: {
31
- NODE_OPTIONS = '--disable-warning=ExperimentalWarning',
32
31
  DEBUG = '@modernpoacher/deps*'
33
32
  }
34
33
  } = process
35
34
 
36
- process.env.NODE_OPTIONS = NODE_OPTIONS
37
-
38
35
  debug.enable(DEBUG)
39
36
 
40
37
  const command = (
@@ -28,13 +28,10 @@ import {
28
28
 
29
29
  const {
30
30
  env: {
31
- NODE_OPTIONS = '--disable-warning=ExperimentalWarning',
32
31
  DEBUG = '@modernpoacher/deps*'
33
32
  }
34
33
  } = process
35
34
 
36
- process.env.NODE_OPTIONS = NODE_OPTIONS
37
-
38
35
  debug.enable(DEBUG)
39
36
 
40
37
  const command = (
package/bin/z.sh ADDED
@@ -0,0 +1,14 @@
1
+ #!/bin/zsh
2
+
3
+ cd "$HOME"
4
+
5
+ if [ -f .zshrc ];
6
+ then
7
+ source .zshrc
8
+ fi
9
+
10
+ export ZSH_AUTH_SOCK=$ZSH_AUTH_SOCK
11
+ export PATH=$PATH
12
+ export HOME=$HOME
13
+
14
+ exit 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernpoacher/deps",
3
- "version": "2.1.39",
3
+ "version": "2.2.0",
4
4
  "description": "Update NPM package dependencies from the command line",
5
5
  "keywords": [
6
6
  "deps",
@@ -44,13 +44,13 @@
44
44
  "test": "cross-env NODE_OPTIONS=--disable-warning=ExperimentalWarning DEBUG_COLORS=yes NODE_ENV=test mocha test --recursive --verbose --color"
45
45
  },
46
46
  "bin": {
47
- "deps": "bin/deps.mjs",
48
- "deps-deps": "bin/deps/deps.mjs",
49
- "deps-execute": "bin/deps/execute.mjs",
50
- "deps-head": "bin/deps/head.mjs",
51
- "deps-install": "bin/deps/install.mjs",
52
- "deps-push": "bin/deps/push.mjs",
53
- "deps-wipe": "bin/deps/wipe.mjs"
47
+ "deps": "bin/deps.sh",
48
+ "deps-deps": "bin/deps/deps.sh",
49
+ "deps-execute": "bin/deps/execute.sh",
50
+ "deps-head": "bin/deps/head.sh",
51
+ "deps-install": "bin/deps/install.sh",
52
+ "deps-push": "bin/deps/push.sh",
53
+ "deps-wipe": "bin/deps/wipe.sh"
54
54
  },
55
55
  "dependencies": {
56
56
  "commander": "^12.1.0",