[flutter.dev/go/pub-workspace](http://flutter.dev/go/pub-workspace) Sub-tasks: * [x] accept `workspace` and `resolution` top-level fields in pubspec.yaml for a future language version * [x] resolve all dependencies in workspace together. * [x] find the workspace taking CWD and `resolution` annotations into account (https://github.com/dart-lang/pub/pull/4186) * [x] Create 'https://dart.dev/go/pub-workspaces' (https://github.com/dart-lang/site-www/pull/5661) * [x] dart-lang/site-www#5891 (Also Point 'https://dart.dev/go/pub-workspaces' to actual documentation) * [x] delete existing lockfiles and package config files of `resolution:workspace` when resolving workspace. (https://github.com/dart-lang/pub/pull/4194) * [x] Handle workspace projects included twice. * [x] dart-lang/pub#4239 * [x] `pub upgrade --major-versions` support for upgrading versions in whole workspace https://github.com/dart-lang/pub/pull/4213 * [x] `pub add`/`pub remove` support for adding and removing dependencies to a member of a workspace (https://github.com/dart-lang/pub/pull/4196) * [x] `pub deps` support for showing dependencies for a whole workspace * [x] dart-lang/pub#4250 * [x] dart-lang/pub#4290 * [x] dart-lang/pub#4291 * [x] Adjust the accepted language version to be upcoming release https://github.com/dart-lang/pub/pull/4226 * [x] Messages from version resolution conflicts -- at-least that these messages are sane. * [x] dart-lang/pub#4234 * [x] dart-lang/pub#4233 * [x] dart-lang/pub#4248 * [x] Don't print 'Resolving dependencies in `../..`...' Use absolute path instead. https://github.com/dart-lang/pub/pull/4231 * [x] dart-lang/pub#4237 * [x] dart-lang/pub#4252 For later: * #4317 * https://github.com/dart-lang/pub/issues/4391
flutter.dev/go/pub-workspace
Sub-tasks:
workspaceandresolutiontop-level fields in pubspec.yaml for a future language versionresolutionannotations into account (Resolve workspace root and workPackage when invoking pub from any sub-directory #4186)resolution:workspacewhen resolving workspace. (Remove stray lockfiles and packageconfigs from workspace #4194)ensureUptodateprocedure to handle workspaces #4239pub upgrade --major-versionssupport for upgrading versions in whole workspace Handle whole workspace inpub upgrade [--tighten|--major-versions]#4213pub add/pub removesupport for adding and removing dependencies to a member of a workspace (Let add and remove act upon the work pubspec #4196)pub depssupport for showing dependencies for a whole workspacepub outdatedsupport for showing outdated dependencies for whole workspace #4250../.....' Use absolute path instead. Don't print 'Resolving dependencies in../.....' Use absolute path instead #4231pub publishworks in workspace. #4252For later: