Skip to content
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

引入 monorepo #16

Open
yesmeck opened this issue Jul 31, 2018 · 1 comment
Open

引入 monorepo #16

yesmeck opened this issue Jul 31, 2018 · 1 comment

Comments

@yesmeck
Copy link
Member

yesmeck commented Jul 31, 2018

好处

  • rc-tools 的更新可以统一推进,目前几个组件库依赖的 rc-tools 版本不一致,如果要给 rc-tools 加东西需要给几十个组件库升级一遍,耗时耗力容易遗漏;
  • issue 可以统一管理。
  • 方便集成测试,(比如 Menu 和 Select 需要一起测试)。

问题

@zombieJ
Copy link
Member

zombieJ commented Aug 14, 2018

rc-tree-select 和 rc-tree 需要公用结构计算的方法,现在是通过指定版本来做依赖,会遇到用户如果 webpack 配置有问题找不到对应方法的情况。放 mono 里就可以直接 import 不用管版本了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants