跳到内容

Monorepo 工具

用于管理 monorepo 的工具

Monorepo工具随时间变化的比率

Monorepos have yet to cross over into the mainstream of the web development ecosystem – yet for those who are brave enough to explore this new frontier, pnpm seems like the clear front-runner.

Rush
Turborepo
Yarn Workspaces
Yalc
Lerna
npm Workspaces
pnpm
Nx

模式:

视图:

0%
20%
40%
60%
80%
100%
2021
2022
2023
2024
0%
20%
40%
60%
80%
100%

Other Monorepo Tools

0%
8%
16%
24%
32%
40%
1

42
2

16
3

16
4

6
5

3
6

3
7

2
8

2
9

2
10

1
11

其他答案

15
0%
8%
16%
24%
32%
40%
受访者百分比

It should be no surprise that many monorepo tools are used by large companies since company size often correlates with codebase size.

0%
7%
14%
21%
28%
35%
1

3,419
2

2,375
3

1,876
4

1,737
5

1,392
6

1,192
7

214
8

143
9

2,860
0%
7%
14%
21%
28%
35%
受访者百分比
Which of these tools do you use in a professional context?
我们询问了 JavaScript 社区的成员,分享他们的“年度选择”

我的 2024 选择: Rspack

The Rspack bundler is an almost drop-in replacement for Webpack. Implemented in Rust, it's much faster than Webpack and consumes less memory. All Webpack projects should try it out immediately, considering how easy it is to adopt!
我们询问了 JavaScript 社区的成员,分享他们的“年度选择”

Sebastien Lorber

This Week In React creator, Docusaurus maintainer

Number of Items

How many items in this category respondends have used (or heard of).

视图:

0%
8%
17%
25%
34%
42%
1

0

5,940
2

1

3,121
3

2

2,085
4

3

1,398
5

4

819
6

5

414
7

6

192
8

7

39
9

8

7
0%
8%
17%
25%
34%
42%
调查对象百分比

Monorepo 满意度

0
1
2
3
4
2021
2022
2023
2024
0
1
2
3
4
平均 {axis}
您对 Monorepo 工具的现状满意吗?

Monorepo 痛点

0%
13%
25%
38%
51%
63%
1

Configuration

2

Excessive complexity

3

Package management issues

4

Dependencies

5

Performance

6

Breaking changes

7

Lack of documentation

8

TypeScript support

9

Caching

10

Maintenance

0%
13%
25%
38%
51%
63%
受访者百分比
在使用 Monorepo 工具时,您遇到了哪些痛点?
(自由提问)
JavaScript and TypeScript Monorepos
Mike North
LinkedIn

JavaScript and TypeScript Monorepos

You'll get hands-on experience with best-in-class tools designed to keep the workflows for even complex projects simple!
Everything You'll Need to Know About Git
ThePrimeagen
terminal

Everything You'll Need to Know About Git

Never run into an unsolvable Git problem again. Create and manage repos, branch for parallel development, and resolve conflicts with merge and rebase.
感谢合作伙伴对我们的支持! 了解更多。