-
Notifications
You must be signed in to change notification settings - Fork 181
Closed
Labels
C-bugSomething isn't workingSomething isn't working
Description
Erroneous Behavior
Bun global packages are not updated when using a custom $BUN_INSTALL
path.
Expected Behavior
Bun global packages should update using the $BUN_INSTALL
path.
Steps to reproduce
# install bun with custom $BUN_INSTALL path
BUN_INSTALL="$HOME"/.local/share/bun curl -fsSL https://bun.sh/install | bash
# install cowsay version 1.5.0 globally
bun i -g cowsay@1.5.0
# set package.json to allow updating to the next version of cowsay
sed -i 's/"cowsay": "1.5.0"/"cowsay": "^1.5.0"/' "$BUN_INSTALL"/install/global/package.json
# test bun_packages step
topgrade --only bun_packages
Possible Cause
.bun/install.global/package.json
is hardcoded when it should use $BUN_INSTALL/install/global/package.json
Problem persists without calling from topgrade
- Yes
- No
Did you run topgrade through Remote Execution
- Yes
- No
Additional Details
-
Operation System/Version
Arch Linux, Kernel: 6.7.6-zen1-1-zen -
Installation
Cargo -
Topgrade version (
topgrade -V
)
Topgrade 14.0.1
Metadata
Metadata
Assignees
Labels
C-bugSomething isn't workingSomething isn't working