Commit graph

100 commits

Author SHA1 Message Date
ThatGuySam
e1da6eb880 feat(search): add pagefind provider support
Add Pagefind indexing and browser search adapters behind a provider switch.

This lets prebuild generate either Stork or Pagefind search artifacts and lets the existing search UI run against Pagefind while preserving scoped filters, excerpts, and result metadata.
2026-03-15 13:42:07 -05:00
ThatGuySam
747e564e17 fix(build): prune stale generated api endpoints
Clean list-specific JSON endpoint directories before rewriting them so local and deploy-style API builds do not fail on leftover files from older runs.

Keep the count check, but count only generated JSON outputs so the verification reflects the actual endpoint set.
2026-03-15 12:55:06 -05:00
ThatGuySam
c5f333483b Fix typos 2023-08-12 12:51:46 -05:00
ThatGuySam
d497c12c99 Stream JSON lists to file one line at a time 2023-04-01 09:56:14 -05:00
Sam Carlton
7e40d1af59 Lod Thread and cpu core count 2022-07-21 13:18:07 -05:00
Sam Carlton
b6b4967208 Use for loop instead of promise pool 2022-07-21 13:11:47 -05:00
Sam Carlton
01a5d15147 Fix breaking on 0.0.0 version 2022-07-21 13:11:30 -05:00
Sam Carlton
d2f86aba5f Fix astro template urls not added to sitemap 2022-06-11 18:50:19 -05:00
Sam Carlton
8c4700c7ea Include astro template urls in sitemap
getUrlsForAstroDefinedPages
2022-06-11 18:49:19 -05:00
Sam Carlton
2d36e053f8 Fix wrong file reference 2022-06-11 18:12:50 -05:00
Sam Carlton
79640781bc Move getSymmetricDifference to helper file 2022-06-11 17:04:21 -05:00
Sam Carlton
eebf2d73c9 Add related videos to games 2022-06-10 16:24:42 -05:00
Sam Carlton
fb35242c9c Fix hasSaveMethod not defined 2022-06-10 16:24:18 -05:00
Sam Carlton
c45e4b2e9d Use has helper for checking save method 2022-06-09 19:09:40 -05:00
Sam Carlton
7b795d7245 Apple saveMethod to api saves 2022-06-09 18:15:13 -05:00
Sam Carlton
dc27e091d2 Use simpler getRelatedVideos function 2022-06-09 16:01:11 -05:00
Sam Carlton
915c1b0a3a Save sitemap as xml during build 2022-06-06 20:41:37 -05:00
Sam Carlton
8643fd9e4c Log error difference 2022-06-06 17:28:58 -05:00
Sam Carlton
976ab06cc3 Fetch youtube videos from playlists 2022-06-06 11:48:25 -05:00
Sam Carlton
b45bab808e Save kindNames to kind index 2022-05-25 13:44:35 -05:00
Sam Carlton
387daeb3d2 Translate category sluf to kind names 2022-05-25 13:43:05 -05:00
Sam Carlton
8fcddd72ac Generate kind index with app names 2022-05-25 13:24:16 -05:00
Sam Carlton
c5a3bfbbf2 Write all apps summary to json 2022-05-24 16:51:20 -05:00
Sam Carlton
b37e8bc8e7 Use listEndpointPrefix to prevent kind collisions 2022-05-24 16:51:06 -05:00
Sam Carlton
9e9d8a3ce5 Fix paginated categories 2022-05-22 10:36:32 -05:00
Sam Carlton
bb51ca79c3 Use memoized device list 2022-05-21 17:45:35 -05:00
Sam Carlton
abe121a963 Fix pool using uncached list conversion 2022-05-21 13:28:18 -05:00
Sam Carlton
a7e30e4a99 Use this.getListArray to prevent extra conversions 2022-05-20 13:37:50 -05:00
Sam Carlton
b6ed198000 Fix saveKinds running for each list 2022-05-20 13:32:58 -05:00
Sam Carlton
ed17e2f29a Try using memoized list mothods 2022-05-20 13:25:17 -05:00
Sam Carlton
f3ad21e22f Memoize kind list 2022-05-20 12:20:31 -05:00
Sam Carlton
05b0e97dce Add categories to kinds 2022-05-19 13:51:55 -05:00
Sam Carlton
884dd37f6b Save kind endpoints to sitemap 2022-05-19 13:51:42 -05:00
Sam Carlton
602a78a48a Move apiDirectory to it’s own file 2022-05-19 13:48:45 -05:00
Sam Carlton
de6c4da80f Clean up code 2022-05-19 11:30:54 -05:00
Sam Carlton
7a30392279 Use path alias for helpers 2022-05-19 11:21:55 -05:00
Sam Carlton
14d9f85a46 Clean up unused import 2022-05-19 11:21:33 -05:00
Sam Carlton
3d178c73c2 Remove extra word 2022-05-19 11:14:27 -05:00
Sam Carlton
6102ece0c4 Remove extra slash 2022-05-19 10:58:21 -05:00
Sam Carlton
202a4a9512 Fix undefined variable 2022-05-19 10:52:28 -05:00
Sam Carlton
3632f8c4d1 Track kind list build time 2022-05-19 10:49:50 -05:00
Sam Carlton
cad326b1b8 Save appType as kinds 2022-05-19 10:34:23 -05:00
Sam Carlton
d394d763ae Add file counts to error mesage 2022-05-15 10:54:11 -05:00
Sam Carlton
20ad66a5de Move cliOptions to helper 2022-05-09 16:40:06 -05:00
Sam Carlton
9ddd105772 Add comments on sitemap and stork steps 2022-05-09 16:34:45 -05:00
Sam Carlton
a9d467bec7 Include sitemap and endpoint lists for api 2022-05-09 16:29:15 -05:00
Sam Carlton
c0dbaf88f9 Move Stork toml build into build-lists 2022-05-09 16:20:28 -05:00
Sam Carlton
ec8eee6386 Fix version levels and normalize version strings 2022-04-28 16:45:21 -05:00
Sam Carlton
e3a93b209d Map object values 2022-04-28 15:55:47 -05:00
Sam Carlton
c5a44ae1b4 Sort bundle versions during build 2022-04-28 15:46:39 -05:00