Fix bin field to use compiled JavaScript output

- Update bin field to point to dist/src/cli.js instead of tsx src/cli.ts
- Add @types/js-yaml to devDependencies to enable TypeScript compilation
- Add .gitignore to exclude build artifacts and node_modules

Co-authored-by: blackboxprogramming <118287761+blackboxprogramming@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-11-24 08:55:09 +00:00
parent 4db6f81c84
commit c27ef7ff47
2 changed files with 5 additions and 1 deletions

3
.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
node_modules/
dist/
package-lock.json

View File

@@ -5,7 +5,7 @@
"private": true, "private": true,
"type": "module", "type": "module",
"bin": { "bin": {
"br-orchestrate": "tsx src/cli.ts" "br-orchestrate": "dist/src/cli.js"
}, },
"scripts": { "scripts": {
"lint": "pnpm run lint:ts && pnpm run lint:yaml && pnpm run format:check", "lint": "pnpm run lint:ts && pnpm run lint:yaml && pnpm run format:check",
@@ -23,6 +23,7 @@
"node": ">=18" "node": ">=18"
}, },
"devDependencies": { "devDependencies": {
"@types/js-yaml": "^4.0.9",
"@typescript-eslint/eslint-plugin": "^7.0.0", "@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0", "@typescript-eslint/parser": "^7.0.0",
"eslint": "^8.56.0", "eslint": "^8.56.0",