generator_plus 0.0.2+1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 40

Generator+ logo

generator-plus

todos:

  • [ ] Files constraint controller watcher daemon
  • [ ] Directory locked for creation (forces use of X generator)
  • [ ] Certain lines must be filled with code.
  • [ ] Lines hidden by default and lazily deleted when filled (i.e. throw Execption("Failing because of method not implemented"))
  • [ ] Lines of code locked from changes

Changelog

0.0.2

  • Updated pubspec.yaml constraints and adapted code for it

0.0.1

  • Initial version, created by Stagehand

Use this package as an executable

1. Install it

You can install the package from the command line:


$ pub global activate generator_plus

2. Use it

The package has the following executables:


$ generator-plus

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  generator_plus: "^0.0.2+1"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


      import 'package:generator_plus/generator_plus.dart';
  
Version Uploaded Documentation Archive
0.0.2+1 Feb 25, 2018 Go to the documentation of generator_plus 0.0.2+1 Download generator_plus 0.0.2+1 archive
0.0.2 Jan 29, 2018 Go to the documentation of generator_plus 0.0.2 Download generator_plus 0.0.2 archive
0.0.1 Nov 6, 2017 Go to the documentation of generator_plus 0.0.1 Download generator_plus 0.0.1 archive

Analysis

We analyzed this package on Jun 19, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0 / 100
Health:
Code health derived from static analysis. [more]
78 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
82 / 100
Overall score:
Weighted score of the above. [more]
40
Learn more about scoring.

Platforms

Detected platforms: other

Primary library: package:generator_plus/generator_plus.dart with components: io, isolate, mirrors.

Suggestions

  • Use constrained dependencies.

    The pubspec.yaml contains 1 dependency without version constraints. Specify version ranges for the following dependencies: legit.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 25 errors 53 hints.

    Strong-mode analysis of lib/src/analysis.dart failed with the following error:

    line: 21 col: 52
    The getter 'variables' isn't defined for the class 'SyntacticEntity'.

    Strong-mode analysis of lib/src/generation/dependency.dart failed with the following error:

    line: 23 col: 3
    Invalid override. The type of 'Dependency.==' ('(Dependency) → bool') isn't a subtype of 'Object.==' ('(dynamic) → bool').

    Similar analysis of the following files failed:

    • lib/src/generation/fileProcessorAnnotations/base.dart (error)
    • lib/src/generation/fileProcessorAnnotations/generationAfter.dart (error)
    • lib/src/generation/fileProcessorAnnotations/generationBefore.dart (error)
    • lib/src/generation/fileProcessorAnnotations/variableAssignment.dart (error)
    • lib/src/generation/file_processor.dart (error)
    • lib/src/generation/new_file.dart (error)
    • lib/src/generators/base.dart (error)
    • lib/src/generators/utils/sequencer.dart (error)
    • lib/annotations.dart (hint)
    • lib/generator_plus_cli.dart (hint)
    • lib/src/cli/generator_runner.dart (hint)
    • lib/src/cli/interactions/base.dart (hint)
    • lib/src/cli/interactions/confirmation.dart (hint)
    • lib/src/cli/interactions/selection.dart (hint)
    • lib/src/common.dart (hint)
    • lib/src/generation/base.dart (hint)
    • lib/src/generation/new_dir.dart (hint)
    • lib/src/generator_base.dart (hint)
    • lib/src/generators/annotations.dart (hint)
    • lib/src/generators/generators.dart (hint)
    • lib/src/generators/utils/interaction_module.dart (hint)
    • lib/src/generators/utils/template_utils.dart (hint)
    • lib/src/generators/utils/variables_resolver.dart (hint)
    • lib/src/templates/init/tool/generator+/generators/annotation_generation.dart (hint)
  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use generator_plus.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.8.0 <2.0.0
analyzer >=0.30.0+2 <0.31.0 0.30.0+4 0.32.1
args >=0.13.0 <2.0.0 1.4.3
console >=2.2.4 <3.0.0 2.2.4 3.0.0
dart_config >=0.5.0 <0.6.0 0.5.0
diff >=0.1.1 <0.2.0 0.1.1
legit 0.1.1
logging >=0.11.3+1 <0.12.0 0.11.3+1
mustache >=1.0.0 <2.0.0 1.0.1
mustache_recase ^1.0.0 1.0.2
path >=1.4.1 <2.0.0 1.6.1
pen_api ^0.1.2 0.1.2
pub_semver ^1.3.2 1.4.1
recase >=1.0.0 <2.0.0 1.0.0+1
source_gen ^0.7.2 0.7.5+1 0.8.2
Transitive dependencies
async 2.0.7
barback 0.15.2+16
build 0.12.6
charcode 1.1.1
cli_util 0.1.3
collection 1.14.10
contrast 0.1.1
convert 2.0.1
crypto 2.0.5
csslib 0.14.4
dart_style 1.0.9+1 1.1.0
front_end 0.1.0-alpha.4.1 0.1.1
github 3.0.2
glob 1.1.5
html 0.13.3+1
http 0.11.3+16
http_parser 3.1.2
isolate 1.1.0 2.0.1
kernel 0.3.0-alpha.1.1 0.3.1
markdown 0.11.4 2.0.0
matcher 0.12.3
meta 1.1.5
package_config 1.0.3
petitparser 1.7.6
plugin 0.2.0+2
pool 1.3.5
pub_package_data 0.0.1
quiver 0.22.0 0.29.0+1
source_span 1.4.0
stack_trace 1.9.2
string_scanner 1.0.2
typed_data 1.1.5
unittest 0.11.7 0.12.4+1
utf 0.9.0+4
vector_math 1.4.7 2.0.7
watcher 0.9.7+8
when 0.2.0
which 0.1.3
xml 2.6.0 3.0.0
yaml 2.1.14
Dev dependencies
test >=0.12.20+13 <0.13.0