I’m using Turborepo with PNPM workspaces, and I have a shared TypeScript config package located at:
packages/typescript-config/
backends.json
package.json
Inside apps/http-server/tsconfig.json I extend it like this:
{
"extends": "@repo/typescript-config/backends.json"
}
However, TypeScript keeps throwing this error:
File '@repo/typescript-config/backends.json' not found.
When I check node_modules/@repo, I only see:
eslint-config -> ../../packages/eslint-config
but @repo/typescript-config is missing, even though the package exists in packages/typescript-config.
Why is PNPM not linking this workspace package, and how do I fix it so that other developers don’t face this problem?