From 71e1bd5473df169a85c81957b508024667ced5ae Mon Sep 17 00:00:00 2001 From: Cohan Carpentier Date: Wed, 25 Sep 2024 20:31:25 -0400 Subject: [PATCH] fix: add node and jest types to default tsconfig --- config/tsconfig.base.json | 5 ++++- package.json | 2 +- tsconfig.json | 3 +-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/config/tsconfig.base.json b/config/tsconfig.base.json index 67ea9e5..c92ea9a 100644 --- a/config/tsconfig.base.json +++ b/config/tsconfig.base.json @@ -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"] } } diff --git a/package.json b/package.json index 6926766..4ef2dc8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@risc0/ui", - "version": "0.0.176", + "version": "0.0.177", "private": false, "sideEffects": false, "type": "module", diff --git a/tsconfig.json b/tsconfig.json index 2110929..e60369d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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"]