From d0baedb643fdc8555a5727897d0f43f43e82ef0b Mon Sep 17 00:00:00 2001 From: saberzero1 Date: Sat, 14 Mar 2026 21:27:06 +0100 Subject: [PATCH] chore: move build tools to devDependencies, shared deps to peerDependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- package.json | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 637b721..eeb0047 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,8 @@ }, "peerDependencies": { "@jackyzha0/quartz": "^4.5.2", - "preact": "^10.0.0" + "preact": "^10.0.0", + "vfile": "^6.0.3" }, "peerDependenciesMeta": { "@jackyzha0/quartz": { @@ -60,14 +61,14 @@ }, "preact": { "optional": false + }, + "vfile": { + "optional": true } }, "dependencies": { "@quartz-community/types": "github:quartz-community/types", - "@quartz-community/utils": "github:quartz-community/utils", - "tsup": "^8.5.0", - "typescript": "^5.9.3", - "vfile": "^6.0.3" + "@quartz-community/utils": "github:quartz-community/utils" }, "devDependencies": { "@types/hast": "^3.0.4", @@ -80,7 +81,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",