@modernpoacher/deps 1.6.18 → 1.6.19

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/deps.sh CHANGED
@@ -2,11 +2,14 @@
2
2
  #
3
3
  # https://google.github.io/styleguide/shellguide.html#s7-naming-conventions
4
4
 
5
+ export PATH=/usr/local/bin:$PATH
6
+
7
+ eval \`ssh-agent\`
8
+
5
9
  EXP="[-0-9a-zA-Z]*$"
6
10
 
7
11
  function update {
8
12
  git checkout $default_branch
9
-
10
13
  git pull
11
14
 
12
15
  rm -rf node_modules package-lock.json
@@ -15,8 +18,8 @@ function update {
15
18
 
16
19
  git add package.json package-lock.json
17
20
  git commit -m "Updated \`package.json\` &/ \`package-lock.json\`"
18
-
19
21
  git push
22
+ git push --tags
20
23
  }
21
24
 
22
25
  function can_update {
@@ -1,5 +1,9 @@
1
1
  #!/bin/bash
2
2
 
3
+ export PATH=/usr/local/bin:$PATH
4
+
5
+ eval \`ssh-agent\`
6
+
3
7
  EXP="[-0-9a-zA-Z]*$"
4
8
 
5
9
  DIR=$(echo "$PWD" | sed 's/\\/\//g' | sed 's/://') && [[ $(cat "$DIR/.git/refs/remotes/origin/HEAD" 2> /dev/null) =~ $EXP ]] && echo "${BASH_REMATCH[0]}"
package/bin/head.sh CHANGED
@@ -1,5 +1,9 @@
1
1
  #!/bin/bash
2
2
 
3
+ export PATH=/usr/local/bin:$PATH
4
+
5
+ eval \`ssh-agent\`
6
+
3
7
  EXP="[-0-9a-zA-Z]*$"
4
8
 
5
9
  function report {
package/bin/push.sh CHANGED
@@ -1,5 +1,9 @@
1
1
  #!/bin/bash
2
2
 
3
+ export PATH=/usr/local/bin:$PATH
4
+
5
+ eval \`ssh-agent\`
6
+
3
7
  EXP="[-0-9a-zA-Z]*$"
4
8
 
5
9
  function report {
package/bin/wipe.sh CHANGED
@@ -1,5 +1,9 @@
1
1
  #!/bin/bash
2
2
 
3
+ export PATH=/usr/local/bin:$PATH
4
+
5
+ eval \`ssh-agent\`
6
+
3
7
  EXP="[-0-9a-zA-Z]*$"
4
8
 
5
9
  function report {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernpoacher/deps",
3
- "version": "1.6.18",
3
+ "version": "1.6.19",
4
4
  "description": "Update NPM package dependencies from the command line",
5
5
  "keywords": [
6
6
  "deps",
@@ -57,23 +57,23 @@
57
57
  "supports-color": "8.1.1"
58
58
  },
59
59
  "devDependencies": {
60
- "@babel/cli": "^7.17.6",
61
- "@babel/core": "^7.17.9",
60
+ "@babel/cli": "^7.17.10",
61
+ "@babel/core": "^7.17.10",
62
62
  "@babel/eslint-parser": "^7.17.0",
63
- "@babel/preset-env": "^7.16.11",
63
+ "@babel/preset-env": "^7.17.10",
64
64
  "@babel/register": "^7.17.7",
65
65
  "babel-plugin-module-resolver": "^4.1.0",
66
66
  "chai": "^4.3.6",
67
- "core-js": "^3.22.0",
67
+ "core-js": "^3.22.5",
68
68
  "cross-env": "^7.0.3",
69
- "eslint": "7.32.0",
70
- "eslint-config-standard": "^16.0.3",
69
+ "eslint": "^8.15.0",
70
+ "eslint-config-standard": "^17.0.0",
71
71
  "eslint-import-resolver-babel-module": "^5.3.1",
72
72
  "eslint-plugin-import": "^2.26.0",
73
73
  "eslint-plugin-node": "^11.1.0",
74
- "eslint-plugin-promise": "5.2.0",
75
- "husky": "^7.0.4",
76
- "mocha": "^9.2.2",
74
+ "eslint-plugin-promise": "^6.0.0",
75
+ "husky": "^8.0.1",
76
+ "mocha": "^10.0.0",
77
77
  "rimraf": "^3.0.2"
78
78
  },
79
79
  "_moduleAliases": {