Codex Verify Local TypeScript Scripts and Unit Tests with Bun
Evaluate Bun's direct TypeScript execution, test runner, and project script compatibility.
中文Install in Codex
Use a local JS or TS project, an installed Bun runtime, and a script you can run in isolation.
- Copy the pinned `.cursor/skills/bun-runtime/` directory into `.agents/skills/bun-runtime/` in the project.
- Give Codex the candidate script, current invocation, and any Node compatibility requirements.
Example task
Write `src/total.ts` to sum `[2, 3]` and add a `bun:test` assertion. Run `bun run src/total.ts` and `bun test`.What to check
The script prints 5 and the test passes. The report includes the Bun version and working directory.
Original SKILL.md on GitHub · Updated
Frequently asked question
Is a tiny local test enough to migrate a whole project?
Check actual dependencies, project scripts, and the intended deployment target before choosing migration scope.