@modernpoacher/deps 2.1.0 → 2.1.2

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/deps.mjs CHANGED
@@ -19,6 +19,14 @@ import {
19
19
  PLATFORM
20
20
  } from '#deps/src/common/env'
21
21
 
22
+ const {
23
+ env: {
24
+ DEBUG = '@modernpoacher/deps*'
25
+ }
26
+ } = process
27
+
28
+ debug.enable(DEBUG)
29
+
22
30
  const log = debug('@modernpoacher/deps')
23
31
  const error = debug('@modernpoacher/deps:error')
24
32
 
package/bin/deps/head.mjs CHANGED
@@ -19,13 +19,21 @@ import {
19
19
  PLATFORM
20
20
  } from '#deps/src/common/env'
21
21
 
22
+ const {
23
+ env: {
24
+ DEBUG = '@modernpoacher/deps*'
25
+ }
26
+ } = process
27
+
28
+ debug.enable(DEBUG)
29
+
22
30
  const log = debug('@modernpoacher/deps')
23
31
  const error = debug('@modernpoacher/deps:error')
24
32
 
25
33
  const command = (
26
34
  PLATFORM === 'win32'
27
- ? 'bash .\\bin\\bash\\wipe.sh'
28
- : 'bash ./bin/bash/wipe.sh'
35
+ ? 'bash .\\bin\\bash\\head.sh'
36
+ : 'bash ./bin/bash/head.sh'
29
37
  )
30
38
 
31
39
  const args = getArgs()
package/bin/deps/push.mjs CHANGED
@@ -19,6 +19,14 @@ import {
19
19
  PLATFORM
20
20
  } from '#deps/src/common/env'
21
21
 
22
+ const {
23
+ env: {
24
+ DEBUG = '@modernpoacher/deps*'
25
+ }
26
+ } = process
27
+
28
+ debug.enable(DEBUG)
29
+
22
30
  const log = debug('@modernpoacher/deps')
23
31
  const error = debug('@modernpoacher/deps:error')
24
32
 
package/bin/deps/wipe.mjs CHANGED
@@ -19,6 +19,14 @@ import {
19
19
  PLATFORM
20
20
  } from '#deps/src/common/env'
21
21
 
22
+ const {
23
+ env: {
24
+ DEBUG = '@modernpoacher/deps*'
25
+ }
26
+ } = process
27
+
28
+ debug.enable(DEBUG)
29
+
22
30
  const log = debug('@modernpoacher/deps')
23
31
  const error = debug('@modernpoacher/deps:error')
24
32
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernpoacher/deps",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "description": "Update NPM package dependencies from the command line",
5
5
  "keywords": [
6
6
  "deps",