mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03:00
Our UI Library registry is expanding to include blocks that go beyond UI and in some cases focus purely on back-end. This PR is a precursor to adding more back-end related blocks. This PR includes the `ui-library -> library` rename plus redirects and small UI copy updates. Since this is a rename we'll need to update Vercel configuration. ## Vercel rollout Keep the Library project Root Directory as `apps/ui-library` 1. In the **Library** Vercel project, set: `NEXT_PUBLIC_BASE_PATH=/library` Apply it to Preview and Production, then redeploy the Library project. 2. In the **www** Vercel project, add: `NEXT_PUBLIC_LIBRARY_URL=<current value of NEXT_PUBLIC_UI_LIBRARY_URL>` Apply it to Preview and Production. Keep `NEXT_PUBLIC_UI_LIBRARY_URL` during the migration, then redeploy the www project. 3. Deploy in this order: 1. Library project 2. www project 4. Validate: - `/library` - `/library/docs/nextjs/password-based-auth` - `/ui` redirects to `/library` - `/ui/docs/nextjs/password-based-auth` redirects to `/library/docs/nextjs/password-based-auth` - `/ui/docs/ai-editors-rules/*` still uses its existing Docs redirects No Vercel dashboard redirect rules are needed. Environment-variable changes require a new deployment. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Supabase UI Library has been renamed to **Supabase Library** across navigation, pages, documentation, and resource links. * The Library is now available at `/library`, with updated descriptions covering components, blocks, and developer tools. * **Bug Fixes** * Added permanent redirects from legacy `/ui` URLs to corresponding `/library` paths. * Updated links throughout the site and documentation to prevent broken navigation and references. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
97 lines
3.3 KiB
JSON
97 lines
3.3 KiB
JSON
{
|
|
"$schema": "./../../node_modules/turbo/schema.json",
|
|
"extends": ["//"],
|
|
"tasks": {
|
|
"lint": {
|
|
"env": ["GITHUB_TOKEN"],
|
|
},
|
|
"typecheck": {
|
|
"env": ["GITHUB_TOKEN"],
|
|
},
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"env": [
|
|
"ANALYZE",
|
|
"CI",
|
|
"CF_ACCESS_CLIENT_ID",
|
|
"CF_ACCESS_CLIENT_SECRET",
|
|
"NEXT_PUBLIC_MISC_USE_URL",
|
|
"NEXT_PUBLIC_MISC_USE_ANON_KEY",
|
|
"NEXT_PUBLIC_STUDIO_URL",
|
|
"NEXT_PUBLIC_DOCS_URL",
|
|
"NEXT_PUBLIC_REFERENCE_DOCS_URL",
|
|
"NEXT_PUBLIC_LIBRARY_URL",
|
|
// Temporary fallback during the production environment-variable migration.
|
|
"NEXT_PUBLIC_UI_LIBRARY_URL",
|
|
"NEXT_PUBLIC_SUPABASE_URL",
|
|
"NEXT_PUBLIC_SUPABASE_ANON_KEY",
|
|
"NEXT_PUBLIC_VERCEL_ENV",
|
|
"NEXT_PUBLIC_VERCEL_BRANCH_URL",
|
|
"NEXT_PUBLIC_API_URL",
|
|
"NEXT_PUBLIC_HCAPTCHA_SITE_KEY",
|
|
"HCAPTCHA_SECRET_KEY",
|
|
"NODE_ENV",
|
|
"NEXT_PUBLIC_SENTRY_DSN",
|
|
"NEXT_PUBLIC_SURVEY_SUPABASE_URL",
|
|
"NEXT_PUBLIC_SURVEY_SUPABASE_ANON_KEY",
|
|
"VERCEL",
|
|
"VERCEL_ENV",
|
|
"VERCEL_GIT_COMMIT_SHA",
|
|
"NEXT_PUBLIC_INTEGRATIONS_MARKETPLACE_DB",
|
|
"NEXT_PUBLIC_MARKETPLACE_API_URL",
|
|
"NEXT_PUBLIC_MARKETPLACE_PUBLISHABLE_KEY",
|
|
// These envs are used in the packages
|
|
"NEXT_PUBLIC_STORAGE_KEY",
|
|
"NEXT_PUBLIC_AUTH_DEBUG_KEY",
|
|
"NEXT_PUBLIC_AUTH_PERSISTED_KEY",
|
|
"NEXT_PUBLIC_AUTH_NAVIGATOR_LOCK_KEY",
|
|
"NEXT_PUBLIC_GOOGLE_TAG_MANAGER_ID",
|
|
"NEXT_PUBLIC_IS_PLATFORM",
|
|
"NEXT_PUBLIC_AUTH_DETECT_SESSION_IN_URL",
|
|
"NEXT_PUBLIC_GOTRUE_URL",
|
|
"NEXT_PUBLIC_BASE_PATH",
|
|
"NEXT_PUBLIC_EXAMPLES_SUPABASE_ANON_KEY",
|
|
"NEXT_PUBLIC_EXAMPLES_SUPABASE_URL",
|
|
"NEXT_PUBLIC_USERCENTRICS_RULESET_ID",
|
|
// These envs are technically passthrough env vars because they're only used on the server side of Nextjs
|
|
"LIVE_SUPABASE_COM_SERVICE_ROLE_KEY",
|
|
"GITHUB_CHANGELOG_APP_ID",
|
|
"GITHUB_CHANGELOG_APP_INSTALLATION_ID",
|
|
"GITHUB_CHANGELOG_APP_REST_KEY",
|
|
"GITHUB_CHANGELOG_APP_PRIVATE_KEY",
|
|
"CHANGELOG_SYNC_APP_ID",
|
|
"CHANGELOG_SYNC_APP_INSTALLATION_ID",
|
|
"CHANGELOG_SYNC_APP_PRIVATE_KEY",
|
|
"NEXT_PUBLIC_EMAIL_ABUSE_URL",
|
|
"EMAIL_ABUSE_SERVICE_KEY",
|
|
"HUBSPOT_PORTAL_ID",
|
|
"HUBSPOT_ENTERPRISE_FORM_GUID",
|
|
"HUBSPOT_PARTNERSHIP_FORM_GUID",
|
|
"OPENAI_API_KEY",
|
|
"EMAIL_REPORT_SLACK_WEBHOOK",
|
|
"npm_lifecycle_event",
|
|
"AWS_ACCESS_KEY_ID",
|
|
"AWS_SECRET_ACCESS_KEY",
|
|
"FORCE_ASSET_CDN",
|
|
"ASSET_CDN_S3_ENDPOINT",
|
|
"SITE_NAME",
|
|
"LUMA_API_KEY",
|
|
"LUMA_HACKATHONS_API_KEY",
|
|
"NEXT_RUNTIME",
|
|
// These env vars are used by some community and marketing integrations
|
|
"SENTRY_DSN_COMMUNITY",
|
|
"NOTION_SUPASQUAD_API_KEY",
|
|
"NOTION_SUPASQUAD_APPLICATIONS_DB_ID",
|
|
"NEXT_PUBLIC_SUPASQUAD_APPLICATION_FORM_URL",
|
|
"CUSTOMERIO_SITE_ID",
|
|
"CUSTOMERIO_API_KEY",
|
|
"CUSTOMERIO_APP_API_KEY",
|
|
"HUBSPOT_MEETINGS_TOKEN",
|
|
"NOTION_EVENTS_API_KEY",
|
|
"NOTION_EVENTS_DB_ID_ACTUAL",
|
|
],
|
|
"outputs": [".next/**", "!.next/cache/**", "!.next/dev/**/*", ".contentlayer/**"],
|
|
},
|
|
},
|
|
}
|