47f73cd8ec
## Description Refactor the [Next.js CLI](https://nextjs.org/docs/app/api-reference/next-cli) to use [commander](https://github.com/tj/commander.js) instead of [arg](https://github.com/vercel/arg). ## Why? - Auto-generated, properly formatted help command + output. With `arg`, much of the help commands were manually added via a single `console.log`, causing deviations over time. - Ergonomic, ease of adding new subcommands and rules ## Breaking Changes - Update the experimental `next experimental-compile` and `next experimental-generate` build commands in favor of `next build --experimental-build-mode=compile/generate` --------- Co-authored-by: JJ Kasper <jj@jjsweb.site> |
||
---|---|---|
.. | ||
app | ||
pages | ||
public | ||
styles | ||
experimental-compile.test.ts | ||
index.test.ts | ||
middleware.js | ||
next.config.js | ||
standalone-gsp.test.ts | ||
standalone.test.ts | ||
useReportWebVitals.test.ts | ||
vercel-speed-insights.test.ts |