chore: move build tools to devDependencies, shared deps to peerDependencies

tsup and typescript are only needed at build time — move to devDependencies
so they can be pruned after build. Dependencies already available from the
host Quartz installation are moved to peerDependencies to avoid duplication.
This commit is contained in:
saberzero1 2026-03-14 21:27:36 +01:00
parent e9c10e521b
commit 4392652830
No known key found for this signature in database

View file

@ -54,7 +54,8 @@
},
"peerDependencies": {
"@jackyzha0/quartz": "^4.5.2",
"preact": "^10.0.0"
"preact": "^10.0.0",
"flexsearch": "^0.8.212"
},
"peerDependenciesMeta": {
"@jackyzha0/quartz": {
@ -62,14 +63,14 @@
},
"preact": {
"optional": false
},
"flexsearch": {
"optional": true
}
},
"dependencies": {
"@quartz-community/types": "github:quartz-community/types",
"@quartz-community/utils": "github:quartz-community/utils",
"flexsearch": "^0.8.212",
"tsup": "^8.5.0",
"typescript": "^5.9.3"
"@quartz-community/utils": "github:quartz-community/utils"
},
"devDependencies": {
"@types/flexsearch": "^0.7.6",
@ -83,7 +84,9 @@
"preact": "^10.28.2",
"prettier": "^3.6.2",
"sass": "^1.97.3",
"vitest": "^2.1.9"
"vitest": "^2.1.9",
"tsup": "^8.5.0",
"typescript": "^5.9.3"
},
"engines": {
"node": ">=22",