@modernpoacher/deps 2.1.40 → 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.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
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.40",
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",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes