DEV Community

Discussion on: TypeScript + Yarn Workspace Monorepo

Collapse
 
ferlopezm94 profile image
Fernando López Martínez

Thanks for the article! Wondering why you didn't need to add the "shared" package as a dependency in the package.json of "backend"?

Collapse
 
t7yang profile image
t7yang

That because the "node module resolution rule".
node will keep finding upward until found or failed.