@modernpoacher/deps 2.2.41 → 2.2.43
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/common/index.mjs +1 -3
- package/package.json +1 -1
- package/src/common/env/index.mjs +1 -1
- package/src/common/format/index.mjs +4 -6
- package/src/common/git/index.mjs +1 -3
- package/src/common/index.mjs +1 -3
- package/src/common/options/index.mjs +1 -3
- package/src/index.mjs +1 -7
- package/src/install/index.mjs +1 -7
package/bin/common/index.mjs
CHANGED
|
@@ -43,8 +43,6 @@ import debug from '#deps/src/common/debug'
|
|
|
43
43
|
|
|
44
44
|
import {
|
|
45
45
|
BIN,
|
|
46
|
-
NAME,
|
|
47
|
-
VERSION,
|
|
48
46
|
PLATFORM
|
|
49
47
|
} from '#deps/src/common/env'
|
|
50
48
|
|
|
@@ -73,7 +71,7 @@ const log = debug('@modernpoacher/deps')
|
|
|
73
71
|
const info = debug('@modernpoacher/deps:info')
|
|
74
72
|
const error = debug('@modernpoacher/deps:error')
|
|
75
73
|
|
|
76
|
-
log(
|
|
74
|
+
log('`common` is awake')
|
|
77
75
|
|
|
78
76
|
const ARGV = argv.slice(2)
|
|
79
77
|
|
package/package.json
CHANGED
package/src/common/env/index.mjs
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import debug from 'debug'
|
|
2
|
-
|
|
3
1
|
import stripAnsi from 'strip-ansi'
|
|
4
2
|
|
|
3
|
+
import debug from '#deps/src/common/debug'
|
|
4
|
+
|
|
5
5
|
import {
|
|
6
|
-
NAME,
|
|
7
|
-
VERSION,
|
|
8
6
|
PLATFORM,
|
|
9
7
|
HOMEDIR
|
|
10
8
|
} from '#deps/src/common/env'
|
|
11
9
|
|
|
12
10
|
const log = debug('@modernpoacher/deps')
|
|
13
11
|
|
|
14
|
-
log(
|
|
12
|
+
log('`common/format` is awake')
|
|
15
13
|
|
|
16
14
|
/**
|
|
17
15
|
* @function formatAuthor
|
|
@@ -82,7 +80,7 @@ export function use (key) {
|
|
|
82
80
|
* @returns {void}
|
|
83
81
|
*/
|
|
84
82
|
function write (v) {
|
|
85
|
-
log(v.trimEnd())
|
|
83
|
+
if (v.trim()) log(v.trimEnd())
|
|
86
84
|
}
|
|
87
85
|
|
|
88
86
|
/**
|
package/src/common/git/index.mjs
CHANGED
|
@@ -23,8 +23,6 @@ import debug from '#deps/src/common/debug'
|
|
|
23
23
|
|
|
24
24
|
import {
|
|
25
25
|
BIN,
|
|
26
|
-
NAME,
|
|
27
|
-
VERSION,
|
|
28
26
|
PLATFORM
|
|
29
27
|
} from '#deps/src/common/env'
|
|
30
28
|
|
|
@@ -75,7 +73,7 @@ git push --tags
|
|
|
75
73
|
|
|
76
74
|
const log = debug('@modernpoacher/deps')
|
|
77
75
|
|
|
78
|
-
log(
|
|
76
|
+
log('`common/git` is awake')
|
|
79
77
|
|
|
80
78
|
const LF = String.fromCodePoint(10)
|
|
81
79
|
|
package/src/common/index.mjs
CHANGED
|
@@ -14,8 +14,6 @@ import PATH from '#where-am-i'
|
|
|
14
14
|
import debug from '#deps/src/common/debug'
|
|
15
15
|
|
|
16
16
|
import {
|
|
17
|
-
NAME,
|
|
18
|
-
VERSION,
|
|
19
17
|
PLATFORM
|
|
20
18
|
} from '#deps/src/common/env'
|
|
21
19
|
|
|
@@ -34,7 +32,7 @@ export const NVM = join(PATH, 'nvm.sh')
|
|
|
34
32
|
|
|
35
33
|
const log = debug('@modernpoacher/deps')
|
|
36
34
|
|
|
37
|
-
log(
|
|
35
|
+
log('`common` is awake')
|
|
38
36
|
|
|
39
37
|
const SP = String.fromCodePoint(32)
|
|
40
38
|
|
|
@@ -5,8 +5,6 @@
|
|
|
5
5
|
import debug from '#deps/src/common/debug'
|
|
6
6
|
|
|
7
7
|
import {
|
|
8
|
-
NAME,
|
|
9
|
-
VERSION,
|
|
10
8
|
PLATFORM
|
|
11
9
|
} from '#deps/src/common/env'
|
|
12
10
|
|
|
@@ -39,7 +37,7 @@ export const OPTIONS = {
|
|
|
39
37
|
|
|
40
38
|
const log = debug('@modernpoacher/deps')
|
|
41
39
|
|
|
42
|
-
log(
|
|
40
|
+
log('`common/options` is awake')
|
|
43
41
|
|
|
44
42
|
/**
|
|
45
43
|
* @function getOptions
|
package/src/index.mjs
CHANGED
|
@@ -29,12 +29,6 @@ import {
|
|
|
29
29
|
|
|
30
30
|
import debug from '#deps/src/common/debug'
|
|
31
31
|
|
|
32
|
-
import {
|
|
33
|
-
NAME,
|
|
34
|
-
VERSION,
|
|
35
|
-
PLATFORM
|
|
36
|
-
} from '#deps/src/common/env'
|
|
37
|
-
|
|
38
32
|
import {
|
|
39
33
|
formatDirectory,
|
|
40
34
|
use
|
|
@@ -64,7 +58,7 @@ import {
|
|
|
64
58
|
const log = debug('@modernpoacher/deps')
|
|
65
59
|
const info = debug('@modernpoacher/deps:info')
|
|
66
60
|
|
|
67
|
-
log(
|
|
61
|
+
log('`deps` is awake')
|
|
68
62
|
|
|
69
63
|
/**
|
|
70
64
|
* @function getInstallSaveExactCommands
|
package/src/install/index.mjs
CHANGED
|
@@ -22,12 +22,6 @@ import {
|
|
|
22
22
|
|
|
23
23
|
import debug from '#deps/src/common/debug'
|
|
24
24
|
|
|
25
|
-
import {
|
|
26
|
-
NAME,
|
|
27
|
-
VERSION,
|
|
28
|
-
PLATFORM
|
|
29
|
-
} from '#deps/src/common/env'
|
|
30
|
-
|
|
31
25
|
import {
|
|
32
26
|
formatDirectory
|
|
33
27
|
} from '#deps/src/common/format'
|
|
@@ -53,7 +47,7 @@ import {
|
|
|
53
47
|
const log = debug('@modernpoacher/deps')
|
|
54
48
|
const info = debug('@modernpoacher/deps:info')
|
|
55
49
|
|
|
56
|
-
log(
|
|
50
|
+
log('`install` is awake')
|
|
57
51
|
|
|
58
52
|
/**
|
|
59
53
|
* @function getInstallSaveExactCommands
|