Commit Graph
43 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
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
Katerina Skroumpelou cf17967a3a chore: update readme js sdk links (#41198) 2025-12-16 14:42:22 +02: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
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
Greg Richardson 1bac934859 Merge branch 'master' into chore/change-dashboard-links 2023-06-29 13:54:26 -06:00
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 5666419f59 docs: revert to relative links in multilingual README files 2023-06-18 16:14:30 +01:00
takpen f245ccf13f docs: fix incorrect links in multilingual README files 2023-06-18 15:17:10 +01:00
Estee Tey 25ad4081b6 fix prettier formatting 2023-06-06 20:05:49 +08:00
Estee 8d4681c5e5 prettier formatting 2023-06-05 23:05:38 +08:00
Estee dc1eb4d59b update readmes to remove <keep> elements, and don't translate table that contains the programming languages 2023-05-20 11:20:27 +08:00
Estee ee2f1e928c update readmes 2023-05-19 22:02:22 +08:00
Estee 225e8d2450 add translations for Supabase README 2023-05-15 16:57:26 +08:00
dshukertjr bb80ade10b fix: format translated readme with prettier 2022-10-14 13:18:01 +09:00
dshukertjr af5625fc23 replace links to supabase-dart repo with supabase-flutter repo wherever appropreate 2022-10-14 13:04:47 +09:00
Maxime P 677aeeff35 fixing expired images links 2022-10-10 21:11:35 +02:00
mertovich 16ac147fc9 fix(supabase/i18n/README.de.md): broken supabase logo url 2022-07-11 13:46:19 +02:00
Jonathan Summers-Muir 5a38bd3d51 chore: update app.supabase.io links to app.supabase.com 2022-05-30 14:52:54 +08:00
Isaiah Hamilton b16ba90c00 chore: update i18n readme 2022-05-23 01:13:56 -04:00
mertovich 9a86b32f60 typo(README.de.md): supabase url address 2022-04-29 17:04:55 +03:00
Periyot 7046a2c5dd fix(supabase/i18n/): Broken link in architecture 2022-01-15 03:14:55 +03:00
Inian 2d16de092d change links to point directly to supabase.com (#3951)
* change links to point directly to supabase.com

* status page is under .com
2021-11-20 19:32:02 +08:00
florian-lefebvre 0de83558c3 Apply Prettier changes 2021-09-23 17:38:16 +00:00
Nick-I. A 4b63e35639 Update README.de.md 2021-09-16 04:32:43 +02:00
Nick-I. A e0d43df173 Update README.de.md 2021-09-16 04:27:22 +02:00
Nick-I. A b174a4db11 Update README.de.md 2021-09-16 04:25:02 +02:00
Nick-I. A 1495c45075 Update README.de.md 2021-09-02 04:04:12 +02:00
Benjamin Hartmann 54bd914bbe Fix Typo
"Datenbak" should be "Datenbank"
2021-05-31 10:24:54 +08:00
Pluwen 8b939777ba Merge branch 'master' of https://github.com/pluwen/supabase 2021-05-27 11:56:18 +08:00
Pluwen 9b4433a518 Update README.de.md 2021-05-27 11:56:02 +08:00
0xflotus 531e13545d fixed small typo error in german translation 2021-05-04 23:27:35 +02:00
dshukertjr 095415d5a2 Replaced the new logo in readme.md with new logo without docs 2021-05-04 10:44:25 +09:00
Sönke Peters 8dffe20445 Improved the German translations for the README
The old translations were understandable but didn't quite match the tone that the English original uses. Some expressions were kind of hard to understand and needed an upgrade.
2021-05-03 15:57:38 +02:00
luiz tanure 83dc9b54d4 docs: fix typo 2021-05-02 12:24:10 +02:00
luiz tanure 1ac0e60560 docs: use relative path to translations 2021-05-02 12:11:36 +02:00
luiz tanure 6e3346afc9 docs: fix typo 2021-05-02 12:04:46 +02:00
luiz tanure 2ae221c315 docs: replace list in translated readme to link to single list 2021-05-02 12:01:07 +02:00
luiz tanure d330bc7926 docs: add link to portuguese in other languages translations 2021-05-02 11:16:12 +02:00
dshukertjr 39c3f8cb82 Fixed 404 on Supabase logo 2021-05-02 10:57:31 +09:00
dshukertjr 6dd5519bdf Swapped all readme.md logo with the one with white background 2021-05-02 08:05:40 +09:00
Kevin Grüneberg aeb69df693 move readme! 2021-05-01 11:58:24 +02:00