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 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-23 19:41:43 +01:00
co-authored by Claude Opus 4.5
parent 1c9272b6be
commit 8ff480f9e9
+1 -1
View File
@@ -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",