Lerna同时仅运行数量的软件包

发布于 2025-02-08 09:14:29 字数 170 浏览 0 评论 0原文

我有5个软件包,当您运行它时,Lerna应该在Localhost上开始,我通常需要运行所有5个包裹以比较更改并加快开发/测试的速度。

它只有4个。随机删除一个软件包,就像以某种方式被绑定到4个软件包,也许那是我不知道的正常行为,或者也许是NPM帽?

是Lerna 4.0.0, 反应16.14.0“

I have 5 packages that lerna should start on localhost when you run it, I usually need to run all 5 to compare changes and speed up development/testing.

It starts only 4. Randomly removes one package, like is caped to 4 somehow, maybe thats a normal behaviour that I don't know about, or maybe it's some npm cap?

It's lerna 4.0.0 and
react 16.14.0"

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

街角迷惘 2025-02-15 09:14:29

您可以尝试更改全局选项 - /a>,其默认值是由逻辑CPU内核计数计算得出的。

当Lerna平行于任务(默认为逻辑CPU内核计数)

时,要使用多少个线程

$ lerna publish --concurrency 5

You could try to change the global option --concurrency, its defaults is calculated by the count of logical CPU cores.

How many threads to use when Lerna parallelizes the tasks (defaults to count of logical CPU cores)

$ lerna publish --concurrency 5
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文