vite fmt and vite lint commands unexpectedly run postinstall script, consequently taking much longer than anticipated:
"lint": "oxlint && oxfmt --check",
"lint:oldschool": "vite lint && vite fmt --check",
% hyperfine "pnpm lint" "pnpm lint:oldschool"
Benchmark 1: pnpm lint
Time (mean ± σ): 1.533 s ± 0.077 s [User: 9.325 s, System: 0.664 s]
Range (min … max): 1.442 s … 1.660 s 10 runs
Benchmark 2: pnpm lint:oldschool
Time (mean ± σ): 4.954 s ± 2.620 s [User: 5.006 s, System: 4.751 s]
Range (min … max): 0.777 s … 9.800 s 10 runs
Summary
pnpm lint ran
3.23 ± 1.72 times faster than pnpm lint:oldschool