From 33fad4efdc992cf65945f0f2018973a264b8ea0e Mon Sep 17 00:00:00 2001 From: "D. K. Min" Date: Thu, 16 Apr 2026 21:11:47 +0900 Subject: [PATCH] fix: move runtime deps to devDependencies to prevent npx install hang MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The standalone build bundles everything needed at runtime. Having @excalidraw/excalidraw in dependencies causes npx to resolve its entire dep tree (roughjs → sliced etc.), hanging the install. Closes jayychoii/openboard-claude#1 Co-Authored-By: Claude Opus 4.6 (1M context) --- package.json | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 50a3d86..3e99b51 100644 --- a/package.json +++ b/package.json @@ -24,19 +24,18 @@ "lint": "eslint", "prepare": "node scripts/prepare.js" }, - "dependencies": { - "@excalidraw/excalidraw": "^0.18.0", - "next": "16.2.1", - "react": "19.2.4", - "react-dom": "19.2.4" - }, + "dependencies": {}, "devDependencies": { + "@excalidraw/excalidraw": "^0.18.0", "@tailwindcss/postcss": "^4", "@types/node": "^20", "@types/react": "^19", "@types/react-dom": "^19", "eslint": "^9", "eslint-config-next": "16.2.1", + "next": "16.2.1", + "react": "19.2.4", + "react-dom": "19.2.4", "tailwindcss": "^4", "typescript": "^5" }