From 3333c9143692d88b8024580db0d996e2d19a88bc Mon Sep 17 00:00:00 2001 From: 49lf Date: Fri, 2 Aug 2024 08:55:47 -0400 Subject: [PATCH] Bring back tsconfig.json --- .gitignore | 1 - tsconfig.json | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 tsconfig.json diff --git a/.gitignore b/.gitignore index 529226d5f..27704f29d 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,6 @@ /node_modules /.pnp .pnp.js -tsconfig.json # testing /coverage diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 000000000..90de78d11 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,38 @@ +{ + "compilerOptions": { + "baseUrl": "src", + "paths": { + "@kittycad/codemirror-lsp-client": [ + "../packages/codemirror-lsp-client/src/index.ts" + ], + "/*": ["src/*"] + }, + "types": [ + "vite/client", + "@types/wicg-file-system-access", + "node", + "@wdio/globals/types", + "mocha", + "@lezer/generator" + ], + "target": "esnext", + "lib": ["dom", "dom.iterable", "esnext"], + "allowJs": true, + "skipLibCheck": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "noFallthroughCasesInSwitch": true, + "module": "commonjs", + "moduleResolution": "node", + "resolveJsonModule": true, + "composite": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx" + }, + "include": ["src", "e2e", "packages", "*.d.ts"], + "exclude": ["node_modules", "./*.grammar"], + "references": [{ "path": "./tsconfig.node.json" }] +}