mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
This adds npm-compatible --workspace functionality to bun run, allowing users to run scripts in specific workspace packages. Key features: - Accepts --workspace/-w flag with package names - Supports multiple --workspace flags - Preserves workspace definition order (unlike --filter which uses dependency order) - Can be combined with --filter flags - Includes comprehensive test coverage Example usage: bun run --workspace foo test bun run -w foo -w bar test bun run --workspace foo --filter 'ba*' test 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>