Commit Graph

1685 Commits

Author SHA1 Message Date
saberzero1
d9bfbf876f refactor: move defaultDateType to CreatedModifiedDate plugin 2026-03-20 21:13:45 +01:00
saberzero1
28414da76e chore: updated plugins 2026-03-20 13:52:35 +01:00
saberzero1
c7b527ae9f docs: aligned with recent changes 2026-03-20 13:52:19 +01:00
saberzero1
d413917f8f fix(bases): use the link utils from the utils instead 2026-03-20 12:05:41 +01:00
saberzero1
f7ead71ee5 chore: updated plugins 2026-03-19 22:26:29 +01:00
saberzero1
67c5433fe6 chore: disable stacked pages in documentation 2026-03-19 22:22:24 +01:00
saberzero1
4c854f845c chore: updated plugins 2026-03-19 22:18:49 +01:00
saberzero1
627fa78f19 docs: updated Bases documentation 2026-03-19 22:18:42 +01:00
saberzero1
b4e07a560e chore: updated plugins 2026-03-19 17:03:59 +01:00
saberzero1
de4826a83f chore: updated plugins 2026-03-19 11:04:37 +01:00
saberzero1
49a1ddfd84 chore: updated plugins 2026-03-19 00:11:23 +01:00
saberzero1
cd17a74eeb chore: updated plugins 2026-03-18 19:24:59 +01:00
saberzero1
cc6cb46114 chore: updated plugins 2026-03-18 18:37:59 +01:00
saberzero1
954306ab21 chore: updated plugins 2026-03-18 17:56:00 +01:00
saberzero1
da6c498dc9 docs: added new configuration options for page types 2026-03-18 17:52:40 +01:00
saberzero1
db11f757c2 fix(pagetypes): prevent duplicate content 2026-03-18 17:45:56 +01:00
saberzero1
c65fb652d2 chore: updated plugins 2026-03-18 13:02:09 +01:00
saberzero1
7cd15f5aba chore: updated plugins 2026-03-18 12:39:32 +01:00
saberzero1
1b999a792f fix: expose base path via data-basepath attribute on body
Compute the base path from cfg.baseUrl and set it as a data attribute on
<body> so client-side scripts can resolve links correctly when Quartz is
deployed to a subdirectory (e.g., user.github.io/repository).
2026-03-18 11:51:06 +01:00
saberzero1
75aef3b0a9 chore: updated plugins 2026-03-18 02:40:01 +01:00
saberzero1
f2c2a31292 fix(cli): resolve subdir plugins during build installs 2026-03-18 02:39:45 +01:00
saberzero1
166b9c87d8 fix(cli): properly resolve subdir plugin installs 2026-03-18 01:56:48 +01:00
saberzero1
a7dca22667 chore: updated plugins 2026-03-18 01:18:21 +01:00
saberzero1
bd32a98749 docs: added documentation on plugin install options 2026-03-18 01:18:07 +01:00
saberzero1
219bed15bf chore: updated plugin schema definition 2026-03-18 01:17:10 +01:00
saberzero1
7b85aa3464 fix(cli): extended options for plugin sources 2026-03-18 01:12:38 +01:00
saberzero1
b2ae694b9a chore: updated plugins 2026-03-17 22:51:25 +01:00
saberzero1
51b05e79e2 feat: centralize native dep installation across plugins
Replace per-plugin npm install with a single aggregated npm install
in the quartz root. Plugins declaring requiresInstall in their quartz
manifest now have their peerDependencies collected and installed
together, letting npm resolve compatible versions across plugins.
2026-03-17 22:32:47 +01:00
saberzero1
13a25cbfaf chore: remove 24 plugin-only dependencies from package.json
Remove dependencies that are only used by plugins and already bundled
into their dist files via devDependencies/tsup. This reduces the
install footprint by ~136 packages.

Removed: flexsearch, github-slugger (kept - needed by @quartz-community/utils),
gray-matter, hast-util-to-html, hast-util-to-string, is-absolute-url,
js-yaml, mdast-util-find-and-replace, mdast-util-to-hast,
mdast-util-to-string, reading-time, rehype-autolink-headings,
rehype-citation, rehype-katex, rehype-mathjax, rehype-pretty-code,
rehype-raw, rehype-slug, remark-breaks, remark-frontmatter,
remark-gfm, remark-math, remark-smartypants, satori, toml,
@types/js-yaml.

Kept native-binary deps: sharp, @napi-rs/simple-git,
@myriaddreamin/rehype-typst (cannot be bundled by plugins).
2026-03-17 21:50:02 +01:00
saberzero1
94cb313ce6 chore: updated plugins 2026-03-17 21:37:02 +01:00
saberzero1
02488d07b2 fix: suppress harmless esbuild warnings from bundled plugin deps
Add logOverride to the main esbuild build context to silence three
warning types that originate from upstream third-party code bundled
inside plugin dist files:
- direct-eval: gray-matter's JS frontmatter engine in note-properties
- equals-negative-zero: webidl-conversions in citations
- duplicate-object-key: BibTeX month mapping in citations
2026-03-17 21:26:44 +01:00
saberzero1
d792d8ebf9 feat: add runtime plugin externals validation and native dep install
- validatePluginExternals() scans plugin dist/ for unbundled imports
  and warns when non-allowlisted externals are detected
- installPluginDepsIfNeeded() runs npm install for plugins with
  quartz.requiresInstall flag (for native deps like sharp)
- Added requiresInstall field to PluginManifest type
2026-03-17 19:46:42 +01:00
saberzero1
a932000421 fix: bump @quartz-community/utils to resolve ./jsx export error 2026-03-17 19:46:35 +01:00
steven-smith-IT
56a801345a fix(cli): use 'gray' instead of 'grey' in styleText calls (#2340) 2026-03-17 15:23:32 +01:00
saberzero1
f7f33444ca chore: linting 2026-03-16 22:55:39 +01:00
saberzero1
7e28a970e7 fix(cli): quote paths in git commands for windows users 2026-03-16 22:42:02 +01:00
saberzero1
49caf725dd chore: updated plugins 2026-03-16 19:34:18 +01:00
saberzero1
24634934d1 docs: added documentation on init() for component plugins 2026-03-16 14:31:16 +01:00
saberzero1
4bb075cc64 fix(plugin): forward component options from plugin bases views 2026-03-16 14:20:14 +01:00
saberzero1
14328062da docs: updated plugin documentation to match recent changes 2026-03-16 13:15:55 +01:00
saberzero1
6ec256dcbc fix(plugin) resolve lockfile after create 2026-03-16 13:05:12 +01:00
saberzero1
52ca3aef4c docs: updated leaflet map plugin link 2026-03-16 12:34:51 +01:00
saberzero1
0f67327a6c fix(plugin): restore user lockfile after upgrading 2026-03-16 12:20:27 +01:00
saberzero1
b2971bde6b fix(plugin): always shallow clone plugins 2026-03-16 12:19:52 +01:00
saberzero1
cc8756b0c7 chore: updated plugins 2026-03-16 12:07:16 +01:00
saberzero1
b11bad1326 fix(plugin): default to HEAD instead of main 2026-03-16 11:55:47 +01:00
saberzero1
f8c9a2926d fix(plugin): build plugins when dist is ignored 2026-03-16 11:49:15 +01:00
saberzero1
1b878e655e chore: updated plugins 2026-03-16 01:50:23 +01:00
saberzero1
a7d91f05f9 fix: resolve frontmatter type declaration conflict between plugins and index.ts
- Removed frontmatter from description plugin's vfile augmentation to avoid
  conflicting DataMap declarations (TS2717/TS2687)
- Aligned frontmatter type in index.ts with note-properties plugin declaration
- Updated quartz.lock.json for description plugin
2026-03-14 23:04:10 +01:00
saberzero1
821e124ca2 fix: update quartz.lock.json to plugin commits with fixed types/utils lockfiles 2026-03-14 22:47:16 +01:00