@virmator/core 13.2.8 → 13.2.9
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/configs/c8.config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { awaitedBlockingMap, filterMap, isTruthy, mapObjectValues, wrapInTry, } from '@augment-vir/common';
|
|
2
|
-
import { logColors, LogOutputType, readPackageJson, runShellCommand } from '@augment-vir/node-js';
|
|
1
|
+
import { awaitedBlockingMap, extractErrorMessage, filterMap, isTruthy, mapObjectValues, wrapInTry, } from '@augment-vir/common';
|
|
2
|
+
import { log, logColors, LogOutputType, readPackageJson, runShellCommand, } from '@augment-vir/node-js';
|
|
3
3
|
import chalk from 'chalk';
|
|
4
4
|
import concurrently from 'concurrently';
|
|
5
5
|
import { getRelativePosixPackagePathsInDependencyOrder } from 'mono-vir';
|
|
@@ -57,7 +57,10 @@ async function determinePackageType(cwdPackagePath, monoRepoRootPath, cwdPackage
|
|
|
57
57
|
}
|
|
58
58
|
async function getMonoRepoPackages(cwdPackagePath) {
|
|
59
59
|
const relativePackagePathsInOrder = await wrapInTry(() => getRelativePosixPackagePathsInDependencyOrder(cwdPackagePath), {
|
|
60
|
-
|
|
60
|
+
handleError(error) {
|
|
61
|
+
log.error(extractErrorMessage(error) + '\n');
|
|
62
|
+
return [];
|
|
63
|
+
},
|
|
61
64
|
});
|
|
62
65
|
return await Promise.all(relativePackagePathsInOrder.map(async (packagePath) => {
|
|
63
66
|
const packageJson = await wrapInTry(() => readPackageJson(packagePath), {
|