From 203f99f2f6ce328d99515c94212f74c1d9dd7690 Mon Sep 17 00:00:00 2001 From: thomashii Date: Sat, 15 May 2021 22:20:56 +0800 Subject: [PATCH] Publish serialize --- packages/serialize/angel_serialize/README.md | 8 +++++++- packages/serialize/angel_serialize/example/main.dart | 2 +- .../{angel_serialize.dart => angel3_serialize.dart} | 2 +- packages/serialize/angel_serialize/pubspec.yaml | 11 +++-------- 4 files changed, 12 insertions(+), 11 deletions(-) rename packages/serialize/angel_serialize/lib/{angel_serialize.dart => angel3_serialize.dart} (98%) diff --git a/packages/serialize/angel_serialize/README.md b/packages/serialize/angel_serialize/README.md index 0374d140..7f671ecd 100644 --- a/packages/serialize/angel_serialize/README.md +++ b/packages/serialize/angel_serialize/README.md @@ -1,4 +1,10 @@ -# angel_serialize +# angel3_serialize +[![version](https://img.shields.io/badge/pub-v4.0.0-brightgreen)](https://pub.dartlang.org/packages/angel3_serialize) +[![Null Safety](https://img.shields.io/badge/null-safety-brightgreen)](https://dart.dev/null-safety) +[![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion) + +[![License](https://img.shields.io/github/license/dukefirehawk/angel)](https://github.com/dukefirehawk/angel/tree/angel3/packages/serialize/angel_serialize/LICENSE) + The frontend for Angel model serialization. See documentation in the main project repo: diff --git a/packages/serialize/angel_serialize/example/main.dart b/packages/serialize/angel_serialize/example/main.dart index d67c05c2..6b406f86 100644 --- a/packages/serialize/angel_serialize/example/main.dart +++ b/packages/serialize/angel_serialize/example/main.dart @@ -1,5 +1,5 @@ // ignore_for_file: unused_element -import 'package:angel_serialize/angel_serialize.dart'; +import 'package:angel3_serialize/angel3_serialize.dart'; @serializable class _Todo { diff --git a/packages/serialize/angel_serialize/lib/angel_serialize.dart b/packages/serialize/angel_serialize/lib/angel3_serialize.dart similarity index 98% rename from packages/serialize/angel_serialize/lib/angel_serialize.dart rename to packages/serialize/angel_serialize/lib/angel3_serialize.dart index 281645a8..a53f806d 100644 --- a/packages/serialize/angel_serialize/lib/angel_serialize.dart +++ b/packages/serialize/angel_serialize/lib/angel3_serialize.dart @@ -1,5 +1,5 @@ export 'dart:convert' show json, Codec, Converter; -export 'package:angel_model/angel_model.dart'; +export 'package:angel3_model/angel3_model.dart'; export 'package:collection/collection.dart'; export 'package:meta/meta.dart' show required, Required; export 'package:quiver/core.dart' show hashObjects; diff --git a/packages/serialize/angel_serialize/pubspec.yaml b/packages/serialize/angel_serialize/pubspec.yaml index 6c754ae0..69760662 100644 --- a/packages/serialize/angel_serialize/pubspec.yaml +++ b/packages/serialize/angel_serialize/pubspec.yaml @@ -1,16 +1,11 @@ -name: angel_serialize +name: angel3_serialize version: 4.0.0 description: Static annotations powering Angel model serialization. Combine with angel_serialize_generator for flexible modeling. -homepage: https://github.com/dukefirehawk/angel -publish_to: none +homepage: https://github.com/dukefirehawk/angel/tree/angel3/packages/serialize/angel_serialize environment: sdk: '>=2.12.0 <3.0.0' dependencies: - angel_model: - git: - url: https://github.com/dukefirehawk/angel.git - ref: sdk-2.12.x_nnbd - path: packages/model + angel3_model: ^3.0.0 collection: ^1.15.0 meta: ^1.3.0 pedantic: ^1.11.0