a824ee3206
There were `pubspec.yaml` files in `tools/` that were not included in the global package config. That means that their imports were irrelevant, which could be misleading. And if any tool would look at the `pubspec.yaml` file, it might be inconsistent with the actual package resolution. Makes every `pubspec.yaml` file either be included by the `tools/generate_package_config.dart` script, or deletes them if they seem to be stale and unused. (Compare vs. `git ls-files '**/pubspec.yaml'`.) Excepted `tools/dart2js/sourceMapViewer/pubspec.yaml`. The entire directory might be stale. The dependencies of that pubspec are not SDK dependencies otherwise, the pubspec has no SDK min-version, which is now a requirement, and the README refers to a *packages directory*. Keeping as-is and filing issue to have owners take a look. Added `lib/` directory to `tools/` to avoid `tools/bots/` being inside the package URI root of the `tools/` package, which would cause its `../../pkg/...` import to fail. Makes every `pubspec.yaml` file use a `^...` SDK constraint instead of the longer `>= ... < ...` format. Tested: No new tests, goal is to keep running the same way Change-Id: I688e463fe985fc4de43550a1f4c7ff350536cffc Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/414020 Commit-Queue: Lasse Nielsen <lrn@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com> Reviewed-by: Sigurd Meldgaard <sigurdm@google.com> Reviewed-by: Brian Quinlan <bquinlan@google.com>
34 lines
689 B
YAML
34 lines
689 B
YAML
name: vm
|
|
description: VM specific Dart code and helper scripts
|
|
# This package is not intended for consumption on pub.dev. DO NOT publish.
|
|
publish_to: none
|
|
|
|
environment:
|
|
sdk: ^3.7.0
|
|
|
|
resolution: workspace
|
|
|
|
# Use 'any' constraints here; we get our versions from the DEPS file.
|
|
dependencies:
|
|
_fe_analyzer_shared: any
|
|
args: any
|
|
build_integration: any
|
|
collection: any
|
|
crypto: any
|
|
front_end: any
|
|
kernel: any
|
|
package_config: any
|
|
path: any
|
|
pub_semver: any
|
|
record_use: any
|
|
yaml: any
|
|
|
|
# Use 'any' constraints here; we get our versions from the DEPS file.
|
|
dev_dependencies:
|
|
dart2wasm: any
|
|
expect: any
|
|
json_rpc_2: any
|
|
lints: any
|
|
test: any
|
|
web_socket_channel: any
|