aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/turbo.json
blob: 923b5e951f9f511c11fba34de2a755e632229fd7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  "$schema": "./docs/public/schema.json",
  "pipeline": {
    "test": {
      "outputs": ["coverage/**/*"],
      "dependsOn": ["cli#build", "^build"]
    },

    // lint tasks
    "lint": {},
    // root lint task runs toml check and prettier
    // TODO: run prettier in individual workspaces instead of globally.
    "//#lint": {
      "dependsOn": ["//#check:toml", "//#check:prettier"]
    },
    "//#check:prettier": {},
    "//#check:toml": {},
    "check-types": {
      "dependsOn": ["^build"]
    },
    "//#build:ts": {
      "outputs": ["packages/**/dist"]
    },
    "build": {
      "outputs": ["dist/**/*", ".next/**/*"],
      "dependsOn": ["^build"]
    }
  }
}