From 9c35ae9812395eee29ebd94a6f2c8f7ecfff8ec4 Mon Sep 17 00:00:00 2001 From: "Stephen (Alex) Wallen" Date: Fri, 23 Feb 2024 19:46:57 -1000 Subject: [PATCH] chore: add documentation --- CHANGELOG.md | 7 ++++++ README.md | 63 ++-------------------------------------------------- pubspec.yaml | 3 ++- 3 files changed, 11 insertions(+), 62 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..53c934b --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,7 @@ +## Version 0.0.2 + +Add documentation to README.md + +## Version 0.0.1 + +Generate endpoints for dart, no tests currently. Still in beta, diff --git a/README.md b/README.md index 78bd725..58dd714 100644 --- a/README.md +++ b/README.md @@ -1,62 +1,3 @@ -# Instantly Sdk +## Instantly SDK For Dart (unofficial) -[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link] -[![Powered by Mason](https://img.shields.io/endpoint?url=https%3A%2F%2Ftinyurl.com%2Fmason-badge)](https://github.com/felangel/mason) -[![License: MIT][license_badge]][license_link] - -A Very Good Project created by Very Good CLI. - -## Installation ๐Ÿ’ป - -**โ— In order to start using Instantly Sdk you must have the [Dart SDK][dart_install_link] installed on your machine.** - -Install via `dart pub add`: - -```sh -dart pub add instantly_sdk -``` - ---- - -## Continuous Integration ๐Ÿค– - -Instantly Sdk comes with a built-in [GitHub Actions workflow][github_actions_link] powered by [Very Good Workflows][very_good_workflows_link] but you can also add your preferred CI/CD solution. - -Out of the box, on each pull request and push, the CI `formats`, `lints`, and `tests` the code. This ensures the code remains consistent and behaves correctly as you add functionality or make changes. The project uses [Very Good Analysis][very_good_analysis_link] for a strict set of analysis options used by our team. Code coverage is enforced using the [Very Good Workflows][very_good_coverage_link]. - ---- - -## Running Tests ๐Ÿงช - -To run all unit tests: - -```sh -dart pub global activate coverage 1.2.0 -dart test --coverage=coverage -dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info -``` - -To view the generated coverage report you can use [lcov](https://github.com/linux-test-project/lcov). - -```sh -# Generate Coverage Report -genhtml coverage/lcov.info -o coverage/ - -# Open Coverage Report -open coverage/index.html -``` - -[dart_install_link]: https://dart.dev/get-dart -[github_actions_link]: https://docs.github.com/en/actions/learn-github-actions -[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg -[license_link]: https://opensource.org/licenses/MIT -[logo_black]: https://raw.githubusercontent.com/VGVentures/very_good_brand/main/styles/README/vgv_logo_black.png#gh-light-mode-only -[logo_white]: https://raw.githubusercontent.com/VGVentures/very_good_brand/main/styles/README/vgv_logo_white.png#gh-dark-mode-only -[mason_link]: https://github.com/felangel/mason -[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg -[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis -[very_good_coverage_link]: https://github.com/marketplace/actions/very-good-coverage -[very_good_ventures_link]: https://verygood.ventures -[very_good_ventures_link_light]: https://verygood.ventures#gh-light-mode-only -[very_good_ventures_link_dark]: https://verygood.ventures#gh-dark-mode-only -[very_good_workflows_link]: https://github.com/VeryGoodOpenSource/very_good_workflows +The Instantly API provides a powerful and easy-to-use client. THis package wraps the API for Dart developers to integrate with the Instantly Email Marketing platform. This SDK simplifies the process of sending emails, managing subscribers, and analyzing campaign performance directly from your Dart or Flutter applications. diff --git a/pubspec.yaml b/pubspec.yaml index 86f4d99..4cea490 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,7 @@ name: instantly_sdk description: The unofficial SDK for the Instantly API. -version: 0.1.0+1 +version: 0.0.2 +repository: https://github.com/a-wallen/instantly_sdk_dart.git environment: sdk: ">=3.0.0 <4.0.0"