Skip to content

Commit

Permalink
fix(upgrade): add bun commands (#34)
Browse files Browse the repository at this point in the history
* fix(upgrade): add bun commands

* fix(upgrade): ESLint issue in packages key

* feat: update package manager

---------

Co-authored-by: winches <329487092@qq.com>
  • Loading branch information
withden and winchesHe committed Apr 18, 2024
1 parent ea1ef59 commit 406138c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/helpers/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ export function getVersionAndMode(allDependencies: Record<string, SAFE_ANY>, pac

export function getPackageManagerInfo(packageManager: string): {install: string; remove: string} {
const packageManagerInfo = {
bun: {
install: 'add',
remove: 'remove'
},
npm: {
install: 'install',
remove: 'uninstall'
Expand Down

0 comments on commit 406138c

Please sign in to comment.