dart-sdk/pkg
Ben Konyi 02f32f320e [ package:vm_service ] Prep for 14.2.3 release
Change-Id: I2a861d2021553f2cc4b0dbdc2390bff4edf49f84
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/368860
Auto-Submit: Ben Konyi <bkonyi@google.com>
Reviewed-by: Derek Xu <derekx@google.com>
Commit-Queue: Derek Xu <derekx@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2024-05-30 17:22:23 +00:00
..
_fe_analyzer_shared Add SharedType.nullabilitySuffix getter. 2024-05-30 16:43:29 +00:00
_js_interop_checks [cfe] Remove isNonNullableByDefault argument from messages 2024-05-14 09:32:01 +00:00
_macros [macros]: Remove type argument from StaticTypeImpl 2024-05-30 07:51:32 +00:00
analysis_server [clean up]Move local_library_contributor.dart to cider directory. 2024-05-30 14:27:39 +00:00
analysis_server_client [pkg/analysis_server] remove use of package:usage 2024-05-07 22:11:29 +00:00
analysis_server_plugin DAS: Move CorrectionProducer and Selection classes 2024-05-28 04:54:08 +00:00
analyzer Add SharedType.nullabilitySuffix getter. 2024-05-30 16:43:29 +00:00
analyzer_cli
analyzer_plugin Fixed _writeSuperMemberInvocation in DartEditBuilderImpl to properly suggest completions when super member has named parameters 2024-05-14 16:01:33 +00:00
analyzer_utilities linter: Make some allowances in avoid_catches_without_on_clauses 2024-05-28 18:36:58 +00:00
async_helper
bisect_dart
build_integration
compiler [kernel] Remove isNonNullableByDefault from checkBounds and instantiateToBounds 2024-05-30 13:51:46 +00:00
dart2js_info
dart2js_runtime_metrics
dart2js_tools
dart2native [dartdev] Add --depfile option to dart compile 2024-05-23 12:58:29 +00:00
dart2wasm [dart2wasm] Remove unused diagnosticReporter argument 2024-05-29 08:21:05 +00:00
dart_internal Bump dart_internal again to work with the latest dev builds. 2024-05-02 23:06:47 +00:00
dart_service_protocol_shared
dartdev [dartdev] Avoid unnecessary uses of late 2024-05-30 14:55:21 +00:00
dds [DDS] Start running tests that are currently getting skipped 2024-05-29 19:56:57 +00:00
dds_service_extensions
dev_compiler [ddc] Library level expression evaluation for the Dart SDK. 2024-05-24 20:08:37 +00:00
dtd
dtd_impl
expect Reland "Tweak expect.dart library." 2024-04-26 15:28:26 +00:00
front_end Add SharedType.nullabilitySuffix getter. 2024-05-30 16:43:29 +00:00
frontend_server [cfe] Remove .isNonNullableByDefault from package:kernel 2024-05-15 08:31:38 +00:00
heap_snapshot
js Reland "Tweak expect.dart library." 2024-04-26 15:28:26 +00:00
js_ast Reland "Tweak expect.dart library." 2024-04-26 15:28:26 +00:00
js_runtime
js_shared
json package:json - drop vendored packages, prep to release 2024-05-24 15:41:05 +00:00
kernel Add SharedType.nullabilitySuffix getter. 2024-05-30 16:43:29 +00:00
language_versioning_2_12_test
linter linter: Make some allowances in avoid_catches_without_on_clauses 2024-05-28 18:36:58 +00:00
macros [macros]: Remove type argument from StaticTypeImpl 2024-05-30 07:51:32 +00:00
meta meta: Add TargetKinds for @immutable; narrow error range for "invalid annotation" warnings. 2024-05-28 18:28:49 +00:00
mmap
modular_test
native_stack_traces
reload_test
scrape
server_plugin
smith Reland "Tweak expect.dart library." 2024-04-26 15:28:26 +00:00
sourcemap_testing Reland "Tweak expect.dart library." 2024-04-26 15:28:26 +00:00
status_file
telemetry [pkg/analysis_server] remove use of package:usage 2024-05-07 22:11:29 +00:00
test_runner [infra] Add configurations for ARM64 sanitizer testing. 2024-05-17 16:57:13 +00:00
testing
vm [cfe] Remove unnecessary use of Nullability.legacy 2024-05-30 08:10:29 +00:00
vm_service [ package:vm_service ] Prep for 14.2.3 release 2024-05-30 17:22:23 +00:00
vm_service_interface
vm_service_protos
vm_snapshot_analysis
wasm_builder [wasm_builder] Update incorrect docs, some minor refactoring 2024-05-15 09:49:02 +00:00
.gitignore
analysis_options.yaml
BUILD.gn
OWNERS
pkg.dart
pkg.status [ package:vm_service] Skip regress_55559_test on AOT configurations 2024-05-02 17:20:37 +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. 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