What should share as package and share by accessing file directly in root #9546
-
SummarySo, it's my first time use Turborepo (and not having so many experiences using monorepo structure). I shock when create Turborepo from starter I get base tsconfig and eslint as package. I have question, should we share base config of something as package? Or we can just leave it on root and access directly? What makes difference? And what better way to reuse base config of something like tailwind, tsup, tsconfig, eslint, etc. Additional informationNo response ExampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You should be using a package for these configurations so that Turborepo can handle caching correctly. A file at the root of the project is not optimal. In fact, it can be highly problematic, and is one of a few reasons that has led to the Boundaries RFC. |
Beta Was this translation helpful? Give feedback.
You should be using a package for these configurations so that Turborepo can handle caching correctly. A file at the root of the project is not optimal. In fact, it can be highly problematic, and is one of a few reasons that has led to the Boundaries RFC.