dart-sdk/pkg
Konstantin Shcheglov abbff018c0 Deprecate LinkInputLibrary/LinkInputUnit.tmp1(), use unnamed instead.
This is the next step to rename these constructors.
After updating google3 to unnamed constructors we will remove `tmp1`.

Change-Id: Ib010ad6c2de6918dc9daceaa7d27449618ebd9b5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/202200
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2021-06-03 05:03:24 +00:00
..
_fe_analyzer_shared Add parser support for use of new as a constructor name. 2021-06-02 18:02:35 +00:00
_js_interop_checks Optimize js_util setProperty calls for non-function values to 2021-05-25 19:28:01 +00:00
analysis_server Remove most trailing spaces in analysis_server/ 2021-06-02 21:50:24 +00:00
analysis_server_client [analyzer] Add folding regions for parameters 2021-05-24 17:13:35 +00:00
analyzer Deprecate LinkInputLibrary/LinkInputUnit.tmp1(), use unnamed instead. 2021-06-03 05:03:24 +00:00
analyzer_cli Use explicit FileContentCache instance for AnalysisContextCollectionImpl. 2021-05-26 00:54:01 +00:00
analyzer_plugin Suggest functions with a void return type in an expression function body when the parent closure returns void 2021-06-02 22:44:44 +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] Extending pkg/js_ast to support arrow functions and methods. 2021-06-03 00:15:04 +00:00
dart2js_tools
dart2native Increase alignment when concatenating AOT runtime and ELF snapshots. 2021-04-19 22:55:39 +00:00
dart_internal pkg:dart_internal bump support Dart SDK version 2021-04-20 16:24:28 +00:00
dartdev [pkg/dartdev] support analyzing multiple directories 2021-06-02 20:11:24 +00:00
dds [dds] Support running scripts with DAP in debug mode 2021-06-02 18:28:55 +00:00
dev_compiler Optimize js_util setProperty calls for non-function values to 2021-05-25 19:28:01 +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 Add parser support for use of new as a constructor name. 2021-06-02 18:02:35 +00:00
frontend_server Revert "Move most of the code from u/b/kernel_worker.dart to p/frontend_server" 2021-06-01 19:29:54 +00:00
js fix(docs): corrects common typos in project documentation 2021-05-18 15:48:18 +00:00
js_ast [dart2js] Extending pkg/js_ast to support arrow functions and methods. 2021-06-03 00:15:04 +00:00
js_runtime [dart2js] Migrate shared libraries to 2.12 2021-06-02 21:41:34 +00:00
kernel [dart2js] Implement basic lowering for late instance variables. 2021-06-02 23:21:24 +00:00
language_versioning_2.7_test
meta Improve quality of @protected doc comment 2021-05-27 18:41:24 +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 [ CLI ] Improve consistency of help messages between commands 2021-05-17 21:20:22 +00:00
scrape fix(docs): corrects common typos in project documentation 2021-05-18 15:48:18 +00:00
smith [infra] Add new compressed architectures to the test matrix. 2021-02-04 17:44:37 +00:00
sourcemap_testing
status_file Don't truncate command output in the test runner. 2021-04-07 23:42:38 +00:00
telemetry move pkg/telemetry to using package:lints 2021-05-19 16:26:42 +00:00
test_runner [testing] Rely on language versions in the analyzer tests 2021-06-02 07:47:46 +00:00
testing [CFE] Make fuzz testing work also when not skipping VM 2021-03-22 10:12:52 +00:00
vm [cfe/ffi] Remove dead code 2021-05-26 15:29:00 +00:00
vm_service [ VM / Service ] Move sourceLocation property to reference objects for Class, Function, and Field. 2021-06-02 22:18:32 +00:00
vm_snapshot_analysis [pkg/vm_snapshot_analysis] Fix size check again after 7131d318. 2021-05-13 14:36:11 +00:00
wasm pkg:wasm - use pkg:lints lints 2021-06-02 23:15:10 +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 [wasm] Prepare for release 2021-05-20 20:40:15 +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