fix: add build-time deps for DTS generation

Peer dependencies needed at build time for TypeScript declaration file
generation were missing from devDependencies. Without them, the DTS build
fails silently, producing no index.d.ts.
This commit is contained in:
saberzero1 2026-03-14 22:26:14 +01:00
parent 2606d3ff19
commit 4a3269e468
No known key found for this signature in database
3 changed files with 1258 additions and 2 deletions

10
dist/index.d.ts vendored Normal file
View file

@ -0,0 +1,10 @@
import { QuartzTransformerPlugin } from '@quartz-community/types';
export { QuartzTransformerPlugin } from '@quartz-community/types';
interface GfmOptions {
enableSmartyPants: boolean;
linkHeadings: boolean;
}
declare const GitHubFlavoredMarkdown: QuartzTransformerPlugin<Partial<GfmOptions>>;
export { type GfmOptions, GitHubFlavoredMarkdown };

1242
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -83,9 +83,13 @@
"eslint-config-prettier": "^9.1.0",
"preact": "^10.28.2",
"prettier": "^3.6.2",
"vitest": "^2.1.9",
"rehype-autolink-headings": "^7.1.0",
"rehype-slug": "^6.0.0",
"remark-gfm": "^4.0.1",
"remark-smartypants": "^3.0.2",
"tsup": "^8.5.0",
"typescript": "^5.9.3"
"typescript": "^5.9.3",
"vitest": "^2.1.9"
},
"engines": {
"node": ">=22",