version-fox / version-fox/vfox-nodejs
Make global packages always available
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 9
- Forks
- 8
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
A very nice feature would be to make global packages are always available, like with Volta.
Current behavior
- Run
npm install -g rimrafwith a NodeJS managed by vfox - The
rimrafcommand is available - Run
vfox useto a different NodeJS version - The
rimrafcommand isn't found anymore
Expected behavior
- Run
npm install -g rimrafwith a NodeJS managed by vfox - The
rimrafcommand is available - Run
vfox useto a different NodeJS version - The `rimraf command is available and it is ran by the NodeJS version on which it was installed.
I guess it may need some major changes to vfox core but it could also benefit other platforms, like Bun, Deno and Python pip packages.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue describes npm global packages disappearing after vfox use switches Node.js versions, but names no files, tests, or entry points. Start by locating the vfox-nodejs handling for npm install -g and version switching; done would mean a globally installed command remains available and runs with the Node.js version where it was installed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100