Skip to content

Commit 4cd5cc1

Browse files
committed
chore(repo): fix tsconfig
1 parent 2d55be3 commit 4cd5cc1

File tree

6 files changed

+23
-20
lines changed

6 files changed

+23
-20
lines changed

packages/core/auth-js/tsconfig.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"declaration": true,
77
"declarationMap": true,
88
"module": "CommonJS",
9+
"moduleResolution": "Node",
910
"outDir": "dist/main",
1011
"rootDir": "src",
1112
"sourceMap": true,
@@ -14,10 +15,11 @@
1415
"strict": true,
1516

1617
"esModuleInterop": true,
17-
"moduleResolution": "Node",
1818

1919
"forceConsistentCasingInFileNames": true,
20-
"stripInternal": true
20+
"stripInternal": true,
21+
"noImplicitOverride": false,
22+
"isolatedModules": false
2123
},
2224
"typedocOptions": {
2325
"excludeExternals": true

packages/core/functions-js/tsconfig.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"composite": true,
88
"declarationMap": true,
99
"module": "CommonJS",
10+
"moduleResolution": "Node",
1011
"outDir": "dist/main",
1112
"rootDir": "src",
1213
"sourceMap": true,
@@ -15,12 +16,12 @@
1516
"strict": true,
1617

1718
"esModuleInterop": true,
18-
"moduleResolution": "Node",
19-
"isolatedModules": true,
2019

2120
"forceConsistentCasingInFileNames": true,
2221
"stripInternal": true,
23-
"allowSyntheticDefaultImports": true
22+
"allowSyntheticDefaultImports": true,
23+
"noImplicitOverride": false,
24+
"isolatedModules": false
2425
},
2526
"typeRoots": ["./src/types"]
2627
}

packages/core/postgrest-js/tsconfig.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@
99
"outDir": "dist/cjs",
1010
"sourceMap": true,
1111
"target": "ES2017",
12-
12+
1313
"strict": true,
14-
14+
1515
"esModuleInterop": true,
1616
"moduleResolution": "Node",
1717

1818
"forceConsistentCasingInFileNames": true,
19-
"stripInternal": true
19+
"stripInternal": true,
20+
"noImplicitOverride": false,
21+
"isolatedModules": false
2022
}
2123
}

packages/core/realtime-js/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"esModuleInterop": true,
1515
"moduleResolution": "Node",
1616
"forceConsistentCasingInFileNames": true,
17-
"stripInternal": true
17+
"stripInternal": true,
18+
"isolatedModules": false
1819
},
1920
"references": [
2021
{

packages/core/storage-js/tsconfig.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,16 @@
1111
"rootDir": "src",
1212
"sourceMap": true,
1313
"target": "ES6",
14-
14+
1515
"strict": true,
16-
16+
1717
"esModuleInterop": true,
1818
"moduleResolution": "Node",
1919

2020
"forceConsistentCasingInFileNames": true,
2121
"stripInternal": true,
22-
"allowSyntheticDefaultImports": true
22+
"allowSyntheticDefaultImports": true,
23+
"noImplicitOverride": false,
24+
"isolatedModules": false
2325
}
2426
}

tsconfig.base.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,16 @@
11
{
22
"compilerOptions": {
33
"composite": true,
4+
"declaration": true,
45
"declarationMap": true,
5-
"emitDeclarationOnly": true,
66
"importHelpers": true,
77
"isolatedModules": true,
88
"lib": ["es2022"],
9-
"module": "nodenext",
10-
"moduleResolution": "nodenext",
9+
"moduleResolution": "bundler",
1110
"noEmitOnError": true,
1211
"noFallthroughCasesInSwitch": true,
13-
"noImplicitOverride": true,
14-
"noImplicitReturns": true,
15-
"noUnusedLocals": true,
1612
"skipLibCheck": true,
1713
"strict": true,
18-
"target": "es2022",
19-
"customConditions": ["@supabase-js/source"]
14+
"target": "es2022"
2015
}
2116
}

0 commit comments

Comments
 (0)