Npm v5.0.0 released
21–30 of 117 posts
Re: Npm v5.0.0 released
#22First of all: Thank you, yarn, for helping the community see the naked emperor. Deterministic builds by default are such an obvious (in retrospect) core requirement. Couple questions: Question 1: Does anyone else who's been around more than a couple years share my view that Yarn : NPM :: IO.JS : Node? IOW: healthy competition, catalyst for necessary change, ultimately a bridge or stopgap. Question 2: Any good compreh…
https://docs.npmjs.com/cli/shrinkwrap provides deterministic builds and has been around far longer than yarn. Since Oct 2014 npm v3 started automatically updating shrinkwrap whenever '--save' was used. See https://github.com/npm/npm/pull/4918#issuecomment-61344871
Calling npm 'the naked emperor' for not implementing something it did, infact, implement is uncalled for.
Edit: added links in response to unexplained downmods. The parent is simply, provably wrong.
Re: Npm v5.0.0 released
#23 npm install npm@latest -g
/usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
/usr/local/lib
└── npm@4.6.1
How do I install it? Or... it's not quite released yet after all?Edit: nevermind, I found it --> https://github.com/npm/npm/releases this is the 'prerelease' release.
Re: Npm v5.0.0 released
#24Someone told they now use hashes for versioning, like Nix, is this true? Is it finally save to install 2 times and get 100% the same packages?
Re: Npm v5.0.0 released
#25This might be a totally stupid question, but what does that mean? npm install npm@latest -g /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/lib └── npm@4.6.1 How do I install it? Or... it's not quite released yet after all? Edit: nevermind, I found it --> https://github.com/npm/npm/releases this is the 'prerelease' release.
npm install npm@next -g
works :)Re: Npm v5.0.0 released
#26Earlier quoted context omitted.
When io.js merged back into node.js the following happened: 1. Node.js was abandoned and replaced with io.js. 2. Io.js was relabelled as node.js. 3. The node.js project was put under open governance via the creation of the Node Foundation. This doesn't really compare to npm: * The npm-cli's name is using npm Inc's trademark: giving it away would leave the company with no name or create unwanted ambiguity between npm…
>resolved by dropping npm-cli from the official releases. But that would break 7 years of documentation and tutorials, likely bad for newcomers and thus the ecosystem
Re: Npm v5.0.0 released
#27This might be a totally stupid question, but what does that mean? npm install npm@latest -g /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/lib └── npm@4.6.1 How do I install it? Or... it's not quite released yet after all? Edit: nevermind, I found it --> https://github.com/npm/npm/releases this is the 'prerelease' release.
npm install -g npm@5
Then see: npm -g ls npm
Which returns: +-- npm@5.0.0Re: Npm v5.0.0 released
#28Re: Npm v5.0.0 released
#29Re: Npm v5.0.0 released
#30So happy with the --save by default. Someone at work kept installing new dependencies without save (they didn't knew about it, somehow). We then had an unusable package.json. I had to manually find directories in node_modules and install them on production -_-.
Like wtf, who thought that saving something you download maybe for the first time as a dependency is a good idea?