afcfbbeba8
(Part of https://github.com/dart-lang/sdk/issues/63288) This change migrates the packages owned by the developer experience team to use the new constructor declaration syntax, described in https://github.com/dart-lang/language/blob/main/accepted/future-releases/primary-constructors/feature-specification.md#abbreviations-of-in-body-constructor-declarations. This change was performed in an automated fashion, by (a) bumping the packages' SDK constraints to `3.13.0-0`, (b) enabling the lints `unnecessary_type_name_in_constructor` and `unnecessary_const_in_enum_constructor`, (c) fixing the resulting lint failures using `dart fix`, and then (d) reformatting the affected files. To ease code review, I've reverted unrelated formatting changes. Since this change requires bumping SDK constaints to `3.13.0-0`, it was only performed on packages that are *not* published on pub. (Packages that *are* published on pub should remain on lower language versions until at least after the stable version of 3.13 is released, so that we don't block users on the stable channel from receiving updates to those packages.) Change-Id: Ibb4daebafd239da58251e838ea6a3f336a6a6964 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/505046 Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> SLSA-Policy-Verified: SLSA Policy Verification Service <devtools-gerritcodereview-exitgate@google.com>
28 lines
780 B
YAML
28 lines
780 B
YAML
name: analysis_server_client
|
|
description:
|
|
A client wrapper over analysis_server. Instances of the class Server manage a
|
|
connection to a server process, and facilitate communication to and from the
|
|
server.
|
|
repository: https://github.com/dart-lang/sdk/tree/main/pkg/analysis_server_client
|
|
|
|
# This package is not intended for consumption on pub.dev. DO NOT publish.
|
|
# Note: this package was previously published (last published as `2.0.1`).
|
|
publish_to: none
|
|
|
|
environment:
|
|
sdk: '^3.13.0-0'
|
|
|
|
resolution: workspace
|
|
|
|
# Use 'any' constraints here; we get our versions from the DEPS file.
|
|
dependencies:
|
|
collection: any
|
|
path: any
|
|
pub_semver: any
|
|
|
|
# Use 'any' constraints here; we get our versions from the DEPS file.
|
|
dev_dependencies:
|
|
analyzer: any
|
|
lints: any
|
|
test: any
|