[ ] ๐ Documentation (updates to the documentation, readme or JSdoc annotations)
[x] ๐ Bug fix (a non-breaking change that fixes an issue)
[ ] ๐ Enhancement (improving an existing functionality like performance)
[ ] โจ New feature (a non-breaking change that adds functionality)
[ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
[ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
Rather than relying on the exec("npm view ${package} versions") command, this approach leverages the existing ofetch library to retrieve package versions directly from the npm registry via their API.
This enables Bun users to install specific package versions as originally intended, without being dependent on the presence of npm in the environment.
๐ Linked issue / Discussion
63
โ Type of change
๐ Description
Rather than relying on the exec("npm view ${package} versions") command, this approach leverages the existing ofetch library to retrieve package versions directly from the npm registry via their API.
This enables Bun users to install specific package versions as originally intended, without being dependent on the presence of npm in the environment.
๐ Checklist