Add dependency overrides for pkg/analysis_server

These dependency overrides prevent pub from getting confused about the
fact that our SDK development is in a mono-repo; that in turn will
allow unit tests to be run from inside vscode using the standard test
integration (see https://github.com/Dart-Code/Dart-Code/issues/4502).

Change-Id: I8ea709984b03927e67f119d147338203d7e80811
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/296980
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
This commit is contained in:
Paul Berry 2023-04-21 18:43:33 +00:00 committed by Commit Queue
parent 79d133ab3a
commit 3516c86ae5

View file

@ -37,3 +37,119 @@ dev_dependencies:
matcher: any
test_descriptor: any
test_reflective_loader: 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
linter:
path: ../../third_party/pkg/linter
lints:
path: ../../third_party/pkg/lints
logging:
path: ../../third_party/pkg/logging
matcher:
path: ../../third_party/pkg/matcher
meta:
path: ../meta
mime:
path: ../../third_party/pkg/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/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