Want to work with us?
Learn more

Using nx-etc checkout feature

Using Nx we can build applications using a monorepo style of development. If your monorepo contains a lot of applications and libraries, the development process might be impacted a little.

Problems

  • Looking for files becomes somewhat annoying as you can find lots of them, even for apps or libs that you are not working one.
  • Opening up 20 apps and 50 libs in your IDE will impact its performance. While you might be only working on one or two apps.

Solution

Nx-etc has a checkout feature that uses sparse checkouts and some scripts from Nx to only checkout apps and libs you are currently working on. You can find an overview of the lib in the video below.

Using nx-etc checkout feature from Kwinten Pisman on Vimeo.

You can find the code on github.

Note: Thanks to @juristr, @beeman, @chaos_monster and @jvandemo for testing and providing feedback!

Kwinten Pisman

Freelance frontend architect. Occasional blogger. Reactive fan.