881c5bb1e3
- processProactiveTips now iterates all expiring items sorted by urgency and emits the first candidate with a recipe that clears 7-day dedup. - Add pt-PT proactive-tip templates; remove en-GB duplicate; parity test asserts against shared-types SUPPORTED_LANGUAGE_TAGS. - Serialize DB test setup via turbo dependencies; seed truncates only *_test DBs, guarded by both --test flag and DB name suffix.
30 lines
657 B
JSON
30 lines
657 B
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"globalDependencies": ["brand.config.json", ".env.example", "tsconfig.base.json"],
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": ["dist/**"]
|
|
},
|
|
"typecheck": {
|
|
"dependsOn": ["^typecheck"],
|
|
"outputs": []
|
|
},
|
|
"db:test-setup": {
|
|
"dependsOn": [],
|
|
"outputs": [],
|
|
"cache": false,
|
|
"env": ["TEST_DATABASE_URL"]
|
|
},
|
|
"test": {
|
|
"dependsOn": ["^typecheck", "@app/database#db:test-setup"],
|
|
"outputs": [],
|
|
"env": ["TEST_DATABASE_URL"]
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true
|
|
}
|
|
}
|
|
}
|