Skip to content

Commit

Permalink
feat: add Bun into available packages
Browse files Browse the repository at this point in the history
Signed-off-by: Rai Siqueira <[email protected]>
  • Loading branch information
raisiqueira committed Oct 3, 2023
1 parent d6fd147 commit 559a6ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ export type Flags = {
/**
* Package managers supported by Eruption.
*/
export type PackageManagers = 'yarn' | 'npm' | 'pnpm';
export type PackageManagers = 'yarn' | 'npm' | 'pnpm' | 'bun';
1 change: 1 addition & 0 deletions lib/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ export const getPmInstallCommands = (pm: PackageManagers = 'npm') => {
npm: 'npm ci',
yarn: 'yarn install',
pnpm: 'pnpm install',
bun: 'bun install',
};
return commands[pm];
};

0 comments on commit 559a6ce

Please sign in to comment.