mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-09 05:23:26 +00:00
376b6cacd6
Relative `"include"` path/s in a `tsconfig.json` are relative to the directory in which the config is located, so each monorepo package that uses typescript needs its own `tsconfig.json` that `"extends"` the root config. For now, disable the `"typecheck"` script in embark-graph and embark-vyper, but leave the relevant pieces in place (devDeps, configs) so that when they're converted to TypeScript the scripts can simply be re-enabled. The problem is that if no `.ts` files are present in the path/s specified in `"include"` of `tsconfig.json`, tsc will exit with error.
5 lines
66 B
JSON
5 lines
66 B
JSON
{
|
|
"extends": "../../tsconfig.json",
|
|
"include": ["src/**/*"]
|
|
}
|