diff --git a/analysis_options.yaml b/analysis_options.yaml index ebab923..b3d4c6c 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,3 +1,5 @@ +include: package:lints/recommended.yaml + analyzer: plugins: - dart_code_metrics @@ -22,5 +24,5 @@ dart_code_metrics: linter: rules: - avoid_print: false + avoid_print: true prefer_single_quotes: true diff --git a/bin/main.dart b/bin/main.dart index b5f4787..b03aefa 100644 --- a/bin/main.dart +++ b/bin/main.dart @@ -65,7 +65,7 @@ void main(List arguments) async { if (queryString.isEmpty) { _showPlaceholder(); } else { - workflow.cacheKey = '${queryString}_${version}'; + workflow.cacheKey = '${queryString}_$version'; if (await workflow.getItems() == null) { await _performSearch(queryString, version: version); } diff --git a/bin/src/constants/config.dart b/bin/src/constants/config.dart index 88b6866..129c9e4 100644 --- a/bin/src/constants/config.dart +++ b/bin/src/constants/config.dart @@ -1,7 +1,7 @@ class Config { Config._(); - static const String version = '2.1.4'; + static const String version = '2.1.5'; static final Uri githubRepositoryUrl = Uri.https('github.com', '/techouse/alfred-tailwindcss-docs'); static const String algoliaApplicationId = 'KNPXZI5B0M'; diff --git a/info.plist b/info.plist index 92d4274..17c6a7e 100644 --- a/info.plist +++ b/info.plist @@ -215,7 +215,7 @@ variablesdontexport version - 2.1.4 + 2.1.5 webaddress https://github.com/techouse diff --git a/pubspec.lock b/pubspec.lock index 7ea82fd..0e8a1f0 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -7,14 +7,14 @@ packages: name: _fe_analyzer_shared url: "https://pub.dartlang.org" source: hosted - version: "39.0.0" + version: "43.0.0" alfred_workflow: dependency: "direct main" description: name: alfred_workflow url: "https://pub.dartlang.org" source: hosted - version: "0.2.0" + version: "0.2.2" algolia: dependency: "direct main" description: @@ -28,7 +28,7 @@ packages: name: analyzer url: "https://pub.dartlang.org" source: hosted - version: "4.0.0" + version: "4.3.1" analyzer_plugin: dependency: transitive description: @@ -63,7 +63,7 @@ packages: name: clock url: "https://pub.dartlang.org" source: hosted - version: "1.1.0" + version: "1.1.1" collection: dependency: "direct main" description: @@ -105,7 +105,7 @@ packages: name: dart_code_metrics url: "https://pub.dartlang.org" source: hosted - version: "4.15.2" + version: "4.17.0" dart_style: dependency: transitive description: @@ -133,7 +133,7 @@ packages: name: glob url: "https://pub.dartlang.org" source: hosted - version: "2.0.2" + version: "2.1.0" html: dependency: transitive description: @@ -168,7 +168,7 @@ packages: name: json_annotation url: "https://pub.dartlang.org" source: hosted - version: "4.5.0" + version: "4.6.0" lints: dependency: "direct dev" description: @@ -189,7 +189,7 @@ packages: name: package_config url: "https://pub.dartlang.org" source: hosted - version: "2.0.2" + version: "2.1.0" path: dependency: transitive description: @@ -217,21 +217,21 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.9.0" + version: "1.9.1" stash: dependency: transitive description: name: stash url: "https://pub.dartlang.org" source: hosted - version: "4.1.0" + version: "4.3.1" stash_file: dependency: transitive description: name: stash_file url: "https://pub.dartlang.org" source: hosted - version: "4.1.0" + version: "4.3.1" stream_transform: dependency: transitive description: @@ -252,7 +252,7 @@ packages: name: term_glyph url: "https://pub.dartlang.org" source: hosted - version: "1.2.0" + version: "1.2.1" typed_data: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 4fec942..c48a8e9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,7 +4,7 @@ description: Search the Tailwind CSS documentation using Alfred # Prevent accidental publishing to pub.dev. publish_to: 'none' -version: 2.1.4 +version: 2.1.5 environment: sdk: '>=2.17.0 <3.0.0' diff --git a/version b/version index c346e7a..c5864dc 100644 --- a/version +++ b/version @@ -1 +1 @@ -2.1.4 \ No newline at end of file +2.1.5 \ No newline at end of file