Closed
Description
I have a monorepo with the following hierarchy :
/tsconfig.json
/src/stuff.ts
/packages/adapters/tsconfig.json
/packages/adapters/src/stuff.ts
/packages/adapters/src/files/blabla.json
blabla.json is imported in some ts modules inside the adapters package.
/packages/adapters/tsconfig.json extends
/tsconfig.json
running tsc --build
in any meaningful folder yields no error. Great !
but in atom I get
blabla.json is not in project file list. Projects must list all files ...
my blabla.json is properly included in /packages/adapters/tsconfig.json
/* /packages/adapters/tsconfig.json */
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "./lib",
"rootDir": "./src",
"composite": true
},
"include": ["./src/", "./src/files/*.json"]
}
/* /tsconfig.json */
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"declaration": true,
"composite": true,
"removeComments": true,
"strict": true,
"noImplicitAny": false,
"noImplicitThis": false,
"baseUrl": "./",
"paths": {
"@blabla/adapters": ["./packages/adapters/src"],
},
"esModuleInterop": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"resolveJsonModule": true,
"noFallthroughCasesInSwitch": true,
"forceConsistentCasingInFileNames": true,
},
"exclude": ["node_modules", "**/*.spec.ts", "**/lib"]
}
should I set any option on the atom plugin to finally get the same behavior as a direct npx tsc --build
?
thanks !