Skip to content

Commit

Permalink
chore: add pubspec_overrides.yaml to examples (felangel#4079)
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel authored Mar 3, 2024
1 parent 0b7fc80 commit fbf3135
Show file tree
Hide file tree
Showing 15 changed files with 51 additions and 50 deletions.
8 changes: 0 additions & 8 deletions examples/flutter_counter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@ dependencies:
sdk: flutter
flutter_bloc: ^8.1.1

dependency_overrides:
bloc:
path: ../../packages/bloc
bloc_test:
path: ../../packages/bloc_test
flutter_bloc:
path: ../../packages/flutter_bloc

dev_dependencies:
bloc_test: ^9.1.0
flutter_test:
Expand Down
7 changes: 7 additions & 0 deletions examples/flutter_counter/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
dependency_overrides:
bloc:
path: ../../packages/bloc
bloc_test:
path: ../../packages/bloc_test
flutter_bloc:
path: ../../packages/flutter_bloc
8 changes: 0 additions & 8 deletions examples/flutter_firebase_login/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,3 @@ flutter:
uses-material-design: true
assets:
- assets/

dependency_overrides:
bloc:
path: ../../packages/bloc
bloc_test:
path: ../../packages/bloc_test
flutter_bloc:
path: ../../packages/flutter_bloc
7 changes: 7 additions & 0 deletions examples/flutter_firebase_login/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
dependency_overrides:
bloc:
path: ../../packages/bloc
bloc_test:
path: ../../packages/bloc_test
flutter_bloc:
path: ../../packages/flutter_bloc
8 changes: 0 additions & 8 deletions examples/flutter_infinite_list/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,5 @@ dev_dependencies:
sdk: flutter
mocktail: ^1.0.0

dependency_overrides:
bloc:
path: ../../packages/bloc
bloc_test:
path: ../../packages/bloc_test
flutter_bloc:
path: ../../packages/flutter_bloc

flutter:
uses-material-design: true
7 changes: 7 additions & 0 deletions examples/flutter_infinite_list/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
dependency_overrides:
bloc:
path: ../../packages/bloc
bloc_test:
path: ../../packages/bloc_test
flutter_bloc:
path: ../../packages/flutter_bloc
9 changes: 1 addition & 8 deletions examples/flutter_login/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,8 @@ dependencies:
user_repository:
path: packages/user_repository

dependency_overrides:
bloc:
path: ../../packages/bloc
flutter_bloc:
path: ../../packages/flutter_bloc

dev_dependencies:
bloc_test:
path: ../../packages/bloc_test
bloc_test: ^9.0.0
flutter_test:
sdk: flutter
mocktail: ^1.0.0
Expand Down
7 changes: 7 additions & 0 deletions examples/flutter_login/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
dependency_overrides:
bloc:
path: ../../packages/bloc
bloc_test:
path: ../../packages/bloc_test
flutter_bloc:
path: ../../packages/flutter_bloc
8 changes: 0 additions & 8 deletions examples/flutter_timer/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,5 @@ dev_dependencies:
sdk: flutter
mocktail: ^1.0.0

dependency_overrides:
bloc:
path: ../../packages/bloc
bloc_test:
path: ../../packages/bloc_test
flutter_bloc:
path: ../../packages/flutter_bloc

flutter:
uses-material-design: true
7 changes: 7 additions & 0 deletions examples/flutter_timer/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
dependency_overrides:
bloc:
path: ../../packages/bloc
bloc_test:
path: ../../packages/bloc_test
flutter_bloc:
path: ../../packages/flutter_bloc
7 changes: 7 additions & 0 deletions examples/flutter_todos/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
dependency_overrides:
bloc:
path: ../../packages/bloc
bloc_test:
path: ../../packages/bloc_test
flutter_bloc:
path: ../../packages/flutter_bloc
4 changes: 0 additions & 4 deletions examples/github_search/common_github_search/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,3 @@ dependencies:
equatable: ^2.0.3
http: ^0.13.3
stream_transform: ^2.0.0

dependency_overrides:
bloc:
path: ../../../packages/bloc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dependency_overrides:
bloc:
path: ../../../packages/bloc
6 changes: 0 additions & 6 deletions examples/github_search/flutter_github_search/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,5 @@ dependencies:
flutter_bloc: ^8.1.1
url_launcher: ^6.0.0

dependency_overrides:
bloc:
path: ../../../packages/bloc
flutter_bloc:
path: ../../../packages/flutter_bloc

flutter:
uses-material-design: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
dependency_overrides:
bloc:
path: ../../../packages/bloc
flutter_bloc:
path: ../../../packages/flutter_bloc

0 comments on commit fbf3135

Please sign in to comment.