monkeytype/turbo.json
Christian Fehmer 6b9f4a0f18
chore: remove config from shared-types (@fehmer) (#5681)
* chore: remove config from shared-types (@fehmer)

* fix

* remove shared-types/user

* build before test

* fix

* add madge to contracts
2024-07-30 17:37:38 +02:00

47 lines
1.1 KiB
JSON

{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": [".env"],
"tasks": {
"parallel": {
"dependsOn": ["^parallel"]
},
"lint": {
"dependsOn": ["^parallel", "^build"]
},
"ts-check": {
"dependsOn": ["^parallel"]
},
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", "build/**"]
},
"test": {
"dependsOn": ["^build"],
"cache": false
},
"dev": {
"dependsOn": ["^build"],
"persistent": true,
"cache": false
},
"start": {
"dependsOn": ["build"]
},
"@monkeytype/frontend#validate-json": {
"dependsOn": ["^parallel"]
},
"@monkeytype/frontend#build": {
"dependsOn": ["^build"],
"env": ["BACKEND_URL", "RECAPTCHA_SITE_KEY"],
"outputs": ["dist/**"]
},
"@monkeytype/frontend#dev": {
"dependsOn": ["^build"],
"env": ["BACKEND_URL", "RECAPTCHA_SITE_KEY", "SERVER_OPEN"]
},
"@monkeytype/backend#dev": {
"dependsOn": ["^build"],
"env": ["DB_URI", "REDIS_URI", "PORT"]
}
}
}