angular_compiler 0.3.0+1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 91

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.

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

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: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+5 Feb 6, 2018 Go to the documentation of angular_compiler 0.4.0-alpha+5 Download angular_compiler 0.4.0-alpha+5 archive
0.4.0-alpha+4 Jan 18, 2018 Go to the documentation of angular_compiler 0.4.0-alpha+4 Download angular_compiler 0.4.0-alpha+4 archive
0.4.0-alpha+3 Jan 8, 2018 Go to the documentation of angular_compiler 0.4.0-alpha+3 Download angular_compiler 0.4.0-alpha+3 archive
0.4.0-alpha+2 Dec 19, 2017 Go to the documentation of angular_compiler 0.4.0-alpha+2 Download angular_compiler 0.4.0-alpha+2 archive

All 12 versions...

Analysis

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

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

  • completed on Feb 3, 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]
82 / 100
Health:
Code health derived from static analysis. [more]
100 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100 / 100
Overall score:
Weighted score of the above. [more]
91

Platforms

Detected platforms: other

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

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.

  • 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.31.0+1
args >=0.13.6 <2.0.0 1.3.0
barback ^0.15.2+2 0.15.2+14
build >=0.10.0 <0.12.0 0.11.2 0.12.0+1
collection ^1.8.0 1.14.5
glob ^1.0.0 1.1.5
logging >=0.9.0 <0.12.0 0.11.3+1
meta ^1.0.3 1.1.2
path ^1.0.0 1.5.1
source_gen ^0.7.0 0.7.4+3
Transitive dependencies
async 2.0.3
charcode 1.1.1
cli_util 0.1.2+1
convert 2.0.1
crypto 2.0.2+1
csslib 0.14.1
dart_style 1.0.9+1
front_end 0.1.0-alpha.4.1 0.1.0-alpha.8
html 0.13.2+2
isolate 1.1.0
kernel 0.3.0-alpha.1.1 0.3.0-alpha.5
package_config 1.0.3
plugin 0.2.0+2
pool 1.3.4
source_span 1.4.0
stack_trace 1.9.1
string_scanner 1.0.2
typed_data 1.1.5
utf 0.9.0+4
watcher 0.9.7+7
yaml 2.1.13
Dev dependencies
angular ^4.0.0-alpha
build_test ^0.7.1
test ^0.12.0