dart-sdk/pkg
Jens Johansen 7d0687dd40 [CFE] Fix parsing generics with generics in binary.md
Change-Id: Ia09730f08b28e715b4c536c35a53c93bc4dbf8b5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/202922
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
2021-06-09 10:07:31 +00:00
..
_fe_analyzer_shared Remove deprecated ErrorCode.temporary2() 2021-06-04 15:52:06 +00:00
_js_interop_checks Use static DartType for js_util optimizations. 2021-06-07 17:27:42 +00:00
analysis_server [analyzer] Check conditional directive URIs are within the requested range 2021-06-08 20:32:09 +00:00
analysis_server_client enable depend_on_referenced_packages 2021-06-04 14:19:08 +00:00
analyzer Revert "[analyzer] Support hints for visibleForOverriding" 2021-06-08 21:26:11 +00:00
analyzer_cli enable depend_on_referenced_packages 2021-06-04 14:19:08 +00:00
analyzer_plugin [analyzer] Check conditional directive URIs are within the requested range 2021-06-08 20:32:09 +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 Use static DartType for js_util optimizations. 2021-06-07 17:27:42 +00:00
dart2js_tools
dart2native Revert "[pkg/dart2native] upgrade dart2native to null safe" 2021-06-07 17:02:24 +00:00
dart_internal pkg:dart_internal bump support Dart SDK version 2021-04-20 16:24:28 +00:00
dartdev [pkg/dartdev] switch to using package:lints for analysis 2021-06-07 18:36:43 +00:00
dds [dds] Improve error logging if DAP tests fail to connect 2021-06-07 20:52:13 +00:00
dev_compiler Emit empty symbols file under --emit-debug-symbols flag 2021-06-08 16:44:37 +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] Fix parsing generics with generics in binary.md 2021-06-09 10:07:31 +00:00
frontend_server Emit empty symbols file under --emit-debug-symbols flag 2021-06-08 16:44:37 +00:00
js fix(docs): corrects common typos in project documentation 2021-05-18 15:48:18 +00:00
js_ast [dart2js] Extending pkg/js_ast to support arrow functions and methods. 2021-06-03 00:15:04 +00:00
js_runtime [dart2js] Migrate shared libraries to 2.12 2021-06-02 21:41:34 +00:00
kernel [dart2js] Implement basic lowering for late instance variables. 2021-06-02 23:21:24 +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 Migration: fix handling of /*!*/ comments in is/as expressions. 2021-06-03 17:39:47 +00:00
scrape fix(docs): corrects common typos in project documentation 2021-05-18 15:48:18 +00:00
smith
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 [testing] Rely on language versions in the analyzer tests 2021-06-02 07:47:46 +00:00
testing [CFE] Make fuzz testing work also when not skipping VM 2021-03-22 10:12:52 +00:00
vm [vm] ffi_use_sites: Adds TreeNode.location null check. 2021-06-09 09:49:31 +00:00
vm_service [ VM / Service ] Move sourceLocation property to reference objects for Class, Function, and Field. 2021-06-02 22:18:32 +00:00
vm_snapshot_analysis [pkg/vm_snapshot_analysis] Fix size check again after 7131d318. 2021-05-13 14:36:11 +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 [dds] Improve error logging if DAP tests fail to connect 2021-06-07 20:52: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