Skip to content

feat(typegen): add supabase_typegen skeleton package#1636

Merged
spydon merged 3 commits into
mainfrom
feat/supabase-typegen-skeleton
Jul 23, 2026
Merged

feat(typegen): add supabase_typegen skeleton package#1636
spydon merged 3 commits into
mainfrom
feat/supabase-typegen-skeleton

Conversation

@spydon

@spydon spydon commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

Feature. Adds an empty skeleton for a new supabase_typegen package so we can publish it to pub.dev and reserve the name.

The full generator implementation lands separately in #1635; this PR intentionally contains only the minimal publishable placeholder.

What is the new behavior?

A new packages/supabase_typegen package containing:

  • a publishable pubspec.yaml (version 0.1.0, no publish_to: none) so the melos release pipeline picks it up,
  • a placeholder library, README, CHANGELOG and LICENSE,
  • supabase_lints wired in via analysis_options.yaml (analyzes clean).

It is wired into:

  • the root workspace in pubspec.yaml,
  • the Dart CI test matrix in test.yml,
  • the pana release matrix in release-pana.yml,
  • the SDK compliance parse ignore (.sdk-parse-ignore), since it is a development-time tool rather than SDK client surface.

Additional context

The README and CHANGELOG flag 0.1.0 as a name-reserving placeholder; the generator implementation will replace it in a later release.

Summary by CodeRabbit

  • New Features
    • Added a new supabase_typegen package placeholder (v0.1.0) to generate typed Dart table definitions from Supabase schemas.
  • Documentation
    • Added initial README and changelog entries documenting current placeholder status and reserved pub.dev name.
  • CI / Chores
    • Updated release and test workflows to run checks for supabase_typegen when relevant, including coverage carryforward.
    • Excluded supabase_typegen from SDK public API scanning (development-time generator).
  • Legal
    • Added the MIT license for the new package.

Reserve the supabase_typegen package name on pub.dev with a minimal
placeholder release. Wires the package into the workspace, the Dart CI
test matrix, the pana release matrix and the SDK compliance parse ignore.
@spydon
spydon requested a review from a team as a code owner July 23, 2026 10:37
@coderabbitai

coderabbitai Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 80e70d53-a934-4adb-8aed-bea022361ae5

📥 Commits

Reviewing files that changed from the base of the PR and between d20e356 and d2555a4.

📒 Files selected for processing (2)
  • .github/workflows/test.yml
  • packages/supabase_typegen/test/supabase_typegen_test.dart

📝 Walkthrough

Walkthrough

Adds the placeholder supabase_typegen Dart package, including metadata, documentation, licensing, a library declaration, and a placeholder test. Registers it in the workspace and updates testing, coverage, release Pana, and SDK API scan configuration.

Changes

supabase_typegen package

Layer / File(s) Summary
Package scaffolding
packages/supabase_typegen/pubspec.yaml, packages/supabase_typegen/lib/..., packages/supabase_typegen/analysis_options.yaml, packages/supabase_typegen/README.md, packages/supabase_typegen/CHANGELOG.md, packages/supabase_typegen/LICENSE, packages/supabase_typegen/test/...
Defines package metadata, Dart SDK constraints, development dependencies, lint configuration, placeholder library, documentation, changelog, MIT license, and a placeholder test.
Workspace and CI integration
pubspec.yaml, .sdk-parse-ignore, .github/workflows/test.yml, .github/workflows/release-pana.yml
Registers supabase_typegen in the workspace, excludes it from SDK API scanning, and includes it in Dart testing, Coveralls carryforward, and release Pana matrices.

Estimated code review effort: 2 (Simple) | ~10 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: adding a new supabase_typegen skeleton package.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/supabase-typegen-skeleton

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 Checkov (3.3.8)
.github/workflows/test.yml

Traceback (most recent call last):
File "/usr/local/bin/checkov", line 2, in
from checkov.main import Checkov
ModuleNotFoundError: No module named 'checkov'


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/test.yml:
- Line 67: Update the coverage-finished carryforward package list in the
workflow to include supabase_typegen, matching the existing DART_PACKAGES entry,
so skipped dynamic-matrix runs preserve its coverage.
- Line 67: The Dart workflow’s shared formatting step includes supabase_typegen
even though it lacks a test directory. Update the workflow’s stable-format logic
to pass only existing paths, or add a minimal test directory for
supabase_typegen; ensure formatting no longer fails on the missing test path
while preserving formatting for all existing package sources.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: b1f30a73-de8a-4d4c-8911-a919e69056f9

📥 Commits

Reviewing files that changed from the base of the PR and between f65c7ae and e5da56a.

📒 Files selected for processing (10)
  • .github/workflows/release-pana.yml
  • .github/workflows/test.yml
  • .sdk-parse-ignore
  • packages/supabase_typegen/CHANGELOG.md
  • packages/supabase_typegen/LICENSE
  • packages/supabase_typegen/README.md
  • packages/supabase_typegen/analysis_options.yaml
  • packages/supabase_typegen/lib/supabase_typegen.dart
  • packages/supabase_typegen/pubspec.yaml
  • pubspec.yaml

Comment thread .github/workflows/test.yml
spydon added 2 commits July 23, 2026 12:43
Add a minimal test directory so the shared Dart format and test steps
succeed for supabase_typegen, and register it in the coverage-finished
carryforward list.
@spydon
spydon merged commit 91f26da into main Jul 23, 2026
42 checks passed
@spydon
spydon deleted the feat/supabase-typegen-skeleton branch July 23, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants