-
Notifications
You must be signed in to change notification settings - Fork 3
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
allow versions like require('express@4')
#3
Comments
Yes! I just saw you made this module. I love lib::xi, so I was thinking of making something like that for node.js now that there will be execSync. You beat me to it :P |
Dude I think we could also patch node to not used nested dependencies! |
Nevermind, too many obstacles haha |
Yea. Basically to me, you can have nested dependencies and have a reliable dependency tree, or not have them and have a flat tree where you can only have one version of any module, a. la. perl and the like. Personally I like the elegance and simplicity of the nested dependency tree, even on Windows :) |
If you look at normalize docs, I basically do |
I know. The biggest problem is a file that does |
first passreads script as string. parse out requires with dep settings, get rid of the setting second passuse eval() like a boss with all the nice looking requires. |
That's tricky, which is why I ended up doing this -- https://github.com/normalize/node-normalize, which could do |
tricky, ya |
i think i've figured out a way to do this with a flat dep structure, but it might be slow since i'll be doing a lot of moving folders around and symlinking. biggest problem is that it won't be compatible with npm tools, so we'll have to create our own tools ourselves, like i don't think we should use all the other normalize stuff for this because we need are you guys down to help? this isn't something i'm really interested in because i'm okay with how npm works right now (client-side stuff is much more terrible and complex), but i would use if it were production-ready. on the other hand, we could wait for es6 modules in node... in two years... |
A simple-upgrade-path-to-nothing is awesome. but introducing new tools to On Sat, Jun 21, 2014 at 10:22 PM, Jonathan Ong [email protected]
Paolo Fragomeni github.com/hij1nx |
yeah i was thinking about just forking node, but that's way too much maintenance for something i don't care enough about. a patched node makes sense as it would be much less maintenance. i was thinking of calling it |
hahahaha get the latest updates and nope.js patches from nopejs.org. no don't patch node wtf are you saying, just use javascript. flat deps |
:D
The text was updated successfully, but these errors were encountered: