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:
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
node_modules/
|
||||||
|
dist/
|
||||||
|
package-lock.json
|
||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user