Skip to main content

appwrite_generator 0.1.0 copy "appwrite_generator: ^0.1.0" to clipboard
appwrite_generator: ^0.1.0 copied to clipboard

A powerful Dart CLI tool that generates type-safe, production-ready Dart models from Appwrite configuration JSON files with automatic serialization and null-safety support.

140/ 160
pub points
38
downloads

We analyzed this package 43 hours ago, and awarded it 140 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/moinsen-dev/appwrite_generator was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/moinsen-dev/appwrite_generator was unreachable. Make sure that the website is reachable via HEAD requests.

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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

1 out of 1 API elements (100.0 %) have documentation comments.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.

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 3 issues. Showing the first 2:

INFO: Missing a newline at the beginning of a multiline string.

lib/src/commands/init_command.dart:37:33

   ╷
37 │     static const _defaultConfig = '''# Appwrite Generator Configuration
   │ ┌─────────────────────────────────^
38 │ │ # This file configures the code generation behavior
39 │ │ 
40 │ │ # ✅ WORKING OPTIONS
41 │ │ # These options are currently implemented and working
42 │ │ 
43 │ │ # Input configuration file path
44 │ │ input: appwrite.json
45 │ │ 
46 │ │ # Output directory for generated models
47 │ │ output: lib/models
48 │ │ 
49 │ │ # Generation options
50 │ │ options:
51 │ │   # Clean output directory before generating (removes all existing files)
52 │ │   # ✅ WORKING - Set to false to keep existing files
53 │ │   clean: true
54 │ │ 
55 │ │ # ⚠️ NOT YET IMPLEMENTED
56 │ │ # The following options are loaded but not currently used in code generation
   │ └────────────────────────────────────^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/commands/init_command.dart

INFO: Unnecessary braces in a string interpolation.

lib/src/generators/enum_generator.dart:19:25

   ╷
19 │     buffer.writeln('/// ${enumName} enum from Appwrite');
   │                         ^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/generators/enum_generator.dart

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

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

Package Constraint Compatible Latest Notes
args ^2.7.0 2.7.0 2.7.0
cli_completion ^0.5.1 0.5.1 0.6.0
mason_logger ^0.3.3 0.3.6 0.3.6
mustache_template ^2.0.1 2.0.6 2.0.6
path ^1.9.1 1.9.1 1.9.1
pub_updater ^0.5.0 0.5.0 0.6.0
recase ^4.1.0 4.1.0 4.1.0
yaml ^3.1.3 3.1.4 3.1.4
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
collection - 1.19.1 1.19.1
equatable - 2.1.0 3.0.0
ffi - 2.2.0 2.2.0
ffi_leak_tracker - 0.1.2 0.1.2
file - 7.0.1 7.0.1
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
io - 1.1.0 1.1.0
json_annotation - 4.12.0 4.12.0
meta - 1.19.0 1.19.0
platform - 3.2.0 3.2.0
process - 5.0.6 5.0.6
pub_semver - 2.2.1 2.2.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.1 1.1.1
win32 - 6.4.0 6.4.0

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

The constraint `^0.5.1` on cli_completion does not support the stable version `0.6.0`.

Try running dart pub upgrade --major-versions cli_completion to update the constraint.

The constraint `^0.5.0` on pub_updater does not support the stable version `0.6.0`.

Try running dart pub upgrade --major-versions pub_updater to update the constraint.

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.19, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
38
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A powerful Dart CLI tool that generates type-safe, production-ready Dart models from Appwrite configuration JSON files with automatic serialization and null-safety support.

Repository (GitHub)

License

MIT (license)

Dependencies

args, cli_completion, mason_logger, mustache_template, path, pub_updater, recase, yaml

More

Packages that depend on appwrite_generator