Skip to content

Commit

Permalink
Use ESNext (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacksore authored Jan 31, 2025
1 parent 7cfe9a9 commit 7d96b1f
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
1 change: 0 additions & 1 deletion apps/desktop/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "tsconfig/vite-react.json",
"compilerOptions": {
"module": "ESNext",
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
Expand Down
9 changes: 9 additions & 0 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
"name": "utils",
"version": "0.0.0",
"description": "shared utils",
"type": "module",
"exports": {
".": "./index.ts"
},
"typesVersions": {
"*": {
"*": ["./index.ts"]
}
},
"dependencies": {
"clsx": "^2.0.0",
"tailwind-merge": "^2.0.0"
Expand Down
6 changes: 3 additions & 3 deletions tooling/config-typescript/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"incremental": true,
"inlineSources": false,
"isolatedModules": true,
"module": "ESNext",
"target": "ES2017",
"moduleResolution": "node",
"target": "ESNext",
"module": "NodeNext",
"moduleResolution": "nodenext",
"noUnusedLocals": true,
"noUnusedParameters": true,
"noUncheckedIndexedAccess": true,
Expand Down
4 changes: 2 additions & 2 deletions tooling/config-typescript/vite-react.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
"display": "vite react",
"extends": "./base.json",
"compilerOptions": {
"target": "ES2017",
"lib": ["dom", "dom.iterable", "ES2021"],
"allowJs": true,
"checkJs": true,
"skipLibCheck": true,
"module": "ES2022",
"moduleResolution": "bundler",
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react-jsx"
Expand Down
5 changes: 0 additions & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
{
"extends": "tsconfig/base.json",
"compilerOptions": {
"module": "ESNext",
"target": "ESNext",
"moduleResolution": "nodenext",
}
}

0 comments on commit 7d96b1f

Please sign in to comment.