Add explicit include option to TS configs

So VS Code ignores the `dist` folders
This commit is contained in:
bjoluc 2021-07-13 09:54:29 +02:00
parent 8cfbba526a
commit 82fa8e3f29
51 changed files with 103 additions and 53 deletions

View File

@ -30,9 +30,9 @@
"noEmit": true,
// map package imports directly to their source files
"paths": {
"jspsych/tests": ["../../packages/jspsych/tests"],
"jspsych": ["../../packages/jspsych/src"],
"@jspsych/*": ["../../packages/*/src"]
"jspsych/tests": ["../jspsych/tests"],
"jspsych": ["../jspsych/src"],
"@jspsych/*": ["../*/src"]
},
// allow resolving json modules in tests (needed for transitive imports of jspsych in tests;
// the jspsych package itself uses https://stackoverflow.com/a/61426303 instead)

View File

@ -2,5 +2,6 @@
"extends": "@jspsych/config/tsconfig.json",
"compilerOptions": {
"resolveJsonModule": false // using https://stackoverflow.com/a/61426303 instead
}
},
"include": ["src", "test", "global.d.ts"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}

View File

@ -1,3 +1,4 @@
{
"extends": "@jspsych/config/tsconfig.json"
"extends": "@jspsych/config/tsconfig.json",
"include": ["src"]
}