Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dynamic_color] Move flutter_test to dev_dependencies #638

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/dynamic_color/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
- Update `compileSdkVersion` to `34`
- Fix lints

### Fixed
- Move flutter_test to dev_dependencies

## 1.7.0 - 2024-03-01
### Changed
- Update `material_color_utilities` to `0.8.0`
Expand Down
1 change: 1 addition & 0 deletions packages/dynamic_color/lib/test_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import 'dart:typed_data';
import 'package:dynamic_color/dynamic_color.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
// ignore: depend_on_referenced_packages
import 'package:flutter_test/flutter_test.dart';
import 'package:material_color_utilities/material_color_utilities.dart';

Expand Down
2 changes: 1 addition & 1 deletion packages/dynamic_color/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ packages:
source: hosted
version: "4.0.0"
flutter_test:
dependency: "direct main"
dependency: "direct dev"
description: flutter
source: sdk
version: "0.0.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/dynamic_color/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ environment:
dependencies:
flutter:
sdk: flutter
flutter_test:
sdk: flutter
# Since this package is an SDK dependency, we need to support a range of versions.
# See https://github.com/flutter/flutter/blob/main/packages/flutter/pubspec.yaml for current version used by the SDK.
material_color_utilities: ">=0.2.0 <= 0.11.1"

dev_dependencies:
cider: ">=0.1.3 <0.3.0"
flutter_lints: ^4.0.0
flutter_test:
sdk: flutter
meta: ^1.3.0

flutter:
Expand Down
Loading