mirror of
https://github.com/quartz-community/github-flavored-markdown.git
synced 2026-07-22 02:50:28 +00:00
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:
parent
2606d3ff19
commit
4a3269e468
3 changed files with 1258 additions and 2 deletions
10
dist/index.d.ts
vendored
Normal file
10
dist/index.d.ts
vendored
Normal 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
1242
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue