Skip to content

Commit

Permalink
build: move fix for mocha type conflicts to root tsconfig.json
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpion9979 committed Jan 12, 2024
1 parent 249c792 commit e53cbf9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
3 changes: 1 addition & 2 deletions packages/constants/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"types": ["mocha"]
"outDir": "./dist"
},
"include": ["src/**/*"]
}
3 changes: 1 addition & 2 deletions packages/errors/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"types": ["mocha"]
"outDir": "./dist"
},
"include": ["src/**/*"]
}
3 changes: 1 addition & 2 deletions packages/helpers/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"types": ["mocha"]
"outDir": "./dist"
},
"include": ["src/**/*"]
}
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"resolveJsonModule": true,
"sourceMap": true,
"strict": true,
"target": "es6"
"target": "es6",
"types": ["mocha"]
},
"exclude": ["node_modules"]
}

0 comments on commit e53cbf9

Please sign in to comment.