@modernpoacher/deps 1.6.21 → 1.6.24

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
@@ -4,7 +4,7 @@
4
4
 
5
5
  export PATH=/usr/local/bin:$PATH
6
6
 
7
- eval \`ssh-agent\`
7
+ eval `ssh-agent`
8
8
 
9
9
  EXP="[-0-9a-zA-Z]*$"
10
10
 
@@ -139,6 +139,8 @@ async function iterate ([directory, ...directories] = [], registry, force, messa
139
139
  const path = resolve(directory)
140
140
 
141
141
  try {
142
+ log({ path })
143
+
142
144
  if (path === await gitRevParse(path)) {
143
145
  await execute(path, registry, force, message, author || await getAuthorFromConfiguration(path))
144
146
  }
@@ -178,6 +180,8 @@ async function executeFrom (directory, registry, force, message, author) {
178
180
  const path = resolve(directory)
179
181
 
180
182
  try {
183
+ log({ path })
184
+
181
185
  if (path === await gitRevParse(path)) {
182
186
  return (
183
187
  await execute(path, registry, force, message, author || await getAuthorFromConfiguration(path))
@@ -194,6 +198,8 @@ async function executeOnly (directory, registry, force, message, author) {
194
198
  const path = resolve(directory)
195
199
 
196
200
  try {
201
+ log({ path })
202
+
197
203
  if (path === await gitRevParse(path)) {
198
204
  return (
199
205
  await execute(path, registry, force, message, author || await getAuthorFromConfiguration(path))
@@ -210,6 +216,8 @@ async function executePath (directory, registry, force, message, author) {
210
216
  const path = resolve(directory)
211
217
 
212
218
  try {
219
+ log({ path })
220
+
213
221
  if (path === await gitRevParse(path)) {
214
222
  return (
215
223
  await execute(path, registry, force, message, author || await getAuthorFromConfiguration(path))
@@ -244,7 +252,7 @@ async function app () {
244
252
  */
245
253
  commander
246
254
  .version(VERSION)
247
- .option('-p, --path [path]', 'Update path')
255
+ .option('-p, --path [path]', 'Update path', '.')
248
256
  .option('-f, --from [from]', 'Update from directory')
249
257
  .option('-o, --only [only]', 'Update only directory')
250
258
  .option('--registry [registry]', 'Installation registry')
@@ -2,7 +2,7 @@
2
2
 
3
3
  export PATH=/usr/local/bin:$PATH
4
4
 
5
- eval \`ssh-agent\`
5
+ eval `ssh-agent`
6
6
 
7
7
  EXP="[-0-9a-zA-Z]*$"
8
8
 
package/bin/head.sh CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  export PATH=/usr/local/bin:$PATH
4
4
 
5
- eval \`ssh-agent\`
5
+ eval `ssh-agent`
6
6
 
7
7
  EXP="[-0-9a-zA-Z]*$"
8
8
 
package/bin/push.sh CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  export PATH=/usr/local/bin:$PATH
4
4
 
5
- eval \`ssh-agent\`
5
+ eval `ssh-agent`
6
6
 
7
7
  EXP="[-0-9a-zA-Z]*$"
8
8
 
package/bin/wipe.sh CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  export PATH=/usr/local/bin:$PATH
4
4
 
5
- eval \`ssh-agent\`
5
+ eval `ssh-agent`
6
6
 
7
7
  EXP="[-0-9a-zA-Z]*$"
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernpoacher/deps",
3
- "version": "1.6.21",
3
+ "version": "1.6.24",
4
4
  "description": "Update NPM package dependencies from the command line",
5
5
  "keywords": [
6
6
  "deps",