dart-sdk/pkg
pq 3fb1586b28 quick fix for prefer_const_literals_to_create_immutables
see: https://github.com/dart-lang/sdk/issues/45932

Fixes: https://github.com/dart-lang/sdk/issues/45924

Change-Id: I98d89e9f98b72c333f9bb274b84730d68b71e71f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/206102
Commit-Queue: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2021-07-09 01:29:20 +00:00
..
_fe_analyzer_shared [cfe] Add check for constructor tear off on abstract classes 2021-07-08 12:54:44 +00:00
_js_interop_checks Optimize js_util callMethod calls for 0-4 arguments. 2021-06-30 20:11:44 +00:00
analysis_server quick fix for prefer_const_literals_to_create_immutables 2021-07-09 01:29:20 +00:00
analysis_server_client Remove support for the deprecated dartfix tool 2021-07-02 18:30:24 +00:00
analyzer Prepare to publish analyzer 2.0.0 and _fe_analyzer_shared 23.0.0 2021-07-07 23:58:33 +00:00
analyzer_cli Issue 46477. Fix ClassElement.lookUpInheritedMethod() to filter out static methods. 2021-06-28 23:51:23 +00:00
analyzer_plugin Add a resourceProvider getter to ChangeWorkspace 2021-07-08 18:34:03 +00:00
analyzer_utilities Move off of a use of 'dartfmt'. 2021-05-18 23:09:53 +00:00
async_helper Update LICENSE 2021-04-07 10:28:38 +00:00
build_integration Update LICENSE 2021-04-07 10:28:38 +00:00
compiler [dart2js] Cleanup handling for --enable-experiment=non-nullable. 2021-07-09 00:26:05 +00:00
dart2js_tools [dart2js] Reexporting check in _extractMinifiedNames. 2021-06-30 22:50:14 +00:00
dart2native [pkg/dart2native] switch to use package:lints 2021-06-23 00:51:17 +00:00
dart_internal pkg:dart_internal bump support Dart SDK version 2021-04-20 16:24:28 +00:00
dartdev [test] Fix analytics test: "dart format" requires a path 2021-07-08 17:33:52 +00:00
dds [dds] Support IPv6 for DAP with --ipv6 flag 2021-07-02 00:04:52 +00:00
dev_compiler [cfe] Initial implementation for constructor tear off lowering 2021-07-08 11:05:04 +00:00
diagnostic Update LICENSE 2021-04-07 10:28:38 +00:00
expect Clean up null-aware tests. 2021-05-12 15:21:10 +00:00
front_end [cfe] Enable factory tear-offs 2021-07-08 15:02:44 +00:00
frontend_server [flutter-frontend] Shard flutter-frontend bot 2021-06-15 08:11:19 +00:00
js fix(docs): corrects common typos in project documentation 2021-05-18 15:48:18 +00:00
js_ast [dart2js] Realigning source entry boundaries for methods. 2021-06-14 18:34:33 +00:00
js_runtime [dart2js] Pass tear-off parameters in an object 2021-06-15 22:19:13 +00:00
kernel [cfe] Initial implementation for constructor tear off lowering 2021-07-08 11:05:04 +00:00
language_versioning_2.7_test
meta Prepare to publish meta 1.7.0 2021-07-07 21:02:53 +00:00
modular_test Prepare for switching to null safe package_config 2021-01-21 05:04:33 +00:00
native_stack_traces [vm] Fix handling of WeakSerializationReferences in v8 profile. 2021-05-11 11:21:44 +00:00
nnbd_migration Migration: stop explicitly opting generated code into null safety. 2021-06-23 23:35:47 +00:00
scrape Migrate pkg/scrape to null safety. 2021-07-07 22:08:53 +00:00
smith [infra] Pass architectures to dart_sdk.py explicitly 2021-06-10 10:32:09 +00:00
sourcemap_testing Updating pkg:sourcemap_testing function resolution for method definition syntax. 2021-07-08 22:59:17 +00:00
status_file Don't truncate command output in the test runner. 2021-04-07 23:42:38 +00:00
telemetry deprecated field pubspec diagnostic 2021-06-22 17:26:09 +00:00
test_runner several minor edits to various dart-lang/sdk files 2021-06-29 17:47:48 +00:00
testing [CFE] Make fuzz testing work also when not skipping VM 2021-03-22 10:12:52 +00:00
vm [cfe] Initial implementation for constructor tear off lowering 2021-07-08 11:05:04 +00:00
vm_service [ VM / Service ] Add missing isolate parameter for UserTagChanged events 2021-06-29 22:32:39 +00:00
vm_snapshot_analysis [pkg/vm_snapshot_analysis] switch to using package:lints 2021-06-24 17:07:48 +00:00
.gitignore
BUILD.gn Reapply "[build] Don't list Dart sources up front when creating application snapshots." 2021-04-27 17:22:54 +00:00
pkg.status Enable the verify_diagnostics_test on the bots 2021-06-11 15:44:56 +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