From 7fb0d99ffb74c28eee927fdd44aad8ca7101037a Mon Sep 17 00:00:00 2001 From: Istvan Soos Date: Tue, 11 Jun 2024 09:46:02 +0200 Subject: [PATCH] Recognize new example files in bin/ --- CHANGELOG.md | 4 ++++ lib/src/maintenance.dart | 4 ++++ lib/src/version.dart | 2 +- pubspec.yaml | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c0609a04..eb58d1ed8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.22.6 + +- New recognized example files in the `example/bin` directory. + ## 0.22.5 - Updated text and link on downgrade analysis. diff --git a/lib/src/maintenance.dart b/lib/src/maintenance.dart index 95b4c4c7a..b9df00a7a 100644 --- a/lib/src/maintenance.dart +++ b/lib/src/maintenance.dart @@ -9,12 +9,16 @@ List exampleFileCandidates(String package) { return [ 'example/example.md', 'example/lib/main.dart', + 'example/bin/main.dart', 'example/main.dart', 'example/lib/$package.dart', + 'example/bin/$package.dart', 'example/$package.dart', 'example/lib/${package}_example.dart', + 'example/bin/${package}_example.dart', 'example/${package}_example.dart', 'example/lib/example.dart', + 'example/bin/example.dart', 'example/example.dart', 'example/README.md', ]; diff --git a/lib/src/version.dart b/lib/src/version.dart index 827d18eed..866e2d8bd 100644 --- a/lib/src/version.dart +++ b/lib/src/version.dart @@ -1,2 +1,2 @@ // Generated code. Do not modify. -const packageVersion = '0.22.5'; +const packageVersion = '0.22.6-dev'; diff --git a/pubspec.yaml b/pubspec.yaml index 89c0fc4cd..cef79aacf 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: pana description: PAckage aNAlyzer - produce a report summarizing the health and quality of a Dart package. -version: 0.22.5 +version: 0.22.6-dev repository: https://github.com/dart-lang/pana topics: - tool