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
WIP Two child modules are being watched and linked #6
Conversation
Seems like there isn't an
Not sure if --prefix can just be overloaded with something like Going to try that and then move onto exploring https://www.npmjs.com/package/yalc |
Prefix seems to be doing something. Added a parentCmd setter to help. I'm wondering if this is because --prefix is normally The issue of course is the |
Yeah doesn't seem like my hacky approach is the intended path. What's weird to me is: why is Wonder if there's another npm config I can overwrite temporarily?
Found it: ❯ npm root -g
/usr/local/lib/node_modules |
Relevant resources https://docs.npmjs.com/misc/config#global
or just the important bits
This is where it's being set in npm config:
Meanwhile, this is npm config list results (to reiterate what we've already established): |
Started to think maybe I could bypass with Per https://docs.npmjs.com/cli/install: it sounded promising "The --link argument will cause npm to link global installs into the local space in some cases." But after reading this thread seems like that's not the case Going to check out: The caveat in |
Playing around with yalc. Benefits
Downsides so far seems to be
Debug pain point
|
Really scratching my head here. Starting to wonder if it has something to do with yalc's install path? Notice that a
|
No description provided.