dart-sdk/pkg
Johnni Winther e1c9640279 [cfe] Rename direct_parser_ast files to parser_ast
Change-Id: I10ef96413f7f91704d0ca29d12ded2b034dc0406
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/221326
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
2021-11-26 12:51:46 +00:00
..
_fe_analyzer_shared [parser][analyzer][cfe] Add parsing support for super-parameters 2021-11-19 16:56:07 +00:00
_js_interop_checks Use type parameter in extension member lowering 2021-11-04 23:58:46 +00:00
analysis_server Add tests from a reverted CL for future reference 2021-11-24 16:15:02 +00:00
analysis_server_client Add optional 'timeout' field to 'completion.getSuggestions2'. 2021-11-15 16:48:42 +00:00
analyzer Fix getFileForUri() for not canonical (writable when has generated) URI. 2021-11-23 04:43:51 +00:00
analyzer_cli Migrate analyzer_cli to null safety. 2021-11-20 03:23:38 +00:00
analyzer_plugin Deprecate Source.isInSystemLibrary 2021-11-19 20:30:37 +00:00
analyzer_utilities Fix the failing isA test. 2021-11-09 06:31:13 +00:00
async_helper
build_integration
compiler [dart2js] Add '--no-summary' to compute_kernel. 2021-11-25 23:39:24 +00:00
dart2js_info
dart2js_runtime_metrics
dart2js_tools
dart2native [vm] Bump max ELF page size to 64K 2021-11-16 16:23:36 +00:00
dart_internal pkg:dart_internal update changelog 2021-11-12 19:50:10 +00:00
dartdev [vm] Remove support for non-bare AOT snapshots 2021-11-24 13:03:52 +00:00
dds Revert "[ VM / Service ] Omit private fields from service responses by default" 2021-11-25 10:28:33 +00:00
dev_compiler [cfe] Pass class hierarchy and core types through IncrementalCompilerResult 2021-11-25 11:27:29 +00:00
diagnostic
expect Allow pub get/upgrade to run on a number of packages in pkg/ 2021-10-27 23:15:56 +00:00
front_end [cfe] Rename direct_parser_ast files to parser_ast 2021-11-26 12:51:46 +00:00
frontend_server [dart2js] Add '--no-summary' to compute_kernel. 2021-11-25 23:39:24 +00:00
js
js_ast [dart2js] Add generated JavaScript to --dump-ssa output. 2021-11-03 19:48:03 +00:00
js_runtime
kernel [cfe] Add test for compilation sequence to macro test 2021-11-23 09:40:21 +00:00
language_versioning_2.7_test
meta
modular_test
native_stack_traces
nnbd_migration Stop using ElementFactory in nnbd_migration. 2021-11-19 23:36:57 +00:00
scrape
smith
sourcemap_testing
status_file Allow pub get/upgrade to run on a number of packages in pkg/ 2021-10-27 23:15:56 +00:00
telemetry
test_runner [vm/infra] Improve IL testing framework 2021-11-16 12:39:11 +00:00
testing
vm [cfe] Pass class hierarchy and core types through IncrementalCompilerResult 2021-11-25 11:27:29 +00:00
vm_service [ VM / Service ] Stream light-weight version of CpuSamples for CPU 2021-11-18 19:45:26 +00:00
vm_snapshot_analysis
.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