- Implemented `add` and `subtract` functions in multiple packages (web, ui, utils). - Created unit tests for these functions using Vitest in respective test files. - Updated turbo.json to include a new test pipeline for coverage and watch mode.
50 lines
793 B
JSON
50 lines
793 B
JSON
{
|
|
"$schema": "https://turborepo.com/schema.json",
|
|
"ui": "tui",
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": [
|
|
"^build"
|
|
],
|
|
"inputs": [
|
|
"$TURBO_DEFAULT$",
|
|
".env*"
|
|
],
|
|
"outputs": [
|
|
"dist/**",
|
|
".next/**",
|
|
"!.next/cache/**"
|
|
]
|
|
},
|
|
"lint": {
|
|
"dependsOn": [
|
|
"^lint"
|
|
]
|
|
},
|
|
"check-types": {
|
|
"dependsOn": [
|
|
"^check-types"
|
|
]
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"test": {
|
|
"dependsOn": [
|
|
"^test"
|
|
],
|
|
"inputs": [
|
|
"$TURBO_DEFAULT$"
|
|
],
|
|
"outputs": [
|
|
"coverage/**",
|
|
".vitest/**"
|
|
]
|
|
},
|
|
"test:watch": {
|
|
"cache": false,
|
|
"persistent": true
|
|
}
|
|
}
|
|
} |