-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
release: bundling npm #252
Comments
I asked @othiym23 to submit a pull request adding the version of npm that he thinks is best. I'd also be in favor of an automated process that always pulls the latest npm into the source tree, perhaps as part of the CI process. However it happens, my preference is always to pull in the latest npm with each release. Here's why:
So, there is lots of hazards to not shipping the latest npm, virtually no down-side to keeping up to date, and many benefits. |
And -1 from me to all forms of "download stuff as part of |
I have opened a PR containing an update to Unsurprisingly, I am as of one mind with @isaacs as to my preferred policy for io.js on npm versions, both in principle and in the particulars he outlines above. I don't have a lot of extra time right now, but I can carve some out to help put together a way to automatically keep the io.js version of |
crosses fingers that this will actually work on Windows with io.js |
We have some work to do on the installer, still, but I'm doing all of my development work with Windows now and was using io.js built from source yesterday with npm and nothing exploded. You can upgrade npm on Windows today, although it's kind of a pain in the ass. |
I know there is currently a convoluted method, I just don't think it's sane :) |
Using brew to install iojs and get this warning:
Is there a recommended way to install that patched npm? |
Maybe there should be an |
Maybe not a configuration option, but a build / release option. It wouldn't be that tough to patch That said, I'm not sure this would be a very satisfactory hackaround, due to how many lifecycle scripts are hardcoded to call node. It would be possible to do something clever to patch that up at runtime, but that would only work for scripts defined in |
See also #895 Closing this issue, as it was for the initial release. |
We didn't get to this discussion in the TC meeting today even though @piscisaureus put it on the agenda (I didn't see it and we ran out of time anyway). We need to resolve how we're going to handle bundling npm for releases, specifically the 1.0.0.
Some ideas:
make install
it like normal and also bundle it in a tarball for releaseWhatever we go for, I'd like to see the npm client team be made responsible for decisions about what version to bundle (they can also take responsibility for breakages!). Perhaps we need to add @othiym23 as a collaborator and let him take on deps/npm, I doubt anybody currently on the team other than @isaacs really wants to take responsibility for it.
Suggestions so we can move forward with a decision for the release?
The text was updated successfully, but these errors were encountered: