supabase_client_gen 0.2.0 copy "supabase_client_gen: ^0.2.0" to clipboard
supabase_client_gen: ^0.2.0 copied to clipboard

Contract-driven code generator that reads a supabase.yaml specification and produces typed Dart client code — data models, enums, repositories with CRUD and realtime streams, edge function clients, an [...]

120/ 160
pub points
122
downloads

We analyzed this package 3 days ago, and awarded it 120 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

17 out of 151 API elements (11.3 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: supabase_client_gen.AuthConfig, supabase_client_gen.AuthConfig.AuthConfig.fromYaml, supabase_client_gen.AuthConfig.AuthConfig.new, supabase_client_gen.AuthConfig.provider, supabase_client_gen.AuthConfig.signInMethods.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:supabase_client_gen/supabase_client_gen.dart that imports:
  • package:supabase_client_gen/src/gen_types.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 12 issues. Showing the first 2:

INFO: Angle brackets will be interpreted as HTML.

bin/generate.dart:4:56

  ╷
4 │ ///   dart run supabase_client_gen:generate --contract <path> --output <dir>
  │                                                        ^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/generate.dart

INFO: Angle brackets will be interpreted as HTML.

bin/generate.dart:4:72

  ╷
4 │ ///   dart run supabase_client_gen:generate --contract <path> --output <dir>
  │                                                                        ^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/generate.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
postgres ^3.0.0 3.5.12 3.5.12
yaml ^3.1.0 3.1.3 3.1.3
yaml_edit ^2.2.0 2.2.4 2.2.4
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
buffer - 1.2.3 1.2.3
charcode - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
meta - 1.18.3 1.18.3
path - 1.9.1 1.9.1
pool - 1.5.2 1.5.2
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.12, Dart 3.12.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
122
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Contract-driven code generator that reads a supabase.yaml specification and produces typed Dart client code — data models, enums, repositories with CRUD and realtime streams, edge function clients, and storage buckets.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

postgres, yaml, yaml_edit

More

Packages that depend on supabase_client_gen