dart-sdk/pkg
Stephen Adams 5ff2459d88 Remove obsolete internal dart2js annotations
These annotations have all been replaced with @pragma('dart2js:xxx')
versions:

@ForceInline, @NoInline, @NoThrows, @NoSideEffects, @AssumeDynamic.

Change-Id: Ia4730670c6864ccbe0fa4120108c3c16ab887c23
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208863
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
2021-08-04 23:27:18 +00:00
..
_fe_analyzer_shared [cfe] Rename ParsedArguments to ParsedOptions 2021-08-03 18:29:25 +00:00
_js_interop_checks [package:js] Allow external extension members for Native classes 2021-07-30 18:43:47 +00:00
analysis_server Fix a bug in data-driven fixes that caused imports to be added multiple times 2021-08-04 16:20:07 +00:00
analysis_server_client Make Location.endLine and Location.endColumn optional fields in the protocol 2021-07-15 17:35:55 +00:00
analyzer analyzer: Improve comments regarding "new"-named constructors. 2021-08-04 23:26:53 +00:00
analyzer_cli Issue 45556. Analyze a requested file, even if it is excluded. 2021-07-20 18:27:13 +00:00
analyzer_plugin Fix a bug in data-driven fixes that caused imports to be added multiple times 2021-08-04 16:20:07 +00:00
analyzer_utilities Rename AnalysisSession.getXyz2() into getXyz(). 2021-07-12 22:42:58 +00:00
async_helper Update LICENSE 2021-04-07 10:28:38 +00:00
build_integration Migrate pkg/build_integration to null safety 2021-07-17 15:45:04 +00:00
compiler Remove obsolete internal dart2js annotations 2021-08-04 23:27:18 +00:00
dart2js_runtime_metrics [dart2js] Add dart:_dart2js_runtime_metrics library and package 2021-08-03 18:25:00 +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 Fix for https://github.com/dart-lang/sdk/issues/46509, modifying the order that dart analyze outputs the analysis error output. 2021-08-02 17:03:22 +00:00
dds Revert "Reland "[ package:dds ] Add support for caching CPU samples based on UserTag"" 2021-08-04 17:32:38 +00:00
dev_compiler [dartdevc] Refactoring expression eval tests. 2021-08-04 16:46:28 +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 [vm] Treat redirecting factories as ordinary factories 2021-08-04 21:50:48 +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] Add dart:_dart2js_runtime_metrics library and package 2021-08-03 18:25:00 +00:00
kernel [cfe] Create normal bodies for redirecting factories 2021-08-04 17:51:07 +00:00
language_versioning_2.7_test
meta Update changelog to add UseResult.unless 2021-08-04 16:03:59 +00:00
modular_test
native_stack_traces [vm] Fix handling of WeakSerializationReferences in v8 profile. 2021-05-11 11:21:44 +00:00
nnbd_migration Move shouldIgnoreUndefined logic into LibraryElementImpl. 2021-08-02 14:29:20 +00:00
scrape Add script to scrape metadata annotation arguments. 2021-07-12 23:41:32 +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 Rename AnalysisSession.getXyz2() into getXyz(). 2021-07-12 22:42:58 +00:00
testing [testing] Migrate pkg/testing to null safety 2021-07-27 19:45:38 +00:00
vm [vm] Treat redirecting factories as ordinary factories 2021-08-04 21:50:48 +00:00
vm_service Revert "Reland "[ package:dds ] Add support for caching CPU samples based on UserTag"" 2021-08-04 17:32:38 +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 [ VM / Service ] Allow for CpuSamples to be streamed when samples are about to be overwritten. 2021-07-16 20:50:58 +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