diff --git a/code_sharing/shared/lib/shared.dart b/code_sharing/shared/lib/shared.dart index f8d3c81d0..781b37dbd 100644 --- a/code_sharing/shared/lib/shared.dart +++ b/code_sharing/shared/lib/shared.dart @@ -1,4 +1,4 @@ /// Common data models required by our client and server. -library shared; +library; export 'src/models.dart'; diff --git a/code_sharing/shared/pubspec.yaml b/code_sharing/shared/pubspec.yaml index 5db4e6ee4..578c13e82 100644 --- a/code_sharing/shared/pubspec.yaml +++ b/code_sharing/shared/pubspec.yaml @@ -13,5 +13,5 @@ dev_dependencies: build_runner: ^2.2.1 freezed: ^2.1.1 json_serializable: ^6.4.0 - lints: ">=2.0.0 <5.0.0" + lints: ^5.0.0 test: ^1.16.0