DEV Community

Discussion on: How we reduced our nodejs monorepo build time by 70%

Collapse
 
karthik2265 profile image
Karhik Suryadevara

Iam a little confused, what is monorepo and polyrepo

Collapse
 
scopsy profile image
Dima Grossman

A monorepo contains multiple projects in a single git repository, and polyrepo means that you have one project per github repository. Hope this explains it to you :)

Collapse
 
karthik2265 profile image
Karhik Suryadevara

Now i understand, Thank you

Collapse
 
airtonix profile image
Zenobius Jiricek • Edited

yeah nah.

A monorepo is not merely a repo that holds many projects.

A monorepo is a repo that holds two or more separate projects that can define their relationship through a dependancy graph.

If you can't do this, then it's just a repo.