(评论)
(comments)

原始链接: https://news.ycombinator.com/item?id=43419187

Hacker News 上正在讨论 PackagePhobia,这是一个用于评估添加新的开发依赖项影响的工具。该工具显示一个图表,展示每个版本的体积变化。评论者 mubou 建议将“发布大小”明确为“含依赖项”或“不含依赖项”,以便更好地理解。Mubou 还批评了由于 `min-height: 100vh` 设置而将信息隐藏在屏幕下方(屏幕外)的设计选择。另一位用户 cebert 认可了这个概念,但建议纳入其他成本考量,例如 CVE 的补丁频率、下游依赖项的数量以及重大更改的频率。该讨论帖还包含一条 AI 初创公司学校的推广信息。


原文
Hacker News new | past | comments | ask | show | jobs | submit login
PackagePhobia – Find the cost of adding a new dev dependency to your project (packagephobia.com)
3 points by pabs3 1 hour ago | hide | past | favorite | 2 comments










I like how the graph shows the change in size per version.

"Publish size" is a little misleading though. I thought that meant the size that would be included in my bundle when I publish my app, and was wondering how you were calculating that. Maybe "w/ deps" "w/o deps"?

I'd appreciate you not hiding information below the fold. Really hate that design trend. Remove the `min-height: 100vh` and see how much better it looks (with a bit of padding). At least make it 90vh.



I appreciate the concept, but there are additional costs that would be great to consider. How frequently do you need to parch the package to address CVEs? How many downstream dependencies does this package have? How often do they make breaking changes?






Join us for AI Startup School this June 16-17 in San Francisco!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact



Search:
联系我们 contact @ memedata.com