Files
cunningham/turbo.json
jbpenrath 99f46225c8 ⬆️(global) upgrade to turbo 2.x
Run `npx @turbo/codemod migrate`
Then allow all env vars prefixed by "CIRCLE_" for the task "test-ci". Check
turbo documention about Environment strict mode to understand
why we need to do that.

https://turbo.build/blog/turbo-2-0
2024-06-10 18:04:48 +02:00

57 lines
895 B
JSON

{
"$schema": "https://turbo.build/schema.json",
"tasks": {
"build": {
"dependsOn": [
"^build"
],
"outputs": [
"dist/**"
]
},
"lint": {
"outputs": []
},
"dev": {
"cache": false,
"dependsOn": [
"^dev"
]
},
"test": {
"outputs": [],
"inputs": [
"src/**/*.tsx",
"src/**/*.ts",
"test/**/*.ts",
"test/**/*.tsx"
]
},
"test-ci": {
"env": [
"CIRCLE_*"
],
"outputs": [],
"inputs": [
"src/**/*.tsx",
"src/**/*.ts",
"test/**/*.ts",
"test/**/*.tsx"
]
},
"deploy": {
"dependsOn": [
"build",
"test",
"lint"
],
"outputs": []
},
"@openfun/cunningham-tokens#test": {
"dependsOn": [
"build"
]
}
}
}