dart-sdk/pkg
Konstantin Shcheglov b68f37f311 [analyzer_plugin] Changed the analyzer version range to >=0.42.0 <0.43.0.
Change-Id: I7c91f05c8ac3518dd99ec3720607b6f8fbafba30
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/182622
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2021-02-05 01:31:12 +00:00
..
_fe_analyzer_shared [pkg:js] Language version @Native/@JS class conflict check 2021-02-05 00:23:42 +00:00
_js_interop_checks [pkg:js] Language version @Native/@JS class conflict check 2021-02-05 00:23:42 +00:00
analysis_server Use line number to compute fixes, Cider provides line and column number. 2021-02-04 19:16:27 +00:00
analysis_server_client Add Element.aliasedType to the protocol. 2021-01-27 23:27:21 +00:00
analyzer Make NodeList fields in AST final not lazy. 2021-02-05 00:25:02 +00:00
analyzer_cli Migrate package:analyzer to null safety. 2021-02-01 18:56:04 +00:00
analyzer_plugin [analyzer_plugin] Changed the analyzer version range to >=0.42.0 <0.43.0. 2021-02-05 01:31:12 +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
compiler [web] rename suite dart2js -> web. 2021-02-04 23:11:32 +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
dartdev Add --[no-]sound-null-safety option to dart2native and dart compile exe 2021-01-26 19:16:30 +00:00
dds [ DDS ] Update package:vm_service dep to 6.0.1-nullsafety.0 2021-01-22 22:03:07 +00:00
dev_compiler [web] rename suite dart2js -> web. 2021-02-04 23:11:32 +00:00
diagnostic
expect [sdk] Bump version to 2.13 2021-02-04 12:10:17 +00:00
front_end [pkg:js] Language version @Native/@JS class conflict check 2021-02-05 00:23:42 +00:00
frontend_server [frontend_server] Export to_string_transformer from frontend_server.dart 2021-01-15 14:13:28 +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 [cfe] Add Function.futureValueType and serialize Let.fileOffset 2021-02-04 14:06:47 +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
nnbd_migration Stop using FunctionTypeAliasElement in nnbd_migration. 2021-02-03 20:41:19 +00:00
scrape
smith [infra] Add new compressed architectures to the test matrix. 2021-02-04 17:44:37 +00:00
sourcemap_testing
status_file
telemetry
test_runner [web] rename suite dart2js -> web. 2021-02-04 23:11:32 +00:00
testing [CFE] Shard front-end try bots better 2021-01-28 14:16:25 +00:00
vm [vm/ffi] Remove .ref VM runtime entry 2021-02-04 21:31:29 +00:00
vm_service [ package:vm_service ] Fix issue where null was returned instead of @Instance of type Null 2021-02-03 21:10:28 +00:00
vm_snapshot_analysis
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

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