Files
supabase/blocks/vue/registry.json
3485cd4965 Docs/UI library vue nuxt password auth (#39405)
* docs: ui library password auth vue

* docs: ui library password auth nuxt

* Fix a pnpm-lock conflict.

* Adjust paths

* Fix import path

* Rebuild

* docs: remove shadcn-vue package

* Fix the pnpm-lock.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
2025-11-10 08:27:38 -03:30

169 lines
6.5 KiB
JSON

{
"$schema": "https://ui.shadcn.com/schema/registry.json",
"name": "Supabase UI Library",
"homepage": "https://supabase.com/ui",
"items": [
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "supabase-client-nuxtjs",
"type": "registry:lib",
"title": "Supabase Client for Nuxt.js",
"description": "",
"registryDependencies": [],
"dependencies": ["@supabase/ssr@latest", "@supabase/supabase-js@latest"],
"docs": "You'll need to set the following environment variables in your project: `NUXT_PUBLIC_SUPABASE_URL` and `NUXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.",
"envVars": {
"NUXT_PUBLIC_SUPABASE_URL": "",
"NUXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY": ""
},
"files": [
{
"path": "registry/default/clients/nuxtjs/lib/supabase/client.ts",
"type": "registry:lib"
},
{
"path": "registry/default/clients/nuxtjs/server/middleware/is-authenticated.ts",
"type": "registry:file",
"target": "server/middleware/is-authenticated.ts"
},
{
"path": "registry/default/clients/nuxtjs/server/api/profile.get.ts",
"type": "registry:file",
"target": "server/api/profile.get.ts"
},
{
"path": "registry/default/clients/nuxtjs/server/supabase/client.ts",
"type": "registry:file",
"target": "server/supabase/client.ts"
}
]
},
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "supabase-client-vue",
"type": "registry:lib",
"title": "Supabase Client for Vue",
"description": "",
"registryDependencies": [],
"dependencies": ["@supabase/supabase-js@latest"],
"docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.",
"envVars": {
"VITE_SUPABASE_URL": "",
"VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": ""
},
"files": [
{
"path": "registry/default/clients/vue/lib/supabase/client.ts",
"type": "registry:lib"
}
]
},
{
"name": "password-based-auth-vue",
"type": "registry:block",
"title": "Password Based Auth flow for Vue and Supabase",
"description": "Password Based Auth flow for Vue and Supabase",
"registryDependencies": ["button", "card", "input", "label"],
"files": [
{
"path": "registry/default/password-based-auth/vue/components/login-form.vue",
"type": "registry:file",
"target": "components/login-form.vue"
},
{
"path": "registry/default/password-based-auth/vue/components/sign-up-form.vue",
"type": "registry:file",
"target": "components/sign-up-form.vue"
},
{
"path": "registry/default/password-based-auth/vue/components/forgot-password-form.vue",
"type": "registry:file",
"target": "components/forgot-password-form.vue"
},
{
"path": "registry/default/password-based-auth/vue/components/update-password-form.vue",
"type": "registry:file",
"target": "components/update-password-form.vue"
}
],
"dependencies": ["@supabase/supabase-js@latest"]
},
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "password-based-auth-nuxtjs",
"type": "registry:lib",
"title": "Password Based Auth flow for Nuxt.js and Supabase",
"description": "",
"registryDependencies": ["button", "card", "input", "label"],
"dependencies": ["@supabase/ssr@latest", "@supabase/supabase-js@latest"],
"docs": "You'll need to set the following environment variables in your project: `NUXT_PUBLIC_SUPABASE_URL` and `NUXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.",
"envVars": {
"NUXT_PUBLIC_SUPABASE_URL": "",
"NUXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY": ""
},
"files": [
{
"path": "registry/default/password-based-auth/nuxtjs/app/components/login-form.vue",
"type": "registry:file",
"target": "app/components/login-form.vue"
},
{
"path": "registry/default/password-based-auth/nuxtjs/app/components/sign-up-form.vue",
"type": "registry:file",
"target": "app/components/sign-up-form.vue"
},
{
"path": "registry/default/password-based-auth/nuxtjs/app/components/forgot-password-form.vue",
"type": "registry:file",
"target": "app/components/forgot-password-form.vue"
},
{
"path": "registry/default/password-based-auth/nuxtjs/app/components/update-password-form.vue",
"type": "registry:file",
"target": "app/components/update-password-form.vue"
},
{
"path": "registry/default/password-based-auth/nuxtjs/app/pages/auth/login.vue",
"type": "registry:file",
"target": "app/pages/auth/login.vue"
},
{
"path": "registry/default/password-based-auth/nuxtjs/app/pages/auth/sign-up.vue",
"type": "registry:file",
"target": "app/pages/auth/sign-up.vue"
},
{
"path": "registry/default/password-based-auth/nuxtjs/app/pages/auth/forgot-password.vue",
"type": "registry:file",
"target": "app/pages/auth/forgot-password.vue"
},
{
"path": "registry/default/password-based-auth/nuxtjs/app/pages/auth/update-password.vue",
"type": "registry:file",
"target": "app/pages/auth/update-password.vue"
},
{
"path": "registry/default/password-based-auth/nuxtjs/app/pages/auth/error.vue",
"type": "registry:file",
"target": "app/pages/auth/error.vue"
},
{
"path": "registry/default/password-based-auth/nuxtjs/app/pages/auth/sign-up-success.vue",
"type": "registry:file",
"target": "app/pages/auth/sign-up-success.vue"
},
{
"path": "registry/default/password-based-auth/nuxtjs/app/pages/protected/index.vue",
"type": "registry:file",
"target": "app/pages/protected/index.vue"
},
{
"path": "registry/default/password-based-auth/nuxtjs/server/routes/auth/confirm.get.ts",
"type": "registry:file",
"target": "server/routes/auth/confirm.get.ts"
}
]
}
]
}