Skip to content

Commit edf59a3

Browse files
committed
🔧 Disable Alfred smart result ordering in favor of Algolia ordering
1 parent 33a5ad8 commit edf59a3

File tree

6 files changed

+34
-44
lines changed

6 files changed

+34
-44
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
APP_VERSION=2.1.8
1+
APP_VERSION=2.1.9
22
GITHUB_REPOSITORY_URL=https://github.com/techouse/alfred-tailwindcss-docs
33
SUPPORTED_VERSIONS=v0,v1,v2,v3
44
ALGOLIA_SEARCH_INDEX=

bin/main_helpers.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ part of 'main.dart';
22

33
final HtmlUnescape _unescape = HtmlUnescape();
44

5-
final AlfredWorkflow _workflow = AlfredWorkflow();
5+
final AlfredWorkflow _workflow = AlfredWorkflow()
6+
..disableAlfredSmartResultOrdering = true;
67

78
final AlfredUpdater _updater = AlfredUpdater(
89
githubRepositoryUrl: Uri.parse(Env.githubRepositoryUrl),

info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@
215215
<key>variablesdontexport</key>
216216
<array/>
217217
<key>version</key>
218-
<string>2.1.8</string>
218+
<string>2.1.9</string>
219219
<key>webaddress</key>
220220
<string>https://github.com/techouse</string>
221221
</dict>

pubspec.lock

Lines changed: 19 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ packages:
77
name: _fe_analyzer_shared
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "50.0.0"
10+
version: "51.0.0"
1111
alfred_workflow:
1212
dependency: "direct main"
1313
description:
1414
name: alfred_workflow
1515
url: "https://pub.dartlang.org"
1616
source: hosted
17-
version: "0.2.10"
17+
version: "0.3.0+1"
1818
algolia:
1919
dependency: "direct main"
2020
description:
@@ -23,12 +23,12 @@ packages:
2323
source: hosted
2424
version: "1.1.1"
2525
analyzer:
26-
dependency: "direct overridden"
26+
dependency: transitive
2727
description:
2828
name: analyzer
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "5.2.0"
31+
version: "5.3.1"
3232
analyzer_plugin:
3333
dependency: transitive
3434
description:
@@ -98,7 +98,7 @@ packages:
9898
name: build_runner
9999
url: "https://pub.dartlang.org"
100100
source: hosted
101-
version: "2.3.2"
101+
version: "2.3.3"
102102
build_runner_core:
103103
dependency: transitive
104104
description:
@@ -140,7 +140,7 @@ packages:
140140
name: cli_script
141141
url: "https://pub.dartlang.org"
142142
source: hosted
143-
version: "0.2.6"
143+
version: "0.3.0"
144144
clock:
145145
dependency: transitive
146146
description:
@@ -154,7 +154,7 @@ packages:
154154
name: code_builder
155155
url: "https://pub.dartlang.org"
156156
source: hosted
157-
version: "4.3.0"
157+
version: "4.4.0"
158158
collection:
159159
dependency: "direct main"
160160
description:
@@ -175,7 +175,7 @@ packages:
175175
name: copy_with_extension
176176
url: "https://pub.dartlang.org"
177177
source: hosted
178-
version: "4.0.4"
178+
version: "5.0.0"
179179
crypto:
180180
dependency: transitive
181181
description:
@@ -196,35 +196,28 @@ packages:
196196
name: dart_code_metrics
197197
url: "https://pub.dartlang.org"
198198
source: hosted
199-
version: "5.0.1"
199+
version: "5.3.0"
200200
dart_style:
201201
dependency: transitive
202202
description:
203203
name: dart_style
204204
url: "https://pub.dartlang.org"
205205
source: hosted
206206
version: "2.2.4"
207-
dotenv:
208-
dependency: transitive
209-
description:
210-
name: dotenv
211-
url: "https://pub.dartlang.org"
212-
source: hosted
213-
version: "4.0.1"
214207
envied:
215208
dependency: "direct main"
216209
description:
217210
name: envied
218211
url: "https://pub.dartlang.org"
219212
source: hosted
220-
version: "0.2.4"
213+
version: "0.3.0"
221214
envied_generator:
222215
dependency: "direct dev"
223216
description:
224217
name: envied_generator
225218
url: "https://pub.dartlang.org"
226219
source: hosted
227-
version: "0.2.3+1"
220+
version: "0.3.0"
228221
equatable:
229222
dependency: transitive
230223
description:
@@ -252,7 +245,7 @@ packages:
252245
name: frontend_server_client
253246
url: "https://pub.dartlang.org"
254247
source: hosted
255-
version: "3.1.0"
248+
version: "3.2.0"
256249
glob:
257250
dependency: transitive
258251
description:
@@ -350,7 +343,7 @@ packages:
350343
name: matcher
351344
url: "https://pub.dartlang.org"
352345
source: hosted
353-
version: "0.12.13"
346+
version: "0.12.14"
354347
meta:
355348
dependency: transitive
356349
description:
@@ -364,7 +357,7 @@ packages:
364357
name: mime
365358
url: "https://pub.dartlang.org"
366359
source: hosted
367-
version: "1.0.2"
360+
version: "1.0.3"
368361
package_config:
369362
dependency: transitive
370363
description:
@@ -378,7 +371,7 @@ packages:
378371
name: path
379372
url: "https://pub.dartlang.org"
380373
source: hosted
381-
version: "1.8.2"
374+
version: "1.8.3"
382375
petitparser:
383376
dependency: transitive
384377
description:
@@ -420,7 +413,7 @@ packages:
420413
name: pub_updater
421414
url: "https://pub.dartlang.org"
422415
source: hosted
423-
version: "0.2.2"
416+
version: "0.2.3"
424417
pubspec_parse:
425418
dependency: transitive
426419
description:
@@ -476,14 +469,14 @@ packages:
476469
name: stash
477470
url: "https://pub.dartlang.org"
478471
source: hosted
479-
version: "4.3.4"
472+
version: "4.4.1"
480473
stash_file:
481474
dependency: transitive
482475
description:
483476
name: stash_file
484477
url: "https://pub.dartlang.org"
485478
source: hosted
486-
version: "4.3.4"
479+
version: "4.4.1"
487480
stream_channel:
488481
dependency: transitive
489482
description:
@@ -546,7 +539,7 @@ packages:
546539
name: uuid
547540
url: "https://pub.dartlang.org"
548541
source: hosted
549-
version: "3.0.6"
542+
version: "3.0.7"
550543
watcher:
551544
dependency: transitive
552545
description:

pubspec.yaml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,24 @@ description: Search the Tailwind CSS documentation using Alfred
44
# Prevent accidental publishing to pub.dev.
55
publish_to: 'none'
66

7-
version: 2.1.8
7+
version: 2.1.9
88

99
environment:
1010
sdk: '>=2.17.0 <3.0.0'
1111

1212
dependencies:
1313
algolia: ^1.1.1
14-
args: ^2.3.0
15-
cli_script: ^0.2.6
16-
envied: ^0.2.3
14+
args: ^2.3.1
15+
cli_script: ^0.3.0
16+
envied: ^0.3.0
1717
html_unescape: ^2.0.0
18-
alfred_workflow: ^0.2.0
19-
collection: ^1.16.0
18+
alfred_workflow: ^0.3.0+1
19+
collection: ^1.17.0
2020
json_annotation: ^4.7.0
2121

2222
dev_dependencies:
23-
build_runner: ^2.1.7
24-
dart_code_metrics: ^5.0.1
25-
envied_generator: ^0.2.3
26-
json_serializable: ^6.1.5
27-
lints: ^2.0.0
28-
29-
dependency_overrides:
30-
analyzer: ^5.2.0
23+
build_runner: ^2.3.3
24+
dart_code_metrics: ^5.3.0
25+
envied_generator: ^0.3.0
26+
json_serializable: ^6.5.4
27+
lints: ^2.0.1

version

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)