2023-02-13 13:46:56 +00:00
|
|
|
{
|
|
|
|
|
"$schema": "https://turbo.build/schema.json",
|
|
|
|
|
"pipeline": {
|
2023-02-13 20:04:35 +00:00
|
|
|
"dev": {
|
|
|
|
|
"cache": false,
|
|
|
|
|
"persistent": true
|
|
|
|
|
},
|
2023-02-13 13:46:56 +00:00
|
|
|
"build": {
|
2023-03-13 16:40:04 +00:00
|
|
|
"dependsOn": [
|
|
|
|
|
"^build"
|
|
|
|
|
],
|
|
|
|
|
"outputs": [
|
|
|
|
|
".next/**"
|
|
|
|
|
]
|
2023-02-13 13:46:56 +00:00
|
|
|
},
|
|
|
|
|
"test": {
|
2023-03-13 16:40:04 +00:00
|
|
|
"dependsOn": [
|
|
|
|
|
"build"
|
|
|
|
|
],
|
|
|
|
|
"inputs": [
|
|
|
|
|
"src/**/*.tsx",
|
|
|
|
|
"src/**/*.ts",
|
|
|
|
|
"test/**/*.ts",
|
|
|
|
|
"test/**/*.tsx"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"lint": {
|
|
|
|
|
"inputs": [
|
|
|
|
|
"src/**/*.tsx",
|
|
|
|
|
"src/**/*.ts",
|
|
|
|
|
"test/**/*.ts",
|
|
|
|
|
"test/**/*.tsx"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"fix:lint": {
|
|
|
|
|
"inputs": [
|
|
|
|
|
"src/**/*.tsx",
|
|
|
|
|
"src/**/*.ts",
|
|
|
|
|
"test/**/*.ts",
|
|
|
|
|
"test/**/*.tsx"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"fmt": {
|
|
|
|
|
"inputs": [
|
|
|
|
|
"src/**/*.tsx",
|
|
|
|
|
"src/**/*.ts",
|
|
|
|
|
"test/**/*.ts",
|
|
|
|
|
"test/**/*.tsx"
|
|
|
|
|
]
|
2023-02-13 13:46:56 +00:00
|
|
|
},
|
|
|
|
|
"deploy": {
|
2023-03-13 16:40:04 +00:00
|
|
|
"dependsOn": [
|
|
|
|
|
"build",
|
|
|
|
|
"test",
|
|
|
|
|
"lint"
|
|
|
|
|
]
|
2023-02-13 13:46:56 +00:00
|
|
|
}
|
|
|
|
|
}
|
2023-03-13 16:40:04 +00:00
|
|
|
}
|