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.
- package/dist/bin.mjs +2673 -13
- package/dist/{engine-BhR6Vrxy.d.mts → engine-BrvAeCUj.d.mts} +23 -16
- package/dist/{engine-DbEL5s1q.mjs → engine-DlJ4-99M.mjs} +1598 -3062
- package/dist/shared.json +102 -6
- package/dist/src/index.d.mts +5 -6
- package/dist/src/index.mjs +1 -12
- package/dist/src/testing.d.mts +3 -3
- package/dist/src/testing.mjs +1 -1
- package/dist/templates/addon/assets/src/index.js +1 -1
- package/dist/templates/addon/package.json +3 -3
- package/dist/templates/demo/files.types=checkjs.json +4 -4
- package/dist/templates/demo/files.types=none.json +4 -4
- package/dist/templates/demo/files.types=typescript.json +4 -4
- package/dist/templates/demo/package.json +8 -4
- package/dist/templates/library/package.json +9 -5
- package/dist/templates/minimal/files.types=checkjs.json +2 -2
- package/dist/templates/minimal/files.types=none.json +2 -2
- package/dist/templates/minimal/files.types=typescript.json +2 -2
- package/dist/templates/minimal/package.json +8 -4
- package/package.json +4 -5
|
@@ -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
|
|
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 '
|
|
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
|
|
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 '
|
|
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
|
|
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 '
|
|
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": "^
|
|
15
|
-
"@sveltejs/vite-plugin-svelte": "^7.
|
|
16
|
-
"svelte": "^5.56.
|
|
17
|
-
"vite": "^8.
|
|
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.
|
|
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.
|
|
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.
|
|
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"
|