diff --git a/packages/create-llama/README.md b/packages/create-llama/README.md index 368826db0bb2f30ba678d395fe57be7a358ec95e..81b7850b2390625c55bfbe41513c6242d2140555 100644 --- a/packages/create-llama/README.md +++ b/packages/create-llama/README.md @@ -13,8 +13,6 @@ npx create-llama@latest yarn create llama-app # or pnpm create llama-app -# or -bunx create-llama ``` You will be asked for the name of your project, and then which framework you want to use @@ -50,9 +48,5 @@ Options: Explicitly tell the CLI to bootstrap the app using Yarn - --use-bun - - Explicitly tell the CLI to bootstrap the app using Bun - ``` diff --git a/packages/create-llama/helpers/get-pkg-manager.ts b/packages/create-llama/helpers/get-pkg-manager.ts index acc099f713dfce615dd374f9b0e3aa465e4f4d75..0187c88a49e67bf7aa7fe95520b3af91777987f8 100644 --- a/packages/create-llama/helpers/get-pkg-manager.ts +++ b/packages/create-llama/helpers/get-pkg-manager.ts @@ -1,4 +1,4 @@ -export type PackageManager = "npm" | "pnpm" | "yarn" | "bun"; +export type PackageManager = "npm" | "pnpm" | "yarn"; export function getPkgManager(): PackageManager { const userAgent = process.env.npm_config_user_agent || ""; @@ -11,9 +11,5 @@ export function getPkgManager(): PackageManager { return "pnpm"; } - if (userAgent.startsWith("bun")) { - return "bun"; - } - return "npm"; } diff --git a/packages/create-llama/index.ts b/packages/create-llama/index.ts index 18ee5f5ea27e486c2ee244481385b2c371ef96b3..769bb95fa9bf38df07f2134e873b7d0671ea516c 100644 --- a/packages/create-llama/index.ts +++ b/packages/create-llama/index.ts @@ -65,13 +65,6 @@ const program = new Commander.Command(packageJson.name) ` Explicitly tell the CLI to bootstrap the application using Yarn -`, - ) - .option( - "--use-bun", - ` - - Explicitly tell the CLI to bootstrap the application using Bun `, ) .option( @@ -90,8 +83,6 @@ const packageManager = !!program.useNpm ? "pnpm" : !!program.useYarn ? "yarn" - : !!program.useBun - ? "bun" : getPkgManager(); async function run(): Promise<void> { @@ -361,8 +352,6 @@ async function notifyUpdate(): Promise<void> { ? "yarn global add create-llama" : packageManager === "pnpm" ? "pnpm add -g create-llama" - : packageManager === "bun" - ? "bun add -g create-llama" : "npm i -g create-llama"; console.log(