Commit Graph
6 Commits
Author SHA1 Message Date
supabase-cli-releaser[bot]andgithub-actions[bot] 8028b576ed chore: update cli config schemas (#54428)
Updates the published JSON Schemas from the supabase/cli release
workflow.

Generated by `scripts/publish-schemas.ts` in supabase/cli from
`apps/cli/schemas`. Regenerate them in supabase/cli rather than editing
this folder.
Published versions below the current one are frozen and never rewritten.

Auto-merge is enabled: the PR squash-merges once a reviewer approves it.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-12-02 09:20:05 +00:00
supabase-cli-releaser[bot]andgithub-actions[bot] 81becce538 chore: update cli config schemas (#53844)
Updates the published JSON Schemas from the supabase/cli release
workflow.

Generated by `scripts/publish-schemas.ts` in supabase/cli from
`apps/cli/schemas`. Regenerate them in supabase/cli rather than editing
this folder.
Published versions below the current one are frozen and never rewritten.

Auto-merge is enabled: the PR squash-merges once a reviewer approves it.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-24 10:42:14 +00:00
supabase-cli-releaser[bot]andgithub-actions[bot] 19f1d93316 chore: update cli config schemas (#53464)
Updates the published JSON Schemas from the supabase/cli release
workflow.

Generated by `scripts/publish-schemas.ts` in supabase/cli from
`apps/cli/schemas`. Regenerate them in supabase/cli rather than editing
this folder.
Published versions below the current one are frozen and never rewritten.

Auto-merge is enabled: the PR squash-merges once a reviewer approves it.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-17 12:28:30 +00:00
supabase-cli-releaser[bot]andgithub-actions[bot] 1f85678060 chore: update cli config schemas (#53161)
Updates the published JSON Schemas from the supabase/cli release
workflow.

Generated by `scripts/publish-schemas.ts` in supabase/cli from
`apps/docs/public/schemas` — edit the schemas there rather than this
folder.
Published versions below the current one are frozen and never rewritten.

Auto-merge is enabled: the PR squash-merges once a reviewer approves it.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-10 11:04:40 +00:00
155f6d7960 chore: update cli config schemas (#52638)
Updates the published JSON Schemas from the supabase/cli release
workflow.

Generated by `scripts/publish-schemas.ts` in supabase/cli from
`apps/docs/public/schemas` — edit the schemas there rather than this
folder.
Published versions below the current one are frozen and never rewritten.

Auto-merge is enabled: the PR squash-merges once a reviewer approves it.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Colum Ferry <cferry09@gmail.com>
2026-11-03 09:37:03 +00:00
Colum Ferry f55ee1dc5a chore(www): serve the CLI config schemas under /schemas (#52509)
## Problem

The Supabase CLI's config, project-config and `supabase.lock` JSON
schemas declare `$id`s under
`https://supabase.com/schemas/<name>/v<N>.json`, and editors such as
Even Better TOML fetch them from the `$schema` URL. Nothing is served at
that path yet, so those URLs 404.

## Solution

- Adds `apps/www/public/schemas` with v1 of the three schemas. They're
generated in supabase/cli, and from now on its stable releases open a PR
here when one changes (supabase/cli#7397)
- `/schemas/:path*` responses send `access-control-allow-origin: *` and
`cache-control: public, max-age=3600`, so browser-based editors and
validators can fetch them and a new release shows up within the hour.
Covered in `next.config.test.ts`
- `/apps/www/public/schemas/ @supabase/cli` in CODEOWNERS, so the CLI
team reviews those release PRs
- The folder is in `.prettierignore`. The CLI publishes these files byte
for byte, so reformatting them here would show up as a change on every
release

## Review instructions

1. Open `/schemas/config/v1.json` on the www preview
2. Check it returns the schema as JSON, with
`access-control-allow-origin: *` and the cache header (`curl -sI
<preview>/schemas/config/v1.json`)

Closes CLI-2865
2026-10-29 16:15:16 +00:00