@virmator/core 14.14.1 → 14.15.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.
package/LICENSE-MIT CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 electrovir
3
+ Copyright (c) 2026 electrovir
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -14,11 +14,14 @@ export async function installPluginNpmDeps({ usedCommands, ...params }) {
14
14
  })) {
15
15
  await awaitedForEach(installCommands, async (command) => {
16
16
  params.log.faint(`> ${command}`);
17
- await runShellCommand(command, {
17
+ const result = await runShellCommand(command, {
18
18
  cwd: params.cwdPackagePath,
19
19
  rejectOnError: true,
20
20
  hookUpToConsole: true,
21
21
  });
22
+ if (result.exitCode || result.error) {
23
+ throw new VirmatorNoTraceError(`'${command}' failed with exit code ${result.exitCode ?? 'unknown'}.`);
24
+ }
22
25
  });
23
26
  }
24
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@virmator/core",
3
- "version": "14.14.1",
3
+ "version": "14.15.0",
4
4
  "description": "Shared core functionality for all virmator plugins and the virmator CLI.",
5
5
  "keywords": [
6
6
  "automation",