Compare commits

...
Author SHA1 Message Date
saberzero1 ac8cc4b045 fix(plugins): dependencies on plugins built into core are satisfied by the built-in 2026-11-09 19:28:04 +01:00
Emile Bangma 0770178fa5 Merge pull request #2619 from jackyzha0/dev-mode/lockfile-path-fixes
chore: lockfile for alias-redirects 1.0.3 and created-modified-date 1.0.3
2026-11-09 18:44:49 +01:00
saberzero1 8854aebf7d chore: lockfile for alias-redirects 1.0.3 and created-modified-date 1.0.3 (Windows path fixes) 2026-11-09 18:39:22 +01:00
Emile Bangma bebabb1445 Merge pull request #2618 from jackyzha0/dev-mode/windows-local-sources
fix: Windows spellings of local plugin sources; pretty links cut only at /
2026-11-09 18:19:30 +01:00
saberzero1 7d255c3a0b fix(links): shorten pretty link text with path.posix (Windows also cut at a backslash) 2026-11-09 18:14:28 +01:00
saberzero1 f5ef8f738d fix(plugins): recognise .\ and ..\ local plugin sources (Windows spelling) 2026-11-09 18:11:49 +01:00
Emile Bangma e7da9cebf4 Merge pull request #2616 from WhoAmI-WhereAmI/fix/npm-plugin-index-windows
fix: npm plugin index generation on Windows
2026-11-09 18:08:19 +01:00
saberzero1 28581e8e54 test: npm plugins are found through import.meta.resolve; changeset for the Windows plugin index fix 2026-11-09 18:01:48 +01:00
Emile Bangma 4ff86a7809 Merge pull request #2617 from jackyzha0/dev-mode/link-facts
fix(links): link facts as in Obsidian 1.15.0
2026-11-09 16:37:27 +01:00
saberzero1 7688df602b chore: lockfile for utils 1.2.0 and Obsidian Flavored Markdown 2.1.3 (rehype-obsidian 1.3.0, remark-obsidian 2.2.1) 2026-11-09 16:35:34 +01:00
saberzero1 fc865525b7 fix(links): undecodable link paths are external, NFC paths, missing images show their path (Obsidian 1.15.0) 2026-11-09 15:57:06 +01:00
WhoAmI-WhereAmI 0f294f7139 Fix npm plugin index generation on Windows 2026-11-09 15:51:42 +09:00
Emile Bangma 3c7cba46ae Merge pull request #2615 from jackyzha0/dev-mode/lockfile-bases-1.2.1
chore: lockfile for BasesPage 1.2.1
2026-11-09 05:56:42 +01:00
saberzero1 4683f8b462 chore: lockfile for BasesPage 1.2.1 2026-11-09 05:54:58 +01:00
Emile Bangma 8be3806431 Merge pull request #2614 from jackyzha0/dev-mode/lockfile-bases-1.2
chore: lockfile for BasesPage 1.2.0; correct the 5.1 Bases notes
2026-11-09 05:42:36 +01:00
saberzero1 98cfbfabe8 chore: lockfile for BasesPage 1.2.0; 5.1 notes describe Bases as they now behave (file.name as in Obsidian) 2026-11-09 05:40:05 +01:00
Emile Bangma 6c91c6d621 Merge pull request #2613 from jackyzha0/dev-mode/lockfile-external-preact
chore: lockfile for the plugin releases that use Quartz's preact
2026-11-09 05:20:54 +01:00
saberzero1 f687f582f6 chore: lockfile for the plugin releases that use Quartz's preact 2026-11-09 05:18:05 +01:00
Emile Bangma 03996bb87a Merge pull request #2612 from jackyzha0/dev-mode/lockfile-publish-filters
chore: lockfile for the publish-filter plugin releases
2026-11-09 04:45:16 +01:00
Emile Bangma f30980744a Merge pull request #2611 from jackyzha0/dev-mode/virtual-page-filters
feat: publish filters and encryption for pages rendered from files (bases, canvases, drawings)
2026-11-09 04:45:12 +01:00
saberzero1 483b7629e5 chore: lockfile for explicit-publish, encrypted-pages, unlisted-pages 1.1.0, bases-page 1.1.2, types 1.3.0 2026-11-09 04:42:48 +01:00
21 changed files with 458 additions and 190 deletions

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@jackyzha0/quartz": patch
---
A plugin that lists a plugin now built into Quartz in `quartz.dependencies` (`@quartz-community/crawl-links`, `remove-draft` or `content-index`) no longer fails the build with "requires crawl-links. Run: npx quartz plugin add …". The built-in (`configuration.links`, `drafts`, `contentIndex`) satisfies the dependency. A warning is shown when that built-in is disabled. `npx quartz plugin doctor` checks the same way.
+10
View File
@@ -0,0 +1,10 @@
---
"@jackyzha0/quartz": patch
---
Links as in Obsidian 1.15.0:
- A Markdown link whose path is not valid percent-encoding (`[x](%zz)`, `[x](a%E2.md)`) is an external link. Before, it failed the whole build with `URI malformed`.
- Link paths are NFC-normalized, so a link spelled with a decomposed `é` reaches `café.md`.
- An image of a file the site doesn't have, with no alt text, gets its percent-decoded path as alt (`![](missing%20pic.png)` → “missing pic.png”), as Obsidian names a missing embed.
- A wikilink's `^id` no longer names its paragraph (Obsidian Flavored Markdown).
+5
View File
@@ -0,0 +1,5 @@
---
"@jackyzha0/quartz": patch
---
On Windows, regenerating `.quartz/plugins/index.ts` (`npm run install-plugins`, which also runs before every `npm run build`) no longer skips npm plugins with "dist/index.d.ts could not be found", which left exports such as `ExternalPlugin.Explorer` undefined. The package's location was read from a `file:` URL's pathname (`/C:/…`), which is not a Windows path.
+5
View File
@@ -0,0 +1,5 @@
---
"@jackyzha0/quartz": patch
---
Plugin fixes for Windows: relative aliases (`./old`, `../x`) redirect to the right page (alias-redirects 1.0.3), and git dates of notes in folders are read from git instead of the filesystem (created-modified-date 1.0.3).
+1 -1
View File
@@ -5,7 +5,7 @@
Updated default plugins (see each plugin's changelog for details):
- **Changed heading ids:** with SmartyPants on (the default), a heading containing `--` now gets the same id as on GitHub: `## Range 1--2` → `range-1--2` (was `range-12`). Links that hard-code the old id need updating; `[[page#Range 1--2]]` keeps working. Links Obsidian writes to headings containing `:`, `|`, `^`, `#` or `\` now reach them, and heading ids, links and table-of-contents entries share one slug function (GitHubFlavoredMarkdown 2.1.0, TableOfContents, CrawlLinks, utils 1.1).
- **Changed in Bases:** `file.name` includes the file's extension, as in Obsidian (`Note.md`, `Plan.canvas`); use `file.basename` for the name without it. Base views also list canvas and Excalidraw files with their real paths, `this` in a base embedded in a note is that note, `file.inFolder("")` matches the content root, and Quartz's generated pages (404, tags, folder listings) no longer appear as notes (BasesPage 1.1.0, CanvasPage, Excalidraw).
- **Bases now behave as in Obsidian 1.15** (BasesPage 1.2.0, checked against real Obsidian): subtracting dates gives a duration (`(due - today()).days`); nested tags match (`file.tags.contains("#project")` finds `#project/x`); dates display in the site's locale, and `date()` reads only ISO-style dates; cards use Obsidian's aspect ratio and layout; `link()` with any URL is an external link; a base opens on its first view; tags link to their tag pages; `this.<property>` in an embedded base reads the embedding note. Base views also list canvas and Excalidraw files with their real paths, `this` in an embedded base is that note, and Quartz's generated pages (404, tags, folder listings) no longer appear as notes. **Changed:** `file.tags` keeps `#` and the original case, the `tags` property no longer includes inline tags, `hasTag(a, b)` matches any of its tags, the root folder is `/`, text `contains` ignores case, and the cards' `imageAspectRatio` is height/width (it was inverted). `file.name` is as in Obsidian: a Markdown note's name has no extension (`Note`), other files keep theirs (`Plan.canvas`); `file.fullname` has the extension for every file.
- Folder pages list folders that hold only canvas, base or other generated pages (FolderPage).
- A footnote referenced only from a table cell past the table's columns is rendered, as in Obsidian (ObsidianFlavoredMarkdown 2.1.1, with remark-obsidian 2.2.0: faster parsing and fixes for deeply nested notes and `\r\n` line endings).
- A short wikilink to an Obsidian folder note (`[[Topic]]` for `Topic/Topic.md`) reaches the folder page (utils 1.1).
+5
View File
@@ -0,0 +1,5 @@
---
"@jackyzha0/quartz": patch
---
Plugins use Quartz's own Preact instead of each bundling a copy, so components can use hooks and context across plugins (a component using `preact/hooks` with another plugin's components crashed), and plugin bundles are smaller. The default plugins and the plugin template are updated; a third-party plugin made from the template before this release still bundles its own copy until it updates its `tsup.config.ts` (see quartz-community/plugin-template).
@@ -0,0 +1,7 @@
---
"@jackyzha0/quartz": patch
---
A local plugin source written with Windows separators (`.\my-plugin`, `..\plugins\my-plugin`) is recognised as a local path. Before, it was read as a git or npm source and failed with "Expected github:owner/repo".
Pretty links shorten link text the same way on every OS: Windows also cut it at a backslash (`[[a\b]]` showed `b`).
+142 -143
View File
@@ -13,47 +13,47 @@
"@floating-ui/dom": "^1.7.4",
"@myriaddreamin/rehype-typst": "^0.7.0",
"@napi-rs/simple-git": "1.1.0",
"@quartz-community/alias-redirects": "^1.0.2",
"@quartz-community/article-title": "^1.0.1",
"@quartz-community/backlinks": "^1.0.2",
"@quartz-community/bases-page": "^1.1.0",
"@quartz-community/breadcrumbs": "^1.0.2",
"@quartz-community/canvas-page": "^1.0.2",
"@quartz-community/alias-redirects": "^1.0.3",
"@quartz-community/article-title": "^1.0.2",
"@quartz-community/backlinks": "^1.0.3",
"@quartz-community/bases-page": "^1.2.1",
"@quartz-community/breadcrumbs": "^1.0.3",
"@quartz-community/canvas-page": "^1.0.3",
"@quartz-community/citations": "^1.0.1",
"@quartz-community/cname": "^1.0.1",
"@quartz-community/comments": "^1.0.1",
"@quartz-community/content-meta": "^1.0.1",
"@quartz-community/content-page": "^1.0.2",
"@quartz-community/created-modified-date": "^1.0.2",
"@quartz-community/darkmode": "^1.0.1",
"@quartz-community/comments": "^1.0.2",
"@quartz-community/content-meta": "^1.0.2",
"@quartz-community/content-page": "^1.0.3",
"@quartz-community/created-modified-date": "^1.0.3",
"@quartz-community/darkmode": "^1.0.2",
"@quartz-community/description": "^1.0.2",
"@quartz-community/encrypted-pages": "^1.0.1",
"@quartz-community/explicit-publish": "^1.0.1",
"@quartz-community/explorer": "^1.0.2",
"@quartz-community/encrypted-pages": "^1.1.1",
"@quartz-community/explicit-publish": "^1.1.0",
"@quartz-community/explorer": "^1.0.3",
"@quartz-community/favicon": "^1.0.1",
"@quartz-community/folder-page": "^1.0.2",
"@quartz-community/footer": "^1.1.0",
"@quartz-community/github-flavored-markdown": "^2.1.0",
"@quartz-community/graph": "^1.0.2",
"@quartz-community/folder-page": "^1.0.3",
"@quartz-community/footer": "^1.1.1",
"@quartz-community/github-flavored-markdown": "^2.1.1",
"@quartz-community/graph": "^1.0.3",
"@quartz-community/hard-line-breaks": "^1.1.0",
"@quartz-community/latex": "^1.0.1",
"@quartz-community/note-properties": "^1.1.3",
"@quartz-community/obsidian-flavored-markdown": "^2.1.1",
"@quartz-community/note-properties": "^1.1.4",
"@quartz-community/obsidian-flavored-markdown": "^2.1.3",
"@quartz-community/og-image": "^1.1.1",
"@quartz-community/ox-hugo": "^1.0.1",
"@quartz-community/page-title": "^1.0.1",
"@quartz-community/page-title": "^1.0.2",
"@quartz-community/quartz-fonts": "^1.0.2",
"@quartz-community/reader-mode": "^1.0.1",
"@quartz-community/recent-notes": "^1.0.2",
"@quartz-community/reader-mode": "^1.0.2",
"@quartz-community/recent-notes": "^1.0.3",
"@quartz-community/roam": "^1.0.1",
"@quartz-community/search": "^1.0.2",
"@quartz-community/spacer": "^1.0.1",
"@quartz-community/stacked-pages": "^1.0.2",
"@quartz-community/syntax-highlighting": "^1.0.2",
"@quartz-community/table-of-contents": "^1.0.2",
"@quartz-community/tag-list": "^1.0.2",
"@quartz-community/tag-page": "^1.0.2",
"@quartz-community/unlisted-pages": "^1.0.1",
"@quartz-community/search": "^1.0.3",
"@quartz-community/spacer": "^1.0.2",
"@quartz-community/stacked-pages": "^1.0.3",
"@quartz-community/syntax-highlighting": "^1.0.3",
"@quartz-community/table-of-contents": "^1.0.3",
"@quartz-community/tag-list": "^1.0.3",
"@quartz-community/tag-page": "^1.0.3",
"@quartz-community/unlisted-pages": "^1.1.0",
"@quartz-themes/core": "^2.0.1",
"ansi-truncate": "^1.4.0",
"async-mutex": "^0.5.0",
@@ -97,8 +97,8 @@
},
"devDependencies": {
"@changesets/cli": "^2.29.2",
"@quartz-community/types": "^1.2.0",
"@quartz-community/utils": "^1.1.1",
"@quartz-community/types": "^1.3.0",
"@quartz-community/utils": "^1.2.0",
"@types/hast": "^3.0.4",
"@types/js-yaml": "^4.0.9",
"@types/node": "^26.5.1",
@@ -2354,9 +2354,9 @@
}
},
"node_modules/@quartz-community/alias-redirects": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/alias-redirects/-/alias-redirects-1.0.2.tgz",
"integrity": "sha512-QdcaorfE0UVqy4EnZel0minOHODybU+6v0ZlK4knFFV6QT8ISi8WlL79RnOV51jxRJkRBR3E7CED8kCa3l/RCA==",
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/@quartz-community/alias-redirects/-/alias-redirects-1.0.3.tgz",
"integrity": "sha512-kA3MiAneoHlC09uQJxF1ex1GktkUf9Rm53b0ybeJrtNEcteRoqBCELHB+pf6hUj9i/k2Epx0J8RyTSe/zwTg2A==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -2376,9 +2376,9 @@
}
},
"node_modules/@quartz-community/article-title": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@quartz-community/article-title/-/article-title-1.0.1.tgz",
"integrity": "sha512-i/pDWGHrbkYJ4ZmZTecgUu6SWKoeac/CCSp5/AD1owdSp5AM3OeHJMvy3cgtiVRk80p/QY27C60RyVKj1NT5Dg==",
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/article-title/-/article-title-1.0.2.tgz",
"integrity": "sha512-WQISg0GyglaRx4HsfUu43ny7PVe1lGk0fVohVOQu46JWKAk+UJCqP09BigRwzRJuqcUOzawjxueire1agfUwVA==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -2398,9 +2398,9 @@
}
},
"node_modules/@quartz-community/backlinks": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/backlinks/-/backlinks-1.0.2.tgz",
"integrity": "sha512-iZ016m+fH8FbW4J7uPYEHGrgvAvKDCmZvx5OmmeqL8Cv14PQG/xuhz3FvfTA2Djxq9/pFURvYTWxh+oDDL3N2Q==",
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/@quartz-community/backlinks/-/backlinks-1.0.3.tgz",
"integrity": "sha512-9CKvHhWi7SSahr+dswf2MAZQOMl/1sNDnx8Z3rE6USkuXu+RKc1agKgIzP+wHV1ttojiI9kkYdZclT+QUMEhmA==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -2420,9 +2420,9 @@
}
},
"node_modules/@quartz-community/bases-page": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@quartz-community/bases-page/-/bases-page-1.1.0.tgz",
"integrity": "sha512-MBrGeHos2xSoDzgrytKIqEglx43YWxJK52YJIWHwkOod25Ii4eCH5Ox0HtpdgbOn7EnLPXtOV6xuQP9ysKWxSw==",
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/@quartz-community/bases-page/-/bases-page-1.2.1.tgz",
"integrity": "sha512-mONeRLsZTNPT5fOJfdlM1Uq97V7aGnxSRZaT0X4PsR5bbEAIjnBoVEdsYrYZWypm/c6go58/59fXbpeexKFsFw==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -2450,9 +2450,9 @@
}
},
"node_modules/@quartz-community/breadcrumbs": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/breadcrumbs/-/breadcrumbs-1.0.2.tgz",
"integrity": "sha512-ImEiYAFDcbayj9Yu7b7X6Yt7x9z4pAABZDwTUV5DBYfnQJmJWyuQpvqBgMHUBUgWbm9gyxT73tlXaHpLvsY56w==",
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/@quartz-community/breadcrumbs/-/breadcrumbs-1.0.3.tgz",
"integrity": "sha512-ciGV+xk98Nl5WqxTSyfyzDC+dWcSVjQcN2qN1GjnSKSeuPgX1/LQhpr1VHiDAVd3XpLMr/c7Gg19UkdMvBPgKQ==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -2472,9 +2472,9 @@
}
},
"node_modules/@quartz-community/canvas-page": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/canvas-page/-/canvas-page-1.0.2.tgz",
"integrity": "sha512-F9kyp9PdSbUO2lKO1odINE29jA0aZw0XmIWW/p7zSGhRx4ZSvGjA+8thZHL6bIcyzjiG+09MndMebGSZiDmU1A==",
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/@quartz-community/canvas-page/-/canvas-page-1.0.3.tgz",
"integrity": "sha512-sUzjMZ+DKDYaN92zhUcVtuCodeFg8JvvoddeH3ZGBYdC8eXIqXhLYZx31mkBTjiLgx0Q4ACGduKpOYhkfTgrtQ==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -2532,9 +2532,9 @@
}
},
"node_modules/@quartz-community/comments": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@quartz-community/comments/-/comments-1.0.1.tgz",
"integrity": "sha512-Q4mbmvD6jfJOdeBGzL3W9gPHIVpVVtnZQVrJmM35BFwJh7QtvOAEL/MsTwzYVPz4JRg0fugL39V8dtKL76OBDA==",
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/comments/-/comments-1.0.2.tgz",
"integrity": "sha512-cHFjN7yn7rxgDzEOboM5viYOk1ex4Y/gIfDqN/BLNlqhPaZIkl2dq7RcYmkeVAz9kAJqNSj+WPQdVpB/2PGIGw==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -2554,9 +2554,9 @@
}
},
"node_modules/@quartz-community/content-meta": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@quartz-community/content-meta/-/content-meta-1.0.1.tgz",
"integrity": "sha512-FHoC0gV8bDbrefwy64VmjAjmKZqMxsC7xWpKb+Ks5b1iJLpLYjtJh3L6recVwjMnrCKFlxa1d/IEsNeJyqxndQ==",
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/content-meta/-/content-meta-1.0.2.tgz",
"integrity": "sha512-DFiLi8MY4v+qQT4WOBFwXTGG46S0iSCDziJ0Vnc4T46iDhoj4NeQc6FowuaUuxf770tGX6rguVBJMPCZ3NGerQ==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -2576,9 +2576,9 @@
}
},
"node_modules/@quartz-community/content-page": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/content-page/-/content-page-1.0.2.tgz",
"integrity": "sha512-+kbVhussK5n7sPc/7P5sSzLm6pDblYO3BCZ8asTxuHX43Hzv9jlj3LigphIDz/dvmHkjZNBMSdKHlvO5CcZRcg==",
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/@quartz-community/content-page/-/content-page-1.0.3.tgz",
"integrity": "sha512-zJJVACyJkwRull7GJOE57CcfjMNdYwATpY7aZQhhUCdu8NR4w0RJF3CfTc9QeQZ0mJL94A2KEKoa2gwbcy6UPg==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -2602,9 +2602,9 @@
}
},
"node_modules/@quartz-community/created-modified-date": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/created-modified-date/-/created-modified-date-1.0.2.tgz",
"integrity": "sha512-XMfFV4hwBVrRxtMO8QjWhXqarOHaip483oW3YHfqqcCfInlVCrDHRzAgpurOvTcLrlc60p6S7sZfRXwQYko/Sw==",
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/@quartz-community/created-modified-date/-/created-modified-date-1.0.3.tgz",
"integrity": "sha512-oSFR4oK5ELG/Ya2Z1ah51P8p7q9dDaNTSg1cA4Op4c1xETfCmwIfS0wx6gF62MsypSR9uRavr+cfDJXxsujjWg==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0"
@@ -2627,9 +2627,9 @@
}
},
"node_modules/@quartz-community/darkmode": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@quartz-community/darkmode/-/darkmode-1.0.1.tgz",
"integrity": "sha512-5HYQEMc1lM5P2PZazerq7sufLhcJ7WFURjQMXhJDqzhJOIz1I5csjd5UDGR/l/0vZayfrVzuWffgydOs8MwkYA==",
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/darkmode/-/darkmode-1.0.2.tgz",
"integrity": "sha512-FCfR8bdg248Y1NJhN6TWVBENwFiJak3gwqmpof/GMeTXr6e76FPe2ggTTz66a+s9UQ/ZC3JKU9xpHQi0zcGhyQ==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -2671,9 +2671,9 @@
}
},
"node_modules/@quartz-community/encrypted-pages": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@quartz-community/encrypted-pages/-/encrypted-pages-1.0.1.tgz",
"integrity": "sha512-KHBOEphODF5Lh+Ziv3jLar+k1DCU9Y7SRzBcDLWi/JJO99DQv29e6mwE2tZwcwom2cEUymOVjNpTJ7smEb/oTA==",
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@quartz-community/encrypted-pages/-/encrypted-pages-1.1.1.tgz",
"integrity": "sha512-x+fFfXiurYn2BWgKuzwiZGTVq6osVbaUyIVoYXvNakwwIQQeuSGVyqWdA25bCK1nxYVRGXPS/d1emHrCLRgv9w==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -2697,9 +2697,9 @@
}
},
"node_modules/@quartz-community/explicit-publish": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@quartz-community/explicit-publish/-/explicit-publish-1.0.1.tgz",
"integrity": "sha512-tM8CrgpEXZfT0/35hOZGl7QmqrAGYmqYZE0JA76Mh/b90Q8ewGZRCFPwnj3AQqIAfheGeSmhFFXHwnuf7biPTg==",
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@quartz-community/explicit-publish/-/explicit-publish-1.1.0.tgz",
"integrity": "sha512-Xdo69D2x/VufWQviPOuQp/OkLQ8XVGwyt3KO+DN9/ablMvWAXSlYIA11pcP1Y4UgxBMzMhpZ4+BLZqTGlz1SRg==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0"
@@ -2710,9 +2710,9 @@
}
},
"node_modules/@quartz-community/explorer": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/explorer/-/explorer-1.0.2.tgz",
"integrity": "sha512-6u62zq/U28BBIbm9FHFheDCmfsqfCq+lEngd6JzhfBlXGn6n1I7q9vPIJ4qN/8DYLey556MjJMxh+QLPIDHuGg==",
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/@quartz-community/explorer/-/explorer-1.0.3.tgz",
"integrity": "sha512-NksQMrCmOL7xWfH7CCA9kXaQboLWgJfZ5wsDnFaIoZEvg8BzC6x2hipMi5dj/4dkitiZhDY3kjnGsGtc0oZUIw==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -2753,9 +2753,9 @@
}
},
"node_modules/@quartz-community/folder-page": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/folder-page/-/folder-page-1.0.2.tgz",
"integrity": "sha512-+h/9QFo+wEtweYyKEe4CZxJVILfC0V70z7rkGIjN9unWyxOkIB3PJh9Fw8oRDuZw07yF3HwOvAg9/bBar8q9DA==",
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/@quartz-community/folder-page/-/folder-page-1.0.3.tgz",
"integrity": "sha512-d2XN0NOSNXL9cwJqsllWXN7ugCAyCgx7AQl9ByJa3Qe/xvhqsyO84WPiS/BQOFBFlbRcozPHBN6tFZhiWrR5SQ==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -2779,9 +2779,9 @@
}
},
"node_modules/@quartz-community/footer": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@quartz-community/footer/-/footer-1.1.0.tgz",
"integrity": "sha512-PUMTJiDAR4PrC4o745jrEhAwGRKETnYvcxS6OcKRzbOaW3N9q9ndEO4c7mur7CHccWhPdok3TwxRofz8fWTVDg==",
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@quartz-community/footer/-/footer-1.1.1.tgz",
"integrity": "sha512-D1xMkN5kTHmTBH5mcJs1pjxo6wl2HDU/kE8F3kPbCciydAGq1APBnt59v8P+K0Cd8jVeTTtbXfYdZ463xEgKaQ==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -2801,9 +2801,9 @@
}
},
"node_modules/@quartz-community/github-flavored-markdown": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/@quartz-community/github-flavored-markdown/-/github-flavored-markdown-2.1.0.tgz",
"integrity": "sha512-E2K09rOgmhHFtF/9AbnoVXrI3v0Ww82ZIVCHQUWWM7fsuktn3DYmmVs2YhJk77tSbeqGW76ZY+gl4UgJ/U9Rxg==",
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/@quartz-community/github-flavored-markdown/-/github-flavored-markdown-2.1.1.tgz",
"integrity": "sha512-31SqmzJZfkGnEg5vkYEECp01G0W0d4Sr/QrzdYcn8hk9qmwxPNTXLZWnaDBt50NilTOoLLleZhHl+FsyACaa8Q==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -2823,9 +2823,9 @@
}
},
"node_modules/@quartz-community/graph": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/graph/-/graph-1.0.2.tgz",
"integrity": "sha512-YmFoGizirmVkE9d66iLHgLrLgb7TYzCVaZT0kDwvh9J7/Kq8tUx/slIoFKuheJNr4gp7HGAxuNwx8WaLjqkXnQ==",
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/@quartz-community/graph/-/graph-1.0.3.tgz",
"integrity": "sha512-qfOiUpWUoZs/nIwV/iJgEjLWuWDR940O5mYBL2/dugbQHW05dDMhlF6hzrXgDlihnB000HDGtGk7LbL/ezdKkg==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -2891,9 +2891,9 @@
}
},
"node_modules/@quartz-community/note-properties": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/@quartz-community/note-properties/-/note-properties-1.1.3.tgz",
"integrity": "sha512-ChzMZjvw47D+aTBDFOyaAJpfp/S+l25ndSoL8xJOf+DMgO5y+GioaEPmYRHjUOnbnZxc1/RcydSnyU68CU8yjA==",
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/@quartz-community/note-properties/-/note-properties-1.1.4.tgz",
"integrity": "sha512-MTj7D4+CzmuYzZ8UwF8T5uzFf+JHoA2NzRCniuhug4h6KVxf3IRePqn5uVupjm/0Uzz2oeB7UX8Nr0hH0SNAdg==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -2917,15 +2917,15 @@
}
},
"node_modules/@quartz-community/obsidian-flavored-markdown": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/@quartz-community/obsidian-flavored-markdown/-/obsidian-flavored-markdown-2.1.1.tgz",
"integrity": "sha512-6PvlLi1e3naAZwVRyKJ5lQW19/mHpbZIRFGN9wC+QMx+9gDiJzA/HP4uTwcPQxrH0OzyrwZ4qkR4AFizynr2Eg==",
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/@quartz-community/obsidian-flavored-markdown/-/obsidian-flavored-markdown-2.1.3.tgz",
"integrity": "sha512-p5fls4M7ocUKrlF8MmfrlnNPEvBFZ5diVNVVkLsgTwCvzf19MrnczeKb3Q2yI2S1G2Xb0rXsq8kmF8faj+Q79A==",
"license": "MIT",
"dependencies": {
"@quartz-community/rehype-obsidian": "^1.2.0",
"@quartz-community/remark-obsidian": "^2.2.0",
"@quartz-community/rehype-obsidian": "^1.3.0",
"@quartz-community/remark-obsidian": "^2.2.1",
"@quartz-community/types": "^1.1.0",
"@quartz-community/utils": "^1.1.0",
"@quartz-community/utils": "^1.2.0",
"pele": "^1.13.0"
},
"engines": {
@@ -2993,9 +2993,9 @@
}
},
"node_modules/@quartz-community/page-title": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@quartz-community/page-title/-/page-title-1.0.1.tgz",
"integrity": "sha512-1KbSYyyAgsKeHWPv1/1IKmj1amSXSJZOV2Rdj44su8HPzW5CiUItam4Vnz0zNw7ElHq0/glNFS+r9RTuPE7sKw==",
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/page-title/-/page-title-1.0.2.tgz",
"integrity": "sha512-nZir6dVcbp2NN+qr1Gz1e8FmM4NvrsyWzelx0EoXL0lxvIghDrfCW0epImz0NC39264enSS1fHu+b8CG7z8KeA==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -3045,9 +3045,9 @@
}
},
"node_modules/@quartz-community/reader-mode": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@quartz-community/reader-mode/-/reader-mode-1.0.1.tgz",
"integrity": "sha512-k3fynx1Cer6jKg+B55XmJJtO6UPAS9QCnSYefyZWTcuYyXiy+hKjaBFeeWJgBf3szCEswrQZG4DubyC5Si0FPg==",
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/reader-mode/-/reader-mode-1.0.2.tgz",
"integrity": "sha512-Mm7llTF6erRk9ASrkcfYIKApfFf/yrBiYsPs+P8vx8qXaVziem/4e2G6wnT2EQQFUuYSSKklZ328V7rfN6fRRg==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -3067,9 +3067,9 @@
}
},
"node_modules/@quartz-community/recent-notes": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/recent-notes/-/recent-notes-1.0.2.tgz",
"integrity": "sha512-CWYHOBULovmqX5rxSBeuinkEPzBcQ2xVRT96y+D8JKDHtUK6IJr3dllYbgNK8sOp/akmAm5IuGWxXvfqJ75aUw==",
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/@quartz-community/recent-notes/-/recent-notes-1.0.3.tgz",
"integrity": "sha512-KxClnDJEixByDNwGbJfKqg/I5sHs1OwTAw+6UCIBcIJYeEszYD21F770NOrnaGQvrrBd5FITihVt8R48nsrSQQ==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -3089,18 +3089,18 @@
}
},
"node_modules/@quartz-community/rehype-obsidian": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/@quartz-community/rehype-obsidian/-/rehype-obsidian-1.2.1.tgz",
"integrity": "sha512-wuxPcG5ie4J7x7KMfOZMDSgyNKFJf6x6I+I6H4XaZ4WX4sPlEfMUDTvxBoHRHpstqfCRX5Hy73d/K9/rYAZdnw==",
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/@quartz-community/rehype-obsidian/-/rehype-obsidian-1.3.0.tgz",
"integrity": "sha512-62YFEr3NR/Z2G/wcq30/VVKTlT4RUKezWfwGTQkNC+9mAXcUb3gAwjgiUJwylXZQyZmBf+SZsCNmdhIb7CPh/g==",
"license": "MIT",
"engines": {
"node": ">=22"
}
},
"node_modules/@quartz-community/remark-obsidian": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/@quartz-community/remark-obsidian/-/remark-obsidian-2.2.0.tgz",
"integrity": "sha512-uSuUA3CA2ebAls7IXaevgQGqqbho1fR0lORKUTmhOTEUTYt8GBkl7ipaik4Y7x3q1LzUflejgFIGl/0XO83OGw==",
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/@quartz-community/remark-obsidian/-/remark-obsidian-2.2.1.tgz",
"integrity": "sha512-Q18F/Px8db8Evf6uwPKz0RMhZNyrsH2Okzhr6FWcsm51fYgJR+SiO98/2fmXQ3wnqV2eeJC7ZMzi81SDjK8vrg==",
"license": "MIT",
"engines": {
"node": ">=22"
@@ -3131,9 +3131,9 @@
}
},
"node_modules/@quartz-community/search": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/search/-/search-1.0.2.tgz",
"integrity": "sha512-tZcFCkoOY7AdT0pDXUVkdhwEs5JLPuoVXy+TvdpUe2Mzy91fDKQQF0eN5UV4i2awZqLGka4vsQ4k33hZAZSi8A==",
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/@quartz-community/search/-/search-1.0.3.tgz",
"integrity": "sha512-jrmV6D91w948vJvvMTjD8L6nzxfCdqXRvk7tB+JpDwQtGzRI42Buq5psPZaWlcizyXC95MfGbUI9fTvnxJc7WQ==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -3153,9 +3153,9 @@
}
},
"node_modules/@quartz-community/spacer": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@quartz-community/spacer/-/spacer-1.0.1.tgz",
"integrity": "sha512-fl/H/NaLdrHxP3R5VtABcaHYGshBNxmEIhAYxeAU+/q0ork5OCHDyxdUd+ZZYWOvK/KD42vBbAQEfzkYVuM9+Q==",
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/spacer/-/spacer-1.0.2.tgz",
"integrity": "sha512-AET+6OOYyMGbHGbEvZvBzkLiXbTBX4odJ2aWGde1HrLMdE/IJzL1HV2jbNPhC1AilA8gQf3fpNNxaimoSldyRQ==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0"
@@ -3174,9 +3174,9 @@
}
},
"node_modules/@quartz-community/stacked-pages": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/stacked-pages/-/stacked-pages-1.0.2.tgz",
"integrity": "sha512-0QxMNeiF5AnZ0fnQxFLcqs8GJCVywIoGjK+YNhN1TOk3p6MIDO0I+AdTbJ+QlZ5JiqXnNZkNoAnQJNXVCEiIAg==",
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/@quartz-community/stacked-pages/-/stacked-pages-1.0.3.tgz",
"integrity": "sha512-wdILZkQpYL9k490iXzNRkWtrDyRBxCfs+rqz3JUWPyMAq3ztlyH0UtDoyB+zDUN9XryPqmTf0b3rtiKlQLiJFg==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -3200,9 +3200,9 @@
}
},
"node_modules/@quartz-community/syntax-highlighting": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/syntax-highlighting/-/syntax-highlighting-1.0.2.tgz",
"integrity": "sha512-G2/auy9ilQ0vLEZyi5C5/BZe9Us+Ds89wnSfi5z4ciBS3rWD1dtLTbnQQyWTLd1hIzCFOtVsPTM1N+2hkVTgSQ==",
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/@quartz-community/syntax-highlighting/-/syntax-highlighting-1.0.3.tgz",
"integrity": "sha512-rD3cNLNCytlUyRR7b2emBmEchMGiNqNoAsZlhgqqQjez523lDMl9Qhxpuw6EgnAYn8uEWOTnOZF5c+jTSkEF+A==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0"
@@ -3225,9 +3225,9 @@
}
},
"node_modules/@quartz-community/table-of-contents": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/table-of-contents/-/table-of-contents-1.0.2.tgz",
"integrity": "sha512-lOwx5MwrDfDuk6rzBZdyToAZOiV6raN8JJVveSxMik8+QjdGGYA1Ery/A/HTib2riDEJZU6EgShlrYlrGpNCzg==",
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/@quartz-community/table-of-contents/-/table-of-contents-1.0.3.tgz",
"integrity": "sha512-BktvbmiyCRZ/iCZ6qQNXo+4amburwcGn2hmsiL4QN7Keruo8EuZPvLaXtrO4E25DO5XeMGovgbOoFNMKIia1yA==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -3247,9 +3247,9 @@
}
},
"node_modules/@quartz-community/tag-list": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/tag-list/-/tag-list-1.0.2.tgz",
"integrity": "sha512-Dr4QhM/h7tV0oNjhAq7Gpto1aLiMPplwBQ6CGUs15qhW3p9je3t0qhUQQVboXMXlw1u5NZiKj/NqoDnoZSMG9w==",
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/@quartz-community/tag-list/-/tag-list-1.0.3.tgz",
"integrity": "sha512-pwbbFAfdOL/xVG6Q7e+G0plC/BHHOLcpwssRn+77KxBcJPC2Z6fMqLCz8tW10T62/KoE/ig50S7iZbx36e+Njg==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -3269,9 +3269,9 @@
}
},
"node_modules/@quartz-community/tag-page": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@quartz-community/tag-page/-/tag-page-1.0.2.tgz",
"integrity": "sha512-GkPItFn82SA6h6tW6AZ3EdavsgkLd38ado8Gi1lm0wMbtHIJCFLlgZqYoReLTg32VGGT2gAvzn+hLsuuTV/LTQ==",
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/@quartz-community/tag-page/-/tag-page-1.0.3.tgz",
"integrity": "sha512-2D9w5gXKxERPny9uFb64iOG+DqcAmieYDu+x0DFPULh/UTlYm6xk2adwrTfi6lFouzl/UoHRmHxjumC3zwNvWQ==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -3295,9 +3295,9 @@
}
},
"node_modules/@quartz-community/types": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@quartz-community/types/-/types-1.2.0.tgz",
"integrity": "sha512-82L+hallWn9LCMw9kFUWJhAGwlTd4rT2KxxL8B7IAWTEvj/20StWsuC01Mbfk5hLhd8jAHGgj1WHb0u/cdUXEA==",
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/@quartz-community/types/-/types-1.3.0.tgz",
"integrity": "sha512-tdLWSv+XWqHGiuo77etvXkd2XO1S12NlUUbiC9o+o9BWgW7E/lcNl6A+I8c9uKbAj9CrIn7suK7z9154rlSwlQ==",
"license": "MIT",
"dependencies": {
"unified": "^11.0.5",
@@ -3321,13 +3321,12 @@
}
},
"node_modules/@quartz-community/unlisted-pages": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@quartz-community/unlisted-pages/-/unlisted-pages-1.0.1.tgz",
"integrity": "sha512-X7hlz1/i0CJMp13Px3p6tsJYBsAOFAWyAKx9hvospPDUnpMVFcNbTILGqrGKepCcgq8TQQ8GEIZdvNccxWmsPQ==",
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@quartz-community/unlisted-pages/-/unlisted-pages-1.1.0.tgz",
"integrity": "sha512-Gi67xF7AIC860/Glwbi+Ewbbnvox3A3MPsTi2Dz25xuaepZLfnQAwCT4ZgAsy55y4wyxxZG8DBHjkOgRyd9PXQ==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
"@quartz-community/utils": "^1.0.0"
"@quartz-community/types": "^1.0.0"
},
"engines": {
"node": ">=22",
@@ -3343,9 +3342,9 @@
}
},
"node_modules/@quartz-community/utils": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@quartz-community/utils/-/utils-1.1.1.tgz",
"integrity": "sha512-iHjEOlbpqznut9YkoflXxd2Bl5TaBcMFwIouRxp2HTBcbCQbmHtAsL3sdLheC1YeM9bMxeFLAN2b7rIBR2r/og==",
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@quartz-community/utils/-/utils-1.2.0.tgz",
"integrity": "sha512-X32uBfhfNACQw2Ciw6F0XQ9qSoTMQeh78/2ZEj8cYuOk7VTowNf0dpjtSDKAxs1co6aSpIEcDZBIG6p953UPiQ==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0"
+33 -33
View File
@@ -43,47 +43,47 @@
"@floating-ui/dom": "^1.7.4",
"@myriaddreamin/rehype-typst": "^0.7.0",
"@napi-rs/simple-git": "1.1.0",
"@quartz-community/alias-redirects": "^1.0.2",
"@quartz-community/article-title": "^1.0.1",
"@quartz-community/backlinks": "^1.0.2",
"@quartz-community/bases-page": "^1.1.0",
"@quartz-community/breadcrumbs": "^1.0.2",
"@quartz-community/canvas-page": "^1.0.2",
"@quartz-community/alias-redirects": "^1.0.3",
"@quartz-community/article-title": "^1.0.2",
"@quartz-community/backlinks": "^1.0.3",
"@quartz-community/bases-page": "^1.2.1",
"@quartz-community/breadcrumbs": "^1.0.3",
"@quartz-community/canvas-page": "^1.0.3",
"@quartz-community/citations": "^1.0.1",
"@quartz-community/cname": "^1.0.1",
"@quartz-community/comments": "^1.0.1",
"@quartz-community/content-meta": "^1.0.1",
"@quartz-community/content-page": "^1.0.2",
"@quartz-community/created-modified-date": "^1.0.2",
"@quartz-community/darkmode": "^1.0.1",
"@quartz-community/comments": "^1.0.2",
"@quartz-community/content-meta": "^1.0.2",
"@quartz-community/content-page": "^1.0.3",
"@quartz-community/created-modified-date": "^1.0.3",
"@quartz-community/darkmode": "^1.0.2",
"@quartz-community/description": "^1.0.2",
"@quartz-community/encrypted-pages": "^1.0.1",
"@quartz-community/explicit-publish": "^1.0.1",
"@quartz-community/explorer": "^1.0.2",
"@quartz-community/encrypted-pages": "^1.1.1",
"@quartz-community/explicit-publish": "^1.1.0",
"@quartz-community/explorer": "^1.0.3",
"@quartz-community/favicon": "^1.0.1",
"@quartz-community/folder-page": "^1.0.2",
"@quartz-community/footer": "^1.1.0",
"@quartz-community/github-flavored-markdown": "^2.1.0",
"@quartz-community/graph": "^1.0.2",
"@quartz-community/folder-page": "^1.0.3",
"@quartz-community/footer": "^1.1.1",
"@quartz-community/github-flavored-markdown": "^2.1.1",
"@quartz-community/graph": "^1.0.3",
"@quartz-community/hard-line-breaks": "^1.1.0",
"@quartz-community/latex": "^1.0.1",
"@quartz-community/note-properties": "^1.1.3",
"@quartz-community/obsidian-flavored-markdown": "^2.1.1",
"@quartz-community/note-properties": "^1.1.4",
"@quartz-community/obsidian-flavored-markdown": "^2.1.3",
"@quartz-community/og-image": "^1.1.1",
"@quartz-community/ox-hugo": "^1.0.1",
"@quartz-community/page-title": "^1.0.1",
"@quartz-community/page-title": "^1.0.2",
"@quartz-community/quartz-fonts": "^1.0.2",
"@quartz-community/reader-mode": "^1.0.1",
"@quartz-community/recent-notes": "^1.0.2",
"@quartz-community/reader-mode": "^1.0.2",
"@quartz-community/recent-notes": "^1.0.3",
"@quartz-community/roam": "^1.0.1",
"@quartz-community/search": "^1.0.2",
"@quartz-community/spacer": "^1.0.1",
"@quartz-community/stacked-pages": "^1.0.2",
"@quartz-community/syntax-highlighting": "^1.0.2",
"@quartz-community/table-of-contents": "^1.0.2",
"@quartz-community/tag-list": "^1.0.2",
"@quartz-community/tag-page": "^1.0.2",
"@quartz-community/unlisted-pages": "^1.0.1",
"@quartz-community/search": "^1.0.3",
"@quartz-community/spacer": "^1.0.2",
"@quartz-community/stacked-pages": "^1.0.3",
"@quartz-community/syntax-highlighting": "^1.0.3",
"@quartz-community/table-of-contents": "^1.0.3",
"@quartz-community/tag-list": "^1.0.3",
"@quartz-community/tag-page": "^1.0.3",
"@quartz-community/unlisted-pages": "^1.1.0",
"@quartz-themes/core": "^2.0.1",
"ansi-truncate": "^1.4.0",
"async-mutex": "^0.5.0",
@@ -124,8 +124,8 @@
},
"devDependencies": {
"@changesets/cli": "^2.29.2",
"@quartz-community/types": "^1.2.0",
"@quartz-community/utils": "^1.1.1",
"@quartz-community/types": "^1.3.0",
"@quartz-community/utils": "^1.2.0",
"@types/hast": "^3.0.4",
"@types/js-yaml": "^4.0.9",
"@types/node": "^26.5.1",
+4
View File
@@ -264,6 +264,10 @@ export function isLocalSource(source) {
if (url.startsWith("./") || url.startsWith("../") || url.startsWith("/")) {
return true
}
// Windows relative paths (.\plugin, ..\plugin)
if (url.startsWith(".\\") || url.startsWith("..\\")) {
return true
}
// Windows absolute paths (e.g. C:\ or D:/)
if (/^[A-Za-z]:[\\/]/.test(url)) {
return true
+26 -1
View File
@@ -1,7 +1,12 @@
import test, { describe } from "node:test"
import assert from "node:assert"
import YAML from "yaml"
import { stringifyConfigYaml, parseGitSource, extractPluginName } from "./plugin-data.js"
import {
stringifyConfigYaml,
parseGitSource,
extractPluginName,
isLocalSource,
} from "./plugin-data.js"
const ORIGINAL = `# yaml-language-server: $schema=./quartz/plugins/quartz-plugins.schema.json
configuration:
@@ -92,3 +97,23 @@ describe("parseGitSource", () => {
assert.throws(() => parseGitSource("github:onlyowner"), /Expected github:owner\/repo/)
})
})
describe("isLocalSource", () => {
test("recognises local paths in POSIX and Windows spellings", () => {
for (const source of [
"./p",
"../p",
"/p",
".\\p",
"..\\a\\p",
"C:\\a\\p",
"D:/p",
{ repo: ".\\p" },
]) {
assert.ok(isLocalSource(source), JSON.stringify(source))
}
for (const source of ["github:a/b", "a/b", "https://github.com/a/b.git"]) {
assert.ok(!isLocalSource(source), source)
}
})
})
+18
View File
@@ -52,6 +52,7 @@ import {
} from "./subprocess.js"
import { writePluginIndex } from "./plugin-index.js"
import {
builtinKeyFor,
builtinMessage,
describeBuiltins,
findBuiltinMigrations,
@@ -2662,6 +2663,23 @@ export async function handlePluginDoctor({ verbose = false, fix = false } = {})
if (deprecation) report("warning", null, deprecation.message, deprecation.hint)
if (enabled) {
for (const dep of manifest.dependencies ?? []) {
// A plugin that is built into core now (crawl-links → configuration.links, …) is
// satisfied by the built-in: its entries were absorbed above.
const builtinKey = builtinKeyFor(dep)
if (builtinKey) {
const builtin = describeBuiltins(config.data.configuration).find(
(b) => b.key === builtinKey,
)
if (builtin && !builtin.enabled) {
report(
"warning",
label,
`depends on ${dep}, which is built into Quartz now as configuration.${builtinKey} and is disabled`,
`Enable configuration.${builtinKey} in quartz.config.yaml.`,
)
}
continue
}
const depEntry =
enabledSources.get(dep) ??
plugins.find((e) => {
+3 -2
View File
@@ -12,6 +12,7 @@
*/
import fs from "node:fs"
import path from "node:path"
import { fileURLToPath } from "node:url"
import { styleText } from "node:util"
import { isIdentifier, jsString } from "./subprocess.js"
@@ -135,8 +136,8 @@ export function collectPluginExports({ pluginsDir, npmPackages = [], verbose = f
for (const pkg of npmPackages) {
let distIndex
try {
const pkgJson = new URL(import.meta.resolve(`${pkg}/package.json`)).pathname
distIndex = path.join(path.dirname(decodeURIComponent(pkgJson)), "dist", "index.d.ts")
const pkgJson = fileURLToPath(import.meta.resolve(`${pkg}/package.json`))
distIndex = path.join(path.dirname(pkgJson), "dist", "index.d.ts")
} catch {
if (verbose) console.log(styleText("yellow", `⚠`), `Skipping npm package ${pkg}: not found`)
continue
+14
View File
@@ -46,6 +46,20 @@ function fakeSite() {
}
describe("plugin index", () => {
// npm plugins are found through import.meta.resolve, which returns a file: URL. Its pathname
// is not a path on Windows (`/C:/…`), so every npm plugin was skipped there (#2616).
test("npm plugins are found through their package.json", () => {
const pluginsDir = fs.mkdtempSync(path.join(os.tmpdir(), "quartz-plugin-index-npm-"))
const entry = collectPluginExports({
pluginsDir,
npmPackages: ["@quartz-community/explorer"],
}).get("quartz-community__explorer")
assert.ok(entry, "@quartz-community/explorer was skipped")
assert.ok(entry.overridable.includes("Explorer"))
assert.strictEqual(entry.importPath, "@quartz-community/explorer")
fs.rmSync(pluginsDir, { recursive: true, force: true })
})
test("component constructors re-exported from a sub-module are wrapped (#2565)", () => {
const { root, pluginsDir } = fakeSite()
const entry = collectPluginExports({ pluginsDir }).get("my-widget")!
+47 -1
View File
@@ -4,7 +4,7 @@ import { unified } from "unified"
import remarkParse from "remark-parse"
import remarkRehype from "remark-rehype"
import { VFile } from "vfile"
import { Element, Root } from "hast"
import { Element, Root, Text } from "hast"
import { visit } from "unist-util-visit"
import { BUILTINS, instantiateBuiltins, officialPluginName, planBuiltins, PlanInput } from "."
import {
@@ -361,6 +361,52 @@ describe("links built-in", () => {
assert.strictEqual(els[1].properties.src, "../../media/a.mp4")
})
// Obsidian 1.15.0 (remark-obsidian 2.2.1's triage, re-probed): a path that is not valid
// percent-encoding names no file, so the link is external; `x:y` has a scheme, `../x:y` doesn't
test("links Obsidian reads as external", () => {
const { els } = run([a("%zz"), a("a%E2.md"), a("x:y"), a("../x:y")], "sub/note", {}, ["xy"])
const classes = els.filter((e) => e.tagName === "a").map((e) => e.properties.className)
assert.deepStrictEqual(
classes.map((c) => (c as string[])[0]),
["external", "external", "external", "internal"],
)
})
test("an image of a missing file without alt text shows its decoded path", () => {
const img = (src: string, alt?: string): Element => ({
type: "element",
tagName: "img",
properties: alt === undefined ? { src } : { src, alt },
children: [],
})
const { els } = run(
[
img("missing%20pic.png"),
img("missing%20image.png", "alt"),
img("pic.png"),
img("/static/x.png"),
],
"page",
{ markdownLinkResolution: "absolute" },
["page", "pic.png"],
)
assert.deepStrictEqual(
els.map((e) => e.properties.alt),
["missing pic.png", "alt", undefined, undefined],
)
})
test("pretty links keep the last /-separated part of the link text, on every OS", () => {
const { els } = run([a("folder/note"), a("a\\b")], "page", { prettyLinks: true }, [
"folder/note",
"a\\b",
])
assert.deepStrictEqual(
els.filter((e) => e.tagName === "a").map((e) => (e.children[0] as Text).value),
["note", "a\\b"],
)
})
test("disableBrokenWikilinks adds a broken class to missing targets", () => {
const { els } = run([a("missing")], "page", { disableBrokenWikilinks: true }, ["page"])
assert.ok((els[0].properties.className as string[]).includes("broken"))
+20 -4
View File
@@ -8,6 +8,7 @@ import { LinksConfig } from "../../cfg"
import {
FullSlug,
RelativeURL,
linkPathDecodes,
SimpleSlug,
TransformOptions,
resolveRelative,
@@ -46,7 +47,9 @@ export const legacyCrawlLinksDefaults: Partial<LinksConfig> = {
}
const isAbsolute = isAbsoluteUrl as (url: string, options?: { httpOnly?: boolean }) => boolean
const isExternalUrl = (url: string) => isAbsolute(url, { httpOnly: false })
// As in Obsidian: a URL with a scheme (`x:y`, but not `../x:y`), or a link whose path is not valid
// percent-encoding (`%zz`, `a%E2.md`), which names no file
const isExternalUrl = (url: string) => isAbsolute(url, { httpOnly: false }) || !linkPathDecodes(url)
const EXTERNAL_ICON_PATH =
"M320 0H288V64h32 82.7L201.4 265.4 178.7 288 224 333.3l22.6-22.6L448 109.3V192v32h64V192 32 0H480 320zM32 32H0V64 480v32H32 456h32V480 352 320H424v32 96H64V96h96 32V32H160 32z"
@@ -163,7 +166,8 @@ export const Links: QuartzTransformerPlugin<LinksConfig> = (userOpts) => {
!textChild.value.startsWith("#") &&
!classes.includes("alias")
) {
textChild.value = path.basename(textChild.value)
// link text is not an OS path: path.posix, or Windows would also cut at a backslash
textChild.value = path.posix.basename(textChild.value)
}
}
}
@@ -175,8 +179,20 @@ export const Links: QuartzTransformerPlugin<LinksConfig> = (userOpts) => {
typeof node.properties.src === "string"
) {
if (opts.lazyLoad) node.properties.loading = "lazy"
if (!isExternalUrl(node.properties.src)) {
node.properties.src = resolveLink(node.properties.src as RelativeURL)
const src = node.properties.src
if (!isExternalUrl(src)) {
node.properties.src = resolveLink(src as RelativeURL)
// An embed of a file the site doesn't have: Obsidian shows its path, percent-decoded
// (`![](missing%20pic.png)` → “missing pic.png”). The image shows its alt text, so
// an image without one gets the path; an author's alt text is kept.
const target =
node.tagName === "img" && !node.properties.alt && !src.startsWith("#")
? canonicalSlug(node.properties.src as string, curSlug)
: undefined
// (quartz/static is served at static/ but holds no content files)
if (target && !target.startsWith("static/") && !ctx.allSlugs.includes(target)) {
node.properties.alt = decodeURI(splitAnchor(src)[0])
}
}
}
+53 -1
View File
@@ -1,6 +1,13 @@
import test, { describe, afterEach } from "node:test"
import assert from "node:assert"
import { buildLayoutForEntries, isExcluded, resolveGroups } from "./config-loader"
import {
buildLayoutForEntries,
isExcluded,
resolveGroups,
validateDependencies,
} from "./config-loader"
import { planBuiltins } from "../builtins"
import type { PluginManifest } from "./types"
import { componentRegistry } from "../../components/registry"
import type { QuartzComponent, QuartzComponentConstructor } from "../../components/types"
import { PluginJsonEntry, LayoutPosition } from "./types"
@@ -321,3 +328,48 @@ describe("isExcluded", () => {
assert.ok(!isExcluded("@quartz-community/explorer", ["reader-mode"]))
})
})
// crawl-links, remove-draft and content-index are built into core in 5.1: their entries are
// absorbed before dependencies are checked, so a plugin depending on one must be satisfied by the
// built-in (a community plugin depending on crawl-links failed every 5.1 build).
describe("dependencies on plugins that are built in now", () => {
const source = "github:someone/cloudflare-media"
const check = (configuration: Record<string, unknown>, order?: number) => {
const entry: PluginJsonEntry = { source, enabled: true, options: {}, order }
const manifest = {
name: "cloudflare-media",
category: "transformer",
defaultOrder: 65,
dependencies: ["@quartz-community/crawl-links"],
} as unknown as PluginManifest
const plan = planBuiltins({
configuration,
entries: [],
nameOf: () => "",
providesOf: () => undefined,
})
return validateDependencies([entry], new Map([[source, manifest]]), plan.builtins)
}
test("are satisfied by the enabled built-in", () => {
assert.deepStrictEqual(check({}), { errors: [], warnings: [] })
})
test("warn when the built-in is disabled", () => {
const { errors, warnings } = check({ links: false })
assert.deepStrictEqual(errors, [])
assert.match(warnings[0], /built into Quartz now as configuration\.links and is disabled/)
})
test("must still run after the built-in in the same stage", () => {
const { errors } = check({}, 50)
assert.match(errors[0], /order: 50.*configuration\.links, order: 60/)
})
test("other missing dependencies still fail", () => {
const entry: PluginJsonEntry = { source, enabled: true, options: {} }
const manifest = { dependencies: ["@quartz-community/explorer"] } as unknown as PluginManifest
const { errors } = validateDependencies([entry], new Map([[source, manifest]]), [])
assert.match(errors[0], /requires "@quartz-community\/explorer"/)
})
})
+35 -3
View File
@@ -41,7 +41,13 @@ import {
parseCapabilities,
CapabilityPlugin,
} from "./capabilities"
import { absorbingBuiltin, BuiltinPlan, instantiateBuiltins, planBuiltins } from "../builtins"
import {
absorbingBuiltin,
BuiltinPlan,
instantiateBuiltins,
PlannedBuiltin,
planBuiltins,
} from "../builtins"
import { registerPluginOrigin, reportError, warn } from "../../util/diagnostics"
import { firstPluginFrame } from "../../util/trace"
import {
@@ -146,9 +152,10 @@ interface DependencyValidationResult {
warnings: string[]
}
function validateDependencies(
export function validateDependencies(
entries: PluginJsonEntry[],
manifests: Map<string, PluginManifest>,
builtins: PlannedBuiltin[] = [],
): DependencyValidationResult {
const errors: string[] = []
const warnings: string[] = []
@@ -172,6 +179,31 @@ function validateDependencies(
const depEntry = sourceToEntry.get(dep)
const depName = extractPluginName(dep)
// A plugin that is built into core now (crawl-links → configuration.links, …) has no entry
// to find: its entries are absorbed before this check. The built-in satisfies it.
const builtin = depEntry
? undefined
: builtins.find((b) => b.spec === absorbingBuiltin({ source: dep } as PluginJsonEntry))
if (builtin) {
if (!builtin.enabled) {
warnings.push(
`Plugin "${pluginName}" depends on "${depName}", which is built into Quartz now as ` +
`configuration.${builtin.spec.configKey} and is disabled. "${pluginName}" may not function correctly.`,
)
} else if (
pluginOrder < builtin.order &&
[manifest.category].flat().includes(builtin.spec.category)
) {
// order only decides between plugins of the same stage (a transformer after links)
errors.push(
`Plugin "${pluginName}" (order: ${pluginOrder}) depends on "${depName}" (built in as ` +
`configuration.${builtin.spec.configKey}, order: ${builtin.order}), but "${pluginName}" is ` +
`configured to run first. Increase "${pluginName}"'s order above ${builtin.order}.`,
)
}
continue
}
if (!depEntry) {
errors.push(
`Plugin "${pluginName}" requires "${depName}". Run: npx quartz plugin add ${dep}`,
@@ -473,7 +505,7 @@ export async function loadQuartzConfig(
)
// Validate dependencies
const validation = validateDependencies(enabledEntries, manifests)
const validation = validateDependencies(enabledEntries, manifests, builtinPlan.builtins)
for (const warning of validation.warnings) {
console.warn(styleText("yellow", `⚠`) + ` ${warning}`)
}
+20 -1
View File
@@ -3,7 +3,7 @@ import assert from "node:assert"
import fs from "fs"
import os from "os"
import path from "path"
import { parsePluginSource, readLockedCommit } from "./gitLoader"
import { isLocalSource, parsePluginSource, readLockedCommit } from "./gitLoader"
describe("parsePluginSource", () => {
test("owner/repo shorthand supports #ref", () => {
@@ -13,6 +13,25 @@ describe("parsePluginSource", () => {
assert.strictEqual(spec.ref, "dev")
})
test("local sources are recognised in POSIX and Windows spellings", () => {
for (const source of [
"./plugin",
"../plugin",
"/abs/plugin",
".\\plugin",
"..\\plugins\\x",
"C:\\sites\\plugin",
"D:/plugin",
{ repo: ".\\plugin" },
]) {
assert.ok(isLocalSource(source), JSON.stringify(source))
}
for (const source of ["github:a/b", "a/b", "https://github.com/a/b.git", "@scope/pkg"]) {
assert.ok(!isLocalSource(source), source)
}
assert.strictEqual(parsePluginSource(".\\plugin").local, true)
})
test("unknown sources get an explanatory error", () => {
assert.throws(() => parsePluginSource("explorer"), /Expected github:owner\/repo/)
})
+4
View File
@@ -111,6 +111,10 @@ export function isLocalSource(source: PluginSource): boolean {
if (source.startsWith("./") || source.startsWith("../") || source.startsWith("/")) {
return true
}
// Windows relative paths (.\plugin, ..\plugin)
if (source.startsWith(".\\") || source.startsWith("..\\")) {
return true
}
// Windows absolute paths (e.g. C:\ or D:/)
if (/^[A-Za-z]:[\\/]/.test(source)) {
return true
+1
View File
@@ -20,6 +20,7 @@ export {
splitAnchor,
slugTag,
transformInternalLink,
linkPathDecodes,
transformLink,
normalizeHastElement,
} from "@quartz-community/utils"