mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-19 16:39:50 +00:00
fix: Bundle dependencies in CLI build for proot-distro compatibility (#216)
The bun build command was failing on proot-distro ubuntu because it couldn't resolve node_modules dependencies. Added --packages bundle flag to explicitly bundle all dependencies into the output file. Fixes #209 Agent: issue-responder Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
This commit is contained in:
parent
9f7c14c19c
commit
eeecdedef2
1 changed files with 2 additions and 2 deletions
|
|
@ -1,13 +1,13 @@
|
|||
{
|
||||
"name": "@openrouter/spawn",
|
||||
"version": "0.2.15",
|
||||
"version": "0.2.16",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"spawn": "cli.js"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "bun run src/index.ts",
|
||||
"build": "bun build src/index.ts --outfile cli.js --target bun --minify",
|
||||
"build": "bun build src/index.ts --outfile cli.js --target bun --minify --packages bundle",
|
||||
"compile": "bun build src/index.ts --compile --outfile spawn",
|
||||
"test": "bun test",
|
||||
"test:watch": "bun test --watch"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue