Commit graph

47 commits

Author SHA1 Message Date
kon-foo
0493942c79
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
226891b9b1
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
fe353d946b
feat(experimental): partial rebuilds (#716) 2024-02-09 10:07:32 -05:00
Jacky Zhao
75d64eac91 fix: fmt 2024-01-31 11:58:54 -08:00
Jacky Zhao
355aa22318 docs: fix outdated comment on rebuild debounce behaviour 2024-01-31 11:52:10 -08:00
kabirgh
1ce12fc1fc
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
30640e3441
Revert "fix: rebuild errors on windows (#692)" (#695)
This reverts commit 8eec47c340.
2024-01-15 11:51:46 -08:00
kabirgh
8eec47c340
fix: rebuild errors on windows (#692) 2024-01-15 08:39:16 -08:00
Jacky Zhao
4c83251f8e feat: -v flag should log exact error on parse failure 2023-12-19 09:07:52 -08:00
Jacky Zhao
78b33fc2fb fix: release build lock before client refresh 2023-12-17 16:46:17 -08:00
Jacky Zhao
2525bfbab5 fix: links to index not showing in graph (closes #450) 2023-09-06 22:24:15 -07:00
Zero King
8cf7280614
feat: reproducible build (#412)
for sitemap, RSS and contentIndex.json.
2023-08-24 11:41:20 -07:00
Jacky Zhao
a1a1e7e1e0 fix: builds should no accumulate on repeated changes (closes #404) 2023-08-23 11:36:34 -07:00
Jacky Zhao
99dbe525d9 fix: properly lock across source and content refresh by sharing a mutex 2023-08-22 22:27:41 -07:00
Jacky Zhao
b69556c918 fix: async-mutex not exclusively locking correectly 2023-08-21 16:43:32 -07:00
Jacky Zhao
e65ea48fae fix: add async-mutex to builds on large vaults 2023-08-20 14:27:44 -07:00
Jacky Zhao
0998bc355e fix rebuild debouncing 2023-08-17 01:58:11 -07:00
Jacky Zhao
2f6747b166 fix relative path resolution in router and link crawling 2023-08-16 22:04:15 -07:00
Jacky Zhao
49bd6bc3ff better concurrency debugging, --concurrency flag for npx quartz build 2023-08-08 22:52:49 -07:00
Jacky Zhao
774a162850 format 2023-08-07 21:51:23 -07:00
Jacky Zhao
527ce6546e various css fixes, fix new image loading bug when previewing, path docs 2023-08-07 21:41:18 -07:00
Jacky Zhao
d8d9dd22c9 fix shortest path for non-md files, mobile fix 2023-08-06 20:52:17 -07:00
Jacky Zhao
db6054a8c1 format, remove markdown from being procesed 2023-08-05 18:00:52 -07:00
Jacky Zhao
a0d651d64d reverse query param hack to re-add sourcemap support 2023-08-05 17:53:29 -07:00
Jacky Zhao
c402f0c385 more robust error handling, config hotreload 2023-08-05 11:28:09 -07:00
Jacky Zhao
2acfb9e870 format, add upstream 2023-08-03 23:08:04 -07:00
Jacky Zhao
663c41fa41 use posix style paths for all path ops 2023-08-02 23:04:26 -07:00
Jacky Zhao
558a509164 format 2023-08-02 22:11:46 -07:00
Jacky Zhao
d7842e0ce7 make path and globbing more platform invariant 2023-08-02 22:10:13 -07:00
Jacky Zhao
429f331c21 make ci also run on windows, re-add css minification 2023-08-02 20:53:13 -07:00
Jacky Zhao
9a0f20012a windows patches 2023-08-02 00:07:41 -07:00
Jacky Zhao
041a4ce7bc fix watch-mode batching 2023-07-24 00:04:01 -07:00
Jacky Zhao
55a1fb8c41 format 2023-07-23 17:09:12 -07:00
Jacky Zhao
9e83af04a7 refactor static and asset emission to be actual emitter plugins 2023-07-23 17:07:19 -07:00
Jacky Zhao
ae2e3b463a improve error handling while serving 2023-07-23 11:49:26 -07:00
Jacky Zhao
7db2eda76c run prettier 2023-07-22 17:27:41 -07:00
Jacky Zhao
8dd73704e6 hot content reload 2023-07-22 16:06:36 -07:00
Jacky Zhao
01d7d8e554 fix tag pages to emit to tag/index.html to override content and folder pages 2023-07-19 23:03:59 -07:00
Jacky Zhao
3ac6b42e16 finish path refactoring, add sourcemap + better trace support 2023-07-15 23:02:12 -07:00
Jacky Zhao
08f8e3b4a4 docs + various polish 2023-07-09 19:32:24 -07:00
Jacky Zhao
465804a389 basic docs, remove publish, add quartz create 2023-07-05 00:16:06 -07:00
Jacky Zhao
ba9f243728 tag and folder pages 2023-07-01 00:03:01 -07:00
Jacky Zhao
917d5791ac modern toc tweaks 2023-06-16 19:41:59 -07:00
Jacky Zhao
4d3579ca98 darkmode scripts 2023-06-06 19:48:37 -07:00
Jacky Zhao
700036e84c callouts 2023-06-05 22:14:17 -07:00
Jacky Zhao
1406ee0f05 update spinners 2023-06-04 13:37:43 -04:00
Jacky Zhao
9ad89997a5 multi-core builds 2023-06-04 12:35:45 -04:00