Repository navigation
fix(typegen): pin @supabase/postgrest-typegen to 0.2.5 - #222
Conversation
0.2.5 is the first postgrest-typegen release whose src/ compiles under noUncheckedIndexedAccess, so a consumer that type-checks dependencies from source through the bun exports condition, like the Supabase CLI, can now reach postgrest-typegen through this package alone. Add the same consumer type-check postgrest-typegen gained in #217: tsconfig.consumer.json extends @tsconfig/bun with customConditions: ["bun"] and runs as check-types:consumer in CI, so a future pin bump that fails the CLI's compiler options is caught here. Refs SDK-1963
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (5)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe typegen package adds a consumer TypeScript configuration and a Priority: ⬇️ Low Change: Bug fix Merge Risk: ⚪ Minimal · up to The new consumer check is wired into validation, and the lockfile matches the pinned dependency version. No actionable merge risk is evident from the reviewed changes. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 1 system. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…en command comments (#223) Documentation-only follow-up to #217 and #222. No code, workflow, or configuration changes. ## What changed - Root `CLAUDE.md`: the release notes for `release-typegen.yml` and `release-postgrest-typegen.yml` now spell out what on-demand means. release-please runs only on a manual `workflow_dispatch`, or on a push that changes the package's manifest file, which happens only when a release PR merges. Merging ordinary `fix:` or `feat:` commits into `packages/typegen` or `packages/postgrest-typegen` opens no release PR until someone dispatches the workflow. - `packages/postgrest-typegen/CLAUDE.md`: re-align the comment column in the Commands block. The `check-types:consumer` line added in #217 is longer than the others, so every comment now starts at the same column after it. ## Why After #222 merged, no typegen release workflow run fired and no release PR appeared. That was expected behavior from the manifest path filter, but it was not obvious from the docs, so this records it. The typegen release carrying the postgrest-typegen 0.2.5 pin is therefore waiting on a manual dispatch. ## Notes for reviewers This PR originally also passed `skip-github-pull-request` on push runs of `release-typegen.yml`. That change was dropped because the existing path filter already gives the described behavior, and it kept the two release workflows identical apart from the package name.
🤖 I have created a release *beep* *boop* --- ## [0.1.1](typegen/v0.1.0...typegen/v0.1.1) (2026-09-25) ### Bug Fixes * **typegen:** pin @supabase/postgrest-typegen to 0.2.5 ([#222](#222)) ([ecca7f2](ecca7f2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: supabase-releaser[bot] <223506987+supabase-releaser[bot]@users.noreply.github.com>
Why
postgrest-typegen 0.2.5 (#217, released in #220) is the first version whose
src/compiles undernoUncheckedIndexedAccess. The Supabase CLI type-checks its dependencies from source through thebunexports condition, so with this pin the CLI can depend on@supabase/typegenalone and drop its direct,dist-pinned@supabase/postgrest-typegendependency.Second part of SDK-1963; the first part was #217.
What
@supabase/postgrest-typegento0.2.5and updatebun.lock.tsconfig.consumer.jsonextends@tsconfig/bunwithcustomConditions: ["bun"]and includessrc, wired up asbun run check-types:consumerand run intypegen-validate.yml. Because it resolves@supabase/postgrest-typegento the pinned package'ssrc/, it fails on a future pin bump whose source breaks under the CLI's compiler options.@tsconfig/bunas a devDependency and document the command inCLAUDE.mdandREADME.md.Verification
bun run check-types,bun run check-types:consumer,bun run format-and-lint,bun run knip,bun run buildpass.bun run test: 47 tests pass.node_modules/@supabase/postgrest-typegen/src/generation/*.ts, so the check is exercising the transitive source as intended.Follow-up
Once the typegen release cut from this PR is on npm, the CLI can bump
@supabase/typegenand remove the direct@supabase/postgrest-typegendevDependency, itsminimumReleaseAgeExcludeentry, thepathspin inapps/cli/tsconfig.types.json, theknip.jsoncignoreDependenciesentry, and the version-guard test intypes.generator.unit.test.ts(follow-up to supabase/cli#6822).