Right way to install deps in a Monorepo?
i have a question regarding installing and managing dependencies in a monorepo. i currently have a repository with yarn workspaces enabled and turborepo. the workspaces are — client, server, ui. all these workspaces use typescript and few @types/~ as dev dependencies along with other packages.
should i install the dev dependencies that are same in every workspace in the root of monorepo or in each workspace separately? what i want is a guide to installing deps the right way in a monorepo.
0 Replies