Skip to content

Commit 2c58649

Browse files
authored
feat(bun): support new interactive upgrade command (#60)
1 parent 019aac2 commit 2c58649

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ This package includes package manager agents and their corresponding commands fo
6969
- `'global'` - install global packages
7070
- `'global_uninstall'` - remove global packages
7171
- `'upgrade'` - upgrade dependencies
72-
- `'upgrade-interactive'` - upgrade dependencies interactively: not available for `npm` and `bun`
72+
- `'upgrade-interactive'` - upgrade dependencies interactively: not available for `npm`
7373
- `'execute'` - download & execute binary scripts
7474
- `'execute-local'` - execute binary scripts (from package locally installed)
7575
- `'run'` - run `package.json` scripts

src/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ const bun: AgentCommands = {
8484
'global': ['bun', 'add', '-g', 0],
8585
'add': ['bun', 'add', 0],
8686
'upgrade': ['bun', 'update', 0],
87-
'upgrade-interactive': ['bun', 'update', 0],
87+
'upgrade-interactive': ['bun', 'update', '-i', 0],
8888
'execute': ['bun', 'x', 0],
8989
'execute-local': ['bun', 'x', 0],
9090
'uninstall': ['bun', 'remove', 0],

0 commit comments

Comments
 (0)