From 20b0ee4ee110e185811f9aaca70b80998a01d771 Mon Sep 17 00:00:00 2001 From: Matthew Smith Date: Mon, 26 Oct 2026 21:16:03 -0700 Subject: [PATCH] fix(build): keep dist/cli/main.js executable pnpm build deletes dist/ and tsc writes main.js without the execute bit, so after any rebuild the npm-linked foreman on PATH failed with 'permission denied' and zsh reported it as not found. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01JrFSqr3eJsNihHcgYph1hB --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cea7d3b..bdc43d8 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "access": "public" }, "scripts": { - "build": "rm -rf dist && tsc -p tsconfig.build.json && cp src/web.html dist/web.html", + "build": "rm -rf dist && tsc -p tsconfig.build.json && cp src/web.html dist/web.html && chmod +x dist/cli/main.js", "dev": "tsx src/cli/main.ts", "typecheck": "tsc -p tsconfig.json", "test": "vitest run",