From 2c5621b96b56bff712b4c6dca5ec200052924c4e Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Fri, 21 Oct 2016 14:48:57 -0700 Subject: [PATCH] moved the dependency to a dev_dependency --- CHANGELOG.md | 5 ++++- lib/generators/web_angular_data.dart | 8 ++++---- lib/generators/web_simple_data.dart | 7 ++++--- lib/src/cli_app.dart | 2 +- pubspec.yaml | 2 +- templates/web-angular/pubspec.yaml | 1 + templates/web-simple/pubspec.yaml | 5 ++++- 7 files changed, 19 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ed30feb2..0fa7e88f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 1.0.16 +- Moved the `dart_to_js_script_rewriter` dependency to a dev_dependency. + ## 1.0.15 - Updated the `.analysis_options` files for all templates. @@ -7,7 +10,7 @@ - Removed the `App Engine Application` sample. ## 1.0.13 -- Updated `web-angular` to `2.0.0-beta.21` +- Updated `web-angular` to `2.0.0-beta.21`. ## 1.0.12 - Add commented-out `.analysis_options` file to all templates. diff --git a/lib/generators/web_angular_data.dart b/lib/generators/web_angular_data.dart index 31ea5614..0dc317ff 100644 --- a/lib/generators/web_angular_data.dart +++ b/lib/generators/web_angular_data.dart @@ -39,10 +39,10 @@ ZW1wbGF0ZVVybDogJ2FwcF9jb21wb25lbnQuaHRtbCcpCmNsYXNzIEFwcENvbXBvbmVudCB7fQo=""", "text", """bmFtZTogX19wcm9qZWN0TmFtZV9fCmRlc2NyaXB0aW9uOiBBIERhcnQgYXBwIHRoYXQgdXNlcyBB bmd1bGFyIDIKdmVyc2lvbjogMC4wLjEKZW52aXJvbm1lbnQ6CiAgc2RrOiAnPj0xLjE5LjAgPDIu -MC4wJwpkZXBlbmRlbmNpZXM6CiAgYW5ndWxhcjI6IDIuMC4wLWJldGEuMjEKICBicm93c2VyOiBe -MC4xMC4wCiAgZGFydF90b19qc19zY3JpcHRfcmV3cml0ZXI6IF4xLjAuMQp0cmFuc2Zvcm1lcnM6 -Ci0gYW5ndWxhcjI6CiAgICBlbnRyeV9wb2ludHM6IHdlYi9tYWluLmRhcnQKLSBkYXJ0X3RvX2pz -X3NjcmlwdF9yZXdyaXRlcgo=""", +MC4wJwpkZXBlbmRlbmNpZXM6CiAgYW5ndWxhcjI6IDIuMC4wLWJldGEuMjEKZGV2X2RlcGVuZGVu +Y2llczoKICBicm93c2VyOiBeMC4xMC4wCiAgZGFydF90b19qc19zY3JpcHRfcmV3cml0ZXI6IF4x +LjAuMQp0cmFuc2Zvcm1lcnM6Ci0gYW5ndWxhcjI6CiAgICBlbnRyeV9wb2ludHM6IHdlYi9tYWlu +LmRhcnQKLSBkYXJ0X3RvX2pzX3NjcmlwdF9yZXdyaXRlcgo=""", "web/index.html", "text", """PCFET0NUWVBFIGh0bWw+CjxodG1sPgogIDxoZWFkPgogICAgPHRpdGxlPl9fcHJvamVjdE5hbWVf diff --git a/lib/generators/web_simple_data.dart b/lib/generators/web_simple_data.dart index 5d1d5a70..af7384b6 100644 --- a/lib/generators/web_simple_data.dart +++ b/lib/generators/web_simple_data.dart @@ -62,9 +62,10 @@ ZW5lcmF0ZWQgYnkgU3RhZ2VoYW5kLiBTZWUgTElDRU5TRS4K""", """bmFtZTogJ19fcHJvamVjdE5hbWVfXycKdmVyc2lvbjogMC4wLjEKZGVzY3JpcHRpb246IEFuIGFi c29sdXRlIGJhcmUtYm9uZXMgd2ViIGFwcC4KI2F1dGhvcjogX19hdXRob3JfXyA8ZW1haWxAZXhh bXBsZS5jb20+CiNob21lcGFnZTogaHR0cHM6Ly93d3cuZXhhbXBsZS5jb20KCmVudmlyb25tZW50 -OgogIHNkazogJz49MS4wLjAgPDIuMC4wJwoKZGVwZW5kZW5jaWVzOgogIGJyb3dzZXI6ICc+PTAu -MTAuMCA8MC4xMS4wJwogIGRhcnRfdG9fanNfc2NyaXB0X3Jld3JpdGVyOiAnXjEuMC4xJwoKdHJh -bnNmb3JtZXJzOgotIGRhcnRfdG9fanNfc2NyaXB0X3Jld3JpdGVyCg==""", +OgogIHNkazogJz49MS4wLjAgPDIuMC4wJwoKI2RlcGVuZGVuY2llczoKIyAgbXlfZGVwZW5kZW5j +eTogYW55CgpkZXZfZGVwZW5kZW5jaWVzOgogIGJyb3dzZXI6ICc+PTAuMTAuMCA8MC4xMS4wJwog +IGRhcnRfdG9fanNfc2NyaXB0X3Jld3JpdGVyOiAnXjEuMC4xJwoKdHJhbnNmb3JtZXJzOgotIGRh +cnRfdG9fanNfc2NyaXB0X3Jld3JpdGVyCg==""", "web/index.html", "text", """PCFET0NUWVBFIGh0bWw+Cgo8IS0tCiAgQ29weXJpZ2h0IChjKSBfX3llYXJfXywgX19hdXRob3Jf diff --git a/lib/src/cli_app.dart b/lib/src/cli_app.dart index 32ef7847..7debf0f1 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.15'; +const String APP_VERSION = '1.0.16'; const String APP_PUB_INFO = 'https://pub.dartlang.org/packages/${APP_NAME}.json'; diff --git a/pubspec.yaml b/pubspec.yaml index 61d920c7..07325362 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.15 +version: 1.0.16 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 a7aa510a..9aaf0471 100644 --- a/templates/web-angular/pubspec.yaml +++ b/templates/web-angular/pubspec.yaml @@ -5,6 +5,7 @@ environment: sdk: '>=1.19.0 <2.0.0' dependencies: angular2: 2.0.0-beta.21 +dev_dependencies: browser: ^0.10.0 dart_to_js_script_rewriter: ^1.0.1 transformers: diff --git a/templates/web-simple/pubspec.yaml b/templates/web-simple/pubspec.yaml index dfa09160..b532307b 100644 --- a/templates/web-simple/pubspec.yaml +++ b/templates/web-simple/pubspec.yaml @@ -7,7 +7,10 @@ description: An absolute bare-bones web app. environment: sdk: '>=1.0.0 <2.0.0' -dependencies: +#dependencies: +# my_dependency: any + +dev_dependencies: browser: '>=0.10.0 <0.11.0' dart_to_js_script_rewriter: '^1.0.1'