oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.16k stars 2.77k forks source link

Implement `bun unlink {packageName}` #7852

Open paperdave opened 10 months ago

paperdave commented 10 months ago
image

This makes it so you must rm -rf node_modules; bun i to reset changes made with bun link, which is lame.

ghost commented 10 months ago

I believe this has been implemented already, the documentation lists bun unlinkand it worked in my own testing. Make sure you're using the latest version of Bun. Package Manager > bun link image

paperdave commented 10 months ago

that is for unregistering a package

image

but not unlinking

image

i will adjust the issue title

dnorth commented 7 months ago

+1 on getting this resolved!

pureliani commented 7 months ago

+1

gvillo commented 3 months ago

+1

gvillo commented 3 months ago

+1

johnknoop commented 2 months ago

No progress on this still?

Zooce commented 1 month ago
image

I believe all you need to do in the second package (the one that linked to the first package) is run bun install (I guess assuming you've got a bun.lockb file)?

Zooce commented 1 month ago

I believe this has been implemented already, the documentation lists bun unlinkand it worked in my own testing. Make sure you're using the latest version of Bun. Package Manager > bun link image

Also, unlink doesn't seem to be documented anymore?