From 656f9fba3cc0e2b5a387a7f637ee46291208e57b Mon Sep 17 00:00:00 2001 From: MilchstraBe-Endless10 Date: Sat, 22 Aug 2026 22:54:29 +0800 Subject: [PATCH] fix: add unrun devDependency for tsdown config loading tsdown 0.22 resolves its config file through unrun; without it declared, git-hosted installs (which run `pnpm install` + prepare inside the fetched source) fail with "Failed to import module unrun". Declare it as a dev dependency so the prepare step can load tsdown.config.ts. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 590422a..aee1415 100644 --- a/package.json +++ b/package.json @@ -167,6 +167,7 @@ "react-dom": "18.2.0", "tsdown": "^0.22.2", "typescript": "^5.6.0", + "unrun": "^0.3.1", "vitest": "^4.1.8" } }