dart-sdk/pkg
Konstantin Shcheglov f481cbf2fa Use IS_INVOKED_BY_ENUM_CONSTANT_WITHOUT_ARGUMENTS
Change-Id: I870ece21708c1e96bf8b3bd4d4373ca6bdade9cf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/232133
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2022-02-09 16:16:56 +00:00
..
_fe_analyzer_shared Replace Uri.scheme == with Uri.isScheme 2022-02-08 21:38:57 +00:00
_js_interop_checks Replace Uri.scheme == with Uri.isScheme 2022-02-08 21:38:57 +00:00
analysis_server Add fix for sort_unnamed_constructors_first lint. 2022-02-09 06:51:07 +00:00
analysis_server_client Add CompletionSuggestion.libraryUri, keep isNotImported. 2022-02-04 22:49:10 +00:00
analyzer Use IS_INVOKED_BY_ENUM_CONSTANT_WITHOUT_ARGUMENTS 2022-02-09 16:16:56 +00:00
analyzer_cli Replace Uri.scheme == with Uri.isScheme 2022-02-08 21:38:57 +00:00
analyzer_plugin Update outdated old or removed dart.dev links 2022-02-08 19:29:56 +00:00
analyzer_utilities Add includesAllInOrder() check. 2022-01-28 04:28:31 +00:00
async_helper Simplify asyncExpectThrows and enhance Expect.throws. 2022-01-06 17:06:47 +00:00
build_integration Replace Uri.scheme == with Uri.isScheme 2022-02-08 21:38:57 +00:00
compiler [dart2js] Cleanup ImpactCacheDeleter. 2022-02-09 02:28:41 +00:00
dart2js_info Replace Uri.scheme == with Uri.isScheme 2022-02-08 21:38:57 +00:00
dart2js_runtime_metrics [dart2js_runtime_metrics] Allow exporting internal library 2021-08-12 22:47:22 +00:00
dart2js_tools Replace Uri.scheme == with Uri.isScheme 2022-02-08 21:38:57 +00:00
dart2native [vm] Bump max ELF page size to 64K 2021-11-16 16:23:36 +00:00
dart_internal [release] Update changelog for dart_internal 2022-01-26 15:13:26 +00:00
dartdev Add missing 'help' option to DevTools server arg parser. 2022-02-08 19:15:56 +00:00
dds Replace Uri.scheme == with Uri.isScheme 2022-02-08 21:38:57 +00:00
dds_service_extensions Add license file to dds_service_extensions 2022-01-12 17:39:33 +00:00
dev_compiler Replace Uri.scheme == with Uri.isScheme 2022-02-08 21:38:57 +00:00
diagnostic master branch to main 2021-09-15 06:22:23 +00:00
expect [gardening] Fix env_test/has_mirror_support. 2022-01-14 23:33:11 +00:00
front_end Replace Uri.scheme == with Uri.isScheme 2022-02-08 21:38:57 +00:00
frontend_server Replace Uri.scheme == with Uri.isScheme 2022-02-08 21:38:57 +00:00
js [pkg:js] Update CHANGELOG, README, and WORKAROUNDS 2021-12-16 03:11:57 +00:00
js_ast [js_ast] Split VariableInitialization from Assignment 2022-01-05 17:50:04 +00:00
js_runtime [dart2js] Add dart:_dart2js_runtime_metrics library and package 2021-08-03 18:25:00 +00:00
kernel Replace Uri.scheme == with Uri.isScheme 2022-02-08 21:38:57 +00:00
language_versioning_2.7_test
meta Fix a typo 2021-12-02 11:37:31 +00:00
modular_test [gardening] Fix env_test/has_mirror_support. 2022-01-14 23:33:11 +00:00
native_stack_traces [pkg/native_stack_traces] Bump version number for publishing. 2022-01-03 13:04:25 +00:00
nnbd_migration Replace Uri.scheme == with Uri.isScheme 2022-02-08 21:38:57 +00:00
scrape Script to scrape corpus to evaluate "super." parameter proposals. 2021-10-01 18:54:48 +00:00
smith [vm] Support RISC-V. 2022-01-20 00:57:57 +00:00
sourcemap_testing Updating pkg:sourcemap_testing function resolution for method definition syntax. 2021-07-08 22:59:17 +00:00
status_file [test] Inform status files about the new simulated architectures. 2022-02-03 20:32:16 +00:00
telemetry telemetry: Use the new strict-casts instead of deprecated no-implicit-casts 2021-12-20 22:33:43 +00:00
test_runner Replace Uri.scheme == with Uri.isScheme 2022-02-08 21:38:57 +00:00
testing Replace a bunch of references to .packages 2021-10-12 20:16:15 +00:00
vm Replace Uri.scheme == with Uri.isScheme 2022-02-08 21:38:57 +00:00
vm_service Replace Uri.scheme == with Uri.isScheme 2022-02-08 21:38:57 +00:00
vm_snapshot_analysis Make dominator nullable. 2022-01-31 21:26:14 +00:00
.gitignore Ignore .dart_tool and .packages in pkg dir 2021-09-24 15:22:08 +00:00
BUILD.gn
pkg.status [test] Inform status files about the new simulated architectures. 2022-02-03 20:32:16 +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