dart-sdk/pkg
Parker Lougheed 47474c695e [linter] Add 3.2 linter changes to changelogs
Change-Id: Ib918b6bb1ebb527933672c5a598aacb4b3835769
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/329860
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2023-10-10 04:13:12 +00:00
..
_fe_analyzer_shared Reland "Bump version to 3.3." 2023-10-06 19:00:58 +00:00
_js_interop_checks Expose some APIs for translating between wasm and JS interop types. 2023-09-27 21:34:38 +00:00
analysis_server [analysis_server] Fix location of ignore comments on getters with dartdocs 2023-10-09 18:58:40 +00:00
analysis_server_client [deps] roll package:lints to the latest 2023-10-05 03:36:59 +00:00
analyzer Extension type. Issue 53625. Fixes for analyzer expectations. 2023-10-09 23:32:36 +00:00
analyzer_cli [deps] roll package:lints to the latest 2023-10-05 03:36:59 +00:00
analyzer_plugin [deps] roll package:lints to the latest 2023-10-05 03:36:59 +00:00
analyzer_utilities Update analyzer_utilties to Dart 3 and enable more lints 2023-09-14 20:27:26 +00:00
async_helper [deps] roll package:lints to the latest 2023-10-05 03:36:59 +00:00
bisect_dart
build_integration
compiler [dart2js] Improve write strategy for dump info json. 2023-09-28 20:50:09 +00:00
dap [dds/dap] Use super-params in generated code 2023-09-26 20:31:43 +00:00
dart2js_info [deps] roll package:lints to the latest 2023-10-05 03:36:59 +00:00
dart2js_runtime_metrics
dart2js_tools [deps] roll package:lints to the latest 2023-10-05 03:36:59 +00:00
dart2native [Reland] [dartdev] Convert gen_kernel.dart.snapshot into an AOT snapshot 2023-09-26 21:46:58 +00:00
dart2wasm [dart2wasm] Fix prefer-inline annotation checking, handle never-inline 2023-10-03 12:51:45 +00:00
dart_internal
dartdev [deps] roll package:lints to the latest 2023-10-05 03:36:59 +00:00
dds Update package:dds and package:dds_service_extensions to vm_service 2023-10-02 17:51:35 +00:00
dds_service_extensions Update package:dds and package:dds_service_extensions to vm_service 2023-10-02 17:51:35 +00:00
dev_compiler Reland "Bump version to 3.3." 2023-10-06 19:00:58 +00:00
expect [deps] roll package:lints to the latest 2023-10-05 03:36:59 +00:00
front_end [vm] Fix noSuchMethod forwarding stubs in mixin applications 2023-10-09 16:57:22 +00:00
frontend_server [deps] roll package:lints to the latest 2023-10-05 03:36:59 +00:00
js
js_ast
js_runtime [deps] roll package:lints to the latest 2023-10-05 03:36:59 +00:00
js_shared [dart2js][ddc] Make rti universe field names const 2023-10-09 21:12:48 +00:00
kernel Reland "Bump version to 3.3." 2023-10-06 19:00:58 +00:00
language_versioning_2_7_test
linter [linter] Add 3.2 linter changes to changelogs 2023-10-10 04:13:12 +00:00
meta
mmap
modular_test [deps] roll package:lints to the latest 2023-10-05 03:36:59 +00:00
native_stack_traces Bump package:lints to the latest; address instances of new lints. 2023-09-25 21:15:15 +00:00
nnbd_migration Flow analysis: track detailed non-promotability reasons for getters. 2023-09-27 20:04:01 +00:00
scrape
service_extension_router
smith [infra,dart2wasm] Add dart2wasm Firefox test configurations 2023-09-29 12:54:12 +00:00
sourcemap_testing
status_file [test] Remove ARM64-specific status entries. 2023-10-09 19:30:29 +00:00
telemetry
test_runner [test_runner] include error stack in window.onerror if available. 2023-10-06 00:58:54 +00:00
testing Fix incorrect file reference in license headers 2023-09-18 06:44:08 +00:00
vm [vm] Fix noSuchMethod forwarding stubs in mixin applications 2023-10-09 16:57:22 +00:00
vm_service Reland "Bump version to 3.3." 2023-10-06 19:00:58 +00:00
vm_service_protos
vm_snapshot_analysis
wasm_builder [deps] roll package:lints to the latest 2023-10-05 03:36:59 +00:00
.gitignore
analysis_options.yaml
BUILD.gn
OWNERS
pkg.dart [deps] roll package:lints to the latest 2023-10-05 03:36:59 +00:00
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