Commit Graph

62 Commits

Author SHA1 Message Date
Giuseppe Alfieri
b3d98bdae3 Fix: normalize chokidar paths for hot reload on Windows (#2120)
Hot reload was not updating pages when editing Markdown files inside subfolders on Windows only.
The issue was caused by inconsistent path separators from chokidar.
This patch ensures paths are normalized with toPosixPath before rebuild.
2025-09-07 11:58:47 -07:00
circular
b4deece75a fix(cli): filter files on rebuild using --serve (#2039)
* filter files on rebuild

* fix prettier
2025-07-02 04:05:46 -04:00
Jacky Zhao
38612f4d0b watcher: manually ignore .git changes 2025-06-04 15:00:41 -07:00
fl0werpowers
aa77926b95 chore(deps): replace chalk and rimraf with builtin functions (#1879)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-28 10:40:51 +02:00
Jacky Zhao
8c5f45a3a4 feat: conditional render component 2025-03-23 17:34:14 -07:00
Jacky Zhao
951efc1c80 fix: cleanup a href link construction, global shared trie, breadcrumbs use trie 2025-03-23 17:24:43 -07:00
Jacky Zhao
bf8b577f63 perf: incremental rebuild (--fastRebuild v2 but default) (#1841)
* checkpoint

* incremental all the things

* properly splice changes array

* smol doc update

* update docs

* make fancy logger dumb in ci
2025-03-16 14:17:31 -07:00
Jacky Zhao
7acd3132aa feat: make og images an emitter to properly await image generation (#1826)
* checkpoint

* make emitters async generators

* fix

* custom font spec

* replace spinner, use disk cache for fonts

* use readline instead

* make og images look nice
2025-03-13 10:27:46 -07:00
Jacky Zhao
4439f91d55 feat: support non-singleton explorer 2025-03-10 15:13:22 -07:00
dependabot[bot]
55acf0162d chore(deps): bump the production-dependencies group across 1 directory with 14 updates (#1655)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Pham <contact@aarnphm.xyz>
2024-12-17 03:53:51 -05:00
Jacky Zhao
6e607b3c97 docs: clarify prod hosting 2024-09-15 16:47:11 -07:00
Jacky Zhao
148a2e5b78 perf: have more than 1ms granularity for rebuild detection 2024-09-15 16:42:07 -07:00
Jacky Zhao
2a9966272c fix: unmemoize explorer on rebuild (closes #1077) 2024-08-08 19:17:20 -07:00
kabirgh
327b7b76a4 feat(perf:fast-rebuilds): Stop mutating resources param in ComponentResources emitter (#977)
* Stop mutating resources param in ComponentResources emitter

* Add done rebuilding log for fast rebuilds

* Move google font loading to Head component

* Simplify code and fix comment
2024-03-09 16:42:23 -08:00
kabirgh
3942f2375d fix(fast rebuild): handle added an deleted markdown correctly (#921)
* Handle added files correctly

* Handle deletes properly

* addGraph renamed to mergeGraph
2024-02-23 18:40:42 -08:00
kon-foo
3e508fcf42 fix: remove assets via globs to avoid volume mount lock (#877)
* Fix docker volume lock issue by altering asset cleanup method
Modified build process to prevent the deletion of the output directory.

* Add fsOps utility for filesystem operations

* Use cleanDirectory in build process to fix volume lock issue

* applied prettier

* handle ENOENT error when output dir does not exist

* remove native function in favor of rimraf

* use path.join to concatenate paths
2024-02-19 11:04:27 -08:00
kabirgh
84f7220d58 fix(fast rebuild): call only required emitters, don't always copy assets (#845)
* fix(fast rebuild): call only required emitters, don't always copy assets

* Type function
2024-02-11 12:20:44 -08:00
kabirgh
1af2d77586 feat(experimental): partial rebuilds (#716) 2024-02-09 10:07:32 -05:00
Jacky Zhao
af40df0ad0 fix: fmt 2024-01-31 11:58:54 -08:00
Jacky Zhao
9505a62d5a docs: fix outdated comment on rebuild debounce behaviour 2024-01-31 11:52:10 -08:00
kabirgh
255ad57d65 cleanup: Move rebuild function outside startServing function (#715)
* Move rebuild function outside `startServing`

* Move toRebuild and toRemove inside rebuild func

* Revert "Move toRebuild and toRemove inside rebuild func"

This reverts commit 8c4dbb13c7a670ff8af806e8bfd1ca1aa216073b.

* Rename func to rebuildFromEntrypoint
2024-01-23 10:55:37 -08:00
kabirgh
5229b8a0a5 Revert "fix: rebuild errors on windows (#692)" (#695)
This reverts commit 8eec47c340.
2024-01-15 11:51:46 -08:00
kabirgh
c40d97b829 fix: rebuild errors on windows (#692) 2024-01-15 08:39:16 -08:00
Jacky Zhao
a143730af9 feat: -v flag should log exact error on parse failure 2023-12-19 09:07:52 -08:00
Jacky Zhao
5c13bb52f7 fix: release build lock before client refresh 2023-12-17 16:46:17 -08:00
Jacky Zhao
425592d09a fix: links to index not showing in graph (closes #450) 2023-09-06 22:24:15 -07:00
Zero King
d75cf0b354 feat: reproducible build (#412)
for sitemap, RSS and contentIndex.json.
2023-08-24 11:41:20 -07:00
Jacky Zhao
107c8d413a fix: builds should no accumulate on repeated changes (closes #404) 2023-08-23 11:36:34 -07:00
Jacky Zhao
300aff4125 fix: properly lock across source and content refresh by sharing a mutex 2023-08-22 22:27:41 -07:00
Jacky Zhao
e0bcc8815e fix: async-mutex not exclusively locking correectly 2023-08-21 16:43:32 -07:00
Jacky Zhao
3ad0b250bb fix: add async-mutex to builds on large vaults 2023-08-20 14:27:44 -07:00
Jacky Zhao
6ab90d093c fix rebuild debouncing 2023-08-17 01:58:11 -07:00
Jacky Zhao
b5ab38cb7e fix relative path resolution in router and link crawling 2023-08-16 22:04:15 -07:00
Jacky Zhao
b79e889d87 better concurrency debugging, --concurrency flag for npx quartz build 2023-08-08 22:52:49 -07:00
Jacky Zhao
a6904be6f1 format 2023-08-07 21:51:23 -07:00
Jacky Zhao
4e97695eee various css fixes, fix new image loading bug when previewing, path docs 2023-08-07 21:41:18 -07:00
Jacky Zhao
66e8afb008 fix shortest path for non-md files, mobile fix 2023-08-06 20:52:17 -07:00
Jacky Zhao
d38837c15d format, remove markdown from being procesed 2023-08-05 18:00:52 -07:00
Jacky Zhao
cf18b99937 reverse query param hack to re-add sourcemap support 2023-08-05 17:53:29 -07:00
Jacky Zhao
9868c09f58 more robust error handling, config hotreload 2023-08-05 11:28:09 -07:00
Jacky Zhao
ced82d2e09 format, add upstream 2023-08-03 23:08:04 -07:00
Jacky Zhao
744955bc94 use posix style paths for all path ops 2023-08-02 23:04:26 -07:00
Jacky Zhao
94e0088c01 format 2023-08-02 22:11:46 -07:00
Jacky Zhao
159bf972c3 make path and globbing more platform invariant 2023-08-02 22:10:13 -07:00
Jacky Zhao
2caebeaed4 make ci also run on windows, re-add css minification 2023-08-02 20:53:13 -07:00
Jacky Zhao
990ef3a317 windows patches 2023-08-02 00:07:41 -07:00
Jacky Zhao
c60f17d101 fix watch-mode batching 2023-07-24 00:04:01 -07:00
Jacky Zhao
dfac1d6e44 format 2023-07-23 17:09:12 -07:00
Jacky Zhao
a1985bfd28 refactor static and asset emission to be actual emitter plugins 2023-07-23 17:07:19 -07:00
Jacky Zhao
5d8b034af1 improve error handling while serving 2023-07-23 11:49:26 -07:00