feat(bin): support bun fallback runtime for codex CLI (#282)
This PR adds a shell wrapper in `codex-cli/bin/codex` to detect node or bun as the runtime. It updates: - `package.json` bin entry - published files list to include bin/ - README install instructions to include `bun install -g @openai/codex`
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"version": "0.1.2504161510",
|
||||
"license": "Apache-2.0",
|
||||
"bin": {
|
||||
"codex": "dist/cli.js"
|
||||
"codex": "bin/codex"
|
||||
},
|
||||
"type": "module",
|
||||
"engines": {
|
||||
@@ -28,6 +28,7 @@
|
||||
},
|
||||
"files": [
|
||||
"README.md",
|
||||
"bin",
|
||||
"dist",
|
||||
"src"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user