From 3d671ea04e8bec7038ea476b7ff99c2028eb6673 Mon Sep 17 00:00:00 2001 From: John Ryan Date: Wed, 14 Aug 2024 13:44:29 -0700 Subject: [PATCH] Move resolution key above dependencies in pubspec.yaml files --- pkgs/dart_services/pubspec.yaml | 6 +++--- pkgs/dartpad_shared/pubspec.yaml | 5 +++-- pkgs/dartpad_ui/pubspec.yaml | 5 +++-- pkgs/samples/pubspec.yaml | 6 +++--- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/pkgs/dart_services/pubspec.yaml b/pkgs/dart_services/pubspec.yaml index 5ef27ca3d..0d5fa073d 100644 --- a/pkgs/dart_services/pubspec.yaml +++ b/pkgs/dart_services/pubspec.yaml @@ -5,6 +5,9 @@ publish_to: none environment: sdk: ^3.5.0 +# This package is managed as part of the dart-pad workspace. +resolution: workspace + dependencies: analysis_server_lib: ^0.2.5 analyzer: ^6.4.0 @@ -35,6 +38,3 @@ dev_dependencies: synchronized: ^3.1.0+1 test: ^1.25.7 test_descriptor: ^2.0.1 - -# This package is managed as part of the dart-pad workspace. -resolution: workspace \ No newline at end of file diff --git a/pkgs/dartpad_shared/pubspec.yaml b/pkgs/dartpad_shared/pubspec.yaml index 071350e96..71c1743f8 100644 --- a/pkgs/dartpad_shared/pubspec.yaml +++ b/pkgs/dartpad_shared/pubspec.yaml @@ -5,6 +5,9 @@ publish_to: none environment: sdk: ^3.5.0 +# This package is managed as part of the dart-pad workspace. +resolution: workspace + dependencies: http: ^1.2.1 json_annotation: ^4.9.0 @@ -15,5 +18,3 @@ dev_dependencies: dart_flutter_team_lints: ^3.1.0 json_serializable: ^6.8.0 -# This package is managed as part of the dart-pad workspace. -resolution: workspace diff --git a/pkgs/dartpad_ui/pubspec.yaml b/pkgs/dartpad_ui/pubspec.yaml index 0d6edf338..bac3fd0d6 100644 --- a/pkgs/dartpad_ui/pubspec.yaml +++ b/pkgs/dartpad_ui/pubspec.yaml @@ -5,6 +5,9 @@ publish_to: none environment: sdk: ^3.5.0 +# This package is managed as part of the dart-pad workspace. +resolution: workspace + dependencies: collection: any dartpad_shared: any @@ -41,5 +44,3 @@ flutter: - assets/RobotoMono-Bold.ttf - assets/RobotoMono-Regular.ttf -# This package is managed as part of the dart-pad workspace. -resolution: workspace diff --git a/pkgs/samples/pubspec.yaml b/pkgs/samples/pubspec.yaml index 6915daf0b..08f849c57 100644 --- a/pkgs/samples/pubspec.yaml +++ b/pkgs/samples/pubspec.yaml @@ -2,6 +2,9 @@ name: samples description: Sample code snippets for DartPad. publish_to: none +# This package is managed as part of the engine workspace. +resolution: workspace + environment: sdk: ^3.5.0 @@ -20,6 +23,3 @@ dev_dependencies: flutter: uses-material-design: true - -# This package is managed as part of the engine workspace. -resolution: workspace \ No newline at end of file