sv 0.9.7 → 0.9.8

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
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { AGENT_NAMES, Command, De, Fe, Ge, J, Ke, Option, T, Ue, Vu, We, __toESM, addPnpmBuildDependencies, create as create$1, detect, et, from, getUserAgent, installDependencies, installOption, ke, packageManagerPrompt, parseJson, parseScript, parseSvelte, program, require_picocolors, resolveCommand, templates, up as up$1, ze } from "./create-CyyvJXoi.js";
3
- import { addDefault, applyAddons, communityAddonIds, create as create$2, createDefault, createWorkspace, formatFiles, getAddonDetails, getCommunityAddon, getHighlighter, isVersionUnsupportedBelow, officialAddons, overrideProperties, setupAddons } from "./install-DE_JOizJ.js";
2
+ import { AGENT_NAMES, Command, De, Fe, Ge, J, Ke, Option, T, Ue, Vu, We, __toESM, addPnpmBuildDependencies, create as create$1, detect, et, from, getUserAgent, installDependencies, installOption, isVersionUnsupportedBelow, ke, packageManagerPrompt, parseJson, parseScript, parseSvelte, program, require_picocolors, resolveCommand, templates, up as up$1, ze } from "./create-G_G45yBx.js";
3
+ import { addDefault, applyAddons, communityAddonIds, create as create$2, createDefault, createWorkspace, formatFiles, getAddonDetails, getCommunityAddon, getHighlighter, officialAddons, overrideProperties, setupAddons } from "./install-DhHe_LP6.js";
4
4
  import { exec, execSync } from "node:child_process";
5
5
  import path, { dirname, join } from "node:path";
6
6
  import fs, { existsSync } from "node:fs";
@@ -12,7 +12,7 @@ import { pipeline } from "node:stream/promises";
12
12
 
13
13
  //#region package.json
14
14
  var name = "sv";
15
- var version = "0.9.7";
15
+ var version = "0.9.8";
16
16
  var type = "module";
17
17
  var description = "A CLI for creating and updating SvelteKit projects";
18
18
  var license = "MIT";
@@ -1079,7 +1079,7 @@ async function runAddCommand(options$1, selectedAddonIds) {
1079
1079
  packageManager = options$1.install === true ? await packageManagerPrompt(options$1.cwd) : options$1.install;
1080
1080
  if (packageManager) {
1081
1081
  workspace.packageManager = packageManager;
1082
- addPnpmBuildDependencies(workspace.cwd, packageManager, ["esbuild", ...addonPnpmBuildDependencies]);
1082
+ await addPnpmBuildDependencies(workspace.cwd, packageManager, ["esbuild", ...addonPnpmBuildDependencies]);
1083
1083
  await installDependencies(packageManager, options$1.cwd);
1084
1084
  }
1085
1085
  }
@@ -1474,7 +1474,7 @@ async function createProject(cwd, options$1) {
1474
1474
  let addOnNextSteps = [];
1475
1475
  const installDeps = async (install) => {
1476
1476
  packageManager = install === true ? await packageManagerPrompt(projectPath) : install;
1477
- addPnpmBuildDependencies(projectPath, packageManager, ["esbuild"]);
1477
+ await addPnpmBuildDependencies(projectPath, packageManager, ["esbuild"]);
1478
1478
  if (packageManager) await installDependencies(packageManager, projectPath);
1479
1479
  };
1480
1480
  if (options$1.addOns) {