dart-sdk/pkg
Alexander Markov 9a3ca8ffd4 [vm,dart2wasm,tfa] Support dynamic interface in TFA
TEST=pkg/vm/testcases/transformations/type_flow/transformer/dynamic_module_extendable.dart

Change-Id: I6ef43053d86b1a12259f1cb4d0b542c9519591f8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/370143
Reviewed-by: Slava Egorov <vegorov@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2024-06-10 17:28:10 +00:00
..
_fe_analyzer_shared Analyzer: initial infrastructure for logging details of type inference. 2024-06-10 15:16:06 +00:00
_js_interop_checks [dart2wasm] Simplify calculateTransitiveImportsOfJsInteropIfUsed 2024-05-31 16:49:59 +00:00
_macros macros: replace unsupported [this] comment references with this. 2024-06-05 18:37:46 +00:00
analysis_server quick fix for INVALID_USE_OF_COVARIANT 2024-06-10 15:08:03 +00:00
analysis_server_client
analysis_server_plugin DAS: Support Parse-only correction producers 2024-06-03 23:13:18 +00:00
analyzer Analyzer: initial infrastructure for logging details of type inference. 2024-06-10 15:16:06 +00:00
analyzer_cli CQ. Make FileSource API, move to lib/source. 2024-06-03 00:36:59 +00:00
analyzer_plugin QuickFix. Issue 55773. Flatten FutureOr() when convert to async. 2024-06-03 23:10:09 +00:00
analyzer_utilities meta: add TargetKind to @factory 2024-06-06 15:39:56 +00:00
async_helper
bisect_dart
build_integration
compiler [cfe] Remove isNonNullableByDefault from class hierarchy 2024-06-03 06:42:54 +00:00
dart2js_info
dart2js_runtime_metrics
dart2js_tools
dart2native
dart2wasm [vm,dart2wasm,tfa] Support dynamic interface in TFA 2024-06-10 17:28:10 +00:00
dart_internal
dart_service_protocol_shared
dartdev [ CLI ] Fix snapshot detection logic for google3 2024-06-06 19:10:19 +00:00
dds Add headers to the DevTools server to enable serving DevTools with wasm. 2024-06-05 17:26:23 +00:00
dds_service_extensions
dev_compiler [ddc] Rename variable used to store late value 2024-06-05 20:50:49 +00:00
dtd
dtd_impl
expect
front_end Analyzer: initial infrastructure for logging details of type inference. 2024-06-10 15:16:06 +00:00
frontend_server
heap_snapshot
js
js_ast
js_runtime
js_shared
json
kernel [cfe] Remove agnostic mode 2024-06-06 11:02:37 +00:00
language_versioning_2_12_test
linter linter: move constant_identifier_names tests 2024-06-10 15:15:12 +00:00
macros
meta [pkg:meta] Add topics to pubspec.yaml 2024-06-10 10:27:36 +00:00
mmap
modular_test
native_stack_traces
reload_test
scrape
server_plugin
smith
sourcemap_testing
status_file
telemetry
test_runner [dart2wasm] Add dart2wasm-asserts-* configurations 2024-06-10 14:24:12 +00:00
testing
vm [vm,dart2wasm,tfa] Support dynamic interface in TFA 2024-06-10 17:28:10 +00:00
vm_service [vm] RecordCoverageInstr isn't dead code 2024-06-10 13:02:28 +00:00
vm_service_interface
vm_service_protos
vm_snapshot_analysis
wasm_builder
.gitignore
analysis_options.yaml
BUILD.gn
OWNERS
pkg.dart
pkg.status [vm_service] Skip vm_service/test/coverage_closure_call_after_optimization_test.dart in aot 2024-06-10 13:46:25 +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