From f41358ee383290241f7a0948b10a12b045263fef Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Tue, 14 Jun 2022 17:08:05 -0700 Subject: [PATCH] prep for publishing 3.0.2 --- CHANGELOG.md | 3 ++- README.md | 4 ++++ analysis_options.yaml | 6 +----- pubspec.yaml | 4 ++-- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e64acb6..cd42d75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ -## 3.0.2-dev +## 3.0.2 +* Switch to using `package:lints`. * Address a few analysis hint violations. * Populate the pubspec `repository` field. diff --git a/README.md b/README.md index fef7008..2564d8a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ +[![Dart CI](https://github.com/dart-lang/json_rpc_2/actions/workflows/test-package.yml/badge.svg)](https://github.com/dart-lang/json_rpc_2/actions/workflows/test-package.yml) +[![pub package](https://img.shields.io/pub/v/json_rpc_2.svg)](https://pub.dev/packages/json_rpc_2) +[![package publisher](https://img.shields.io/pub/publisher/json_rpc_2.svg)](https://pub.dev/packages/json_rpc_2/publisher) + A library that implements the [JSON-RPC 2.0 spec][spec]. [spec]: https://www.jsonrpc.org/specification diff --git a/analysis_options.yaml b/analysis_options.yaml index bff1a74..572dd23 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,5 +1 @@ -# Defines a default set of lint rules enforced for -# projects at Google. For details and rationale, -# see https://github.com/dart-lang/pedantic#enabled-lints. -include: package:pedantic/analysis_options.yaml - +include: package:lints/recommended.yaml diff --git a/pubspec.yaml b/pubspec.yaml index 48bc0b6..bdf1afd 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: json_rpc_2 -version: 3.0.2-dev +version: 3.0.2 description: >- Utilities to write a client or server using the JSON-RPC 2.0 spec. repository: https://github.com/dart-lang/json_rpc_2 @@ -12,6 +12,6 @@ dependencies: stream_channel: ^2.1.0 dev_dependencies: - pedantic: ^1.11.0 + lints: ^1.0.0 test: ^1.16.0 web_socket_channel: ^2.0.0