@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.
@@ -5,8 +5,7 @@
5
5
  "clean": true,
6
6
  "exclude": [
7
7
  "**/*.test.ts",
8
- "**/*.example.ts",
9
- "**/*.test-helper.ts"
8
+ "**/*.example.ts"
10
9
  ],
11
10
  "include": [
12
11
  "src/**/*.ts"
@@ -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
- fallbackValue: [],
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), {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@virmator/core",
3
- "version": "13.2.8",
3
+ "version": "13.2.9",
4
4
  "description": "Shared core functionality for all virmator plugins and the virmator CLI.",
5
5
  "keywords": [
6
6
  "automation",