Commit 9321b19
fix: replace bunx with bun run for packages in lock file
Replace bunx usage with bun run for all packages listed in
devDependencies to ensure deterministic builds and consistent
versions across environments.
Changes:
- Update package.json scripts to use local binaries instead of bunx
- lint: ultracite fix (now uses v6.4.2 from devDependencies)
- lint:check: ultracite check
- install:chromium: playwright install chromium
- Update PostToolUse hook to run bun run lint && bun run type:check
- Add documentation clarifying when to use bunx vs bun run
- Update E2E test commands in docs to prefer bun run scripts
Why this matters:
bunx uses Bun's global cache and may ignore lock file versions,
leading to inconsistent behavior. Using bun run ensures all
developers and CI use the exact versions specified in bun.lockb.
References:
- oven-sh/bun#4183
- oven-sh/bun#12245
Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>1 parent c482cf5 commit 9321b19
2 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments