dart-sdk/pkg
Aske Simon Christensen ba6542d53b [cfe] Support generating new invocation nodes in the enum builder.
Change-Id: I555517d78e46509ec5ee2c74390e97b2e68a5797
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/199428
Commit-Queue: Aske Simon Christensen <askesc@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2021-05-18 14:54:13 +00:00
..
_fe_analyzer_shared [parser] Fix potential infinite loop + too much reading when recovering 2021-05-17 09:43:30 +00:00
_js_interop_checks
analysis_server analyzer: Report unnecessary import directives. 2021-05-17 20:23:12 +00:00
analysis_server_client
analyzer Remove reference tracking from ReferenceResolver. 2021-05-17 20:54:32 +00:00
analyzer_cli
analyzer_plugin
analyzer_utilities
async_helper
build_integration
compiler Fix orphaned files in tests/language/ and tests/language_2/. 2021-05-18 00:36:52 +00:00
dart2js_tools
dart2native
dart_internal
dartdev [ CLI ] Improve consistency of help messages between commands 2021-05-17 21:20:22 +00:00
dds Revert "[ package:dds ] Add null safety support" 2021-05-17 08:12:20 +00:00
dev_compiler [ddc] Limit DDC to only skip reifying tearoffs in foreign JS when in the SDK. 2021-05-12 20:46:51 +00:00
diagnostic
expect Clean up null-aware tests. 2021-05-12 15:21:10 +00:00
front_end [cfe] Support generating new invocation nodes in the enum builder. 2021-05-18 14:54:13 +00:00
frontend_server Remove unnecessary imports in pkg/frontend_server 2021-05-17 17:37:42 +00:00
js
js_ast [dart2js] js_ast.Name does not need to be Comparable 2021-05-11 01:53:33 +00:00
js_runtime [dart2js] Cleanup obsolete 'getGlobalFromName' builtin. 2021-05-13 20:47:38 +00:00
kernel Remove "unnecessary" imports in pkg/kernel 2021-05-14 20:18:18 +00:00
language_versioning_2.7_test
meta Document same-library access for protected members 2021-05-06 22:53:54 +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
smith
sourcemap_testing
status_file
telemetry
test_runner [pkg/test_runner] Add test for options passing 2021-05-18 12:10:13 +00:00
testing
vm [vm] Include constants into expectations of pkg/vm unit tests 2021-05-15 16:31:59 +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
.gitignore
BUILD.gn
pkg.status
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