next.js
d53a7a72 - create-next-app: Add `ignoreScripts` for `unrs-resolver` on bun (#86324)

Commit
174 days ago
create-next-app: Add `ignoreScripts` for `unrs-resolver` on bun (#86324) `unrs-resolver`'s postinstall script is only needed for legacy versions of npm, so it's safe to ignore: https://github.com/unrs/unrs-resolver/issues/193#issuecomment-3295510146 Without this, bun blocks the postinstall script (okay) and logs a warning (not ideal, confusing to end users). This prevents it from running and suppresses the warning. This matches what we now do in `pnpm` (https://github.com/vercel/next.js/pull/83168) but for `bun`. Context: - https://vercel.slack.com/archives/C03KAR5DCKC/p1763570835510729 - https://vercel.slack.com/archives/C06DNAH5LSG/p1763580178004169 ## Before ![CleanShot 2025-11-19 at 08.46.56@2x.png](https://app.graphite.com/user-attachments/assets/4979ca3c-0a05-4c05-831a-93c358832ed4.png) ## After ![Screenshot 2025-11-19 at 1.02.01 PM.png](https://app.graphite.com/user-attachments/assets/f99b419b-a30e-449a-9118-77621b15fcd9.png)
Author
bgw bgw
Parents
Loading