Put rootDirs into subprojects

- typings do not work for any ts or svelte files
- if we set the 'rootDirs' in ts/tsconfig.json to '../bazel-bin/ts' and then inherit
  them from e.g. editor, the root will be changed to '../../bazel-bin/ts',
  however editor needs look in '../../bazel-bin/ts/editor' instead.
This commit is contained in:
Henrik Giesel 2021-10-02 22:00:28 +02:00
parent 7c70d26fe7
commit e1d4292ce3
11 changed files with 10 additions and 6 deletions

View file

@ -1,5 +1,6 @@
{
"extends": "../tsconfig.json",
"rootDirs": ["../../bazel-bin/ts/change-notetype"],
"include": ["*"],
"references": [
{ "path": "../lib" },

View file

@ -1,5 +1,6 @@
{
"extends": "../tsconfig.json",
"rootDirs": ["../../bazel-bin/ts/components"],
"include": ["*"],
"references": [{ "path": "../lib" }, { "path": "../sveltelib" }]
}

View file

@ -1,5 +1,6 @@
{
"extends": "../tsconfig.json",
"rootDirs": ["../../bazel-bin/ts/congrats"],
"include": ["*"],
"references": [{ "path": "../lib" }]
}

View file

@ -1,5 +1,6 @@
{
"extends": "../tsconfig.json",
"rootDirs": ["../../bazel-bin/ts/deck-options"],
"include": ["*"],
"references": [
{ "path": "../lib" },

View file

@ -1,5 +1,6 @@
{
"extends": "../tsconfig.json",
"rootDirs": ["../../bazel-bin/ts/editable"],
"include": ["*"],
"references": [
{ "path": "../components" },

View file

@ -1,5 +1,6 @@
{
"extends": "../tsconfig.json",
"rootDirs": ["../../bazel-bin/ts/editor"],
"include": ["*"],
"references": [
{ "path": "../components" },

View file

@ -1,5 +1,6 @@
{
"extends": "../tsconfig.json",
"rootDirs": ["../../bazel-bin/ts/html-filter"],
"include": ["*"],
"references": [],
"compilerOptions": {

View file

@ -1,6 +1,6 @@
{
"extends": "../tsconfig.json",
"include": ["*", "../../bazel-bin/ts/lib/*"],
"include": ["*", "../../bazel-bin/ts/lib"],
"references": [],
"compilerOptions": {
"types": ["jest"]

View file

@ -1,5 +1,6 @@
{
"extends": "../tsconfig.json",
"rootDirs": ["../../bazel-bin/ts/reviewer"],
"include": ["*"],
"references": [{ "path": "../lib" }]
}

View file

@ -1,5 +1,6 @@
{
"extends": "../tsconfig.json",
"rootDirs": ["../../bazel-bin/ts/sveltelib"],
"include": ["*"],
"references": [{ "path": "../lib" }]
}

View file

@ -32,11 +32,6 @@
// "outDir": "dist",
// "rootDir": "..",
"rootDir": ".",
"rootDirs": [
".",
// for VS code
"../bazel-bin/ts"
],
"baseUrl": ".",
"paths": {},
"types": [],