Skip to content

Commit

Permalink
Add topics to packages (#1910)
Browse files Browse the repository at this point in the history
Topics are supported on pub.dev. The PR add topics for all packages.

### New Pull Request Checklist

- [x] I have read the
[Documentation](https://pub.dev/documentation/dio/latest/)
- [x] I have searched for a similar pull request in the
[project](https://github.com/cfug/dio/pulls) and found none
- [x] I have updated this branch with the latest `main` branch to avoid
conflicts (via merge from master or rebase)
- [ ] I have added the required tests to prove the fix/feature I'm
adding
- [ ] I have updated the documentation (if necessary)
- [x] I have run the tests without failures
- [x] I have updated the `CHANGELOG.md` in the corresponding package

---------

Signed-off-by: Alex Li <[email protected]>
  • Loading branch information
AlexV525 authored Jul 31, 2023
1 parent 9d40624 commit d957177
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 7 deletions.
8 changes: 7 additions & 1 deletion dio/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
name: dio
version: 5.3.0

description: |
A powerful HTTP networking package,
supports Interceptors,
Aborting and canceling a request,
Custom adapters, Transformers, etc.
topics:
- dio
- http
- network
- interceptor
- middleware
homepage: https://github.com/cfug/dio
repository: https://github.com/cfug/dio/blob/main/dio
issue_tracker: https://github.com/cfug/dio/issues
version: 5.3.0

environment:
sdk: '>=2.15.0 <3.0.0'
Expand Down
4 changes: 2 additions & 2 deletions plugins/cookie_manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

[![Pub](https://img.shields.io/pub/v/dio_cookie_manager.svg)](https://pub.dev/packages/dio_cookie_manager)

A cookie manager for [dio](https://github.com/cfug/dio).
A cookie manager combines cookie_jar and dio, based on the interceptor algorithm.

## Getting Started

### Install

```yaml
dependencies:
dio_cookie_manager: ^2.0.0 # latest version
dio_cookie_manager: ^latest-version
```
### Usage
Expand Down
9 changes: 8 additions & 1 deletion plugins/cookie_manager/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: dio_cookie_manager
description: A cookie manager combines cookie_jar and dio, based on the interceptor algorithm.
version: 3.1.0

description: A cookie manager combines cookie_jar and dio, based on the interceptor algorithm.
topics:
- dio
- cookie
- network
- storage
- persistence
homepage: https://github.com/cfug/dio
repository: https://github.com/cfug/dio/blob/main/plugins/cookie_manager
issue_tracker: https://github.com/cfug/dio/issues
Expand Down
2 changes: 1 addition & 1 deletion plugins/http2_adapter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Pub](https://img.shields.io/pub/v/dio_http2_adapter.svg)](https://pub.dev/packages/dio_http2_adapter)

An HTTP/2 adapter for [dio](https://github.com/cfug/dio).
An adapter that combines HTTP/2 and dio. Supports reusing connections, header compression, etc.

## Getting Started

Expand Down
8 changes: 7 additions & 1 deletion plugins/http2_adapter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: dio_http2_adapter
description: An adapter that combines HTTP/2 and dio. Supports reuse connections, header compression, etc.
version: 2.3.1

description: An adapter that combines HTTP/2 and dio. Supports reusing connections, header compression, etc.
topics:
- dio
- http2
- native
- network
homepage: https://github.com/cfug/dio
repository: https://github.com/cfug/dio/blob/main/plugins/http2_adapter
issue_tracker: https://github.com/cfug/dio/issues
Expand Down
9 changes: 8 additions & 1 deletion plugins/native_dio_adapter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: native_dio_adapter
description: A client for dio which makes use of cupertino_http and cronet_http to delegate HTTP requests to the native platform.
version: 1.0.0+1

description: A client for dio which makes use of cupertino_http and cronet_http to delegate HTTP requests to the native platform.
topics:
- dio
- http
- native
- network
- cronet
homepage: https://github.com/cfug/dio
repository: https://github.com/cfug/dio/blob/main/plugins/native_dio_adapter
issue_tracker: https://github.com/cfug/dio/issues
Expand Down

0 comments on commit d957177

Please sign in to comment.