Skip to content

Commit

Permalink
Use local deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmorgan committed Jun 16, 2022
1 parent 69e5295 commit 4554662
Show file tree
Hide file tree
Showing 10 changed files with 46 additions and 7 deletions.
6 changes: 6 additions & 0 deletions benchmark/pubspec.yaml
Expand Up @@ -18,3 +18,9 @@ dev_dependencies:
pedantic: ^1.4.0
quiver: '>=0.21.0 <4.0.0'
test: ^1.0.0

dependency_overrides:
built_value:
path: ../built_value
built_value_generator:
path: ../built_value_generator
4 changes: 4 additions & 0 deletions built_value/pubspec.yaml
Expand Up @@ -17,3 +17,7 @@ dependencies:
dev_dependencies:
pedantic: ^1.4.0
test: ^1.16.0

dependency_overrides:
built_value_generator:
path: ../built_value_generator
6 changes: 6 additions & 0 deletions built_value_analyzer_plugin/pubspec.yaml
Expand Up @@ -17,3 +17,9 @@ dev_dependencies:
build_test: ^0.10.3
pedantic: ^1.4.0
test: ^1.0.0

dependency_overrides:
built_value:
path: ../built_value
built_value_generator:
path: ../built_value_generator
2 changes: 1 addition & 1 deletion built_value_generator/lib/src/value_source_class.dart
Expand Up @@ -1100,7 +1100,7 @@ abstract class ValueSourceClass
result.write(fieldBuilders.keys.map((field) {
if (needsNullCheck.contains(field)) {
if (genericFields.containsKey(field)) {
final genericType = genericFields[field];
final genericType = genericFields[field];
return '$field: null is $genericType ? $field as $genericType : '
'BuiltValueNullFieldError.checkNotNull(${fieldBuilders[field]}, '
"r'$name', '${escapeString(field)}')";
Expand Down
4 changes: 4 additions & 0 deletions built_value_generator/pubspec.yaml
Expand Up @@ -23,3 +23,7 @@ dev_dependencies:
build_runner: '>=1.0.0 <3.0.0'
pedantic: ^1.4.0
test: ^1.0.0

dependency_overrides:
built_value:
path: ../built_value
6 changes: 6 additions & 0 deletions built_value_test/pubspec.yaml
Expand Up @@ -20,3 +20,9 @@ dev_dependencies:
build_runner: '>=1.0.0 <3.0.0'
pedantic: ^1.4.0
test: ^1.0.0

dependency_overrides:
built_value:
path: ../built_value
built_value_generator:
path: ../built_value_generator
6 changes: 6 additions & 0 deletions chat_example/pubspec.yaml
Expand Up @@ -23,3 +23,9 @@ dev_dependencies:
built_value_generator: ^8.3.2
pedantic: ^1.4.0
test: ^1.0.0

dependency_overrides:
built_value:
path: ../built_value
built_value_generator:
path: ../built_value_generator
7 changes: 1 addition & 6 deletions end_to_end_test/lib/generics_nnbd.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions end_to_end_test/pubspec.yaml
Expand Up @@ -20,3 +20,9 @@ dev_dependencies:
pedantic: ^1.4.0
quiver: '>=0.21.0 <4.0.0'
test: ^1.16.0

dependency_overrides:
built_value:
path: ../built_value
built_value_generator:
path: ../built_value_generator
6 changes: 6 additions & 0 deletions example/pubspec.yaml
Expand Up @@ -17,3 +17,9 @@ dev_dependencies:
pedantic: ^1.4.0
quiver: '>=0.21.0 <4.0.0'
test: ^1.0.0

dependency_overrides:
built_value:
path: ../built_value
built_value_generator:
path: ../built_value_generator

0 comments on commit 4554662

Please sign in to comment.