@modernpoacher/deps 2.2.22 → 2.2.23
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 +7 -7
- package/package.json +1 -1
- package/src/index.mjs +8 -8
- package/src/install/index.mjs +2 -2
package/bin/common/index.mjs
CHANGED
|
@@ -211,14 +211,14 @@ export function handleComplete (e) {
|
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
/**
|
|
214
|
-
* @param {{ code?: number, message?: string }}
|
|
214
|
+
* @param {{ code?: number, message?: string }} e
|
|
215
215
|
*/
|
|
216
|
-
const handlePackageError = ({ message = MESSAGE }
|
|
216
|
+
const handlePackageError = ({ message = MESSAGE }) => { info(`Package error: "${message}"`) }
|
|
217
217
|
|
|
218
218
|
/**
|
|
219
|
-
* @param {{ code?: number, message?: string }}
|
|
219
|
+
* @param {{ code?: number, message?: string }} e
|
|
220
220
|
*/
|
|
221
|
-
const handleConfigurationError = ({ message = MESSAGE }
|
|
221
|
+
const handleConfigurationError = ({ message = MESSAGE }) => { info(`Configuration error: "${message}"`) }
|
|
222
222
|
|
|
223
223
|
const getPackageJsonPath = (directory = DIRECTORY) => resolve(join(directory, 'package.json'))
|
|
224
224
|
|
|
@@ -402,7 +402,7 @@ function rmrf (d = DIRECTORY) {
|
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
|
|
405
|
-
info(commands)
|
|
405
|
+
info(commands, options)
|
|
406
406
|
|
|
407
407
|
const {
|
|
408
408
|
stdout,
|
|
@@ -443,7 +443,7 @@ function npmi (d = DIRECTORY, registry = REGISTRY, force = false) {
|
|
|
443
443
|
}
|
|
444
444
|
}
|
|
445
445
|
|
|
446
|
-
info(commands)
|
|
446
|
+
info(commands, options)
|
|
447
447
|
|
|
448
448
|
const {
|
|
449
449
|
stdout,
|
|
@@ -484,7 +484,7 @@ function deps (d = DIRECTORY, registry = REGISTRY, force = false) {
|
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
486
|
|
|
487
|
-
info(commands)
|
|
487
|
+
info(commands, options)
|
|
488
488
|
|
|
489
489
|
const {
|
|
490
490
|
stdout,
|
package/package.json
CHANGED
package/src/index.mjs
CHANGED
|
@@ -296,7 +296,7 @@ export function installSaveBundleSaveExact (d, deps, r, f) {
|
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
-
info(commands)
|
|
299
|
+
info(commands, options)
|
|
300
300
|
|
|
301
301
|
const {
|
|
302
302
|
stdout,
|
|
@@ -343,7 +343,7 @@ export function installSaveBundle (d, deps, r, f) {
|
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
345
|
|
|
346
|
-
info(commands)
|
|
346
|
+
info(commands, options)
|
|
347
347
|
|
|
348
348
|
const {
|
|
349
349
|
stdout,
|
|
@@ -390,7 +390,7 @@ export function installSaveOptionalSaveExact (d, deps, r, f) {
|
|
|
390
390
|
}
|
|
391
391
|
}
|
|
392
392
|
|
|
393
|
-
info(commands)
|
|
393
|
+
info(commands, options)
|
|
394
394
|
|
|
395
395
|
const {
|
|
396
396
|
stdout,
|
|
@@ -437,7 +437,7 @@ export function installSaveOptional (d, deps, r, f) {
|
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
info(commands)
|
|
440
|
+
info(commands, options)
|
|
441
441
|
|
|
442
442
|
const {
|
|
443
443
|
stdout,
|
|
@@ -484,7 +484,7 @@ export function installSaveDevSaveExact (d, deps, r, f) {
|
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
486
|
|
|
487
|
-
info(commands)
|
|
487
|
+
info(commands, options)
|
|
488
488
|
|
|
489
489
|
const {
|
|
490
490
|
stdout,
|
|
@@ -531,7 +531,7 @@ export function installSaveDev (d, deps, r, f) {
|
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
|
|
534
|
-
info(commands)
|
|
534
|
+
info(commands, options)
|
|
535
535
|
|
|
536
536
|
const {
|
|
537
537
|
stdout,
|
|
@@ -578,7 +578,7 @@ export function installSaveProdSaveExact (d, deps, r, f) {
|
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
580
|
|
|
581
|
-
info(commands)
|
|
581
|
+
info(commands, options)
|
|
582
582
|
|
|
583
583
|
const {
|
|
584
584
|
stdout,
|
|
@@ -625,7 +625,7 @@ export function installSaveProd (d, deps, r, f) {
|
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
627
|
|
|
628
|
-
info(commands)
|
|
628
|
+
info(commands, options)
|
|
629
629
|
|
|
630
630
|
const {
|
|
631
631
|
stdout,
|
package/src/install/index.mjs
CHANGED
|
@@ -119,7 +119,7 @@ export function installSaveExact (d, p, s, r, f) {
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
info(commands)
|
|
122
|
+
info(commands, options)
|
|
123
123
|
|
|
124
124
|
const {
|
|
125
125
|
stdout,
|
|
@@ -165,7 +165,7 @@ export function install (d, p, s, r, f) {
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
info(commands)
|
|
168
|
+
info(commands, options)
|
|
169
169
|
|
|
170
170
|
const {
|
|
171
171
|
stdout,
|