54 Commits

Author SHA1 Message Date
Katerina Skroumpelou
a7563e9fe6 docs(examples): use latest v2 of supabase-js and remove lock files (#44704)
* Use latest 2.x version of `@supabase/supabase-js` in all examples
* Use `latest` version of `@supabase/ssr` in all examples
* Remove lock files from examples
* Add examples lock files in .gitignore

The rationale is:
- Lock files are not actively maintained/updated (or the versions in the
package.json files for that matter)
- They pin an arbitrary version (from the end-user perspective)
- Removes the need to manually update the versions and reinstall
- Consistency

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

## Summary by CodeRabbit

## Release Notes

* **Chores**
* Broadened Supabase SDK dependency version constraints across example
projects for greater flexibility with compatible updates
  * Updated some SSR package dependencies to track latest releases
* Added gitignore rules for dependency lock files in example directories

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-04-14 09:24:46 +03:00
Alaister Young
4295e41e81 chore(studio): migrate cursor rules to claude skills + add CLAUDE.md (#44343)
Migrates all studio-related Cursor rules to Claude skills and adds a
top-level `.claude/CLAUDE.md` for project context. Docs rules left in
place.

**Decisions:**
- Only studio + testing rules migrated — docs rules intentionally left
in `.cursor/rules/docs/`
- Vitest skill already shared via symlink (`.claude/skills/vitest` →
`.agents/skills/vitest`) — nothing to migrate
- Grouped ~21 granular cursor rules into 5 new skills + 1 updated skill
by topic
- `studio-architecture` skill fully merged into `CLAUDE.md` and deleted
to avoid overlap
- Skills are self-contained (content inlined, not relying on sub-files)
since Claude reads SKILL.md first
- Skills cross-reference each other inline where relevant (e.g.
best-practices → testing, error-handling, queries)
- No `paths` frontmatter — would auto-inject full skill content on every
matching file. Current description-based matching is more selective and
token-efficient.

**Removed:**
- `.cursor/rules/studio/` (21 rule files covering architecture, best
practices, UI patterns, queries, styling, etc.)
- `.cursor/rules/testing/` (e2e-studio + unit-integration rules)
- `.cursor/rules/studio-useStaticEffectEvent.mdc`
- `.claude/skills/studio-architecture/` — fully merged into CLAUDE.md to
avoid duplication
- `.claude/skills/studio-testing/rules/` — orphaned sub-files after
inlining content into SKILL.md

**Added:**
- `.claude/CLAUDE.md` — concise monorepo overview with structure,
commands, and conventions. Absorbs studio-architecture content.
References `studio-*` skills for detail.
- `.claude/skills/studio-best-practices/` — boolean naming, component
structure, loading/error/success patterns, state management, hooks,
TypeScript conventions. Cross-references `vercel-composition-patterns`,
`studio-ui-patterns`, `studio-queries`, `studio-error-handling`, and
`studio-testing` inline where relevant.
- `.claude/skills/studio-ui-patterns/` — layout, forms, tables, charts,
empty states, navigation, cards, alerts, sheets. Grouped from ~10
separate cursor rules into one cohesive skill.
- `.claude/skills/studio-queries/` — React Query `queryOptions` pattern,
`keys.ts` structure, mutation hook template, imperative fetching.
- `.claude/skills/use-static-effect-event/` — the `useStaticEffectEvent`
hook: when to use, when not to, patterns, implementation.

**Changed:**
- `.claude/skills/studio-e2e-tests/` — renamed from `e2e-studio-tests`
for `studio-*` naming consistency. Merged race condition, waiting
strategy, test structure, assertion, and cleanup patterns from the
cursor e2e rule.
- `.claude/skills/studio-testing/` — inlined key content from sub-rule
files directly into SKILL.md so it's self-contained. Removed broken
`AGENTS.md` reference. Deleted orphaned `rules/` sub-files.
- `.claude/skills/vercel-composition-patterns/` — added note that Studio
uses React 18, so React 19 patterns should be skipped.
- `.gitignore` — added `!.claude/CLAUDE.md` exception so it's tracked.

## To test

- Open Claude Code in the repo, verify `.claude/CLAUDE.md` loads as
project context
- Ask Claude about Studio conventions and verify it references the right
skills
- Check that `studio-*` skills appear in the skill list

---------

Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 23:33:04 +08:00
Ali Waseem
28be36f04c chore: allow using multiple ports for next dev (#43398)
## 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?

Trying agents with multiple git worktrees, want the ability to run
multiple instances of dev

## Context

For agent scripts that support git worktrees, you can set STUDIO_PORT to
0 and have the OS assign a port so they don't conflict with each other
2026-03-04 10:47:35 -07:00
Ali Waseem
a185879625 chore: e2e test for table operations (#42475)
## 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?

E2E for table operations because the logic can be very hard to test
manually

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

* **Tests**
* Added a comprehensive end-to-end test suite validating queue-based
table workflows: edits, inserts, batch actions, deletions, keyboard
shortcuts, pending-change tracking, save/cancel flows, persistence
across tables, and cleanup.

* **Chores**
  * Updated .gitignore to exclude Playwright MCP artifacts.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-02-05 08:23:28 -07:00
Charis
6063652a23 dev(studio): add claude skills for e2e tests (#42266)
## 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?

LLM configuration

## What is the current behavior?

No skills for E2E tests

## What is the new behavior?

Claude skill for E2E tests


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

* **Documentation**
* Added comprehensive end-to-end testing guidelines for Studio
Playwright tests, covering test execution, environment setup, robust
selector patterns, common pitfalls, debugging workflows, and CI
troubleshooting.

* **Chores**
* Updated repository ignore settings so skills-related documentation
files are tracked and can be committed.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-01-30 07:57:44 -05:00
Charis
bd1ce11d1c chore: add config for claude code on web (#42044)
To use Claude Code on web, we need the LLM to have access to
dependencies. This creates a install_pkgs.sh script that runs `pnpm
install` only in the Claude Code remove environment.
2026-01-21 13:41:45 -05:00
Pamela Chia
8547b6f233 chore: ignore claude folder (#40606) 2025-11-19 07:40:35 +00:00
Pamela Chia
004fe3137c chore: add ai files to gitignore (#40231) 2025-11-07 14:20:19 +08:00
Matt Rossman
2deedf479b chore: untrack next-env.d.ts (#38792)
* chore: untrack `next-env.d.ts`

* chore: `next typegen` in pretypecheck for docs, studio, www
2025-09-17 12:01:41 -04:00
Joshen Lim
66ad6153e0 Reinstate pnpm command for running studio in non hosted mode (#36309) 2025-06-10 23:45:41 +08:00
Charis
ffceb79fd6 chore(docs): add sentry monitoring (#35529) 2025-05-20 22:57:34 +00:00
angelico
0880e0e1d0 chore: allow pausing for AWS_NEW projects regardless of pricing tier (#35493)
* chore: gitignore .pnpm-store/*

* chore: allow pausing for aws new projects

* fix: incorrect logic

* chore: clean up logic

* Small refactor

* chore: update conditions for useIsOrioleDbInAwsRevamped

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-05-16 14:16:53 +08:00
Tyler
7bf04545d8 docs: Add some missing descriptions to the CLI reference docs (#35434)
* Add description for supabase-config-push

* docs: Add descriptions to a few cli commands and command groups

* delete the unnecessary note about linking a project

* fix/add cli-latest file to gitignore
2025-05-04 09:28:35 +09:00
Jonathan Summers-Muir
9b8cc37a34 Start removing storybook (#26599)
* init deletion

* Update package-lock.json

* remove shadcn stories

* update TS errors

* Update package-lock.json
2024-06-11 11:07:21 +02:00
Charis
6c4311f723 fix: improve docs search ux and result rankings (#19450)
Improve the way docs are indexed and FTS results are ranked, so results are more relevant.

Also improve debouncing and searching UX so it feels a bit faster and you can scan the results more easily.
2023-12-06 12:27:33 -05:00
Oliver Rice
392b3fc460 docs: Update vecs references from create_collection to get_or_create_collection (#17707) 2023-11-14 22:26:12 +01:00
Jonathan Summers-Muir
510780f646 update build command 2023-06-26 00:26:15 +08:00
Jonathan Summers-Muir
b7c1a6329b revert xml removal 2023-06-21 15:03:26 +08:00
Jonathan Summers-Muir
09235eaab7 add 2023-06-13 18:01:43 +08:00
Jonathan Summers-Muir
894df9efed Update .gitignore 2023-06-13 17:54:04 +08:00
Jonathan Summers-Muir
62a1406b69 remove xml files from version control 2023-06-13 17:53:31 +08:00
Jonathan Summers-Muir
0ef9ac46fb move files. add gitignore 2023-05-09 01:20:13 +08:00
Jonathan Summers-Muir
faf1208d40 remove old files 2023-05-09 01:18:34 +08:00
Jonathan Summers-Muir
ace3d9481b trying sd-transforms 2023-05-06 15:50:37 +08:00
Jonathan Summers-Muir
332c5a5ad3 Merge branch 'master' into jsm/design-tokens-poc-2 2023-04-17 19:37:41 +08:00
Bobbie Soedirgo
93e34b4f0e chore: clarify why gcloud.json is gitignored 2023-04-12 14:59:20 +08:00
Jonathan Summers-Muir
40c80d5b0e Merge branch 'master' into jsm/design-tokens-poc-2 2023-04-12 14:53:10 +08:00
Copple
7ed2311fcc Logflare Docker Setup
Adds Logflare to Supabase Docker Compose so you can initialize Logflare locally.
2023-04-04 02:09:06 +01:00
Jonathan Summers-Muir
2c846d6b73 Update .gitignore 2023-03-22 15:22:54 +08:00
Jonathan Summers-Muir
8be384e4f1 Update .gitignore 2023-03-22 15:21:49 +08:00
Jonathan Summers-Muir
96a9a2adc5 remove 2023-03-22 15:20:47 +08:00
Oliver Rice
665fbfe549 add blog post for type constraints (domains) 2023-01-25 08:28:11 -06:00
Jonathan Summers-Muir
7dde56af72 Got tutorial scaffold for scrollycode experiment set up 2022-11-08 12:50:13 +08:00
Jonathan Summers-Muir
8948a388cc chore: add .env file to be public for /apps/www 2022-04-30 00:19:43 +08:00
Jonathan Summers-Muir
e2951cd36d chore: remove exclusion 2022-04-26 17:53:57 +08:00
Jonathan Summers-Muir
c9433060f8 chore: add .env for /www 2022-04-26 16:37:55 +08:00
Copple
f744ceee1c ignore .env.production 2022-04-21 11:47:12 +02:00
Copple
6e2d290c79 prep for turbo 2022-04-18 17:25:56 +02:00
egor-romanov
afdf2dfd71 feat: add few classy tests on auth 2022-04-13 02:01:41 +04:00
Alaister Young
1fcc70e185 feat: send emails on contact form submissions 2022-03-30 16:23:00 +02:00
Nikhil Nayak
c888bb754f Bugfix [#4088]: Make table search case-insensitive 2021-12-07 13:46:50 +05:30
TzeYiing
2d9cf7ae3d remove logs path from gitignore 2021-12-03 01:05:24 +08:00
Paul Copplestone
9131e670f2 Moves the docker files back to the original location (we have links everywhere) 2021-05-11 20:59:24 +08:00
Paul Colin Hennig
8d88b52f56 sort files and add traefik compose file 2021-05-06 14:48:42 +02:00
Paul Colin Hennig
d7ebc29904 add variables to compose 2021-05-05 00:17:38 +02:00
ykdojo
b7d0237de7 Merge pull request #315 from supabase/react-native-example
React native example
2020-12-28 16:10:22 -08:00
Inian Parameshwaran
e2d500bd64 fix local development 2020-12-12 17:15:29 +08:00
phamhieu
f2862781b8 chore: update tailwindcss to v2.0 2020-12-04 11:59:36 +08:00
Paul Copplestone
ba2c73c2d7 Ignore local env secrets 2020-11-17 18:22:38 +08:00
Paul Copplestone
822675dfb8 Making realtime work on supabase-js 2020-01-17 19:10:32 +08:00