Skip to content

Commit

Permalink
revert ts configs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexprudhomme committed Sep 4, 2024
1 parent 853bf0d commit 21eb5cb
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
8 changes: 4 additions & 4 deletions packages/atomic/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"allowSyntheticDefaultImports": true,
"declaration": false,
"experimentalDecorators": true,
"lib": ["dom", "es2020", "ES2023.Collection"],
"moduleResolution": "Node16",
"module": "Node16",
"target": "ES2023",
"lib": ["dom", "es2020", "ESNext.Collection"],
"moduleResolution": "node",
"resolveJsonModule": true,
"useDefineForClassFields": false,
"module": "esnext",
"target": "es2019",
"noUnusedLocals": true,
"noUnusedParameters": true,
"jsx": "react",
Expand Down
3 changes: 3 additions & 0 deletions packages/headless/src/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"isolatedModules": true
},
"exclude": ["./**/*.test.ts"]
}
6 changes: 4 additions & 2 deletions packages/headless/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"isolatedModules": true,
"lib": ["DOM", "ES2023"],
"declaration": false,
"lib": ["DOM", "ES2019", "ES2022"],
"module": "ESNext",
"moduleResolution": "Bundler",
"moduleResolution": "node",
"esModuleInterop": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"types": ["node", "jest"]
Expand Down
3 changes: 3 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@tsconfig/node20/tsconfig.json",
"compilerOptions": {
"skipLibCheck": true
},
"ts-node": {
"compilerOptions": {
"module": "commonjs"
Expand Down

0 comments on commit 21eb5cb

Please sign in to comment.