From 65b36f131de92d72e3de39e45e252d27b02775d0 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Fri, 8 Apr 2016 10:08:13 -0700 Subject: [PATCH] Remove pub package version skew (#3212) We need to pin the version of package:analyzer we use to avoid version skew within our project. --- packages/cassowary/pubspec.yaml | 5 ++--- packages/flutter_markdown/pubspec.yaml | 3 --- packages/flutter_sprites/pubspec.yaml | 5 ++--- packages/flutter_test/pubspec.yaml | 4 ++++ packages/flutter_tools/pubspec.yaml | 5 +++-- packages/flx/pubspec.yaml | 5 ++--- packages/newton/pubspec.yaml | 5 ++--- packages/playfair/pubspec.yaml | 5 ++--- 8 files changed, 17 insertions(+), 20 deletions(-) diff --git a/packages/cassowary/pubspec.yaml b/packages/cassowary/pubspec.yaml index 865b5acb74..72d5cf58e7 100644 --- a/packages/cassowary/pubspec.yaml +++ b/packages/cassowary/pubspec.yaml @@ -6,6 +6,5 @@ homepage: https://github.com/flutter/flutter/tree/master/packages/cassowary environment: sdk: '>=1.0.0 <2.0.0' dev_dependencies: - flutter_tools: - path: ../flutter_tools - test: any # constrained by the dependency in flutter_tools + flutter_test: + path: ../flutter_test diff --git a/packages/flutter_markdown/pubspec.yaml b/packages/flutter_markdown/pubspec.yaml index 2a85b010a6..0eb55b3dbd 100644 --- a/packages/flutter_markdown/pubspec.yaml +++ b/packages/flutter_markdown/pubspec.yaml @@ -11,8 +11,5 @@ dependencies: string_scanner: "0.1.4+1" dev_dependencies: - flutter_tools: - path: ../flutter_tools - test: any # constrained by the dependency in flutter_tools flutter_test: path: ../flutter_test diff --git a/packages/flutter_sprites/pubspec.yaml b/packages/flutter_sprites/pubspec.yaml index 4cbe1f5927..57b6ac7952 100644 --- a/packages/flutter_sprites/pubspec.yaml +++ b/packages/flutter_sprites/pubspec.yaml @@ -10,6 +10,5 @@ dependencies: path: ../flutter dev_dependencies: - flutter_tools: - path: ../flutter_tools - test: any # constrained by the dependency in flutter_tools + flutter_test: + path: ../flutter_test diff --git a/packages/flutter_test/pubspec.yaml b/packages/flutter_test/pubspec.yaml index 2a44c3ea71..5c55261917 100644 --- a/packages/flutter_test/pubspec.yaml +++ b/packages/flutter_test/pubspec.yaml @@ -2,5 +2,9 @@ name: flutter_test dependencies: test: 0.12.13 quiver: ^0.21.4 + + # Not needed directly but transitively included due to package:test. + analyzer: 0.27.2 + flutter: path: ../flutter diff --git a/packages/flutter_tools/pubspec.yaml b/packages/flutter_tools/pubspec.yaml index 292085adf3..a3a50b2834 100644 --- a/packages/flutter_tools/pubspec.yaml +++ b/packages/flutter_tools/pubspec.yaml @@ -8,7 +8,6 @@ environment: sdk: '>=1.12.0 <2.0.0' dependencies: - analyzer: '>=0.26.1+17' # see note below archive: ^1.0.20 args: ^0.13.4 crypto: 0.9.2 @@ -20,13 +19,15 @@ dependencies: path: ^1.3.0 pub_semver: ^1.0.0 stack_trace: ^1.4.0 - test: 0.12.13 # see note below yaml: ^2.1.3 xml: ^2.4.1 flx: path: ../flx + test: 0.12.13 # see note below + analyzer: '0.27.2' # see note below + # A note about 'test': # We depend on very specific internal implementation details of the # 'test' package, which change between versions, so here we pin it diff --git a/packages/flx/pubspec.yaml b/packages/flx/pubspec.yaml index 55aa532704..c4d84278f2 100644 --- a/packages/flx/pubspec.yaml +++ b/packages/flx/pubspec.yaml @@ -13,9 +13,8 @@ environment: sdk: '>=1.12.0 <2.0.0' dev_dependencies: - flutter_tools: - path: ../flutter_tools - test: any # constrained by the dependency in flutter_tools + flutter_test: + path: ../flutter_test # Exclude this package from the hosted API docs. dartdoc: diff --git a/packages/newton/pubspec.yaml b/packages/newton/pubspec.yaml index de85874931..4c27dd1520 100644 --- a/packages/newton/pubspec.yaml +++ b/packages/newton/pubspec.yaml @@ -6,6 +6,5 @@ homepage: https://github.com/flutter/flutter/tree/master/packages/newton environment: sdk: '>=1.0.0 <2.0.0' dev_dependencies: - flutter_tools: - path: ../flutter_tools - test: any # constrained by the dependency in flutter_tools + flutter_test: + path: ../flutter_test diff --git a/packages/playfair/pubspec.yaml b/packages/playfair/pubspec.yaml index 58c7311629..9bce5f4123 100644 --- a/packages/playfair/pubspec.yaml +++ b/packages/playfair/pubspec.yaml @@ -9,9 +9,8 @@ dependencies: path: ../flutter dev_dependencies: - flutter_tools: - path: ../flutter_tools - test: any # constrained by the dependency in flutter_tools + flutter_test: + path: ../flutter_test environment: sdk: '>=1.12.0 <2.0.0'