Cotton code
38 lines · 980 B · JSONRaw
{  "$schema": "https://turbo.build/schema.json",  // VITEST_MAX_WORKERS is this repo's own knob, read by every package config  // through `vitest.workers.ts`; the pool-specific pairs are what the CI runner  // caps jobs with (tinmen repo,  // infra/forgejo/provision-forgejo-runner.sh "Per-job parallelism caps");  // turbo's strict env mode would strip them from task processes otherwise.  // Pass-through = not part of the cache hash.  "globalPassThroughEnv": [    "VITEST_MAX_WORKERS",    "VITEST_MIN_WORKERS",    "VITEST_MIN_THREADS",    "VITEST_MAX_THREADS",    "VITEST_MIN_FORKS",    "VITEST_MAX_FORKS"  ],  "tasks": {    "lint": {      "cache": true    },    "typecheck": {      "cache": true,      "dependsOn": ["^typecheck"]    },    "build": {      "cache": true,      "dependsOn": ["^build"]    },    "test": {      "cache": true,      "dependsOn": ["^build"]    },    "dev": {      "persistent": true,      "cache": false    }  }}