dart-sdk/pkg
Mayank Patke 05a6506c92 [dart2js] Clean up unused topLevel member in DartTypeConverter.
Change-Id: I67e38effb7035e0af73cabc923d1e4e529fd9b72
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/238262
Reviewed-by: Joshua Litt <joshualitt@google.com>
Commit-Queue: Mayank Patke <fishythefish@google.com>
2022-03-22 22:29:00 +00:00
..
_fe_analyzer_shared [macro] Support fresh names in MacroExecutor.buildAugmentationLibrary 2022-03-22 16:30:08 +00:00
_js_interop_checks [pkg:js] Disallow all operators in JS classes 2022-03-09 01:48:24 +00:00
analysis_server [analysis_server] Remove pendingFilesToRemoveOverlay when cancelling timer 2022-03-22 19:49:50 +00:00
analysis_server_client Restore sync file methods in AnalysisSession. 2022-03-21 23:27:57 +00:00
analyzer Rework handling of identical in the InvocationInferrer class hierarchy. 2022-03-22 21:56:20 +00:00
analyzer_cli Restore sync file methods in AnalysisSession. 2022-03-21 23:27:57 +00:00
analyzer_plugin [analyzer] Don't produce nested LinkedEditGroups 2022-03-18 16:08:40 +00:00
analyzer_utilities Restore sync file methods in AnalysisSession. 2022-03-21 23:27:57 +00:00
async_helper Fix bug in Isolate.run. 2022-03-09 11:53:34 +00:00
build_integration [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
compiler [dart2js] Clean up unused topLevel member in DartTypeConverter. 2022-03-22 22:29:00 +00:00
dart2js_info lints 2.0 fixes 2022-03-18 01:42:47 +00:00
dart2js_runtime_metrics [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
dart2js_tools [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
dart2native MacOS-Signable Compiled Dart Scripts 2022-03-09 18:02:34 +00:00
dart2wasm [dart2wasm] Add support for null checks. 2022-03-22 19:37:30 +00:00
dart_internal [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
dartdev update package:lints dep to 2.0.0 2022-03-18 19:55:51 +00:00
dds Set the cache-control header's max-age value to 0s for DevTools. 2022-03-18 22:46:02 +00:00
dds_service_extensions [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
dev_compiler lints 2.0 fixes 2022-03-18 01:42:47 +00:00
expect Add myself to OWNERS in the various test packages. 2022-03-05 08:14:17 +00:00
front_end [macro] Support fresh names in MacroExecutor.buildAugmentationLibrary 2022-03-22 16:30:08 +00:00
frontend_server [cfe] Refactor IdentifierImpl 2022-03-15 09:11:19 +00:00
js [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
js_ast [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
js_runtime [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
kernel [cfe] Rename LibraryBuilder getters to [libraryBuilder] 2022-03-21 08:41:37 +00:00
language_versioning_2.7_test [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
meta [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
modular_test [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
native_stack_traces lints 2.0 fixes 2022-03-17 23:41:27 +00:00
nnbd_migration Migrate nnbd_migration to lints 2.0.0 analysis 2022-03-19 00:06:21 +00:00
scrape [analysis_server] Make CompilationUnit.lineInfo non-nullable 2022-03-03 06:59:00 +00:00
smith [infra] Remove references to unsupported ARMv6 and ARMv5TE. 2022-03-17 00:07:54 +00:00
sourcemap_testing [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
status_file Add myself to OWNERS in the various test packages. 2022-03-05 08:14:17 +00:00
telemetry [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
test_runner Restore sync file methods in AnalysisSession. 2022-03-21 23:27:57 +00:00
testing [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
vm [ffi] Fix incorrect kernel type for size in FFI transform. 2022-03-21 14:33:37 +00:00
vm_service Reland "[ Service ] Update VM service message to not reference Observatory" 2022-03-17 23:15:57 +00:00
vm_snapshot_analysis lints 2.0 fixes 2022-03-17 23:41:27 +00:00
wasm_builder [dart2wasm] Basic FFI support 2022-03-22 14:05:28 +00:00
.gitignore Ignore .dart_tool and .packages in pkg dir 2021-09-24 15:22:08 +00:00
BUILD.gn
OWNERS [test] Widen ownership of test status files. 2022-03-10 09:49:16 +00:00
pkg.status Split DevTools server tests up into two libraries 2022-03-14 17:51:28 +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