Skip to content

Commit 559a6ce

Browse files
committed
feat: add Bun into available packages
Signed-off-by: Rai Siqueira <rai93siqueira@gmail.com>
1 parent d6fd147 commit 559a6ce

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ export type Flags = {
2020
/**
2121
* Package managers supported by Eruption.
2222
*/
23-
export type PackageManagers = 'yarn' | 'npm' | 'pnpm';
23+
export type PackageManagers = 'yarn' | 'npm' | 'pnpm' | 'bun';

lib/src/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ export const getPmInstallCommands = (pm: PackageManagers = 'npm') => {
138138
npm: 'npm ci',
139139
yarn: 'yarn install',
140140
pnpm: 'pnpm install',
141+
bun: 'bun install',
141142
};
142143
return commands[pm];
143144
};

0 commit comments

Comments
 (0)