@modernpoacher/deps 2.1.20 → 2.1.21

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
@@ -8,6 +8,7 @@ EXP="[-0-9a-zA-Z]*$"
8
8
 
9
9
  function update {
10
10
  eval $(ssh-agent) 1> /dev/null
11
+ ssh -vT git@github.com
11
12
  git checkout $default_branch
12
13
  git pull
13
14
 
package/bin/bash/push.sh CHANGED
@@ -55,6 +55,7 @@ function checkout_default_branch {
55
55
 
56
56
  function update {
57
57
  eval $(ssh-agent) 1> /dev/null
58
+ ssh -vT git@github.com
58
59
  git pull
59
60
  git push
60
61
  git push --tags
package/bin/bash/wipe.sh CHANGED
@@ -55,6 +55,7 @@ function checkout_default_branch {
55
55
 
56
56
  function update {
57
57
  eval $(ssh-agent) 1> /dev/null
58
+ ssh -vT git@github.com
58
59
  git pull
59
60
  git branch --merged | egrep -v "(^\*|$default_branch)" | xargs git branch -d
60
61
  git remote prune origin
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernpoacher/deps",
3
- "version": "2.1.20",
3
+ "version": "2.1.21",
4
4
  "description": "Update NPM package dependencies from the command line",
5
5
  "keywords": [
6
6
  "deps",
@@ -39,9 +39,9 @@
39
39
  "deps-wipe": "cross-env DEBUG_COLORS=yes NODE_ENV=production node bin/deps/wipe.mjs",
40
40
  "lint": "eslint . --ext .mjs,.cjs",
41
41
  "lint:fix": "npm run lint -- --fix",
42
+ "prepare": "husky",
42
43
  "start": "npm run deps",
43
- "test": "cross-env DEBUG_COLORS=yes NODE_ENV=test mocha test --recursive --verbose --color",
44
- "prepare": "husky"
44
+ "test": "cross-env DEBUG_COLORS=yes NODE_ENV=test mocha test --recursive --verbose --color"
45
45
  },
46
46
  "bin": {
47
47
  "deps": "bin/deps.mjs",
@@ -60,17 +60,17 @@
60
60
  "supports-color": "^9.4.0"
61
61
  },
62
62
  "devDependencies": {
63
- "@babel/core": "^7.25.2",
64
- "@babel/eslint-parser": "^7.25.1",
65
- "@babel/preset-env": "^7.25.4",
66
- "@babel/register": "^7.24.6",
67
- "chai": "^5.1.1",
68
- "core-js": "^3.38.1",
63
+ "@babel/core": "^7.26.0",
64
+ "@babel/eslint-parser": "^7.25.9",
65
+ "@babel/preset-env": "^7.26.0",
66
+ "@babel/register": "^7.25.9",
67
+ "chai": "^5.1.2",
68
+ "core-js": "^3.39.0",
69
69
  "cross-env": "^7.0.3",
70
- "eslint": "8.57.0",
70
+ "eslint": "8.57.1",
71
71
  "eslint-config-standard": "^17.1.0",
72
72
  "husky": "^9.1.6",
73
- "mocha": "^10.7.3"
73
+ "mocha": "^10.8.2"
74
74
  },
75
75
  "imports": {
76
76
  "#deps/bin": "./bin/index.mjs",
@@ -39,18 +39,21 @@ echo "\${BASH_REMATCH[0]}"
39
39
 
40
40
  const GIT_PULL = `
41
41
  eval $(ssh-agent) 1> /dev/null
42
+ ssh -vT git@github.com
42
43
  git pull
43
44
  eval $(ssh-agent -k) 1> /dev/null
44
45
  `
45
46
 
46
47
  const GIT_PUSH = `
47
48
  eval $(ssh-agent) 1> /dev/null
49
+ ssh -vT git@github.com
48
50
  git push
49
51
  eval $(ssh-agent -k) 1> /dev/null
50
52
  `
51
53
 
52
54
  const GIT_PUSH_TAGS = `
53
55
  eval $(ssh-agent) 1> /dev/null
56
+ ssh -vT git@github.com
54
57
  git push --tags
55
58
  eval $(ssh-agent -k) 1> /dev/null
56
59
  `