Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement bun unlink {packageName} #7852

Open
paperclover opened this issue Dec 26, 2023 · 9 comments · May be fixed by #18713
Open

Implement bun unlink {packageName} #7852

paperclover opened this issue Dec 26, 2023 · 9 comments · May be fixed by #18713
Labels
bun install Something that relates to the npm-compatible client enhancement New feature or request

Comments

@paperclover
Copy link
Member

image

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

@paperclover paperclover added the enhancement New feature or request label Dec 26, 2023
@Electroid Electroid added the bun install Something that relates to the npm-compatible client label Dec 26, 2023
@ghost
Copy link

ghost commented Dec 29, 2023

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

@paperclover
Copy link
Member Author

that is for unregistering a package
image

but not unlinking

image

i will adjust the issue title

@paperclover paperclover changed the title Implement bun unlink Implement bun unlink {packageName} Jan 2, 2024
@dnorth
Copy link

dnorth commented Mar 28, 2024

+1 on getting this resolved!

@pureliani
Copy link

+1

2 similar comments
@gvillo
Copy link

gvillo commented Jul 25, 2024

+1

@gvillo
Copy link

gvillo commented Aug 2, 2024

+1

@johnknoop
Copy link

No progress on this still?

@Zooce
Copy link

Zooce commented Sep 20, 2024

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
Copy link

Zooce commented Sep 20, 2024

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?

@brainkim brainkim linked a pull request Apr 2, 2025 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bun install Something that relates to the npm-compatible client enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants