share tsconfig

Massimo Melina committed Jul 12, 2023 at 22:22 UTC 037de09ea3254b07f0b675eb1baf8cbc8d6160e5
5 files changed +37 -50
.gitignore
+1
@@ -1,5 +1,6 @@
1 node_modules
2 .idea
3 +.vscode
4 dist
5 shared/lib
6 mui-grid-form/lib
admin/tsconfig.json
+3 -25
@@ -1,26 +1,4 @@
1 {
2 - "compilerOptions": {
3 - "target": "es2017",
4 - "lib": [
5 - "dom",
6 - "dom.iterable",
7 - "esnext"
8 - ],
9 - "allowJs": true,
10 - "skipLibCheck": true,
11 - "esModuleInterop": true,
12 - "allowSyntheticDefaultImports": true,
13 - "strict": true,
14 - "forceConsistentCasingInFileNames": true,
15 - "noFallthroughCasesInSwitch": true,
16 - "module": "esnext",
17 - "moduleResolution": "node",
18 - "resolveJsonModule": true,
19 - "isolatedModules": true,
20 - "noEmit": true,
21 - "jsx": "react-jsx"
22 - },
23 - "include": [
24 - "src"
25 - ]
26 -}
2 + "extends": "../tsconfig-web",
3 + "include": ["src"]
4 +}
\ No newline at end of file
frontend/tsconfig.json
+3 -25
@@ -1,26 +1,4 @@
1 {
2 - "compilerOptions": {
3 - "target": "es2017",
4 - "lib": [
5 - "dom",
6 - "dom.iterable",
7 - "esnext"
8 - ],
9 - "allowJs": true,
10 - "skipLibCheck": true,
11 - "esModuleInterop": true,
12 - "allowSyntheticDefaultImports": true,
13 - "strict": true,
14 - "forceConsistentCasingInFileNames": true,
15 - "noFallthroughCasesInSwitch": true,
16 - "module": "esnext",
17 - "moduleResolution": "node",
18 - "resolveJsonModule": true,
19 - "isolatedModules": true,
20 - "noEmit": true,
21 - "jsx": "react-jsx"
22 - },
23 - "include": [
24 - "src"
25 - ]
26 -}
2 + "extends": "../tsconfig-web",
3 + "include": ["src"]
4 +}
\ No newline at end of file
shared/tsconfig.json new
+4
@@ -0,0 +1,4 @@
1 +{
2 + "extends": "../tsconfig-web",
3 + "include": ["."]
4 +}
\ No newline at end of file
tsconfig-web.json new
+26
@@ -0,0 +1,26 @@
1 +{
2 + "compilerOptions": {
3 + "target": "es2017",
4 + "lib": [
5 + "dom",
6 + "dom.iterable",
7 + "esnext"
8 + ],
9 + "allowJs": true,
10 + "skipLibCheck": true,
11 + "esModuleInterop": true,
12 + "allowSyntheticDefaultImports": true,
13 + "strict": true,
14 + "forceConsistentCasingInFileNames": true,
15 + "noFallthroughCasesInSwitch": true,
16 + "module": "esnext",
17 + "moduleResolution": "node",
18 + "resolveJsonModule": true,
19 + "isolatedModules": true,
20 + "noEmit": true,
21 + "jsx": "react-jsx"
22 + },
23 + "include": [
24 + "src"
25 + ]
26 +}