@modernpoacher/deps 2.2.36 → 2.2.38

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.
@@ -42,9 +42,10 @@ import {
42
42
  import debug from '#deps/src/common/debug'
43
43
 
44
44
  import {
45
+ BIN,
46
+ NAME,
45
47
  VERSION,
46
- PLATFORM,
47
- BIN
48
+ PLATFORM
48
49
  } from '#deps/src/common/env'
49
50
 
50
51
  import {
@@ -72,7 +73,7 @@ const log = debug('@modernpoacher/deps')
72
73
  const info = debug('@modernpoacher/deps:info')
73
74
  const error = debug('@modernpoacher/deps:error')
74
75
 
75
- log(`\`common\` (${VERSION} - ${PLATFORM}) is awake`)
76
+ log(`\`common\` (${NAME} - ${VERSION} - ${PLATFORM}) is awake`)
76
77
 
77
78
  const ARGV = argv.slice(2)
78
79
 
package/bin/deps.mjs CHANGED
@@ -7,6 +7,7 @@ import {
7
7
  import debug from '#deps/src/common/debug'
8
8
 
9
9
  import {
10
+ NAME,
10
11
  VERSION,
11
12
  PLATFORM
12
13
  } from '#deps/src/common/env'
@@ -35,7 +36,11 @@ import {
35
36
 
36
37
  const log = debug('@modernpoacher/deps')
37
38
 
38
- log(`\`deps\` (${VERSION} - ${PLATFORM}) is awake`)
39
+ log(`\`deps\` (${NAME} - ${VERSION} - ${PLATFORM}) is awake`)
40
+
41
+ const {
42
+ table
43
+ } = console
39
44
 
40
45
  /**
41
46
  * @function app
@@ -78,7 +83,7 @@ async function app () {
78
83
  registry
79
84
  } = commander.opts()
80
85
 
81
- log({
86
+ table({
82
87
  saveProd: P,
83
88
  saveDev: D,
84
89
  saveOptional: O,
@@ -18,6 +18,7 @@ import '#deps/src/common/write'
18
18
  import debug from '#deps/src/common/debug'
19
19
 
20
20
  import {
21
+ NAME,
21
22
  VERSION,
22
23
  PLATFORM
23
24
  } from '#deps/src/common/env'
@@ -64,7 +65,11 @@ import {
64
65
  const log = debug('@modernpoacher/deps')
65
66
  const info = debug('@modernpoacher/deps:info')
66
67
 
67
- log(`\`execute\` (${VERSION} - ${PLATFORM}) is awake`)
68
+ log(`\`execute\` (${NAME} - ${VERSION} - ${PLATFORM}) is awake`)
69
+
70
+ const {
71
+ table
72
+ } = console
68
73
 
69
74
  /**
70
75
  * @param {{ code?: number, message?: string }} [e]
@@ -592,7 +597,7 @@ async function app () {
592
597
  author
593
598
  } = commander.opts()
594
599
 
595
- log({
600
+ table({
596
601
  ...(P ? { path: P } : {}),
597
602
  ...(F ? { from: F } : {}),
598
603
  ...(O ? { only: O } : {}),
@@ -9,9 +9,9 @@ import '#deps/src/common/write'
9
9
  import debug from '#deps/src/common/debug'
10
10
 
11
11
  import {
12
+ NAME,
12
13
  VERSION,
13
14
  PLATFORM
14
-
15
15
  } from '#deps/src/common/env'
16
16
 
17
17
  import {
@@ -36,7 +36,7 @@ import {
36
36
 
37
37
  const log = debug('@modernpoacher/deps')
38
38
 
39
- log(`\`install\` (${VERSION} - ${PLATFORM}) is awake`)
39
+ log(`\`install\` (${NAME} - ${VERSION} - ${PLATFORM}) is awake`)
40
40
 
41
41
  /**
42
42
  * @function app
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernpoacher/deps",
3
- "version": "2.2.36",
3
+ "version": "2.2.38",
4
4
  "description": "Update NPM package dependencies from the command line",
5
5
  "keywords": [
6
6
  "deps",
@@ -54,7 +54,7 @@
54
54
  "deps-wipe": "bin/deps/wipe.sh"
55
55
  },
56
56
  "dependencies": {
57
- "@sequencemedia/write": "^0.2.13",
57
+ "@sequencemedia/write": "^0.2.14",
58
58
  "commander": "^14.0.1",
59
59
  "debug": "^4.4.3",
60
60
  "glob": "^11.0.3",
@@ -63,7 +63,7 @@
63
63
  },
64
64
  "devDependencies": {
65
65
  "@sequencemedia/eslint-config-standard": "^0.2.88",
66
- "@sequencemedia/eslint-config-typescript": "^0.1.149",
66
+ "@sequencemedia/eslint-config-typescript": "^0.1.150",
67
67
  "@sequencemedia/eslint-merge": "^0.0.54",
68
68
  "@types/chai": "^5.2.2",
69
69
  "@types/debug": "^4.1.12",
@@ -72,7 +72,7 @@
72
72
  "@typescript-eslint/parser": "^8.45.0",
73
73
  "chai": "^6.2.0",
74
74
  "cross-env": "^10.1.0",
75
- "eslint": "^9.36.0",
75
+ "eslint": "^9.37.0",
76
76
  "eslint-plugin-jsdoc": "^60.7.1",
77
77
  "globals": "^16.4.0",
78
78
  "husky": "^9.1.7",
@@ -7,7 +7,8 @@ import {
7
7
  } from 'node:fs'
8
8
 
9
9
  import {
10
- platform
10
+ platform,
11
+ homedir
11
12
  } from 'node:os'
12
13
 
13
14
  import PATH from '#where-am-i'
@@ -21,6 +22,8 @@ const {
21
22
 
22
23
  const PLATFORM = platform()
23
24
 
25
+ const HOMEDIR = homedir()
26
+
24
27
  const {
25
28
  env: {
26
29
  HOME
@@ -39,6 +42,7 @@ export {
39
42
  NAME,
40
43
  VERSION,
41
44
  PLATFORM,
45
+ HOMEDIR,
42
46
  HOME,
43
47
  BIN
44
48
  }
@@ -1,16 +1,17 @@
1
1
  import debug from 'debug'
2
2
 
3
- import {
4
- homedir
5
- } from 'node:os'
6
-
7
3
  import stripAnsi from 'strip-ansi'
8
4
 
9
5
  import {
10
- PLATFORM
6
+ NAME,
7
+ VERSION,
8
+ PLATFORM,
9
+ HOMEDIR
11
10
  } from '#deps/src/common/env'
12
11
 
13
- const HOMEDIR = homedir()
12
+ const log = debug('@modernpoacher/deps')
13
+
14
+ log(`\`common/format\` (${NAME} - ${VERSION} - ${PLATFORM}) is awake`)
14
15
 
15
16
  /**
16
17
  * @function toHomeDir
@@ -23,6 +23,7 @@ import debug from '#deps/src/common/debug'
23
23
 
24
24
  import {
25
25
  BIN,
26
+ NAME,
26
27
  VERSION,
27
28
  PLATFORM
28
29
  } from '#deps/src/common/env'
@@ -74,7 +75,7 @@ git push --tags
74
75
 
75
76
  const log = debug('@modernpoacher/deps')
76
77
 
77
- log(`\`common/git\` (${VERSION} - ${PLATFORM}) is awake`)
78
+ log(`\`common/git\` (${NAME} - ${VERSION} - ${PLATFORM}) is awake`)
78
79
 
79
80
  const LF = String.fromCodePoint(10)
80
81
 
@@ -14,14 +14,15 @@ import PATH from '#where-am-i'
14
14
  import debug from '#deps/src/common/debug'
15
15
 
16
16
  import {
17
- tidy
18
- } from '#deps/src/common/format'
19
-
20
- import {
17
+ NAME,
21
18
  VERSION,
22
19
  PLATFORM
23
20
  } from '#deps/src/common/env'
24
21
 
22
+ import {
23
+ tidy
24
+ } from '#deps/src/common/format'
25
+
25
26
  export const DIRECTORY = '.'
26
27
 
27
28
  export const REGISTRY = 'https://registry.npmjs.org'
@@ -32,7 +33,7 @@ export const NVM = join(PATH, 'nvm.sh')
32
33
 
33
34
  const log = debug('@modernpoacher/deps')
34
35
 
35
- log(`\`common\` (${VERSION} - ${PLATFORM}) is awake`)
36
+ log(`\`common\` (${NAME} - ${VERSION} - ${PLATFORM}) is awake`)
36
37
 
37
38
  const SP = String.fromCodePoint(32)
38
39
 
@@ -5,6 +5,7 @@
5
5
  import debug from '#deps/src/common/debug'
6
6
 
7
7
  import {
8
+ NAME,
8
9
  VERSION,
9
10
  PLATFORM
10
11
  } from '#deps/src/common/env'
@@ -38,7 +39,7 @@ export const OPTIONS = {
38
39
 
39
40
  const log = debug('@modernpoacher/deps')
40
41
 
41
- log(`\`common/options\` (${VERSION} - ${PLATFORM}) is awake`)
42
+ log(`\`common/options\` (${NAME} - ${VERSION} - ${PLATFORM}) is awake`)
42
43
 
43
44
  /**
44
45
  * @function getOptions
package/src/index.mjs CHANGED
@@ -30,6 +30,7 @@ import {
30
30
  import debug from '#deps/src/common/debug'
31
31
 
32
32
  import {
33
+ NAME,
33
34
  VERSION,
34
35
  PLATFORM
35
36
  } from '#deps/src/common/env'
@@ -63,7 +64,7 @@ import {
63
64
  const log = debug('@modernpoacher/deps')
64
65
  const info = debug('@modernpoacher/deps:info')
65
66
 
66
- log(`\`deps\` (${VERSION} - ${PLATFORM}) is awake`)
67
+ log(`\`deps\` (${NAME} - ${VERSION} - ${PLATFORM}) is awake`)
67
68
 
68
69
  /**
69
70
  * @function getInstallSaveExactCommands
@@ -23,6 +23,7 @@ import {
23
23
  import debug from '#deps/src/common/debug'
24
24
 
25
25
  import {
26
+ NAME,
26
27
  VERSION,
27
28
  PLATFORM
28
29
  } from '#deps/src/common/env'
@@ -52,7 +53,7 @@ import {
52
53
  const log = debug('@modernpoacher/deps')
53
54
  const info = debug('@modernpoacher/deps:info')
54
55
 
55
- log(`\`install\` (${VERSION} - ${PLATFORM}) is awake`)
56
+ log(`\`install\` (${NAME} - ${VERSION} - ${PLATFORM}) is awake`)
56
57
 
57
58
  /**
58
59
  * @function getInstallSaveExactCommands