Commit Graph
32 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
Lilililim 3a12408fa9 improved italian translation 2023-07-15 15:47:13 +02: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
Greg Richardson 80426c87ab fix(readme): translation formatting errors 2023-05-25 10:20:07 -06: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 aa49b1897d fix(supabase/i18n/README.it.md): broken supabase logo url 2022-07-11 13:48:27 +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 0945d37c16 typo(README.it.md): supabase url address 2022-04-29 17:14:04 +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
kiwicopple cd9958319c Apply Prettier changes 2021-05-22 02:30:29 +00:00
dshukertjr 095415d5a2 Replaced the new logo in readme.md with new logo without docs 2021-05-04 10:44:25 +09:00
Nicolò Santilio 38f2659ef3 Update README.it.md 2021-05-02 18:38:51 +02:00
Nicolò Santilio 51e9429ba5 Remove Translations list 2021-05-02 18:21:49 +02:00
Nicolò Santilio dcc9602832 Added README.it.md 2021-05-02 18:19:18 +02:00
Nicolò Santilio 468c4eb87b Create README.it.md 2021-05-02 18:10:08 +02:00