Skip to content

Commit e2bb6d6

Browse files
committed
CI again
1 parent ab509dc commit e2bb6d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"description": "Run Claude Code with OpenAI, Google, xAI, and others.",
2929
"license": "MIT",
3030
"scripts": {
31-
"build": "bun build --target node --format cjs --outfile dist/main.cjs ./src/main.ts --external ai --external @ai-sdk/* --external zod && sed -i '' 's/import\\.meta\\.url/__filename/g' dist/main.cjs && printf '#!/usr/bin/env node\\nrequire(\"./main.cjs\");\\n' > dist/main.js && chmod +x dist/main.js",
31+
"build": "bun build --target node --format cjs --outfile dist/main.cjs ./src/main.ts --external ai --external @ai-sdk/* --external zod && node -e \"const fs=require('fs');const f='dist/main.cjs';fs.writeFileSync(f,fs.readFileSync(f,'utf8').replace(/import\\.meta\\.url/g,'__filename'))\" && printf '#!/usr/bin/env node\\nrequire(\"./main.cjs\");\\n' > dist/main.js && chmod +x dist/main.js",
3232
"test": "bun test",
3333
"typecheck": "tsc --noEmit",
3434
"pack:global": "bun run build && npm pack --silent && npm install -g anyclaude-*.tgz"

0 commit comments

Comments
 (0)