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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Introducing Yarn 2

50 点作者 arcatek超过 5 年前

4 条评论

arcatek超过 5 年前
Hi everyone! I've been working on this project for such a long time, this is incredibly exciting. Feel free to ask any question you have regarding Yarn, package management, the Javascript ecosystem, open source projects, or cats!
crubier超过 5 年前
Congrats to @arcatek for this! The key value proposition of yarn for us is:<p>- 15x installation speed, from 1400s with NPM to 90s with yarn PnP (Yes the gap is that big!)<p>- Catching a lot of badly declared dependencies that NPM would silently let pass, before blowing up on us in production<p>- Manage and organize our monorepo efficiently, including in CI<p>There are still some rough edges, mostly due to other packages of the JS ecosystem applying bad practices (looking at you storybook!) or even flat out errors about dependency management, and yarn is pretty strict with that, which is a good thing in the long term.<p>We have been using yarn with PnP for around a year now on a monorepo of around 160 packages, and it has been a life saver for the engineering team, allowing us to scale JS development effectively.<p>(edit typo)
评论 #22141752 未加载
vnglst超过 5 年前
This is awesome, will give it a try at work next week (large monorepo with workspaces and lots and lots of packages).<p>Thanks for the all the hard work (and the excellent blog post)!
eerrt超过 5 年前
This is incredible, will definitely try!