mirror of
https://github.com/flutter/packages.git
synced 2025-06-01 14:43:06 +08:00

Updates the repo tooling to Dart 3, now that the N-2 version has Dart 3, which allows us to use Dart 3 features (e.g., records) going forward. To allow the update: - Removes `break` commands from `switch`es (all done automatically with `dart fix --apply`) - Replaces mocking of `ProcessResult` with just creating an actual `ProcessResult` since it's a `final` data class and thus can't (but also doesn't need to be) mocked.
35 lines
724 B
YAML
35 lines
724 B
YAML
name: flutter_plugin_tools
|
|
description: Productivity and CI utils for flutter/packages
|
|
repository: https://github.com/flutter/packages/tree/main/script/tool
|
|
version: 1.0.0
|
|
publish_to: none
|
|
|
|
dependencies:
|
|
args: ^2.1.0
|
|
async: ^2.6.1
|
|
collection: ^1.15.0
|
|
colorize: ^3.0.0
|
|
file: ^6.1.0
|
|
# Pin git to 2.0.x until dart >=2.18 is legacy
|
|
git: '>=2.0.0 <2.1.0'
|
|
http: '>=0.13.3 <2.0.0'
|
|
http_multi_server: ^3.0.1
|
|
meta: ^1.3.0
|
|
path: ^1.8.0
|
|
platform: ^3.0.0
|
|
pub_semver: ^2.0.0
|
|
pubspec_parse: ^1.0.0
|
|
quiver: ^3.0.1
|
|
test: ^1.17.3
|
|
uuid: ^3.0.4
|
|
yaml: ^3.1.0
|
|
yaml_edit: ^2.0.2
|
|
|
|
dev_dependencies:
|
|
build_runner: ^2.0.3
|
|
matcher: ^0.12.10
|
|
mockito: '>=5.3.2 <=5.5.0'
|
|
|
|
environment:
|
|
sdk: '>=3.0.0 <4.0.0'
|