composable_architecture_generator 0.2.1 copy "composable_architecture_generator: ^0.2.1" to clipboard
composable_architecture_generator: ^0.2.1 copied to clipboard

Code generator for the Composable Architecture in Dart. Generates Lens, ActionLens, Prism, and utility extensions from @tcaState, @tcaAction, and @tcaRoute annotations.

105/ 160
pub points
28
downloads

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

Failed report section
Follow Dart file conventions
25 / 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/bakeryscent/composable_architecture 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/bakeryscent/composable_architecture was unreachable. Make sure that the website is reachable via HEAD requests.

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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.2.1").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

0 out of 2 API elements (0.0 %) 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: builder, builder.generateTCA.

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:composable_architecture_generator/builder.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/utils.dart that imports:
  • package:build/build.dart that imports:
  • package:build/src/resolver.dart that imports:
  • package:build/src/build_step.dart that imports:
  • package:glob/glob.dart that imports:
  • package:glob/src/list_tree.dart that imports:
  • package:file/file.dart that imports:
  • package:file/src/interface.dart that imports:
  • package:file/src/io.dart that imports:
  • dart:io
Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Failed report section
Support up-to-date dependencies
10 / 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
analyzer ^9.0.0 9.0.0 14.4.0
build ^4.0.5 4.0.7 4.0.11
composable_architecture_core ^0.1.0 0.1.2 0.1.2
source_gen ^4.2.2 4.2.4 4.3.0
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 92.0.0 108.0.0
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
dart_style - 3.1.3 3.1.13
file - 7.0.1 7.0.1
glob - 2.2.0 2.2.0
logging - 1.3.0 1.3.0
meta - 1.19.0 1.19.0
package_config - 2.2.0 3.0.0
path - 1.9.1 1.9.1
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
watcher - 1.2.1 1.2.1
yaml - 3.1.4 3.1.4

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

The constraint `^9.0.0` on analyzer does not support the stable version `10.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • NON_TYPE_AS_TYPE_ARGUMENT - lib/src/composable_architecture_generator.dart:307:36 - The name 'TCAState' isn't a type, so it can't be used as a type argument.
  • NON_TYPE_AS_TYPE_ARGUMENT - lib/src/composable_architecture_generator.dart:334:36 - The name 'TCAAction' isn't a type, so it can't be used as a type argument.
  • NON_TYPE_AS_TYPE_ARGUMENT - lib/src/composable_architecture_route_generator.dart:7:36 - The name 'TCARoute' isn't a type, so it can't be used as a type argument.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.19, Dart 3.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
105
points
28
downloads

Documentation

API reference

Publisher

verified publishercomposablearchitecture.io

Weekly Downloads

Code generator for the Composable Architecture in Dart. Generates Lens, ActionLens, Prism, and utility extensions from @tcaState, @tcaAction, and @tcaRoute annotations.

Repository (GitHub)

License

MIT (license)

Dependencies

analyzer, build, composable_architecture_core, source_gen

More

Packages that depend on composable_architecture_generator