@naturalcycles/nodejs-lib 15.20.0 → 15.20.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/dist/exec2/exec2.js +2 -4
- package/package.json +2 -2
- package/src/exec2/exec2.ts +2 -6
package/dist/exec2/exec2.js
CHANGED
|
@@ -245,9 +245,7 @@ class Exec2 {
|
|
|
245
245
|
.map(([k, v]) => [k, v].join('='))
|
|
246
246
|
.join(' ');
|
|
247
247
|
if (opt.name) {
|
|
248
|
-
console.log([' ',
|
|
249
|
-
.filter(Boolean)
|
|
250
|
-
.join(' '));
|
|
248
|
+
console.log([' ', white(opt.name), dimGrey('started...')].filter(Boolean).join(' '));
|
|
251
249
|
}
|
|
252
250
|
else {
|
|
253
251
|
console.log([
|
|
@@ -264,7 +262,7 @@ class Exec2 {
|
|
|
264
262
|
if (isSuccessful && !opt.logFinish)
|
|
265
263
|
return;
|
|
266
264
|
console.log([
|
|
267
|
-
isSuccessful ? '
|
|
265
|
+
isSuccessful ? ' ✓' : ' ×',
|
|
268
266
|
white(opt.name || _substringAfterLast(cmd, '/')),
|
|
269
267
|
...((!opt.name && opt.args) || []),
|
|
270
268
|
dimGrey('took ' + _since(started)),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturalcycles/nodejs-lib",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "15.20.
|
|
4
|
+
"version": "15.20.2",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@naturalcycles/js-lib": "^15",
|
|
7
7
|
"@types/js-yaml": "^4",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/through2-concurrent": "^2",
|
|
26
|
-
"@naturalcycles/dev-lib": "
|
|
26
|
+
"@naturalcycles/dev-lib": "18.4.2"
|
|
27
27
|
},
|
|
28
28
|
"exports": {
|
|
29
29
|
".": "./dist/index.js",
|
package/src/exec2/exec2.ts
CHANGED
|
@@ -276,11 +276,7 @@ class Exec2 {
|
|
|
276
276
|
.join(' ')
|
|
277
277
|
|
|
278
278
|
if (opt.name) {
|
|
279
|
-
console.log(
|
|
280
|
-
[' ', dimGrey(envString), white(opt.name), dimGrey('started...')]
|
|
281
|
-
.filter(Boolean)
|
|
282
|
-
.join(' '),
|
|
283
|
-
)
|
|
279
|
+
console.log([' ', white(opt.name), dimGrey('started...')].filter(Boolean).join(' '))
|
|
284
280
|
} else {
|
|
285
281
|
console.log(
|
|
286
282
|
[
|
|
@@ -305,7 +301,7 @@ class Exec2 {
|
|
|
305
301
|
|
|
306
302
|
console.log(
|
|
307
303
|
[
|
|
308
|
-
isSuccessful ? '
|
|
304
|
+
isSuccessful ? ' ✓' : ' ×',
|
|
309
305
|
white(opt.name || _substringAfterLast(cmd, '/')),
|
|
310
306
|
...((!opt.name && (opt as SpawnOptions).args) || []),
|
|
311
307
|
dimGrey('took ' + _since(started)),
|