dart-sdk/pkg
Ben Konyi 4b96d7a09d [ VM / CLI ] Add support for --[no-]serve-devtools
Fixes https://github.com/dart-lang/sdk/issues/45867

TEST=pkg/dartdev/test/commands/run_test.dart

Change-Id: I3e575db8298d47b69eb9e120f9792ed60d25c7d8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/199960
Auto-Submit: Ben Konyi <bkonyi@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
2021-06-01 20:33:15 +00:00
..
_fe_analyzer_shared [cfe] Emit deprecation info for dartext: in 2.14 2021-05-26 08:50:32 +00:00
_js_interop_checks Optimize js_util setProperty calls for non-function values to 2021-05-25 19:28:01 +00:00
analysis_server Start of rename support for Cider 2021-06-01 18:40:04 +00:00
analysis_server_client [analyzer] Add folding regions for parameters 2021-05-24 17:13:35 +00:00
analyzer Synthetic fields are not final. 2021-06-01 17:46:23 +00:00
analyzer_cli Use explicit FileContentCache instance for AnalysisContextCollectionImpl. 2021-05-26 00:54:01 +00:00
analyzer_plugin Suggest functions returning void as tearoffs where a void returning function is expected 2021-05-26 04:23:11 +00:00
analyzer_utilities Move off of a use of 'dartfmt'. 2021-05-18 23:09:53 +00:00
async_helper Update LICENSE 2021-04-07 10:28:38 +00:00
build_integration Update LICENSE 2021-04-07 10:28:38 +00:00
compiler [dart2js] Only emit holders into a part file if they are used. 2021-06-01 19:59:14 +00:00
dart2js_tools
dart2native Increase alignment when concatenating AOT runtime and ELF snapshots. 2021-04-19 22:55:39 +00:00
dart_internal pkg:dart_internal bump support Dart SDK version 2021-04-20 16:24:28 +00:00
dartdev [ VM / CLI ] Add support for --[no-]serve-devtools 2021-06-01 20:33:15 +00:00
dds [dds] Add a basic DAP server that can run simple Dart scripts 2021-05-26 17:22:00 +00:00
dev_compiler Optimize js_util setProperty calls for non-function values to 2021-05-25 19:28:01 +00:00
diagnostic Update LICENSE 2021-04-07 10:28:38 +00:00
expect Clean up null-aware tests. 2021-05-12 15:21:10 +00:00
front_end [CFE] Reproduce crash Class.superclassConstraints RangeError 2021-05-27 13:23:24 +00:00
frontend_server Revert "Move most of the code from u/b/kernel_worker.dart to p/frontend_server" 2021-06-01 19:29:54 +00:00
js fix(docs): corrects common typos in project documentation 2021-05-18 15:48:18 +00:00
js_ast [js_ast] Use Set literals 2021-05-22 17:41:09 +00:00
js_runtime [rti] Specialized is List<dynamic> test 2021-05-19 01:12:43 +00:00
kernel [cfe] Rewrite computeConstCanonicalType using ReplacementVisitor 2021-05-21 14:26:12 +00:00
language_versioning_2.7_test
meta Improve quality of @protected doc comment 2021-05-27 18:41:24 +00:00
modular_test
native_stack_traces [vm] Fix handling of WeakSerializationReferences in v8 profile. 2021-05-11 11:21:44 +00:00
nnbd_migration [ CLI ] Improve consistency of help messages between commands 2021-05-17 21:20:22 +00:00
scrape fix(docs): corrects common typos in project documentation 2021-05-18 15:48:18 +00:00
smith [infra] Add new compressed architectures to the test matrix. 2021-02-04 17:44:37 +00:00
sourcemap_testing
status_file Don't truncate command output in the test runner. 2021-04-07 23:42:38 +00:00
telemetry move pkg/telemetry to using package:lints 2021-05-19 16:26:42 +00:00
test_runner Fix abstract unix socket test 2021-06-01 17:30:54 +00:00
testing [CFE] Make fuzz testing work also when not skipping VM 2021-03-22 10:12:52 +00:00
vm [cfe/ffi] Remove dead code 2021-05-26 15:29:00 +00:00
vm_service fix: Context parse error, parent should be ContextRef 2021-05-11 17:59:54 +00:00
vm_snapshot_analysis [pkg/vm_snapshot_analysis] Fix size check again after 7131d318. 2021-05-13 14:36:11 +00:00
wasm [wasm] Prepare for release 2021-05-20 20:40:15 +00:00
.gitignore
BUILD.gn Reapply "[build] Don't list Dart sources up front when creating application snapshots." 2021-04-27 17:22:54 +00:00
pkg.status [wasm] Prepare for release 2021-05-20 20:40:15 +00:00
README.md

Package validation

The packages in pkg/ are automatically validated on the LUCI CI bots. The validation is largely done by the tools/package_deps package; it can be tested locally via:

dart tools/package_deps/bin/package_deps.dart

Packages which are published

There are several packages developed in pkg/ which are published to pub. Validation of these packages is particularly important because the pub tools are not used for these packages during development; we get our dependency versions from the DEPS file. Its very easy for the dependencies specified in a package's pubspec file to get out of date wrt the packages and versions actually used.

In order to better ensure we're publishing correct packages, we validate some properties of the pubspec files on our CI system. These validations include:

  • that the dependencies listed in the pubspec are used in the package
  • that all the packages used by the source are listed in the pubspec
  • that we don't use relative path deps to pkg/ or third_party/ packages

Packages which are not published

For packages in pkg/ which we do not intend to be published, we put the following comment in the pubspec.yaml file:

# This package is not intended for consumption on pub.dev. DO NOT publish.
publish_to: none

These pubspecs are still validated by the package validation tool. The contents are more informational as the pubspecs for these packages are not consumed by the pub tool or ecosystem.

We validate:

  • that the dependencies listed in the pubspec are used in the package
  • that all the packages used by the source are listed in the pubspec
  • that a reference to a pkg/ package is done via a relative path dependency