dart-sdk/pkg
Brian Wilkerson 628e630ca2 Convert a few utility libraries to null safety
Change-Id: I1e1cde29a40eb498d8e25c72189641d568d7db03
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/193591
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2021-03-31 05:45:32 +00:00
..
_fe_analyzer_shared Rework _fe_analyzer_shared mini-AST to use an L-value abstraction. 2021-03-30 21:07:01 +00:00
_js_interop_checks Clean up arguments in getProperty lowering. 2021-03-09 17:52:30 +00:00
analysis_server Convert a few utility libraries to null safety 2021-03-31 05:45:32 +00:00
analysis_server_client Switch analysis_server_client to language 2.12, so null safety, but opt-out files. 2021-03-31 03:34:22 +00:00
analyzer Implement inference via type aliases with aliased InterfaceType. 2021-03-30 23:39:57 +00:00
analyzer_cli Add a json format to dartanalyzer 2021-03-30 22:10:12 +00:00
analyzer_plugin Prepare to publish analyzer_plugin 0.5.0 2021-03-30 23:13:27 +00:00
analyzer_utilities [sdk] Bump version to 2.13 2021-02-04 12:10:17 +00:00
async_helper [sdk] Bump version to 2.13 2021-02-04 12:10:17 +00:00
build_integration [CFE] Make standard filesystem more synchronous by default; add async versions 2021-02-17 10:28:00 +00:00
compiler Revert "[dart2js] Avoid reserializing the closed world alongside type inference." 2021-03-30 22:29:03 +00:00
dart2js_tools
dart2native
dart_internal Remove an unnecessary ignore comment from dart-internal 2021-03-22 18:49:36 +00:00
dartdev In-line the package:stagehand templates into 'dart create'. 2021-03-25 18:05:09 +00:00
dds [ package:dds ] Update DDS dependencies and set SDK requirement to >=2.12 2021-03-19 19:49:08 +00:00
dev_compiler [dartdevc] Porting more expression eval tests. 2021-03-26 00:04:04 +00:00
diagnostic
expect [vm/compiler] Change when parents of local functions are retained. 2021-03-25 13:47:03 +00:00
front_end [cfe] Ensure that types are also resolved in case of parser recovery 2021-03-30 14:56:38 +00:00
frontend_server Fix expression evaluation failure after hot restart 2021-03-11 23:16:41 +00:00
js
js_ast
js_runtime
kernel [cfe] Add DartType.toNonNull 2021-03-30 10:25:28 +00:00
language_versioning_2.7_test
meta
modular_test
native_stack_traces [pkg/native_stack_traces] Create stable null safety version. 2021-02-23 10:27:39 +00:00
nnbd_migration Migration: fix handling of loadLibrary. 2021-03-25 20:29:34 +00:00
scrape remove unnecessary parens in string interp 2021-03-25 22:24:34 +00:00
smith [infra] Add new compressed architectures to the test matrix. 2021-02-04 17:44:37 +00:00
sourcemap_testing
status_file [test] Apply simarm64 status file entries to simarm64c. 2021-02-25 21:18:02 +00:00
telemetry
test_runner Fix an iterable_contains_unrelated_type warning. 2021-03-30 20:37:11 +00:00
testing [CFE] Make fuzz testing work also when not skipping VM 2021-03-22 10:12:52 +00:00
vm Reapply "[vm, compiler] Convert binary Smi ops to graph intrinsics." 2021-03-25 21:54:44 +00:00
vm_service [ dart:io / package:vm_service ] Add HTTP request profiling service 2021-03-24 23:01:03 +00:00
vm_snapshot_analysis [vm] Create more Function helper methods for code clarity. 2021-03-23 12:21:26 +00:00
wasm Port package:wasm to new FFI Opaque structs and Allocator API 2021-03-03 22:35:14 +00:00
.gitignore
BUILD.gn
pkg.status [test] Apply simarm64 status file entries to simarm64c. 2021-02-25 21:18:02 +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. 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