diff --git a/angel_serialize/.gitignore b/angel_serialize/.gitignore index 2dbb2ea5..62ab0e8c 100644 --- a/angel_serialize/.gitignore +++ b/angel_serialize/.gitignore @@ -2,6 +2,7 @@ # Files and directories created by pub ../.packages +.packages .pub/ build/ # If you're building an application, you may want to check-in your pubspec.lock diff --git a/angel_serialize/CHANGELOG.md b/angel_serialize/CHANGELOG.md index 8136d5b8..8ea84e3c 100644 --- a/angel_serialize/CHANGELOG.md +++ b/angel_serialize/CHANGELOG.md @@ -1,3 +1,6 @@ +# 2.1.0 +* Export `hashObjects`. + # 2.0.4+1 * Allow Dart 1 for this annotation-only package. diff --git a/angel_serialize/lib/angel_serialize.dart b/angel_serialize/lib/angel_serialize.dart index b68088c9..26617936 100644 --- a/angel_serialize/lib/angel_serialize.dart +++ b/angel_serialize/lib/angel_serialize.dart @@ -1,3 +1,5 @@ +export 'package:quiver_hashcode/hashcode.dart' show hashObjects; + /// Excludes a field from being excluded. class Exclude { final bool canSerialize; diff --git a/angel_serialize/mono_pkg.yaml b/angel_serialize/mono_pkg.yaml new file mode 100644 index 00000000..e69de29b diff --git a/angel_serialize/pubspec.yaml b/angel_serialize/pubspec.yaml index f25bd24b..b74c252a 100644 --- a/angel_serialize/pubspec.yaml +++ b/angel_serialize/pubspec.yaml @@ -1,7 +1,9 @@ name: angel_serialize -version: 2.0.4+1 +version: 2.1.0 description: Static annotations powering Angel model serialization. Combine with angel_serialize_generator for flexible modeling. author: Tobe O homepage: https://github.com/angel-dart/serialize environment: - sdk: '>=1.8.0 <3.0.0' + sdk: '>=2.0.0-dev <3.0.0' +dependencies: + quiver_hashcode: ^2.0.0 diff --git a/angel_serialize_generator/build.yaml b/angel_serialize_generator/build.yaml index f312639c..9b4b07d9 100644 --- a/angel_serialize_generator/build.yaml +++ b/angel_serialize_generator/build.yaml @@ -27,5 +27,8 @@ targets: dependencies: - ":_book" sources: + - "bin/**" + - "lib/**" + - "web/**" - "test/models/author.dart" - "test/models/game_pad.dart" diff --git a/angel_serialize_generator/mono_pkg.yaml b/angel_serialize_generator/mono_pkg.yaml new file mode 100644 index 00000000..e69de29b diff --git a/angel_serialize_generator/pubspec.yaml b/angel_serialize_generator/pubspec.yaml index 9493c10e..248f5b54 100644 --- a/angel_serialize_generator/pubspec.yaml +++ b/angel_serialize_generator/pubspec.yaml @@ -16,5 +16,5 @@ dependencies: source_gen: ^0.9.0 quiver: ^2.0.0 dev_dependencies: - build_runner: ^0.10.0 + build_runner: ^1.0.0 test: ^1.0.0 \ No newline at end of file