Monorepos can be advantageous when used with the proper tools. In Yarn workspaces, installing packages across workspaces becomes faster and lighter. There are tools that can help you achieve this; tools that will add a new resolver for your modules when your code is being compiled. The use of Prettier and ESLint in a monorepo generally works well.
Table of contents
Using TypeScript Project ReferencesManaging Packages that Depend on Other PackagesSet Up WorkspacesUse Absolute Paths for Importing Code BlocksPrettier and ESLintUsing TurborepoThe Right Build ToolsConclusion1 Comment
Sort: