@shepherdjerred/helm-types 1.2.1-dev.1043 → 1.2.1-dev.1046

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/dist/cli.js CHANGED
@@ -21130,7 +21130,7 @@ async function runCommand(command, args) {
21130
21130
  } catch (error48) {
21131
21131
  const parseResult = ErrorSchema.safeParse(error48);
21132
21132
  const errorMessage = parseResult.success ? parseResult.data.message : String(error48);
21133
- throw new Error(`Failed to spawn command "${command} ${args.join(" ")}": ${errorMessage}`);
21133
+ throw new Error(`Failed to spawn command "${command} ${args.join(" ")}": ${errorMessage}`, { cause: error48 });
21134
21134
  }
21135
21135
  }
21136
21136
  async function fetchHelmChart(chart) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shepherdjerred/helm-types",
3
- "version": "1.2.1-dev.1043",
3
+ "version": "1.2.1-dev.1046",
4
4
  "description": "Generate TypeScript types from Helm chart values.yaml and values.schema.json",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -57,6 +57,7 @@ async function runCommand(command: string, args: string[]): Promise<string> {
57
57
  : String(error);
58
58
  throw new Error(
59
59
  `Failed to spawn command "${command} ${args.join(" ")}": ${errorMessage}`,
60
+ { cause: error },
60
61
  );
61
62
  }
62
63
  }