DEV Community 👩‍💻👨‍💻

Discussion on: Exploring the Typescript Monorepo (a practical, hands-on adventure)

Collapse
 
ukslim profile image
John Hartnup

Have you looked at NX?

It’s an opinionated framework for building monorepos with Typescript.

Collapse
 
jonlauridsen profile image
Jon Lauridsen Author • Edited on

I investigated it a month or so ago, but got lost in all its configuration. The problem I really struggled with is that it doesn't separate dependencies per-project, instead it globs them all together in one big root package.json. I really struggle with that because I very much want the clarity that comes from having separate package.jsons!

It's possible I should give it another try though. Do you think it'll somehow handle the "strict:false for analytics" case I'm butting heads with?

Collapse
 
matheo profile image
Mateo Tibaquirá

Hi Jon!
thanks for this great experiment
today I've read about a suggestion from Victor Savkin himself to use lerna if you want to dedupe the node_modules dependencies :)
Keep it up

Collapse
 
ukslim profile image
John Hartnup

Sorry I don't know that - I was asking from a position of "I'm just starting to look at it myself".