generator_plus 0.0.2

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 45

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

1. Depend on it

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


dependencies:
  generator_plus: "^0.0.2"

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 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

This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • tool failures on Feb 24, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
10 / 100
Health:
Code health derived from static analysis. [more]
79 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
81 / 100
Overall score:
Weighted score of the above. [more]
45

Platforms

Detected platforms: other

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

Suggestions

  • Fix lib/src/generators/utils/sequencer.dart.

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

    line: 131 col: 12
    The getter 'interactionsHandler' isn't defined for the class 'GenerationStep<T>'.

  • Fix lib/src/generation/fileProcessorAnnotations/base.dart.

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

    line: 17 col: 3
    The element type 'GenerationBefore' can't be assigned to the list type 'FileProcessorAnnotationSubmodule'.

  • Fix further 7 Dart files.

    Similar analysis of the following files failed:

    • lib/src/generation/fileProcessorAnnotations/generationAfter.dart
    • lib/src/generation/fileProcessorAnnotations/variableAssignment.dart
    • lib/src/generation/fileProcessorAnnotations/generationBefore.dart
    • lib/src/generation/file_processor.dart
    • lib/src/generation/dependency.dart
    • lib/src/generation/new_file.dart
    • lib/src/analysis.dart
  • Fix issues reported by dartanalyzer.

    dartanalyzer reported 3 error(s) and 0 warning(s).

  • Use constrained dependencies.

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

  • 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.31.1
args >=0.13.0 <2.0.0 1.4.1
console >=2.2.4 <3.0.0 2.2.4
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.0
mustache_recase ^1.0.0 1.0.2
path >=1.4.1 <2.0.0 1.5.1
pen_api ^0.1.2 0.1.2
pub_semver ^1.3.2 1.3.2
recase >=1.0.0 <2.0.0 1.0.0+1
source_gen ^0.7.2 0.7.5+1
Transitive dependencies
async 2.0.3 2.0.4
barback 0.15.2+14
build 0.12.0+1
charcode 1.1.1
cli_util 0.1.2+1
collection 1.14.5
contrast 0.1.1
convert 2.0.1
crypto 2.0.2+1
csslib 0.14.1
dart_style 1.0.9+1 1.0.10
front_end 0.1.0-alpha.4.1 0.1.0-alpha.10
github 3.0.2
glob 1.1.5
html 0.13.2+2
http 0.11.3+16
http_parser 3.1.1
isolate 1.1.0
kernel 0.3.0-alpha.1.1 0.3.0-alpha.10
markdown 0.11.4 1.1.1
matcher 0.12.1+4
meta 1.1.2
package_config 1.0.3
petitparser 1.7.0
plugin 0.2.0+2
pool 1.3.4
pub_package_data 0.0.1
quiver 0.22.0 0.28.0
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.5
watcher 0.9.7+7
when 0.2.0
which 0.1.3
xml 2.6.0 3.0.0-alpha
yaml 2.1.13
Dev dependencies
test >=0.12.20+13 <0.13.0