## Problem
`@graphql-codegen/cli` and related packages in `apps/studio` and
`apps/docs` were pinned to old major versions (`cli` 5.0.5, `typescript`
4.1.6, `typescript-resolvers` 4.5.0).
## Solution
- Bump `@graphql-codegen/cli` to `^7.0.0` and
`@graphql-codegen/typescript-resolvers` to `^6.0.0`. Drop the explicit
`@graphql-codegen/typescript` dependency from `apps/docs`.
- Regenerate the Studio GraphQL output in `apps/studio/data/graphql/`
with the new codegen. The generated files now include an `index.ts`
export change, and `graphql.ts` is much smaller.
- Refresh `apps/studio/scripts/schema.graphql`, which picks up the new
`ManagementApiReference` search result type.
- Update `.prettierignore` (ignore `apps/studio/.output`,
`apps/studio/dist`, and all of `apps/ui-library/public`) and run
Prettier on the regenerated files.
## Review instructions
1. Check the dependency bumps in `apps/studio/package.json` and
`apps/docs/package.json`.
2. Re-run the Studio codegen and confirm it produces no diff in
`apps/studio/data/graphql/`.
3. Run `pnpm typecheck` and confirm the GraphQL consumers in Studio
still compile.
## Checklist
Check all before review:
- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
---------
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
* Use the "eslint" command instead of built-in next lint since it's getting obsolete.
* Bump all deps to support eslint 9+.
* Convert the rules in eslint-config-supabase to be flat-config compatible.
* Migrate all apps to use the new eslint config rules.
* Fix all errors found in the new setup.
* Fix the no default exports ignores.
* Scan all files for linting in studio.
* Fix all lint errors.
* Make the reportUnusedDisableDirectives a warning.
Add the ability to look up error code explanation in API Gateway logs.
Also a bunch of GraphQL-related utilities and generated types for
calling the Content API.