Commit Graph
397 Commits
Author SHA1 Message Date
Alaister YoungandAlaister Young fcbdda8107 chore: migrate formatter from Prettier to oxfmt (#53835)
Migrate code formatting across the monorepo from Prettier to `oxfmt`
(`0.79.0`, pinned) for much faster formatting checks locally and in CI
while keeping code churn minimal (78 files total, 0.7% of the repo).

Studio's `@ianvs/prettier-plugin-sort-imports` ordering
(`<BUILTIN_MODULES>`, `<THIRD_PARTY_MODULES>`, blank line, then `@/` and
relative imports) is preserved via `oxfmt`'s native `sortImports`
override for `apps/studio/**/*.{js,jsx,ts,tsx}`.

### Performance (before vs after, uncached)

| Benchmark | Prettier (`3.8.x`) | oxfmt (`0.79.0`) | Speedup |
| --- | ---: | ---: | ---: |
| CI formatting step (`blacksmith-4vcpu-ubuntu-2404`, full repo) | `73s`
| **`7s`** | **~10×** |
| Local `apps/studio` JS/TS (`5,157` files) | `17.74s` | **`0.36s`** |
**~49×** |
| Local full monorepo (`11,131` files) | — | **`2.39s`** | — |

**Added:**

- `.oxfmtrc.jsonc` at repo root with Prettier-matching options,
`sortPackageJson: false`, the Studio `sortImports` override, and ignore
patterns migrated from `.prettierignore`
- `oxfmt` (`0.79.0` exact pin) in `pnpm-workspace.yaml` catalog and
workspace `devDependencies` / `dependencies`
- Shared `.agents/scripts/format_and_lint.sh` hook script and
`.agents/hooks.json` (used by both Claude Code and Antigravity)

**Changed:**

- Replaced `test:prettier` with `format:check` and switched `format` in
root `package.json` to `oxfmt`
- Updated `packages/api-types` (`codegen`,
`verify-production-types.mjs`), `apps/design-system` (`build:registry`),
`apps/docs` (`CodeSample.ts`, `generate-sitemap.ts`, `next.config.mjs`,
`spec/Makefile`), `apps/www` (`generate-sitemap.mjs`), and
`packages/build-icons` (`generateIconFiles.mjs`) from Prettier to
`oxfmt`
- Updated `.github/workflows/prettier.yml` (keeping the `format` job ID
intact), `.github/workflows/autofix_linters.yml`,
`.claude/settings.json`, `AGENTS.md`, `CONTRIBUTING.md`, and
`.github/copilot-instructions.md`
- Applied one-time `oxfmt` formatting pass in a separate commit (78
files: 30 `i18n/README.*.md` trailing spaces, 19 Studio files, 17 other
TS/TSX/generated types, 8 MD/MDX, 3 `package.json`, 2 example CSS files)

**Removed:**

- `prettier`, `@ianvs/prettier-plugin-sort-imports`, and
`prettier-plugin-sql-cst` from `devDependencies` (note: `.sql` files
were not part of the CI formatting glob; `eslint-config-prettier` is
kept for ESLint)
- `prettier.config.mjs`, `.prettierignore`, and
`.claude/scripts/format_and_lint.sh`

## To test

- Run `pnpm run format:check` and confirm it passes cleanly across all
matched files
- Run `pnpm --filter api-types test`, `pnpm --filter docs exec vitest
run features/directives/CodeSample.test.ts`, and `pnpm --filter www exec
vitest run generate-sitemap.test.ts`
- Edit an `apps/studio` file with out-of-order imports and run `pnpm run
format` to confirm builtin/third-party vs `@/`/relative grouping matches
prior behavior
- Check that the `Check Code Formatting` CI workflow passes on this PR

---------

Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
2026-11-24 12:51:31 +08:00
b527d80a0a Remove duplicate Nepali entry from translations list (#53578)
i18n/languages.md lists Nepali twice. This removes the duplicate entry
(the one after Hungarian, out of alphabetical order), keeping the
correctly placed entry after Malay.

Co-authored-by: hallidayo <22655069+Hallidayo@users.noreply.github.com>
Co-authored-by: Nik Richers <nrichers@gmail.com>
2026-11-22 14:43:03 -07:00
Kody JacksonandClaude Sonnet 5.5 671c94e868 chore(docs,kb) - Update 301 destinations to final resolution + fix some 404s (#53553)
## Context

Lots of links that initially go to 301's within docs / kb. Updates these
to their resolved target.

Ask your Claude Code to review the new destinations programmatically.

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 15:10:08 +00:00
Siddharth GaikwadandNik Richers 4bec330f74 docs(i18n): fix broken image references in the Croatian and Sinhala READMEs (#50300)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

Docs fix.

Fixes #50296, reported by @auroraxo, who offered to send this and was
waiting on a maintainer's go-ahead. Opening it since the finding checks
out and the change is small — happy to close in favor of theirs if
they'd prefer.

## What is the current behavior?

`i18n/README.hr.md` and `i18n/README.si.md` each carry three image
references copied from the root README without adjusting for their
location:

| reference | resolves from `i18n/` to | exists |
| --- | --- | --- |
| `apps/docs/public/img/supabase-architecture.svg` |
`i18n/apps/docs/public/img/supabase-architecture.svg` | no |
| `./apps/www/public/badge-made-with-supabase.svg` |
`i18n/apps/www/public/badge-made-with-supabase.svg` | no |
| `./apps/www/public/badge-made-with-supabase-dark.svg` |
`i18n/apps/www/public/badge-made-with-supabase-dark.svg` | no |

Those paths are correct in the root `README.md`, which is one directory
up. There is no `i18n/apps/` directory, so six images are broken across
the two files.

## What is the new behavior?

Each reference now points at a URL that was checked to return an actual
image:

- **architecture diagram** →
`https://raw.githubusercontent.com/supabase/supabase/master/apps/docs/public/img/supabase-architecture.svg`,
the same `raw.githubusercontent.com` form these two files already use
for the dashboard screenshot at the top
- **badge previews** →
`https://supabase.com/badge-made-with-supabase.svg` and `-dark.svg`,
which is exactly what the markdown and HTML samples directly beneath
them already tell readers to copy

Only the rendered previews change. The samples inside the fenced code
blocks are untouched.

Verified with a request per URL:

```
raw.githubusercontent.com/.../supabase-architecture.svg   200 image/svg+xml
raw.githubusercontent.com/.../supabase-dashboard.png      200 image/png
supabase.com/badge-made-with-supabase.svg                 200 image/svg+xml
supabase.com/badge-made-with-supabase-dark.svg            200 image/svg+xml
```

Every image reference in both files now resolves.

## Additional context

Worth flagging separately, and deliberately **not** changed here: most
of the other translations reference the diagram as

```
https://github.com/supabase/supabase/blob/master/apps/docs/public/img/supabase-architecture.svg
```

That URL responds `200 text/html`, not an image — a `/blob/` link is the
file-viewer page rather than the file. So the majority convention
appears to be broken too, just in a different way, which is why this PR
did not adopt it. That affects roughly fifty files and felt like scope
creep on a two-file fix; happy to send a follow-up if you'd like it
swept.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Documentation**
* Updated Croatian and Sinhala README images and badges to use hosted
URLs.
* Improved the reliability of architecture diagrams and light/dark “Made
with Supabase” badges across documentation.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Nik Richers <nrichers@gmail.com>
2026-10-30 18:53:34 -07:00
5c7bf76e6c Correct Lithuanian text in README.lt.md (#43240)
Fixed a few grammatical mistakes in the README.lt.md

## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

Just a few grammatical fixes in the readme, really nothing big

## What is the current behavior?

Difficult to read, clearly AI generated sentences

## What is the new behavior?

Not AI generated sentences, slightly easier to read (changed a few
sentences only though)

---------

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2026-03-17 15:19:40 +00:00
Katerina Skroumpelou cf17967a3a chore: update readme js sdk links (#41198) 2025-12-16 14:42:22 +02:00
Dishan Sachin 8a04638786 Update sinhala translation (#30396) 2025-07-28 21:35:33 +00:00
lukamandic 2ce358042f Created a croatian readme translation and added entries to languages.md and README.md (#33711)
created a croatian readme translation and added entries to languages.md and README.md
2025-07-28 20:47:07 +00:00
Mohd Kaif 32d7fb95ba fix: corrected 'सुपबेस' to 'सुपाबेस' for consistent spelling in README.hi.md (#36090)
fix: corrected 'सुपबेस' to 'सुपाबेस' for consistent spelling

Replaced all instances of 'सुपबेस' with 'सुपाबेस' for consistency across the document.
2025-06-05 17:45:17 +00:00
ChangHun Lee 36943c9725 chore: update README.ko.md for missing client libraries and translations (#32108) 2025-01-04 00:45:09 +00:00
reneeandrenee 821a6afd23 update Chinese README (#30562)
update Chinese docs to reflect Python and Swift as official clients

Co-authored-by: renee <50965960+wurenee@users.noreply.github.com>
2024-11-20 07:25:47 +00:00
hallidayo dd252385c7 fix: Hindi supabase mispelling (#29018)
wording change
2024-09-03 18:14:17 +00:00
Emil Grehn f85bdd7bbd Fix broken links to the badges (#27855) 2024-07-08 18:47:30 +00:00
Sebastián Poliak e56f7cdd4d [DOCS] Update README.es.md (#27637)
Update README.es.md

Add missing [x]
2024-07-02 16:31:09 +00:00
Emil GrehnandErikSimonson 239caec3e4 docs: Update Swedish readme (#23265)
Update Swedish README

Co-authored-by: ErikSimonson <grufe@users.noreply.github.com>
2024-04-25 16:13:02 +00:00
Carlos Stenzel 45e04cfa63 Update README.pt-br.md - update Swift references (#23233) 2024-04-24 16:35:50 +00:00
JelfandCharis 273fbd7b85 docs: update readme.zh-cn.md (#22680)
* doc: update README.zh-cn.md

* doc: update

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-15 17:34:10 +00:00
Carlos Stenzel 11c6e25aad Update README.pt-br.md (#22705) 2024-04-15 16:44:02 +02:00
NxPKGandJoshen Lim 035ec0d76a Update README.bn.md (#21604)
* Update README.bn.md

* Lint

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-03-19 09:52:21 +00:00
Abdulellah Alamer c575673c31 updating the README.ar.md (#21655)
fixing some issues in the README.ar.md

there are some sentance that are not writen in the file like in the head list,
"Auto-generated APIs.
 REST. Docs
 GraphQL. Docs
 Realtime subscriptions. Docs"

the image of "releases" is not in the right postion
2024-03-01 07:16:44 +00:00
Charis b06dc92cae replace old diagrams with new ones from design (#21170)
* swap out old diagrams for new ones

* swap out images in readmes

* fix docker guide image

* test readme image display
2024-02-12 10:46:35 +00:00
Jan TennertandCharis dc69a218da Add Kotlin snippets to postgres docs (#20974)
add kotlin snippets to postgres docs

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-08 20:59:33 +00:00
onurhan 78cff3f9a8 docs: update Turkish Readme file (#21126)
* docs: update turkish readme

* docs: delete extra spacing at sentence
2024-02-08 20:14:34 +00:00
Bipin ThapaandCharis 3ad0b835e3 Typo fix in i18n for NP: (#21013)
[fix: docs] typo in np i18n

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-05 19:28:34 +00:00
f38cc4b946 fix : README.ko update AI + vector/embeddings docs link, fix status, … (#20175)
fix : README.ko update AI + vector/embeddings docs link, fix status, add Badges

Co-authored-by: meengi <meengi@korpay.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-01-05 17:35:08 +00:00
Oka bRionZandCharis 8e7f30db73 Update README.id.md (#20125)
mengganti Documents > Dokumen

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-01-03 17:34:35 +00:00
Changyeon SeoandCharis d708d9706f chore: fix markdown typo for link brackets in README.ko.md (#20046)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-01-02 19:01:03 +00:00
Yen Cheng d1ea43bb05 Change Simplified Chinese content in README.zh-tw.md to Traditional Chinese (#19358)
* docs: update README.zh-tw.md

* update language name
2023-12-02 23:08:28 +00:00
AngelKaz 81dcc3bf69 Update README.da.md (#18784) 2023-11-07 14:30:59 +00:00
Minsup Lee 0958c14f9e fix: missed exclamation mark (#18619) 2023-10-31 17:55:50 +01:00
Behzad Samadi 32473a1e3e Update README.fa.md در حال حاضر (#17397)
Fixing a typo: در حال حاضر
2023-10-16 11:14:11 +02:00
Sarequl Basar 0b61cdc951 fixed typo 2023-09-06 15:30:55 +06:00
tomoyukiy 6383bf4682 fixed bad image links 2023-08-28 19:52:11 +09:00
tomoyukiy 02d454956d fix/Update README images 2023-08-28 19:52:11 +09:00
Bhavya Wahie 627ff4abd1 spelling error for word 'bugs' corrected 2023-08-22 04:52:32 +05:30
Bhavya Wahie 4af2222574 translation for word 'Support' in hindi readme updated 2023-08-22 04:26:38 +05:30
Bhavya Wahie 8bd6898c79 translation for word community in hindi readme updated 2023-08-22 04:25:26 +05:30
Tyler 5a8c83ecc3 Merge pull request #15462 from takpen/docs/fix-readme-jp-links
docs: fix link and delete redundant Japanese document
2023-08-07 14:05:30 +07:00
takpen a05d9d48de docs: delete /i18n/README.ja.md (duplicate of jp with lower quality) 2023-08-07 15:41:20 +09:00
Niko Hoffrén dc87ae4d83 docs: Fix grammar issues 2023-07-28 22:42:33 +03:00
Lilililim 3a12408fa9 improved italian translation 2023-07-15 15:47:13 +02:00
takpen 81233a108c docs: change links from 'ja' to 'jp' for consistency 2023-06-30 17:11:31 +01:00
Greg Richardson 1bac934859 Merge branch 'master' into chore/change-dashboard-links 2023-06-29 13:54:26 -06:00
Soumyadeep Das Bhowmick 29c0cba2c1 fixed a typo in README.bn.md 2023-06-27 09:30:37 +05:30
Soumyadeep Das Bhowmick 89692490d7 Fixed one typo in README.bn.md 2023-06-27 09:16:48 +05:30
André Pereira d9f65a73c3 fix(docs): update broken anchor hash links 2023-06-22 15:05:50 -03:00
Greg Richardson 26be8af745 chore: change dashboard links to new url 2023-06-22 09:32:18 -06:00
takpen 65f4535d6b docs: convert absolute URL to relative path in multilingual README files 2023-06-18 16:17:20 +01:00
takpen 5666419f59 docs: revert to relative links in multilingual README files 2023-06-18 16:14:30 +01:00
takpen cd96417a6d docs: change relative links to absolute in multilingual README files 2023-06-18 15:22:31 +01:00