The test script referenced vitest without declaring the devDep, and vitest exits non-zero when no test files match. Adds the missing dep and the flag to keep CI green for empty test suites. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
27 lines
624 B
JSON
27 lines
624 B
JSON
{
|
|
"name": "@repo/ui",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"scripts": {
|
|
"build": "echo 'typechecked by consuming app bundler'",
|
|
"lint": "eslint .",
|
|
"test": "vitest run --passWithNoTests",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"clsx": "^2.1.0",
|
|
"react": "^19.0.0",
|
|
"tailwind-merge": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@repo/eslint-config": "workspace:*",
|
|
"@repo/typescript-config": "workspace:*",
|
|
"@types/react": "^19.0.0",
|
|
"tailwindcss": "^4.1.0",
|
|
"vitest": "^3.1.0"
|
|
}
|
|
}
|