source_gen 0.9.6

Dart native

Dart构建系统的源代码生成构建器和实用程序

15
likes
80 / 110
酒馆积分
98 %
popularity

我们在2020年8月7日对该计划进行了分析,并给予其80分(可能的110分):

遵循Dart文件约定
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

提供文件
10 / 20

0/10 points: Package has an example

找不到示例.

有关如何添加示例,请参见程序包布局指南.

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

  • 105个API元素中有92个(87.6%)具有文档注释.
支持多种平台
10 / 20

10/20 points: Supports 1 of 2 possible platforms (native, js)

考虑支持多种平台:

软件包与运行时js不兼容

Because:

  • 导入以下文件的package:source_gen/source_gen.dart
  • 导入以下文件的package:source_gen/src/utils.dart
  • package:build/build.dart导入:
  • package:build/src/generate/run_post_process_builder.dart导入:
  • 导入以下文件的package:build/src/builder/post_process_builder.dart
  • 导入以下文件的package:build/src/builder/builder.dart
  • 导入以下文件的package:build/src/builder/build_step.dart
  • 导入以下文件的package:build/src/asset/reader.dart
  • package:glob/glob.dart导入:
  • package:glob/src/list_tree.dart导入:
  • package:glob/src/io.dart导入:
  • 导入以下文件的package:glob/src/io_export.dart
  • dart:io
通过静态分析
30 / 30

30/30 points: code has no errors, warnings, lints, or formatting issues

支持最新的依赖
10 / 20

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

  • 无法运行过时的发布: pub get失败:
Because source_gen depends on _test_annotations from path which doesn't exist (could not find package _test_annotations at "../_test_annotations"), version solving failed.

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

by  ICOPY.SITE