sv 0.16.6 → 1.0.0-next.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.
@@ -5,11 +5,11 @@
5
5
  },
6
6
  {
7
7
  "name": "src/lib/index.js",
8
- "contents": "// place files you want to import through the `$lib` alias in this folder.\n"
8
+ "contents": "// place files you want to import through the `#lib` alias in this folder.\n"
9
9
  },
10
10
  {
11
11
  "name": "src/routes/+layout.svelte",
12
- "contents": "<script>\n\timport favicon from '$lib/assets/favicon.svg';\n\n\tlet { children } = $props();\n</script>\n\n<svelte:head>\n\t<link rel=\"icon\" href={favicon} />\n</svelte:head>\n\n{@render children()}\n"
12
+ "contents": "<script>\n\timport favicon from '#lib/assets/favicon.svg';\n\n\tlet { children } = $props();\n</script>\n\n<svelte:head>\n\t<link rel=\"icon\" href={favicon} />\n</svelte:head>\n\n{@render children()}\n"
13
13
  },
14
14
  {
15
15
  "name": "src/routes/+page.svelte",
@@ -1,11 +1,11 @@
1
1
  [
2
2
  {
3
3
  "name": "src/lib/index.js",
4
- "contents": "// place files you want to import through the `$lib` alias in this folder.\n"
4
+ "contents": "// place files you want to import through the `#lib` alias in this folder.\n"
5
5
  },
6
6
  {
7
7
  "name": "src/routes/+layout.svelte",
8
- "contents": "<script>\n\timport favicon from '$lib/assets/favicon.svg';\n\n\tlet { children } = $props();\n</script>\n\n<svelte:head>\n\t<link rel=\"icon\" href={favicon} />\n</svelte:head>\n\n{@render children()}\n"
8
+ "contents": "<script>\n\timport favicon from '#lib/assets/favicon.svg';\n\n\tlet { children } = $props();\n</script>\n\n<svelte:head>\n\t<link rel=\"icon\" href={favicon} />\n</svelte:head>\n\n{@render children()}\n"
9
9
  },
10
10
  {
11
11
  "name": "src/routes/+page.svelte",
@@ -5,11 +5,11 @@
5
5
  },
6
6
  {
7
7
  "name": "src/lib/index.ts",
8
- "contents": "// place files you want to import through the `$lib` alias in this folder.\n"
8
+ "contents": "// place files you want to import through the `#lib` alias in this folder.\n"
9
9
  },
10
10
  {
11
11
  "name": "src/routes/+layout.svelte",
12
- "contents": "<script lang=\"ts\">\n\timport favicon from '$lib/assets/favicon.svg';\n\n\tlet { children } = $props();\n</script>\n\n<svelte:head>\n\t<link rel=\"icon\" href={favicon} />\n</svelte:head>\n\n{@render children()}\n"
12
+ "contents": "<script lang=\"ts\">\n\timport favicon from '#lib/assets/favicon.svg';\n\n\tlet { children } = $props();\n</script>\n\n<svelte:head>\n\t<link rel=\"icon\" href={favicon} />\n</svelte:head>\n\n{@render children()}\n"
13
13
  },
14
14
  {
15
15
  "name": "src/routes/+page.svelte",
@@ -11,9 +11,13 @@
11
11
  },
12
12
  "devDependencies": {
13
13
  "@sveltejs/adapter-auto": "^7.0.1",
14
- "@sveltejs/kit": "^2.63.0",
15
- "@sveltejs/vite-plugin-svelte": "^7.1.2",
16
- "svelte": "^5.56.1",
17
- "vite": "^8.0.16"
14
+ "@sveltejs/kit": "^3.0.0-next.0",
15
+ "@sveltejs/vite-plugin-svelte": "^7.2.0",
16
+ "svelte": "^5.56.7",
17
+ "vite": "^8.1.5"
18
+ },
19
+ "imports": {
20
+ "#lib": "./src/lib/index.js",
21
+ "#lib/*": "./src/lib/*"
18
22
  }
19
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sv",
3
- "version": "0.16.6",
3
+ "version": "1.0.0-next.0",
4
4
  "type": "module",
5
5
  "description": "A command line interface (CLI) for creating and maintaining Svelte applications",
6
6
  "license": "MIT",
@@ -25,21 +25,20 @@
25
25
  }
26
26
  },
27
27
  "dependencies": {
28
- "@sveltejs/sv-utils": "0.3.2"
28
+ "@sveltejs/sv-utils": "1.0.0-next.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@clack/prompts": "1.5.0",
32
32
  "@types/gitignore-parser": "^0.0.3",
33
33
  "@types/ps-tree": "^1.1.6",
34
- "@types/tar-fs": "^2.0.4",
35
34
  "commander": "^15.0.0",
36
35
  "create-vite": "^8.2.0",
37
36
  "empathic": "^2.0.1",
38
37
  "gitignore-parser": "^0.0.2",
38
+ "modern-tar": "^0.7.7",
39
39
  "ps-tree": "^1.2.0",
40
40
  "sucrase": "^3.35.1",
41
- "svelte": "^5.56.1",
42
- "tar-fs": "^3.1.2",
41
+ "svelte": "^5.56.7",
43
42
  "tiny-glob": "^0.2.9",
44
43
  "tinyexec": "^1.2.4",
45
44
  "valibot": "^1.4.1"