Reland "Migrate to use pub workspace"

This is a reland of commit b9b77058a9

Original change's description:
> Migrate to use pub workspace
>
> Use `pub get` to generate `.dart_tool/package_config.json` on gclient sync.
>
> All pkg/ (and a few third_party) packages that are developed inside the sdk repo are included in the workspace from the root `pubspec.yaml`.
>
> All dependencies that are pulled in via DEPS are added as path dependencies via `dependency_overrides` in the root `pubspec.yaml`.
>
> Bug: https://github.com/dart-lang/sdk/issues/56220
> Change-Id: I38c12b608c68da54c57821116cf9aa6696936746
> Tested: relies on CQ of existing tests. Should have no effect on functionality
> CoreLibraryReviewExempt: only core library change is adding a `// ignore:` comment. Should have no influence on functionality
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/397164
> Commit-Queue: Sigurd Meldgaard <sigurdm@google.com>
> Reviewed-by: Alexander Thomas <athom@google.com>

Bug: https://github.com/dart-lang/sdk/issues/56220
Change-Id: I29afabade2d2447dea05121cb87ff50bb21a4b76
Cq-Include-Trybots: luci.dart.try:flutter-linux-try,flutter-web-try
Tested: relies on CQ of existing tests. Should have no effect on functionality
CoreLibraryReviewExempt: only core library change is adding a `//
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/415561
Commit-Queue: Sigurd Meldgaard <sigurdm@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
This commit is contained in:
Sigurd Meldgaard
2025-03-20 06:19:16 -07:00
committed by Commit Queue
parent 05fc6bd253
commit 2fe05bd568
75 changed files with 544 additions and 817 deletions
+2 -119
View File
@@ -5,6 +5,8 @@ publish_to: none
environment:
sdk: ^3.5.0
resolution: workspace
# Use 'any' constraints here; we get our versions from the DEPS file.
dependencies:
@@ -12,122 +14,3 @@ dependencies:
dev_dependencies:
lints: any
dependency_overrides:
_fe_analyzer_shared:
path: ../_fe_analyzer_shared
analyzer:
path: ../analyzer
analyzer_plugin:
path: ../analyzer_plugin
analyzer_utilities:
path: ../analyzer_utilities
args:
path: ../../third_party/pkg/args
async:
path: ../../third_party/pkg/async
boolean_selector:
path: ../../third_party/pkg/boolean_selector
cli_util:
path: ../../third_party/pkg/cli_util
clock:
path: ../../third_party/pkg/clock
collection:
path: ../../third_party/pkg/collection
convert:
path: ../../third_party/pkg/convert
crypto:
path: ../../third_party/pkg/crypto
dart_style:
path: ../../third_party/pkg/dart_style
file:
path: ../../third_party/pkg/file/packages/file
frontend_server_client:
path: ../../third_party/pkg/webdev/frontend_server_client
glob:
path: ../../third_party/pkg/glob
http:
path: ../../third_party/pkg/http/pkgs/http
http_multi_server:
path: ../../third_party/pkg/http_multi_server
http_parser:
path: ../../third_party/pkg/http_parser
intl:
path: ../../third_party/pkg/intl
js:
path: ../js
language_server_protocol:
path: ../../third_party/pkg/language_server_protocol
linter:
path: ../linter
lints:
path: ../../third_party/pkg/lints
logging:
path: ../../third_party/pkg/logging
matcher:
path: ../../third_party/pkg/matcher
memory_usage:
path: ../../third_party/pkg/leak_tracker/pkgs/memory_usage
meta:
path: ../meta
mime:
path: ../../third_party/pkg/tools/pkgs/mime
package_config:
path: ../../third_party/pkg/package_config
path:
path: ../../third_party/pkg/path
pool:
path: ../../third_party/pkg/pool
pub_semver:
path: ../../third_party/pkg/pub_semver
shelf:
path: ../../third_party/pkg/shelf/pkgs/shelf
shelf_packages_handler:
path: ../../third_party/pkg/shelf/pkgs/shelf_packages_handler
shelf_static:
path: ../../third_party/pkg/shelf/pkgs/shelf_static
shelf_web_socket:
path: ../../third_party/pkg/shelf/pkgs/shelf_web_socket
source_map_stack_trace:
path: ../../third_party/pkg/tools/pkgs/source_map_stack_trace
source_maps:
path: ../../third_party/pkg/source_maps
source_span:
path: ../../third_party/pkg/source_span
stack_trace:
path: ../../third_party/pkg/stack_trace
stream_channel:
path: ../../third_party/pkg/stream_channel
string_scanner:
path: ../../third_party/pkg/string_scanner
telemetry:
path: ../telemetry
term_glyph:
path: ../../third_party/pkg/term_glyph
test:
path: ../../third_party/pkg/test/pkgs/test
test_api:
path: ../../third_party/pkg/test/pkgs/test_api
test_core:
path: ../../third_party/pkg/test/pkgs/test_core
test_descriptor:
path: ../../third_party/pkg/test_descriptor
test_reflective_loader:
path: ../../third_party/pkg/test_reflective_loader
typed_data:
path: ../../third_party/pkg/typed_data
unified_analytics:
path: ../../third_party/pkg/tools/pkgs/unified_analytics
usage:
path: ../../third_party/pkg/usage
vm_service:
path: ../vm_service
watcher:
path: ../../third_party/pkg/watcher
web_socket_channel:
path: ../../third_party/pkg/web_socket_channel
webkit_inspection_protocol:
path: ../../third_party/pkg/webkit_inspection_protocol
yaml:
path: ../../third_party/pkg/yaml
yaml_edit:
path: ../../third_party/pkg/yaml_edit