macro_kit 0.0.13 copy "macro_kit: ^0.0.13" to clipboard
macro_kit: ^0.0.13 copied to clipboard

A development-time macro system for Dart that generates code instantly for fast iteration without build_runner.

135/ 160
pub points
387
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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.0.13").

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.

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

805 out of 1008 API elements (79.9 %) have documentation comments.

Some symbols that are missing documentation: macro, macro.AssetChangeType, macro.AssetMacroInfo.AssetMacroInfo.new, macro.AssetMacroInfo.allExtensions, macro.AssetMacroInfo.fromJson.

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 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:macro_kit/macro.dart that imports:
  • package:macro_kit/src/macro/data_class/data_class.dart that imports:
  • package:macro_kit/src/core/core.dart that imports:
  • package:macro_kit/src/analyzer/types_ext.dart that imports:
  • package:source_helper/source_helper.dart that imports:
  • package:source_helper/src/dart_type_extension.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
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 4 issues. Showing the first 2:

/tmp/pana_XXQMTJ/lib/macro_core.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_XXQMTJ/lib/src/analyzer/types_ext.dart doesn't match the Dart formatter.

To format your files run: dart format .

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
analyzer ^8.4.0 8.4.0 9.0.0
analyzer_plugin ^0.13.10 0.13.10 0.13.11
change_case ^2.2.0 2.2.0 2.2.0
collection ^1.19.1 1.19.1 1.19.1
dart_style ^3.1.3 3.1.3 3.1.3
hashlib ^2.2.0 2.2.0 2.2.0
http ^1.6.0 1.6.0 1.6.0
logging ^1.3.0 1.3.0 1.3.0
meta ^1.16.0 1.17.0 1.17.0
path ^1.9.1 1.9.1 1.9.1
shelf ^1.4.2 1.4.2 1.4.2
shelf_router ^1.1.4 1.1.4 1.1.4
shelf_web_socket ^3.0.0 3.0.0 3.0.0
source_helper ^1.3.8 1.3.8 1.3.9
synchronized ^3.4.0 3.4.0 3.4.0
watcher ^1.1.4 1.1.4 1.1.4
web_socket_channel ^3.0.3 3.0.3 3.0.3
yaml ^3.1.3 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 91.0.0 92.0.0
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
build - 4.0.3 4.0.3
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
hashlib_codecs - 3.0.1 3.0.1
http_methods - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
package_config - 2.2.0 2.2.0
pub_semver - 2.2.0 2.2.0
source_gen - 4.1.1 4.1.1
source_span - 1.10.1 1.10.1
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
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1

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

The constraint `^8.4.0` on analyzer does not support the stable version `9.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

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.3, Dart 3.10.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
10
likes
135
points
387
downloads

Publisher

verified publisherswiftybase.com

Weekly Downloads

A development-time macro system for Dart that generates code instantly for fast iteration without build_runner.

Repository (GitHub)
View/report issues

Topics

#codegen #macro #builder #development #tooling

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, analyzer_plugin, change_case, collection, dart_style, hashlib, http, logging, meta, path, shelf, shelf_router, shelf_web_socket, source_helper, synchronized, watcher, web_socket_channel, yaml

More

Packages that depend on macro_kit