turbo.json
{
"$schema": "https://turbo.build/schema.json",
// ! Env imported from .env should not exist in your env (command env in CLI)
// ! You have to add them manually here if you add global envs
"globalDependencies": [".env"],
"globalEnv": ["DEV", "SCW_*", "RELEASE", "SENTRY_*"],
"tasks": {
"build": {
"outputs": [".dist/**", "!.dist/cache/**"]
},
"@snu/ds#build": {
"cache": false
},
"dev": {
"cache": false,
"persistent": true,
"outputs": ["dist/**", "build/**"],
"dependsOn": ["@snu/ds#build", "^build"]
},
"start": {
"outputs": [".launch/**", "!.launch/cache/**"]
},
"test": {
"cache": false,
"persistent": true,
"outputs": ["dist/**", "build/**"]
},
"lint": {},
"clean": {
"cache": false
}
}
}