Skip to content

Commit

Permalink
chore: clean up tsconfig files (#854)
Browse files Browse the repository at this point in the history
* build: clean up tsconfig files

* chore: try comparing test run times if alex is installed

* Revert "chore: try comparing test run times if alex is installed"

This reverts commit c62d11a.

* chore: bring in some additional properties

derived from here: https://github.com/tsconfig/bases/blob/main/bases/node14.json
  • Loading branch information
kanadgupta authored Aug 9, 2023
1 parent 198d4c4 commit 63eaf81
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 17 deletions.
8 changes: 0 additions & 8 deletions __tests__/tsconfig.json

This file was deleted.

7 changes: 1 addition & 6 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ module.exports = {
],
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.(js?|ts?)$',
transform: {
'^.+\\.[tj]s$': [
'ts-jest',
{
tsconfig: '__tests__/tsconfig.json',
},
],
'^.+\\.[tj]s$': ['ts-jest'],
},
};
7 changes: 4 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
"downlevelIteration": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"lib": ["es2020", "ES2021.Intl"],
"noImplicitAny": true,
"forceConsistentCasingInFileNames": true,
"lib": ["ES2020", "ES2021.Intl"],
"module": "CommonJS",
"outDir": "dist/",
"paths": {
"editor": [".sink.d.ts"]
},
"resolveJsonModule": true,
"target": "ES5"
"target": "ES2020"
},
"include": ["./config/*.js", "./config/*.json", "./src/**/*"]
}

0 comments on commit 63eaf81

Please sign in to comment.