Recently, I started working with Turborepo and encountered a situation where I needed environment variables in the root directory. However, I didn’t want to rely on the environment variables of my linked projects, as they contain values specific to each project.
This seemed like an ideal use case for shared variables. Since these values are already connected to my apps, having the option to link only them in the root directory feels like a natural solution.
The Idea: Add the ability to link shared variables in the project.