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
[建议]使用yarn workspace #26
Comments
为什么呢? |
至少依赖包要少装很多,只有一个lock文件。我曾经用lerna管理四十个包,安装依赖都半个小时。我现在所有项目都用yarn来管理。个人觉得还不错。搭了私有npm库,下依赖超级快。 |
lerna 更多的适用于包之间有依赖关系的情况。不知道适用yarn workspace,有没有这个自动升级依赖包和自动changelog之类功能 |
yarn workspace是和lerna配合使用的,lerna负责版本管理,yarn workspace实现了类似lerna bootstrap以及lerna exec的功能。 |
另外问个问题,是不是准备用father-doc来做umijs/father的文档系统了。docz不用了吗。 |
是的 |
@AimLuo 我们用下来 Docz 确实体验比较差,father-doc 会在下一个 father 的大版本中作为 father 的 doc 核心,当前版本内不做直接替换,会添加可选参数来切换到 father-doc |
关于这个问题,先不做调整吧,father-doc 很长一段时间内应该都只有两个包,当下最紧急的还是完善功能,先保证用户的体验,感谢建议❤️ |
而不是lerna bootstrap
The text was updated successfully, but these errors were encountered: