@@ -16,24 +16,24 @@ const SV_ADD = {
16
16
]
17
17
} ;
18
18
19
- const SV_ADD_CMD = {
20
- prettier : 'npx sv add prettier',
21
- eslint : 'npx sv add eslint',
22
- vitest : 'npx sv add vitest',
23
- playwright : 'npx sv add playwright',
24
- tailwindcss : 'npx sv add tailwindcss',
25
- 'vite-plugin-devtools-json' : 'npx sv add devtools-json',
26
- 'drizzle-orm' : 'npx sv add drizzle',
27
- lucia : 'npx sv add lucia',
28
- mdsvex : 'npx sv add mdsvex',
29
- '@inlang/paraglide-js' : 'npx sv add paraglide',
30
- storybook : 'npx sv add storybook',
19
+ const SV_ADD_CMD : Record < string , { alias : string ; options ?: string } > = {
20
+ prettier : { alias : ' prettier' } ,
21
+ eslint : { alias : ' eslint' } ,
22
+ vitest : { alias : ' vitest' } ,
23
+ playwright : { alias : ' playwright' } ,
24
+ tailwindcss : { alias : ' tailwindcss' } ,
25
+ 'vite-plugin-devtools-json' : { alias : ' devtools-json' } ,
26
+ 'drizzle-orm' : { alias : ' drizzle' } ,
27
+ lucia : { alias : ' lucia' } ,
28
+ mdsvex : { alias : ' mdsvex' } ,
29
+ '@inlang/paraglide-js' : { alias : ' paraglide' } ,
30
+ storybook : { alias : ' storybook' } ,
31
31
32
- '@sveltejs/adapter-node' : 'npx sv add sveltekit-adapter= adapter:node',
33
- '@sveltejs/adapter-vercel' : 'npx sv add sveltekit-adapter= adapter:vercel',
34
- '@sveltejs/adapter-auto' : 'npx sv add sveltekit-adapter= adapter:auto',
35
- '@sveltejs/adapter-cloudflare' : 'npx sv add sveltekit-adapter= adapter:cloudflare',
36
- '@sveltejs/adapter-netlify' : 'npx sv add sveltekit-adapter= adapter:netlify'
32
+ '@sveltejs/adapter-node' : { alias : ' sveltekit-adapter' , options : ' adapter:node' } ,
33
+ '@sveltejs/adapter-vercel' : { alias : ' sveltekit-adapter' , options : ' adapter:vercel' } ,
34
+ '@sveltejs/adapter-auto' : { alias : ' sveltekit-adapter' , options : ' adapter:auto' } ,
35
+ '@sveltejs/adapter-cloudflare' : { alias : ' sveltekit-adapter' , options : ' adapter:cloudflare' } ,
36
+ '@sveltejs/adapter-netlify' : { alias : ' sveltekit-adapter' , options : ' adapter:netlify' }
37
37
} ;
38
38
39
39
const FEATURED : { title : string ; packages : string [ ] ; weights ?: Record < string , number > } [ ] = [
0 commit comments