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

View File

@ -2,5 +2,6 @@
"extends": "@jspsych/config/tsconfig.json", "extends": "@jspsych/config/tsconfig.json",
"compilerOptions": { "compilerOptions": {
"resolveJsonModule": false // using https://stackoverflow.com/a/61426303 instead "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"]
} }