TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

NPM v4.0.0

113 点作者 Jarlakxen超过 8 年前

8 条评论

octref超过 8 年前
After using yarn for a week, I can&#x27;t imagine going back to npm.<p>I use npm 90% for install, and yarn does this so much better.<p>Installs are 3-4 times faster. Output is minimal and readable (compared to npm&#x27;s wall of text that I never read). Packages are cached so I can work with slow connections in coffee shops.<p>Sorry to be blunt, but I feel none of the release features gonna help my daily usage of npm. How about actually fixing the tab completion, which has been slow and broken forever?
评论 #12772152 未加载
评论 #12773630 未加载
评论 #12773733 未加载
评论 #12772790 未加载
Hurtak超过 8 年前
&gt; Keep an eye out for npm@5 in Q1 2017. We&#x27;re planning a major overhaul of shrinkwrap as well as various speed and usability fixes for that release.<p>So the most interesting part of npm4 release are the announced improvements that are coming in npm5 :)
andrewvijay超过 8 年前
Are the NPM guys working on a parallel download feature to speed things up? Have they even noted it as a feature to be implemented? Speed and pkg locking are the only two features that make me use yarn. If they were in npm then most people wont worry about yarn at all I guess.
评论 #12773950 未加载
Etheryte超过 8 年前
&gt; npm&#x27;s default git branch is no longer `master`. We&#x27;ll be using `latest` from now on.<p>Is there any reason to do this?
评论 #12773184 未加载
评论 #12773529 未加载
评论 #12775250 未加载
mseepgood超过 8 年前
NPM is so Oct 10 2016.
评论 #12773349 未加载
Lx1oG-AWb6h_ZG0超过 8 年前
I&#x27;m glad for the relatively low amount of breaking changes this time. npm prepare should be a nice addition (using prepublish for, e.g., installing typings is such a non obvious hack).<p>That said, I&#x27;m still not certain about shrinkwrap excluding dev deps. I mainly use it to ensure my build agent uses the same dependencies as my dev box, and at a time when things like babel pull in a ridiculous amount of sub dependencies, it really does not make sense to not lock down _all_ your dependencies by default.
评论 #12772081 未加载
gableroux超过 8 年前
npm search will at least return results now ahah. I didn&#x27;t know about <a href="https:&#x2F;&#x2F;npm.im&#x2F;npms-cli" rel="nofollow">https:&#x2F;&#x2F;npm.im&#x2F;npms-cli</a> , sounds like a great alternative. Thanks for sharing this release here :)
kolme超过 8 年前
&gt; npm scripts no longer prepend the path of the node executable used to run npm before running scripts. A --scripts-prepend-node-path option has been added to configure this behavior.<p>Why? That seems like a good default, something most people would need.
评论 #12772550 未加载