diff --git a/apps/www/package.json b/apps/www/package.json index 2c8d1d78..5736c2c1 100644 --- a/apps/www/package.json +++ b/apps/www/package.json @@ -1,7 +1,7 @@ { "name": "www", "type": "module", - "version": "0.10.2", + "version": "0.10.3", "files": [ "dist" ], diff --git a/apps/www/src/content/docs/components/toast.md b/apps/www/src/content/docs/components/toast.md index 1514472b..032fd006 100644 --- a/apps/www/src/content/docs/components/toast.md +++ b/apps/www/src/content/docs/components/toast.md @@ -45,11 +45,13 @@ import { useToast } from '@/components/ui/toast/use-toast' diff --git a/apps/www/src/lib/registry/new-york/ui/slider/Slider.vue b/apps/www/src/lib/registry/new-york/ui/slider/Slider.vue index d464ba16..8f17af08 100644 --- a/apps/www/src/lib/registry/new-york/ui/slider/Slider.vue +++ b/apps/www/src/lib/registry/new-york/ui/slider/Slider.vue @@ -27,6 +27,10 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits) - + diff --git a/apps/www/src/public/registry/styles/default/slider.json b/apps/www/src/public/registry/styles/default/slider.json index bc124110..ece41b77 100644 --- a/apps/www/src/public/registry/styles/default/slider.json +++ b/apps/www/src/public/registry/styles/default/slider.json @@ -7,7 +7,7 @@ "files": [ { "name": "Slider.vue", - "content": "\n\n\n" + "content": "\n\n\n" }, { "name": "index.ts", diff --git a/apps/www/src/public/registry/styles/new-york/slider.json b/apps/www/src/public/registry/styles/new-york/slider.json index 0b6e4bc8..dbe372c5 100644 --- a/apps/www/src/public/registry/styles/new-york/slider.json +++ b/apps/www/src/public/registry/styles/new-york/slider.json @@ -7,7 +7,7 @@ "files": [ { "name": "Slider.vue", - "content": "\n\n\n" + "content": "\n\n\n" }, { "name": "index.ts", diff --git a/package.json b/package.json index 71e2b697..97e3dcf0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "shadcn-vue", "type": "module", - "version": "0.10.2", + "version": "0.10.3", "private": true, "packageManager": "pnpm@8.15.5", "license": "MIT", diff --git a/packages/cli/package.json b/packages/cli/package.json index 22074f67..734701c0 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,7 +1,7 @@ { "name": "shadcn-vue", "type": "module", - "version": "0.10.2", + "version": "0.10.3", "description": "Add components to your apps.", "publishConfig": { "access": "public" diff --git a/packages/cli/src/commands/init.ts b/packages/cli/src/commands/init.ts index 0e96d1f7..e40aba28 100644 --- a/packages/cli/src/commands/init.ts +++ b/packages/cli/src/commands/init.ts @@ -292,19 +292,13 @@ export async function runInit(cwd: string, config: Config) { config.style === 'new-york' ? ['@radix-icons/vue'] : ['lucide-vue-next'], ).filter(Boolean) - async function addNuxtDevDeps() { - if (config.framework === 'nuxt') { - await addDevDependency(PROJECT_DEPENDENCIES.nuxt, { - cwd, - silent: true, - }) - } - } - await Promise.allSettled( [ - addNuxtDevDeps(), - addDependency(deps, { + config.framework === 'nuxt' && await addDevDependency(PROJECT_DEPENDENCIES.nuxt, { + cwd, + silent: true, + }), + await addDependency(deps, { cwd, silent: true, }), diff --git a/packages/module/package.json b/packages/module/package.json index 5dff2f3c..2fb6df44 100644 --- a/packages/module/package.json +++ b/packages/module/package.json @@ -1,7 +1,7 @@ { "name": "shadcn-nuxt", "type": "module", - "version": "0.10.2", + "version": "0.10.3", "description": "Add shadcn-vue module to Nuxt", "publishConfig": { "access": "public"