From 82b46574224146fcf43e345391149ab8131a7f27 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Wed, 15 Jun 2016 14:59:57 -0700 Subject: [PATCH] chore(dart pubspec.yaml): consistent baseline (#1647) --- public/docs/_examples/architecture/dart/pubspec.yaml | 5 ++++- .../_examples/attribute-directives/dart/pubspec.yaml | 5 ++++- public/docs/_examples/component-styles/dart/pubspec.yaml | 5 ++++- .../_examples/dependency-injection/dart/pubspec.yaml | 6 ++++-- public/docs/_examples/displaying-data/dart/pubspec.yaml | 5 ++++- public/docs/_examples/forms/dart/pubspec.yaml | 4 +++- .../hierarchical-dependency-injection/dart/pubspec.yaml | 5 ++++- public/docs/_examples/lifecycle-hooks/dart/pubspec.yaml | 5 +++-- public/docs/_examples/pipes/dart/pubspec.yaml | 6 ++++-- public/docs/_examples/quickstart/dart/pubspec.yaml | 9 ++++----- .../_examples/server-communication/dart/pubspec.yaml | 4 ++-- .../_examples/structural-directives/dart/pubspec.yaml | 5 ++++- public/docs/_examples/template-syntax/dart/pubspec.yaml | 3 ++- public/docs/_examples/toh-1/dart/pubspec.yaml | 6 ++++-- public/docs/_examples/toh-2/dart/pubspec.yaml | 7 +++++-- public/docs/_examples/toh-3/dart/pubspec.yaml | 7 +++++-- public/docs/_examples/toh-4/dart/pubspec.yaml | 7 +++++-- public/docs/_examples/toh-5/dart/pubspec.yaml | 6 +++--- public/docs/_examples/user-input/dart/pubspec.yaml | 5 ++++- 19 files changed, 72 insertions(+), 33 deletions(-) diff --git a/public/docs/_examples/architecture/dart/pubspec.yaml b/public/docs/_examples/architecture/dart/pubspec.yaml index 9418b2ec76..e57bde6ce6 100644 --- a/public/docs/_examples/architecture/dart/pubspec.yaml +++ b/public/docs/_examples/architecture/dart/pubspec.yaml @@ -10,6 +10,9 @@ dependencies: dart_to_js_script_rewriter: ^1.0.1 transformers: - angular2: - platform_directives: 'package:angular2/common.dart#CORE_DIRECTIVES' + 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 diff --git a/public/docs/_examples/attribute-directives/dart/pubspec.yaml b/public/docs/_examples/attribute-directives/dart/pubspec.yaml index 0472ac2166..b6fc8fb99f 100644 --- a/public/docs/_examples/attribute-directives/dart/pubspec.yaml +++ b/public/docs/_examples/attribute-directives/dart/pubspec.yaml @@ -10,6 +10,9 @@ dependencies: dart_to_js_script_rewriter: ^1.0.1 transformers: - angular2: - platform_directives: 'package:angular2/common.dart#CORE_DIRECTIVES' + 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 diff --git a/public/docs/_examples/component-styles/dart/pubspec.yaml b/public/docs/_examples/component-styles/dart/pubspec.yaml index 39769cb7e5..416256ef16 100755 --- a/public/docs/_examples/component-styles/dart/pubspec.yaml +++ b/public/docs/_examples/component-styles/dart/pubspec.yaml @@ -10,6 +10,9 @@ dependencies: dart_to_js_script_rewriter: ^1.0.1 transformers: - angular2: - platform_directives: 'package:angular2/common.dart#COMMON_DIRECTIVES' + 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 diff --git a/public/docs/_examples/dependency-injection/dart/pubspec.yaml b/public/docs/_examples/dependency-injection/dart/pubspec.yaml index 5a6661b0d1..749f4d97ea 100644 --- a/public/docs/_examples/dependency-injection/dart/pubspec.yaml +++ b/public/docs/_examples/dependency-injection/dart/pubspec.yaml @@ -10,8 +10,10 @@ 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' + 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 dev_dependencies: diff --git a/public/docs/_examples/displaying-data/dart/pubspec.yaml b/public/docs/_examples/displaying-data/dart/pubspec.yaml index f01749b0ac..eb112ebb45 100644 --- a/public/docs/_examples/displaying-data/dart/pubspec.yaml +++ b/public/docs/_examples/displaying-data/dart/pubspec.yaml @@ -10,6 +10,9 @@ dependencies: dart_to_js_script_rewriter: ^1.0.1 transformers: - angular2: - platform_directives: 'package:angular2/common.dart#CORE_DIRECTIVES' + 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 diff --git a/public/docs/_examples/forms/dart/pubspec.yaml b/public/docs/_examples/forms/dart/pubspec.yaml index 6c350a3657..78e526201f 100644 --- a/public/docs/_examples/forms/dart/pubspec.yaml +++ b/public/docs/_examples/forms/dart/pubspec.yaml @@ -11,7 +11,9 @@ dependencies: transformers: - angular2: platform_directives: - - 'package:angular2/common.dart#CORE_DIRECTIVES' + - 'package:angular2/common.dart#COMMON_DIRECTIVES' - 'package:angular2/common.dart#FORM_DIRECTIVES' + platform_pipes: + - 'package:angular2/common.dart#COMMON_PIPES' entry_points: web/main.dart - dart_to_js_script_rewriter diff --git a/public/docs/_examples/hierarchical-dependency-injection/dart/pubspec.yaml b/public/docs/_examples/hierarchical-dependency-injection/dart/pubspec.yaml index 7f4fcce629..f03e95c696 100644 --- a/public/docs/_examples/hierarchical-dependency-injection/dart/pubspec.yaml +++ b/public/docs/_examples/hierarchical-dependency-injection/dart/pubspec.yaml @@ -10,6 +10,9 @@ dependencies: dart_to_js_script_rewriter: ^1.0.1 transformers: - angular2: - platform_directives: 'package:angular2/common.dart#COMMON_DIRECTIVES' + 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 diff --git a/public/docs/_examples/lifecycle-hooks/dart/pubspec.yaml b/public/docs/_examples/lifecycle-hooks/dart/pubspec.yaml index a1e6f25956..e80ef83c72 100644 --- a/public/docs/_examples/lifecycle-hooks/dart/pubspec.yaml +++ b/public/docs/_examples/lifecycle-hooks/dart/pubspec.yaml @@ -11,7 +11,8 @@ dependencies: transformers: - angular2: platform_directives: - - 'package:angular2/common.dart#CORE_DIRECTIVES' - - 'package:angular2/common.dart#FORM_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 diff --git a/public/docs/_examples/pipes/dart/pubspec.yaml b/public/docs/_examples/pipes/dart/pubspec.yaml index ff1fc42531..e8f32d1fae 100644 --- a/public/docs/_examples/pipes/dart/pubspec.yaml +++ b/public/docs/_examples/pipes/dart/pubspec.yaml @@ -10,7 +10,9 @@ 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' + 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 diff --git a/public/docs/_examples/quickstart/dart/pubspec.yaml b/public/docs/_examples/quickstart/dart/pubspec.yaml index 1144889e3d..bfd1edd5d4 100644 --- a/public/docs/_examples/quickstart/dart/pubspec.yaml +++ b/public/docs/_examples/quickstart/dart/pubspec.yaml @@ -1,6 +1,4 @@ -# #docplaster # #docregion -# #docregion no-rewriter name: angular2_getting_started description: QuickStart version: 0.0.1 @@ -9,11 +7,12 @@ environment: dependencies: angular2: 2.0.0-beta.17 browser: ^0.10.0 -# #enddocregion no-rewriter dart_to_js_script_rewriter: ^1.0.1 -# #docregion no-rewriter transformers: - angular2: + platform_directives: + - 'package:angular2/common.dart#COMMON_DIRECTIVES' + platform_pipes: + - 'package:angular2/common.dart#COMMON_PIPES' entry_points: web/main.dart -# #enddocregion no-rewriter - dart_to_js_script_rewriter diff --git a/public/docs/_examples/server-communication/dart/pubspec.yaml b/public/docs/_examples/server-communication/dart/pubspec.yaml index 6b1e961d75..12b1164c46 100644 --- a/public/docs/_examples/server-communication/dart/pubspec.yaml +++ b/public/docs/_examples/server-communication/dart/pubspec.yaml @@ -16,10 +16,10 @@ dependencies: transformers: - angular2: platform_directives: - - 'package:angular2/common.dart#CORE_DIRECTIVES' + - 'package:angular2/common.dart#COMMON_DIRECTIVES' platform_pipes: - 'package:angular2/common.dart#COMMON_PIPES' - entry_points: 'web/main.dart' + entry_points: web/main.dart resolved_identifiers: BrowserClient: 'package:http/browser_client.dart' - dart_to_js_script_rewriter diff --git a/public/docs/_examples/structural-directives/dart/pubspec.yaml b/public/docs/_examples/structural-directives/dart/pubspec.yaml index 70e2e63855..ef3a8caa2c 100644 --- a/public/docs/_examples/structural-directives/dart/pubspec.yaml +++ b/public/docs/_examples/structural-directives/dart/pubspec.yaml @@ -10,6 +10,9 @@ dependencies: dart_to_js_script_rewriter: ^1.0.1 transformers: - angular2: - platform_directives: 'package:angular2/common.dart#CORE_DIRECTIVES' + 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 diff --git a/public/docs/_examples/template-syntax/dart/pubspec.yaml b/public/docs/_examples/template-syntax/dart/pubspec.yaml index bc7f1fc9bb..b3ca2e0c56 100644 --- a/public/docs/_examples/template-syntax/dart/pubspec.yaml +++ b/public/docs/_examples/template-syntax/dart/pubspec.yaml @@ -10,9 +10,10 @@ dependencies: dart_to_js_script_rewriter: ^1.0.1 transformers: - angular2: - platform_pipes: 'package:angular2/common.dart#COMMON_PIPES' platform_directives: - 'package:angular2/common.dart#COMMON_DIRECTIVES' - 'package:angular2/common.dart#FORM_DIRECTIVES' + platform_pipes: + - 'package:angular2/common.dart#COMMON_PIPES' entry_points: web/main.dart - dart_to_js_script_rewriter diff --git a/public/docs/_examples/toh-1/dart/pubspec.yaml b/public/docs/_examples/toh-1/dart/pubspec.yaml index 8b71851f9a..cb7ef1566c 100644 --- a/public/docs/_examples/toh-1/dart/pubspec.yaml +++ b/public/docs/_examples/toh-1/dart/pubspec.yaml @@ -1,5 +1,6 @@ # #docregion name: angular2_tour_of_heroes +description: Tour of Heroes version: 0.0.1 environment: sdk: '>=1.13.0 <2.0.0' @@ -10,7 +11,8 @@ dependencies: transformers: - angular2: platform_directives: - - package:angular2/common.dart#COMMON_DIRECTIVES + - 'package:angular2/common.dart#COMMON_DIRECTIVES' platform_pipes: - - package:angular2/common.dart#COMMON_PIPES + - 'package:angular2/common.dart#COMMON_PIPES' entry_points: web/main.dart +- dart_to_js_script_rewriter diff --git a/public/docs/_examples/toh-2/dart/pubspec.yaml b/public/docs/_examples/toh-2/dart/pubspec.yaml index 14e92eff11..cb7ef1566c 100644 --- a/public/docs/_examples/toh-2/dart/pubspec.yaml +++ b/public/docs/_examples/toh-2/dart/pubspec.yaml @@ -1,4 +1,6 @@ +# #docregion name: angular2_tour_of_heroes +description: Tour of Heroes version: 0.0.1 environment: sdk: '>=1.13.0 <2.0.0' @@ -9,7 +11,8 @@ dependencies: transformers: - angular2: platform_directives: - - package:angular2/common.dart#COMMON_DIRECTIVES + - 'package:angular2/common.dart#COMMON_DIRECTIVES' platform_pipes: - - package:angular2/common.dart#COMMON_PIPES + - 'package:angular2/common.dart#COMMON_PIPES' entry_points: web/main.dart +- dart_to_js_script_rewriter diff --git a/public/docs/_examples/toh-3/dart/pubspec.yaml b/public/docs/_examples/toh-3/dart/pubspec.yaml index 14e92eff11..cb7ef1566c 100644 --- a/public/docs/_examples/toh-3/dart/pubspec.yaml +++ b/public/docs/_examples/toh-3/dart/pubspec.yaml @@ -1,4 +1,6 @@ +# #docregion name: angular2_tour_of_heroes +description: Tour of Heroes version: 0.0.1 environment: sdk: '>=1.13.0 <2.0.0' @@ -9,7 +11,8 @@ dependencies: transformers: - angular2: platform_directives: - - package:angular2/common.dart#COMMON_DIRECTIVES + - 'package:angular2/common.dart#COMMON_DIRECTIVES' platform_pipes: - - package:angular2/common.dart#COMMON_PIPES + - 'package:angular2/common.dart#COMMON_PIPES' entry_points: web/main.dart +- dart_to_js_script_rewriter diff --git a/public/docs/_examples/toh-4/dart/pubspec.yaml b/public/docs/_examples/toh-4/dart/pubspec.yaml index 14e92eff11..cb7ef1566c 100644 --- a/public/docs/_examples/toh-4/dart/pubspec.yaml +++ b/public/docs/_examples/toh-4/dart/pubspec.yaml @@ -1,4 +1,6 @@ +# #docregion name: angular2_tour_of_heroes +description: Tour of Heroes version: 0.0.1 environment: sdk: '>=1.13.0 <2.0.0' @@ -9,7 +11,8 @@ dependencies: transformers: - angular2: platform_directives: - - package:angular2/common.dart#COMMON_DIRECTIVES + - 'package:angular2/common.dart#COMMON_DIRECTIVES' platform_pipes: - - package:angular2/common.dart#COMMON_PIPES + - 'package:angular2/common.dart#COMMON_PIPES' entry_points: web/main.dart +- dart_to_js_script_rewriter diff --git a/public/docs/_examples/toh-5/dart/pubspec.yaml b/public/docs/_examples/toh-5/dart/pubspec.yaml index 1cc1f689e9..cb7ef1566c 100644 --- a/public/docs/_examples/toh-5/dart/pubspec.yaml +++ b/public/docs/_examples/toh-5/dart/pubspec.yaml @@ -1,6 +1,6 @@ # #docregion name: angular2_tour_of_heroes -description: Tour of Heroes 5 +description: Tour of Heroes version: 0.0.1 environment: sdk: '>=1.13.0 <2.0.0' @@ -11,8 +11,8 @@ dependencies: transformers: - angular2: platform_directives: - - package:angular2/common.dart#COMMON_DIRECTIVES + - 'package:angular2/common.dart#COMMON_DIRECTIVES' platform_pipes: - - package:angular2/common.dart#COMMON_PIPES + - 'package:angular2/common.dart#COMMON_PIPES' entry_points: web/main.dart - dart_to_js_script_rewriter diff --git a/public/docs/_examples/user-input/dart/pubspec.yaml b/public/docs/_examples/user-input/dart/pubspec.yaml index 6c18ff599b..ea7da2d84f 100644 --- a/public/docs/_examples/user-input/dart/pubspec.yaml +++ b/public/docs/_examples/user-input/dart/pubspec.yaml @@ -10,6 +10,9 @@ dependencies: dart_to_js_script_rewriter: ^1.0.1 transformers: - angular2: - platform_directives: 'package:angular2/common.dart#CORE_DIRECTIVES' + 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