mirror of
https://github.com/supabase/supabase.git
synced 2026-10-12 21:05:06 +03:00
* Search and replace all mentions of SUPABASE_ANON_KEY. * Copy over some comments from the nextjs template. * Bump shadcn version. * Change the building of the blocks to append envVars and docs. * Use the new envVars property in the clients. * Rebuild all blocks. * Fix the wording. * Update the docs.
21 lines
648 B
JSON
21 lines
648 B
JSON
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "supabase-client-react",
|
|
"type": "registry:lib",
|
|
"title": "Supabase Client for React",
|
|
"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/react/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
}
|