chore: migrate from node to bun
Some checks failed
Lint / lint (pull_request) Failing after 5s

This commit is contained in:
2026-03-25 10:38:27 +01:00
parent e69826b824
commit 77b77a17f4
5 changed files with 157 additions and 94 deletions

View File

@@ -12,6 +12,12 @@
"prepublishOnly": "bun run build",
"generate": "bun dist/main.js",
"generate:dev": "bun main.ts",
"binaries": "bun run binary:mac-arm64 && bun run binary:mac-x64 && bun run binary:linux-x64 && bun run binary:linux-arm64 && bun run binary:windows",
"binary:mac-arm64": "bun build --compile --target=bun-darwin-arm64 --outfile dist/bin/generate-clean-arch-macos-arm64 main.ts",
"binary:mac-x64": "bun build --compile --target=bun-darwin-x64 --outfile dist/bin/generate-clean-arch-macos-x64 main.ts",
"binary:linux-x64": "bun build --compile --target=bun-linux-x64 --outfile dist/bin/generate-clean-arch-linux-x64 main.ts",
"binary:linux-arm64": "bun build --compile --target=bun-linux-arm64 --outfile dist/bin/generate-clean-arch-linux-arm64 main.ts",
"binary:windows": "bun build --compile --target=bun-windows-x64 --outfile dist/bin/generate-clean-arch-windows-x64.exe main.ts",
"lint": "eslint 'main.ts' 'src/**/*.ts' -f unix",
"lint:fix": "eslint 'main.ts' 'src/**/*.ts' --fix -f unix",
"format": "prettier --write .",