Update some places that mentioned the old update-packages --upgrade (#12218)
This commit is contained in:
@@ -182,12 +182,15 @@ class PackageDependencyTracker {
|
||||
message.writeln('Make sure you have run "pub upgrade" in all the directories mentioned above.');
|
||||
if (dependencies.hasConflictsAffectingFlutterRepo) {
|
||||
message.writeln(
|
||||
'For packages in the flutter repository, try using '
|
||||
'"flutter update-packages --upgrade" to do all of them at once.');
|
||||
'For packages in the flutter repository, try using "flutter update-packages" to do all of them at once.\n'
|
||||
'If you need to actually upgrade them, consider "flutter update-packages --force-upgrade". '
|
||||
'(This will update your pubspec.yaml files as well, so you may wish to do this on a separate branch.)'
|
||||
);
|
||||
}
|
||||
message.write(
|
||||
'If this does not help, to track down the conflict you can use '
|
||||
'"pub deps --style=list" and "pub upgrade --verbosity=solver" in the affected directories.');
|
||||
'If this does not help, to track down the conflict you can use '
|
||||
'"pub deps --style=list" and "pub upgrade --verbosity=solver" in the affected directories.'
|
||||
);
|
||||
throwToolExit(message.toString());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@ environment:
|
||||
sdk: '>=1.19.0 <2.0.0'
|
||||
|
||||
dependencies:
|
||||
# To update these, use "flutter update-packages --force-upgrade".
|
||||
archive: 1.0.31
|
||||
args: 0.13.7
|
||||
cli_util: 0.1.2+1
|
||||
@@ -34,16 +35,13 @@ dependencies:
|
||||
yaml: 2.1.12
|
||||
|
||||
# We depend on very specific internal implementation details of the
|
||||
# 'test' package, which change between versions, so here we pin it
|
||||
# precisely. When changing this, also update the pubspec.yaml files
|
||||
# for the flutter_test and devicelab packages. All other packages
|
||||
# should depend on flutter_test to transitively get the pinned
|
||||
# version.
|
||||
# 'test' package, which change between versions, so when upgrading
|
||||
# this, make sure the tests are still running correctly.
|
||||
test: 0.12.24+2
|
||||
|
||||
# Version from the vended Dart SDK as defined in `dependency_overrides`.
|
||||
analyzer: 0.31.0-alpha.0
|
||||
front_end: 0.1.0-alpha.5
|
||||
analyzer: any
|
||||
front_end: any
|
||||
|
||||
dev_dependencies:
|
||||
collection: 1.14.3
|
||||
|
||||
Reference in New Issue
Block a user