57ce466502
This adds support for `--use-bun` to `create-next-app` to use `bun install` when bootstrapping a new project. ``` npx create-next-app --use-bun ``` As with Yarn and pnpm, it reads from `npm_config_user_agent` to determine if the user ran `bunx create-next-app`. If so, it defaults to using Bun. ```sh bunx create-next-app ``` ## For Contributors ### Improving Documentation - [x] Run `pnpm prettier-fix` - [x] `pnpm build && pnpm lint` - [x] Added test to `test/integration/create-next-app/package-manager.test.ts` --------- |
||
---|---|---|
.. | ||
copy.ts | ||
examples.ts | ||
get-pkg-manager.ts | ||
git.ts | ||
install.ts | ||
is-folder-empty.ts | ||
is-online.ts | ||
is-writeable.ts | ||
make-dir.ts | ||
validate-pkg.ts |