mirror of
https://github.com/jackyzha0/quartz
synced 2026-11-30 22:44:41 +01:00
Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f520811260 | ||
|
|
7e45c5489e | ||
|
|
922bb80cb6 | ||
|
|
2a4ab673dc | ||
|
|
6e91a0010b | ||
|
|
edb64cd331 |
No files matched your search
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@jackyzha0/quartz": patch
|
||||
---
|
||||
|
||||
Tag pages honour the TagPage `numPages` and `sort` options (tag-page 1.0.4); before, they always used the defaults. Plugin client scripts can use `window.quartzStaticUrl` and `window.quartzPrefetch` with the declarations in `@quartz-community/types` 1.3.1.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@jackyzha0/quartz": patch
|
||||
---
|
||||
|
||||
The Roam Research plugin works with ObsidianFlavoredMarkdown on, as in the default config (roam 1.1.0). `{{[[TODO]]}}`, `{{[[DONE]]}}`, `[[>]]` and `{{[[video]]: …}}` no longer render as wikilinks, and `__italic__` is italic instead of bold.
|
||||
Generated
+12
-12
@@ -45,14 +45,14 @@
|
||||
"@quartz-community/quartz-fonts": "^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/roam": "^1.1.0",
|
||||
"@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/tag-page": "^1.0.4",
|
||||
"@quartz-community/unlisted-pages": "^1.1.0",
|
||||
"@quartz-themes/core": "^2.0.1",
|
||||
"ansi-truncate": "^1.4.0",
|
||||
@@ -97,7 +97,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@changesets/cli": "^2.29.2",
|
||||
"@quartz-community/types": "^1.3.0",
|
||||
"@quartz-community/types": "^1.3.1",
|
||||
"@quartz-community/utils": "^1.2.0",
|
||||
"@types/hast": "^3.0.4",
|
||||
"@types/js-yaml": "^4.0.9",
|
||||
@@ -3110,9 +3110,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@quartz-community/roam": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@quartz-community/roam/-/roam-1.0.1.tgz",
|
||||
"integrity": "sha512-JiNSu3u5ly+f4Y4ql9yC1geJ5+TN0jaSx8UEjpbZT8cnEBKNmCyaQJMBj4X18RWu0EIsUchp96ksFjmcaPG2Zg==",
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@quartz-community/roam/-/roam-1.1.0.tgz",
|
||||
"integrity": "sha512-Q5mRS38G6M+YMek7zN1ecr7ZCsVZ8ccl15Lsagf1CTr1ZSOvGdvu+dJdV5QbAF+KHg0jwUwdQly4OUvUMEBrCQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@quartz-community/types": "^1.0.0"
|
||||
@@ -3269,9 +3269,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@quartz-community/tag-page": {
|
||||
"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==",
|
||||
"version": "1.0.4",
|
||||
"resolved": "https://registry.npmjs.org/@quartz-community/tag-page/-/tag-page-1.0.4.tgz",
|
||||
"integrity": "sha512-57SBbZGfdckzVtwGtnoFSzxIJbeFEtgATMCMrnfql+5o+kZENnCRP9m2BCl/W3i1u3ygpLQ9DPxSQn97rsqzaw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@quartz-community/types": "^1.0.0",
|
||||
@@ -3295,9 +3295,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@quartz-community/types": {
|
||||
"version": "1.3.0",
|
||||
"resolved": "https://registry.npmjs.org/@quartz-community/types/-/types-1.3.0.tgz",
|
||||
"integrity": "sha512-tdLWSv+XWqHGiuo77etvXkd2XO1S12NlUUbiC9o+o9BWgW7E/lcNl6A+I8c9uKbAj9CrIn7suK7z9154rlSwlQ==",
|
||||
"version": "1.3.1",
|
||||
"resolved": "https://registry.npmjs.org/@quartz-community/types/-/types-1.3.1.tgz",
|
||||
"integrity": "sha512-8tgpi+4EqLWZyCCA2CE3RC9hIUMc1vvzq4lHyhUpwao8v+Ij/CcLQQMh51jlnGFhbItSuFw1NH26TMjJ2cXgzA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"unified": "^11.0.5",
|
||||
|
||||
+3
-3
@@ -75,14 +75,14 @@
|
||||
"@quartz-community/quartz-fonts": "^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/roam": "^1.1.0",
|
||||
"@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/tag-page": "^1.0.4",
|
||||
"@quartz-community/unlisted-pages": "^1.1.0",
|
||||
"@quartz-themes/core": "^2.0.1",
|
||||
"ansi-truncate": "^1.4.0",
|
||||
@@ -124,7 +124,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@changesets/cli": "^2.29.2",
|
||||
"@quartz-community/types": "^1.3.0",
|
||||
"@quartz-community/types": "^1.3.1",
|
||||
"@quartz-community/utils": "^1.2.0",
|
||||
"@types/hast": "^3.0.4",
|
||||
"@types/js-yaml": "^4.0.9",
|
||||
|
||||
@@ -17,13 +17,6 @@ const configs = [
|
||||
]
|
||||
const require = createRequire(path.join(root, "package.json"))
|
||||
|
||||
// Options the plugins read but their manifests don't declare yet (no defaultOptions entry or
|
||||
// schema): accepted here until the manifest lists them.
|
||||
const UNDECLARED_BUT_REAL = {
|
||||
"@quartz-community/recent-notes": ["title"],
|
||||
"@quartz-themes/core": ["variation"],
|
||||
}
|
||||
|
||||
function manifestOf(source) {
|
||||
try {
|
||||
return JSON.parse(fs.readFileSync(require.resolve(`${source}/package.json`), "utf8")).quartz
|
||||
@@ -51,9 +44,7 @@ for (const file of configs) {
|
||||
if (typeof entry.source !== "string" || !entry.options) continue
|
||||
const manifest = manifestOf(entry.source)
|
||||
if (!manifest) continue
|
||||
const allowed = UNDECLARED_BUT_REAL[entry.source] ?? []
|
||||
for (const issue of validatePluginOptions(entry.options, manifest)) {
|
||||
if (allowed.includes(issue.path)) continue
|
||||
problems.push(`${entry.source}: ${issue.message}`)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user