Commit graph

15 commits

Author SHA1 Message Date
saberzero1
1d85ea8c3d
build: bundle dependencies and ship pre-built dist 2026-04-27 21:38:35 +02:00
saberzero1
f7fe4068d0
feat: wrap tag content in .markdown-preview-view and .markdown-rendered for Obsidian theme compat 2026-04-25 22:57:04 +02:00
saberzero1
f104a56e83
deps: update @quartz-community/utils 2026-04-22 18:20:12 +02:00
saberzero1
e067fe76f2
refactor: use QuartzPluginData for PageFileData instead of duplicated shape
Replace the hand-written PageFileData interface with an intersection
of QuartzPluginData and Record<string, unknown>. This keeps
PageFileData structurally aligned with the upstream contract so future
DataMap additions (e.g. the FullSlug branding that prompted the
previous cast) do not require boundary casts on listProps.allFiles.

The interface-extends form previously tried in PageList.tsx (removed
in commit b707032 because it broke DTS builds) is not used here; the
intersection type alias inlines cleanly into the generated .d.ts.
2026-04-16 15:18:20 +02:00
saberzero1
07356718ca
fix: cast PageFileData[] to QuartzComponentProps allFiles shape for branded FullSlug
Updated @quartz-community/types made slug a branded FullSlug type;
the local PageFileData uses an unbranded string slug. Cast at the
listProps boundary so DTS build succeeds without changing runtime
behaviour.
2026-04-16 13:34:16 +02:00
saberzero1
21bd3be046
feat: exclude unlisted pages from tag discovery and listings
Respect the file.data.unlisted convention in both the tag discovery loop
(virtual tag page generation in pageType.generate) and the tag listing
itself (allPagesWithTag and the root-index tag set builder in TagContent).

Unlisted pages no longer contribute tags, and no longer appear in any
tag listing. A tag that exists only on unlisted pages will not cause a
virtual tag page to be generated at all.

Adds 4 unit tests for pageType.generate covering tag discovery from
listed pages, unlisted exclusion, shared tags across listed and unlisted
pages, and tag-only-on-unlisted-pages suppression.
2026-04-11 13:51:04 +02:00
saberzero1
13036ce028
fix: bundle @quartz-community/utils to avoid runtime subpath resolution failures 2026-04-04 11:28:40 +02:00
saberzero1
2a70799d7d
style: fix prettier formatting in locale files 2026-04-04 02:39:19 +02:00
saberzero1
e43ff29264
chore: rebuild dist outputs 2026-04-04 02:12:25 +02:00
saberzero1
69190a6c10
deps: update @quartz-community/types and @quartz-community/utils 2026-04-03 16:19:42 +02:00
saberzero1
0686df0d55
fix: guard against undefined getDate in PageList 2026-04-03 16:01:04 +02:00
saberzero1
96880dc52f
chore: rebuild dist outputs 2026-04-03 15:44:59 +02:00
saberzero1
62fd2196c0
refactor: use shared SortFn from @quartz-community/types 2026-04-03 15:07:13 +02:00
saberzero1
65a9bf6065
fix: deduplicate virtual page content 2026-03-19 10:53:48 +01:00
saberzero1
18e52cb0cb
chore: commit dist/ and remove prepare script
Pre-built output is now committed to the repository so that
Quartz can skip the build step during plugin installation.
The prepare script is removed to prevent redundant builds
when installing from npm/git.
2026-03-14 22:01:54 +01:00