dart-sdk/pkg
Gary Roumanis a32498b929 Async read as bytes
Change-Id: I9b893dc992c95e6aa59368b9c7613ba7008d6fcd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/184523
Reviewed-by: Anna Gringauze <annagrin@google.com>
Commit-Queue: Anna Gringauze <annagrin@google.com>
Auto-Submit: Gary Roumanis <grouma@google.com>
2021-02-12 01:28:05 +00:00
..
_fe_analyzer_shared Prepare to publish analyzer 1.0.0 and _fe_analyzer_shared 16.0.0. 2021-02-10 19:46:55 +00:00
_js_interop_checks Reland "[kernel] Ensure that visitors don't implicitly returns null" 2021-02-10 07:51:52 +00:00
analysis_server Always crawl up in getOptionsFile() 2021-02-11 23:24:11 +00:00
analysis_server_client Add Element.aliasedType to the protocol. 2021-01-27 23:27:21 +00:00
analyzer Add non-function typedef tests to for_in_* diagnostics 2021-02-12 00:34:39 +00:00
analyzer_cli Remove 'actualUri' from UriResolver.resolveAbsolute() 2021-02-09 22:17:08 +00:00
analyzer_plugin Deprecate FunctionType.element/typeArguments 2021-02-10 17:17:58 +00:00
analyzer_utilities [sdk] Bump version to 2.13 2021-02-04 12:10:17 +00:00
async_helper [sdk] Bump version to 2.13 2021-02-04 12:10:17 +00:00
build_integration Add additional validations to the pkg/ package pubspecs. 2020-12-02 17:27:18 +00:00
compiler Reland "[kernel] Ensure that visitors don't implicitly returns null" 2021-02-10 07:51:52 +00:00
dart2js_tools
dart2native Add --[no-]sound-null-safety option to dart2native and dart compile exe 2021-01-26 19:16:30 +00:00
dart_internal Support the latest SDK with pkg:dart_internal 2020-11-02 21:51:39 +00:00
dartdev [ DartDev / CLI ] Fixed issue where analytics flags were not being forwarded to the CLI 2021-02-11 18:45:06 +00:00
dds Update to the latest package:sse 2021-02-05 20:57:38 +00:00
dev_compiler Load in parallel 2021-02-10 20:12:45 +00:00
diagnostic
expect [sdk] Bump version to 2.13 2021-02-04 12:10:17 +00:00
front_end Async read as bytes 2021-02-12 01:28:05 +00:00
frontend_server Reland "[kernel] Ensure that visitors don't implicitly returns null" 2021-02-10 07:51:52 +00:00
js Prepare to publish js and meta for null safety 2021-02-02 21:33:17 +00:00
js_ast [dart2js/js_ast] cleanup: Simplify LiteralExpression 2021-01-12 01:28:10 +00:00
js_runtime [dart2js] make js_runtime a proper package 2021-01-25 22:39:23 +00:00
kernel [kernel] Partial migration of package:kernel wave 1 2021-02-10 15:55:53 +00:00
language_versioning_2.7_test
meta Prepare to publish js and meta for null safety 2021-02-02 21:33:17 +00:00
modular_test Prepare for switching to null safe package_config 2021-01-21 05:04:33 +00:00
native_stack_traces Roll args and dart2js_info into the SDK. 2020-12-04 22:58:22 +00:00
nnbd_migration Stop using FunctionTypeAliasElement in nnbd_migration. 2021-02-03 20:41:19 +00:00
scrape Add a script to scrape string literal quotation data. 2020-12-11 00:13:08 +00:00
smith [infra] Add new compressed architectures to the test matrix. 2021-02-04 17:44:37 +00:00
sourcemap_testing Update List constructor documentation, deprecate constructor. 2020-12-07 16:20:28 +00:00
status_file Update List constructor documentation, deprecate constructor. 2020-12-07 16:20:28 +00:00
telemetry telemetry: Remove unnecessary imports 2020-12-30 22:38:50 +00:00
test_runner [infra] Further teach test harness about new compressed architectures. 2021-02-09 17:55:27 +00:00
testing [CFE] Shard front-end try bots better 2021-01-28 14:16:25 +00:00
vm [cfe/ffi] Refactor dart:ffi transformations 2021-02-11 18:09:05 +00:00
vm_service Update to the latest markdown, an internal Cl has been prepared and 2021-02-09 18:42:42 +00:00
vm_snapshot_analysis Update List constructor documentation, deprecate constructor. 2020-12-07 16:20:28 +00:00
wasm Setup script for package:wasm that builds the Wasmer runtime library. 2021-01-22 20:48:04 +00:00
.gitignore
BUILD.gn
pkg.status [SDK] Removes non-exiting tests from .status 2021-02-04 06:46:13 +00:00
README.md Add additional validations to the pkg/ package pubspecs. 2020-12-02 17:27:18 +00:00

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