Allow pub get/upgrade to run on a number of packages in pkg/

Zero runtime affect to these unpublished packages
Allows using standard tools such as dart test, etc
Also allows better checking of dependency constraints

TEST=no effect on SDK build process

Change-Id: Ic6fbe6ce8f57724a87c058eccad64ce8e7473af1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/218180
Auto-Submit: Kevin Moore <kevmoo@google.com>
Reviewed-by: Devon Carew <devoncarew@google.com>
This commit is contained in:
Kevin Moore
2021-10-27 23:15:56 +00:00
committed by commit-bot@chromium.org
parent 6c6dd13b14
commit 83286de2a8
7 changed files with 49 additions and 35 deletions
+5 -2
View File
@@ -6,7 +6,10 @@ environment:
sdk: '>=2.12.0 <3.0.0'
dependencies:
_fe_analyzer_shared:
path: ../_fe_analyzer_shared
_fe_analyzer_shared: any
kernel:
path: ../kernel
dependency_overrides:
_fe_analyzer_shared:
path: ../_fe_analyzer_shared
+1 -2
View File
@@ -9,6 +9,7 @@ environment:
# NOTE: `pub get / pub upgrade` are generally not needed when working on this
# package. The `.packages` file in the repository root will be used by default.
dependencies:
_fe_analyzer_shared: any
# Published packages - repo version ensured via dependency_overrides
collection: any
crypto: any
@@ -20,8 +21,6 @@ dependencies:
path: ../kernel
# Unpublished packages that can be used via path dependency
_fe_analyzer_shared:
path: ../_fe_analyzer_shared
_js_interop_checks:
path: ../_js_interop_checks
js_ast:
+16 -10
View File
@@ -6,8 +6,7 @@ environment:
sdk: '>=2.12.0 <3.0.0'
dependencies:
_fe_analyzer_shared:
path: ../_fe_analyzer_shared
_fe_analyzer_shared: any
_js_interop_checks:
path: ../_js_interop_checks
args: any
@@ -21,8 +20,7 @@ dependencies:
path: ../front_end
kernel:
path: ../kernel
meta:
path: ../meta
meta: any
path: any
pedantic: ^1.11.0
source_maps: any
@@ -32,18 +30,15 @@ dev_dependencies:
browser_launcher: ^1.0.0
expect:
path: ../expect
http_multi_server:
path: ../../third_party/pkg/http_multi_server
js:
path: ../js
http_multi_server: any
js: any
modular_test:
path: ../modular_test
package_config: any
sourcemap_testing:
path: ../sourcemap_testing
stack_trace: any
shelf:
path: ../../third_party/pkg/shelf
shelf: any
test: any
testing:
path: ../testing
@@ -51,3 +46,14 @@ dev_dependencies:
path: ../vm
webkit_inspection_protocol: ^1.0.0
dependency_overrides:
_fe_analyzer_shared:
path: ../_fe_analyzer_shared
js:
path: ../js
meta:
path: ../meta
shelf:
path: ../../third_party/pkg/shelf
http_multi_server:
path: ../../third_party/pkg/http_multi_server
+5 -2
View File
@@ -12,5 +12,8 @@ environment:
sdk: '>=2.12.0 <3.0.0'
dependencies:
meta:
path: ../meta
meta: any
dependency_overrides:
meta:
path: ../meta
+19 -13
View File
@@ -9,37 +9,43 @@ environment:
sdk: '>=2.13.0 <3.0.0'
dependencies:
_fe_analyzer_shared:
path: ../_fe_analyzer_shared
_fe_analyzer_shared: any
kernel:
path: ../kernel
package_config:
path: ../../third_party/pkg_tested/package_config
package_config: any
dev_dependencies:
analyzer:
path: ../analyzer
args: '>=0.13.0 <2.0.0'
analyzer: any
args: ^2.0.0
async_helper:
path: ../async_helper
build_integration:
path: ../build_integration
compiler:
path: ../compiler
dart_style: '^1.0.7'
dart_style: ^2.0.0
dev_compiler:
path: ../dev_compiler
expect:
path: ../expect
json_rpc_2: ^2.0.9
path: '^1.3.9'
json_rpc_2: ^3.0.0
path: ^1.3.9
test: ^1.3.4
testing:
path: ../testing
test_reflective_loader: ^0.1.0
test_reflective_loader: ^0.2.0
vm:
path: ../vm
vm_service: any
web_socket_channel: ^2.0.0
yaml: any
dependency_overrides:
analyzer:
path: ../analyzer
_fe_analyzer_shared:
path: ../_fe_analyzer_shared
package_config:
path: ../../third_party/pkg_tested/package_config
vm_service:
path: ../vm_service
web_socket_channel: ^1.0.4
yaml: any
+2 -1
View File
@@ -5,7 +5,8 @@ environment:
sdk: "^2.12.0"
dependencies:
path: "^1.4.0"
args: "^1.4.4"
args: ^2.0.0
dev_dependencies:
expect:
path: ../expect
+1 -5
View File
@@ -7,7 +7,7 @@ environment:
sdk: '>=2.12.0 <3.0.0'
dependencies:
args: ^1.4.4
args: ^2.0.0
build_integration:
path: ../build_integration
crypto: any
@@ -25,7 +25,3 @@ dev_dependencies:
path: any
test: any
web_socket_channel: any
dependency_overrides:
front_end:
path: ../front_end