sv 0.5.7 → 0.5.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
@@ -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.7";
28
+ var version = "0.5.8";
29
29
  var type = "module";
30
30
  var description = "A CLI for creating and updating SvelteKit projects";
31
31
  var license = "MIT";
@@ -50198,7 +50198,7 @@ const options$2 = defineAdderOptions({
50198
50198
  var lucia = defineAdder({
50199
50199
  id: "lucia",
50200
50200
  environments: { svelte: false, kit: true },
50201
- homepage: "https://lucia-next.pages.dev",
50201
+ homepage: "https://lucia-auth.com",
50202
50202
  options: options$2,
50203
50203
  packages: [
50204
50204
  { name: "@oslojs/crypto", version: "^1.0.1", dev: false },
@@ -55404,7 +55404,7 @@ Available options: ${communityAdderIds.join(", ")}`
55404
55404
  };
55405
55405
  }).filter((a) => !!a);
55406
55406
  const selected = await multiselect({
55407
- message: "What would you like to add to your project?",
55407
+ message: `What would you like to add to your project? ${pc.dim("(use arrow keys / space bar)")}`,
55408
55408
  options: adderOptions,
55409
55409
  required: false
55410
55410
  });
@@ -55699,7 +55699,10 @@ const create = new Command("create").description("scaffolds a new SvelteKit proj
55699
55699
  const relative = path$3.relative(process$1$1.cwd(), directory);
55700
55700
  const pm = packageManager ?? detectSync({ cwd })?.name ?? getUserAgent() ?? "npm";
55701
55701
  if (relative !== "") {
55702
- initialSteps.push(`${i++}: ${highlight(`cd ${relative}`)}`);
55702
+ const pathHasSpaces = relative.includes(" ");
55703
+ initialSteps.push(
55704
+ `${i++}: ${highlight(`cd ${pathHasSpaces ? `"${relative}"` : relative}`)}`
55705
+ );
55703
55706
  }
55704
55707
  if (!packageManager) {
55705
55708
  initialSteps.push(`${i++}: ${highlight(`${pm} install`)}`);