@virmator/core 13.8.2 → 13.9.0

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.
@@ -51,10 +51,9 @@ export async function installNpmDeps({ cwdPackagePath, cwdPackageJson, pluginPac
51
51
  [NpmDepType.Dev]: [],
52
52
  [NpmDepType.Regular]: [],
53
53
  });
54
- const depsToInstallEntries = Object.entries(depsThatNeedInstalling);
55
- await awaitedBlockingMap(depsToInstallEntries, async ([depType, deps,]) => {
54
+ const installed = await awaitedBlockingMap(Object.entries(depsThatNeedInstalling), async ([depType, deps,]) => {
56
55
  if (!deps.length) {
57
- return;
56
+ return false;
58
57
  }
59
58
  const installDeps = deps.join(' ');
60
59
  const installCommand = [
@@ -71,8 +70,9 @@ export async function installNpmDeps({ cwdPackagePath, cwdPackageJson, pluginPac
71
70
  hookUpToConsole: true,
72
71
  rejectOnError: true,
73
72
  });
73
+ return true;
74
74
  });
75
- return !!depsToInstallEntries.length;
75
+ return installed.some(check.isTrue);
76
76
  }
77
77
  function combineDeps(packageJson) {
78
78
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@virmator/core",
3
- "version": "13.8.2",
3
+ "version": "13.9.0",
4
4
  "description": "Shared core functionality for all virmator plugins and the virmator CLI.",
5
5
  "keywords": [
6
6
  "automation",