From 6f3552ce59e8408f8fc933cc49f7639c0c9ab7a5 Mon Sep 17 00:00:00 2001 From: Maxime Cannoodt Date: Sun, 13 Nov 2022 14:57:02 +0100 Subject: [PATCH] Add generated tsconfig file to git --- webapp/.gitignore | 3 ++- webapp/.svelte-kit/tsconfig.json | 46 ++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 webapp/.svelte-kit/tsconfig.json diff --git a/webapp/.gitignore b/webapp/.gitignore index f4401a3..969ffa1 100644 --- a/webapp/.gitignore +++ b/webapp/.gitignore @@ -1,7 +1,8 @@ .DS_Store node_modules /build -/.svelte-kit +/.svelte-kit/* +!/.svelte-kit/tsconfig.json /package .env .env.* diff --git a/webapp/.svelte-kit/tsconfig.json b/webapp/.svelte-kit/tsconfig.json new file mode 100644 index 0000000..c6c8be8 --- /dev/null +++ b/webapp/.svelte-kit/tsconfig.json @@ -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]**" + ] +} \ No newline at end of file