From 8ff480f9e957809e03a93b531892560730fa6c7e Mon Sep 17 00:00:00 2001 From: arkon Date: Fri, 23 Jan 2026 19:41:43 +0100 Subject: [PATCH] fix: preserve execute permission on dist/index.js during build Add chmod +x after tsc compilation to prevent "Permission denied" errors when running claudeman via npm link symlink. Co-Authored-By: Claude Opus 4.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0c1567de..f7ec50de 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "claudeman": "./dist/index.js" }, "scripts": { - "build": "tsc && mkdir -p dist/web dist/templates && cp -r src/web/public dist/web/ && cp src/templates/case-template.md dist/templates/", + "build": "tsc && chmod +x dist/index.js && mkdir -p dist/web dist/templates && cp -r src/web/public dist/web/ && cp src/templates/case-template.md dist/templates/", "start": "node dist/index.js", "dev": "tsx src/index.ts", "web": "node dist/index.js web",