build: Properly add typecheck tests (#10722)

* build: exclude type tests from running

* refactor: use `tsc`

* test: fix broker test

* test: fix voice test

* test: fix builders test

* test: use vitest typecheck

remove unused test scripts
skip lib check
rm vitest.d.ts

* fix: remove tsd from core and ws

* fix: extend local tsconfig

---------

Co-authored-by: almeidx <github@almeidx.dev>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Jiralite
2025-01-26 14:28:45 +00:00
committed by GitHub
parent b820daadd4
commit 9b8b0f828c
44 changed files with 443 additions and 479 deletions

View File

@@ -4,7 +4,6 @@
"version": "0.1.0",
"description": "",
"scripts": {
"test": "vitest run --config ../../vitest.config.ts",
"build": "tsc --noEmit && vite build",
"lint": "prettier --check . && cross-env TIMING=1 eslint --format=pretty src",
"format": "prettier --write . && cross-env TIMING=1 eslint --fix --format=pretty src",
@@ -67,14 +66,12 @@
"@storybook/blocks": "^8.4.7",
"@storybook/react": "^8.4.7",
"@storybook/react-vite": "^8.4.7",
"@storybook/testing-library": "^0.2.2",
"@types/node": "^20.17.10",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@unocss/eslint-plugin": "^0.60.4",
"@unocss/reset": "^0.60.4",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^2.1.8",
"chromatic": "^11.20.2",
"cross-env": "^7.0.3",
"eslint": "^8.57.1",
@@ -87,8 +84,7 @@
"typescript": "~5.5.4",
"unocss": "^0.60.4",
"vite": "^5.4.11",
"vite-plugin-dts": "^3.9.1",
"vitest": "^2.1.8"
"vite-plugin-dts": "^3.9.1"
},
"engines": {
"node": ">=20"