-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
new: Create a new shim executable. #315
Conversation
Go Miles! I'm super excited to have a shim solution that's not specific to the shell! |
@rotu So far this works perfectly for primary shims (npm, node, etc), but unfortunately doesn't work for secondary shims (npx, pip, etc). The problem is that secondary shims add The only solution I can think of is having some kind of manifest like |
Agreed, but I think secondary shims are a problem from the beginning. That's what I meant in my comment:
I think the easiest thing is to add a section to the yaml, which maps the name to a [shims]
npm = "tools/npm/10.2.4/bin/npm" This even provides the ability to shim to the real bundled [shims]
npm = "tools/node/20.10.0/bin/npm" If these need to float with the version, the path could instead be, e.g. |
Yup exactly. Will look into ways to easily solve this. This may land in 0.25 instead of 0.24. Want to ensure it all works correctly. |
This also allows you to e.g. remap
or even possibly configure arguments on a per-project basis:
|
No description provided.