Giter Site home page Giter Site logo

[建议]使用yarn workspace about dumi HOT 8 CLOSED

umijs avatar umijs commented on April 28, 2024
[建议]使用yarn workspace

from dumi.

Comments (8)

Deturium avatar Deturium commented on April 28, 2024 1

另外问个问题,是不是准备用father-doc来做umijs/father的文档系统了。docz不用了吗。
吐槽一句:docz好多bug

是的

from dumi.

xiaohuoni avatar xiaohuoni commented on April 28, 2024

为什么呢?

from dumi.

AimLuo avatar AimLuo commented on April 28, 2024

至少依赖包要少装很多,只有一个lock文件。我曾经用lerna管理四十个包,安装依赖都半个小时。我现在所有项目都用yarn来管理。个人觉得还不错。搭了私有npm库,下依赖超级快。

from dumi.

xiaohuoni avatar xiaohuoni commented on April 28, 2024

lerna 更多的适用于包之间有依赖关系的情况。不知道适用yarn workspace,有没有这个自动升级依赖包和自动changelog之类功能

from dumi.

AimLuo avatar AimLuo commented on April 28, 2024

yarn workspace是和lerna配合使用的,lerna负责版本管理,yarn workspace实现了类似lerna bootstrap以及lerna exec的功能。
✔其实如果package不多,可以不考虑。
vue-cli可以参考

from dumi.

AimLuo avatar AimLuo commented on April 28, 2024

另外问个问题,是不是准备用father-doc来做umijs/father的文档系统了。docz不用了吗。
吐槽一句:docz好多bug

from dumi.

PeachScript avatar PeachScript commented on April 28, 2024

@AimLuo 我们用下来 Docz 确实体验比较差,father-doc 会在下一个 father 的大版本中作为 father 的 doc 核心,当前版本内不做直接替换,会添加可选参数来切换到 father-doc

from dumi.

PeachScript avatar PeachScript commented on April 28, 2024

关于这个问题,先不做调整吧,father-doc 很长一段时间内应该都只有两个包,当下最紧急的还是完善功能,先保证用户的体验,感谢建议❤️

from dumi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.