diff --git a/ferry_serializers/.gitignore b/ferry_serializers/.gitignore new file mode 100644 index 00000000..629d5e9c --- /dev/null +++ b/ferry_serializers/.gitignore @@ -0,0 +1,9 @@ +# Dart +.dart_tool +.packages +pubspec.lock + +# Documentation +doc/api + +build/ diff --git a/ferry_serializers/CHANGELOG.md b/ferry_serializers/CHANGELOG.md new file mode 100644 index 00000000..e69de29b diff --git a/ferry_serializers/LICENSE b/ferry_serializers/LICENSE new file mode 100644 index 00000000..f0f701a1 --- /dev/null +++ b/ferry_serializers/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2020 Sat Mandir Khalsa + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/ferry_serializers/README.md b/ferry_serializers/README.md new file mode 100644 index 00000000..6a257b3e --- /dev/null +++ b/ferry_serializers/README.md @@ -0,0 +1,23 @@ +[![MIT License][license-badge]][license-link] +[![PRs Welcome][prs-badge]][prs-link] +[![Watch on GitHub][github-watch-badge]][github-watch-link] +[![Star on GitHub][github-star-badge]][github-star-link] +[![Watch on GitHub][github-forks-badge]][github-forks-link] +[![Discord][discord-badge]][discord-link] + +[license-badge]: https://img.shields.io/github/license/gql-dart/ferry.svg?style=for-the-badge +[license-link]: https://github.com/gql-dart/ferry/blob/master/LICENSE +[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge +[prs-link]: https://github.com/gql-dart/ferry/issues + +[github-watch-badge]: https://img.shields.io/github/watchers/gql-dart/ferry.svg?style=for-the-badge&logo=github&logoColor=ffffff +[github-watch-link]: https://github.com/gql-dart/ferry/watchers +[github-star-badge]: https://img.shields.io/github/stars/gql-dart/ferry.svg?style=for-the-badge&logo=github&logoColor=ffffff +[github-star-link]: https://github.com/gql-dart/ferry/stargazers +[github-forks-badge]: https://img.shields.io/github/forks/gql-dart/ferry.svg?style=for-the-badge&logo=github&logoColor=ffffff +[github-forks-link]: https://github.com/gql-dart/ferry/network/members + +[discord-badge]: https://img.shields.io/discord/559455668810153989.svg?style=for-the-badge&logo=discord&logoColor=ffffff +[discord-link]: https://discord.gg/QRTfXE + +Serializers for conversion between GraphQL and Dart types. diff --git a/ferry_serializers/analysis_options.yaml b/ferry_serializers/analysis_options.yaml new file mode 100644 index 00000000..108d1058 --- /dev/null +++ b/ferry_serializers/analysis_options.yaml @@ -0,0 +1 @@ +include: package:pedantic/analysis_options.yaml diff --git a/ferry_serializers/lib/ferry_serializers.dart b/ferry_serializers/lib/ferry_serializers.dart new file mode 100644 index 00000000..b7fa93c9 --- /dev/null +++ b/ferry_serializers/lib/ferry_serializers.dart @@ -0,0 +1 @@ +export 'package:ferry_store/ferry_store.dart'; diff --git a/ferry_serializers/pubspec.yaml b/ferry_serializers/pubspec.yaml new file mode 100644 index 00000000..77886af7 --- /dev/null +++ b/ferry_serializers/pubspec.yaml @@ -0,0 +1,13 @@ +name: ferry_serializers +version: 0.0.0 +homepage: https://ferrygraphql.com/ +description: Serializers for conversion between GraphQL and Dart types +repository: https://github.com/gql-dart/ferry +environment: + sdk: '>=2.12.0 <3.0.0' +dependencies: + built_value: ^8.0.4 + ferry: ^0.10.3 +dev_dependencies: + test: ^1.16.8 + pedantic: ^1.11.0 diff --git a/melos.yaml b/melos.yaml index f5020b76..c7c9f4ef 100644 --- a/melos.yaml +++ b/melos.yaml @@ -8,6 +8,7 @@ packages: - ferry_flutter/* - ferry_generator/* - ferry_hive_store/* + - ferry_serializers/* - ferry_store/* - ferry_test_graphql/* - normalize/*