Skip to content

Commit

Permalink
fix: add node and jest types to default tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
nahoc committed Sep 26, 2024
1 parent 616777c commit 71e1bd5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 4 additions & 1 deletion config/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"module": "ESNext",
"moduleResolution": "Bundler",
"noEmit": true,
"plugins": [{ "name": "next" }]
"plugins": [{ "name": "next" }],

// testing & types
"types": ["node", "jest", "@testing-library/jest-dom"]
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@risc0/ui",
"version": "0.0.176",
"version": "0.0.177",
"private": false,
"sideEffects": false,
"type": "module",
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"extends": "./config/tsconfig.base.json",
"compilerOptions": {
/* Path Aliases */
"baseUrl": ".",
"types": ["node", "jest", "@testing-library/jest-dom"]
"baseUrl": "."
},
"include": ["**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
Expand Down

0 comments on commit 71e1bd5

Please sign in to comment.