sv 0.5.10 → 0.5.11

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/bin.js CHANGED
@@ -25,7 +25,7 @@ import require$$0$3 from 'events';
25
25
  import { t as templates, c as create$2 } from './index-A89HFWzv.js';
26
26
 
27
27
  var name = "sv";
28
- var version = "0.5.10";
28
+ var version = "0.5.11";
29
29
  var type = "module";
30
30
  var description = "A CLI for creating and updating SvelteKit projects";
31
31
  var license = "MIT";
@@ -51730,8 +51730,7 @@ async function installDependencies(agent, cwd) {
51730
51730
  spinner$1.start("Installing dependencies...");
51731
51731
  try {
51732
51732
  const { command, args } = constructCommand(COMMANDS[agent].install, []);
51733
- const { stderr } = await be(command, args, { nodeOptions: { cwd } });
51734
- if (stderr) throw new Error(stderr);
51733
+ await be(command, args, { nodeOptions: { cwd } });
51735
51734
  spinner$1.stop("Successfully installed dependencies");
51736
51735
  } catch (error) {
51737
51736
  spinner$1.stop("Failed to install dependencies", 2);
@@ -55600,10 +55599,7 @@ async function runAdders({
55600
55599
  );
55601
55600
  if (workspace.packageManager === "npm") args.unshift("--yes");
55602
55601
  try {
55603
- const { stderr } = await be(command, args, {
55604
- nodeOptions: { cwd: workspace.cwd, stdio: script.stdio }
55605
- });
55606
- if (stderr) throw new Error(stderr);
55602
+ await be(command, args, { nodeOptions: { cwd: workspace.cwd, stdio: script.stdio } });
55607
55603
  } catch (error) {
55608
55604
  const typedError = error;
55609
55605
  throw new Error(