angular_compiler 0.3.0+1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 90

angular_compiler

Pub Package

Tooling for compiling AngularDart.

0.3.0+1

  • Support the latest pkg/build.

0.3.0

  • Always link to export "...template.dart" files in initReflector().
  • Catch missing field-formal (this.) fields and warn in the compiler.
  • Does not emit a registerDependencies function call for empty constructors.
  • initReflector() no longer treats @Pipe as an @Injectable service.

0.2.2

  • Fixed the outliner to instruct the analyzer to ignore unused imports.
  • Add NgAssetReader.

0.2.1

  • Various changes internal to the compiler.

0.2.0

  • Added various classes and helpers to form the new compile infrastructure:
    • ComponentReader
    • DependencyReader, DependencyInvocation, DependencyElement
    • ProviderReader, ProviderElement
    • TokenReader, TypeTokenElement, OpaqueTokenElement
    • getInheritanceHierarchy, urlOf
    • ReflectableReader, ReflectableOutput, ReflectableClass

0.1.1

  • Fixed a bug where flag entry_points was only allowed to be a list.

0.1.0

  • Initial commit of angular_compiler.

Use this package as a library

1. Depend on it

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


dependencies:
  angular_compiler: "^0.3.0+1"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

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

3. Import it

Now in your Dart code, you can use:


      import 'package:angular_compiler/angular_compiler.dart';
  
Version Uploaded Documentation Archive
0.3.0+1 Jan 9, 2018 Go to the documentation of angular_compiler 0.3.0+1 Download angular_compiler 0.3.0+1 archive
0.3.0 Aug 24, 2017 Go to the documentation of angular_compiler 0.3.0 Download angular_compiler 0.3.0 archive
0.2.1 Aug 15, 2017 Go to the documentation of angular_compiler 0.2.1 Download angular_compiler 0.2.1 archive
0.2.0 Aug 7, 2017 Go to the documentation of angular_compiler 0.2.0 Download angular_compiler 0.2.0 archive
0.1.1 Jul 12, 2017 Go to the documentation of angular_compiler 0.1.1 Download angular_compiler 0.1.1 archive
0.1.0 Jul 11, 2017 Go to the documentation of angular_compiler 0.1.0 Download angular_compiler 0.1.0 archive
0.4.0-alpha+15 Jun 15, 2018 Go to the documentation of angular_compiler 0.4.0-alpha+15 Download angular_compiler 0.4.0-alpha+15 archive
0.4.0-alpha+14 Jun 5, 2018 Go to the documentation of angular_compiler 0.4.0-alpha+14 Download angular_compiler 0.4.0-alpha+14 archive
0.4.0-alpha+13 May 24, 2018 Go to the documentation of angular_compiler 0.4.0-alpha+13 Download angular_compiler 0.4.0-alpha+13 archive
0.4.0-alpha+12 May 17, 2018 Go to the documentation of angular_compiler 0.4.0-alpha+12 Download angular_compiler 0.4.0-alpha+12 archive

All 22 versions...

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]
80 / 100
Health:
Code health derived from static analysis. [more]
99 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100 / 100
Overall score:
Weighted score of the above. [more]
90
Learn more about scoring.

Platforms

Detected platforms: Flutter, other

Primary library: package:angular_compiler/angular_compiler.dart with components: io, build.

Suggestions

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

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

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 8 hints.

    Run dartfmt to format lib/src/analyzer/di/component.dart.

    Run dartfmt to format lib/src/analyzer/di/providers.dart.

    Similar analysis of the following files failed:

    • lib/src/analyzer/reflector.dart (hint)
    • lib/src/analyzer/types.dart (hint)
    • lib/src/asset.dart (hint)
    • lib/src/flags.dart (hint)
    • lib/src/outliner.dart (hint)
  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use angular_compiler.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.22.0 <2.0.0
analyzer >=0.29.10 <0.31.0 0.30.0+4 0.32.1
args >=0.13.6 <2.0.0 1.4.3
barback ^0.15.2+2 0.15.2+16
build >=0.10.0 <0.12.0 0.11.2 0.12.6
collection ^1.8.0 1.14.10
glob ^1.0.0 1.1.5
logging >=0.9.0 <0.12.0 0.11.3+1
meta ^1.0.3 1.1.5
path ^1.0.0 1.6.1
source_gen ^0.7.0 0.7.5+1 0.8.2
Transitive dependencies
async 2.0.7
charcode 1.1.1
cli_util 0.1.3
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
html 0.13.3+1
isolate 1.1.0 2.0.1
kernel 0.3.0-alpha.1.1 0.3.1
package_config 1.0.3
plugin 0.2.0+2
pool 1.3.5
source_span 1.4.0
stack_trace 1.9.2
string_scanner 1.0.2
typed_data 1.1.5
utf 0.9.0+4
watcher 0.9.7+8
yaml 2.1.14
Dev dependencies
angular ^4.0.0-alpha
build_test ^0.7.1
test ^0.12.0