dart-sdk/pkg
Konstantin Shcheglov 3c43538148 Elements. Migrate ConvertIntoBlockBody.
Change-Id: I49ca47fbb38902d31dd0995f9a6cdb771aa61034
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/386737
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2024-09-29 04:28:12 +00:00
..
_fe_analyzer_shared Add unit tests for _fe_analyzer_shared subtype functionality. 2024-09-26 13:38:13 +00:00
_js_interop_checks linter: Report when single statement if-statement body is not on the same line as if-keyword 2024-09-24 01:59:23 +00:00
_macros
analysis_server Elements. Migrate ConvertIntoBlockBody. 2024-09-29 04:28:12 +00:00
analysis_server_client
analysis_server_plugin Elements. Migrate AddKeyToConstructors. 2024-09-27 20:27:32 +00:00
analyzer Elements. Migrate ConvertClassToEnum. 2024-09-29 04:02:46 +00:00
analyzer_cli
analyzer_plugin Elements. Migrate ConvertClassToMixin. 2024-09-26 19:15:50 +00:00
analyzer_utilities [analysis_server] Update color handling for recent Flutter Color class changes 2024-09-25 16:27:51 +00:00
async_helper
bisect_dart
build_integration [scanner] Don't give the Utf8 scanner a 0-terminated byte sequence 2024-09-25 08:33:48 +00:00
compiler [scanner] Don't give the Utf8 scanner a 0-terminated byte sequence 2024-09-25 08:33:48 +00:00
dart2bytecode [dart2bytecode] Throw exception instead of crashing when external member is called 2024-09-12 14:52:58 +00:00
dart2js_info
dart2js_runtime_metrics
dart2js_tools
dart2native Use package:record_use 2024-09-12 08:47:53 +00:00
dart2wasm [dart2wasm] Fix module stress tests. 2024-09-27 15:03:01 +00:00
dart_internal
dart_service_protocol_shared
dartdev Reapply "[ CLI ] Don't disable DDS when --disable-dart-dev is provided" 2024-09-26 15:29:05 +00:00
dds [dds/dap] Handle VM Service shutdown exceptions when resuming 2024-09-26 15:56:42 +00:00
dds_service_extensions
dev_compiler [ddc] support library cycles in the new module format. 2024-09-27 18:07:48 +00:00
dtd
dtd_impl [dtd] Use secure random number generator to generate URI auth code (path) and secret 2024-09-25 15:41:52 +00:00
dynamic_modules [ddc] fix windows tests for dynamic modules. 2024-09-13 17:08:54 +00:00
expect
front_end Reapply "[ CLI ] Don't disable DDS when --disable-dart-dev is provided" 2024-09-26 15:29:05 +00:00
frontend_server [scanner] Don't give the Utf8 scanner a 0-terminated byte sequence 2024-09-25 08:33:48 +00:00
heap_snapshot
js
js_ast
js_runtime [dart2js] Make 'load-priority' pragma pass an arbitrary option string. 2024-09-09 19:47:48 +00:00
js_shared
json
kernel [scanner] Don't give the Utf8 scanner a 0-terminated byte sequence 2024-09-25 08:33:48 +00:00
language_versioning_2_12_test
linter Elements. Migrate AddRequiredKeyword. 2024-09-28 16:32:41 +00:00
macros
meta Prepare package:meta for publish 2024-09-19 20:21:20 +00:00
mmap
modular_test
native_stack_traces
record_use Add recording of constant instances to record_use 2024-09-13 09:07:02 +00:00
reload_test [ddc] Adding hot reload test with DDC's new module system. 2024-09-09 23:16:48 +00:00
scrape
server_plugin
smith
sourcemap_testing
status_file
telemetry
test_runner [dart2wasm] Fix module stress tests. 2024-09-27 15:03:01 +00:00
testing
vm Reapply "[ CLI ] Don't disable DDS when --disable-dart-dev is provided" 2024-09-26 15:29:05 +00:00
vm_service Reapply "[ CLI ] Don't disable DDS when --disable-dart-dev is provided" 2024-09-26 15:29:05 +00:00
vm_service_interface [VM/Service] Expose Service ID zone APIs in service.md and package:vm_service 2024-09-25 17:28:44 +00:00
vm_service_protos
vm_snapshot_analysis
wasm_builder [dart2wasm] Add last few fixes to translator to allow module test mode. 2024-09-23 18:56:24 +00:00
.gitignore
analysis_options.yaml
BUILD.gn
OWNERS
pkg.dart
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. It's 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