diff --git a/CHANGELOG.md b/CHANGELOG.md index 5204205a..69a2a3a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 1.0.18 +- Added platform_directives & platform_pipes back to the `web-angular` pubspec. + ## 1.0.17 - Updated `web-angular` to `^2.0.0`. diff --git a/lib/generators/web_angular_data.dart b/lib/generators/web_angular_data.dart index 06c604be..092ed23b 100644 --- a/lib/generators/web_angular_data.dart +++ b/lib/generators/web_angular_data.dart @@ -41,8 +41,11 @@ ZW1wbGF0ZVVybDogJ2FwcF9jb21wb25lbnQuaHRtbCcpCmNsYXNzIEFwcENvbXBvbmVudCB7fQo=""", bmd1bGFyIDIKdmVyc2lvbjogMC4wLjEKZW52aXJvbm1lbnQ6CiAgc2RrOiAnPj0xLjE5LjAgPDIu MC4wJwpkZXBlbmRlbmNpZXM6CiAgYW5ndWxhcjI6IF4yLjAuMApkZXZfZGVwZW5kZW5jaWVzOgog IGJyb3dzZXI6IF4wLjEwLjAKICBkYXJ0X3RvX2pzX3NjcmlwdF9yZXdyaXRlcjogXjEuMC4xCnRy -YW5zZm9ybWVyczoKLSBhbmd1bGFyMjoKICAgIGVudHJ5X3BvaW50czogd2ViL21haW4uZGFydAot -IGRhcnRfdG9fanNfc2NyaXB0X3Jld3JpdGVyCg==""", +YW5zZm9ybWVyczoKLSBhbmd1bGFyMjoKICAgIHBsYXRmb3JtX2RpcmVjdGl2ZXM6CiAgICAtICdw +YWNrYWdlOmFuZ3VsYXIyL2NvbW1vbi5kYXJ0I0NPTU1PTl9ESVJFQ1RJVkVTJwogICAgcGxhdGZv +cm1fcGlwZXM6CiAgICAtICdwYWNrYWdlOmFuZ3VsYXIyL2NvbW1vbi5kYXJ0I0NPTU1PTl9QSVBF +UycKICAgIGVudHJ5X3BvaW50czogd2ViL21haW4uZGFydAotIGRhcnRfdG9fanNfc2NyaXB0X3Jl +d3JpdGVyCg==""", "web/index.html", "text", """PCFET0NUWVBFIGh0bWw+CjxodG1sPgogIDxoZWFkPgogICAgPHRpdGxlPl9fcHJvamVjdE5hbWVf diff --git a/lib/src/cli_app.dart b/lib/src/cli_app.dart index 1bdaeb92..3dbfae79 100644 --- a/lib/src/cli_app.dart +++ b/lib/src/cli_app.dart @@ -17,7 +17,7 @@ import 'package:usage/usage_io.dart'; const String APP_NAME = 'stagehand'; // This version must be updated in tandem with the pubspec version. -const String APP_VERSION = '1.0.17'; +const String APP_VERSION = '1.0.18'; const String APP_PUB_INFO = 'https://pub.dartlang.org/packages/${APP_NAME}.json'; diff --git a/pubspec.yaml b/pubspec.yaml index 5fc826c7..f28d26e7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,7 +4,7 @@ name: stagehand # When changing this version, change the lib/src/cli_app.dart version as well. -version: 1.0.17 +version: 1.0.18 description: > A scaffolding generator for your Dart projects. Stagehand helps you get set up! diff --git a/templates/web-angular/pubspec.yaml b/templates/web-angular/pubspec.yaml index 03b22b5d..e8564470 100644 --- a/templates/web-angular/pubspec.yaml +++ b/templates/web-angular/pubspec.yaml @@ -10,5 +10,9 @@ dev_dependencies: dart_to_js_script_rewriter: ^1.0.1 transformers: - angular2: + platform_directives: + - 'package:angular2/common.dart#COMMON_DIRECTIVES' + platform_pipes: + - 'package:angular2/common.dart#COMMON_PIPES' entry_points: web/main.dart - dart_to_js_script_rewriter