Add generated tsconfig file to git

This commit is contained in:
Maxime Cannoodt 2022-11-13 14:57:02 +01:00
parent 5aeccd5aa3
commit 6f3552ce59
2 changed files with 48 additions and 1 deletions

3
webapp/.gitignore vendored
View File

@ -1,7 +1,8 @@
.DS_Store
node_modules
/build
/.svelte-kit
/.svelte-kit/*
!/.svelte-kit/tsconfig.json
/package
.env
.env.*

View File

@ -0,0 +1,46 @@
{
"compilerOptions": {
"baseUrl": "..",
"paths": {
"$lib": [
"src/lib"
],
"$lib/*": [
"src/lib/*"
]
},
"rootDirs": [
"..",
"./types"
],
"importsNotUsedAsValues": "error",
"isolatedModules": true,
"preserveValueImports": true,
"lib": [
"esnext",
"DOM",
"DOM.Iterable"
],
"moduleResolution": "node",
"module": "esnext",
"target": "esnext"
},
"include": [
"ambient.d.ts",
"./types/**/$types.d.ts",
"../vite.config.ts",
"../src/**/*.js",
"../src/**/*.ts",
"../src/**/*.svelte",
"../src/**/*.js",
"../src/**/*.ts",
"../src/**/*.svelte",
"../tests/**/*.js",
"../tests/**/*.ts",
"../tests/**/*.svelte"
],
"exclude": [
"../node_modules/**",
"./[!ambient.d.ts]**"
]
}