| 1 | { |
| 2 | "$schema": "https://turbo.build/schema.json", |
| 3 | "ui": "tui", |
| 4 | "tasks": { |
| 5 | "build": { |
| 6 | "dependsOn": ["^build"], |
| 7 | "inputs": [ |
| 8 | "src/**/*.ts", |
| 9 | "src/**/*.tsx", |
| 10 | "src/**/*.js", |
| 11 | "src/**/*.jsx", |
| 12 | "src/**/*.json", |
| 13 | "tsconfig.json", |
| 14 | "tsconfig.*.json", |
| 15 | "vite.config.ts", |
| 16 | "package.json", |
| 17 | "bun.lock", |
| 18 | "eslint.config.js", |
| 19 | "index.html" |
| 20 | ], |
| 21 | "outputs": ["dist/**", "build/**", ".turbo/**"], |
| 22 | "env": ["NODE_ENV", "VITE_*"] |
| 23 | }, |
| 24 | "dev": { |
| 25 | "cache": false, |
| 26 | "persistent": true, |
| 27 | "inputs": [ |
| 28 | "src/**/*.ts", |
| 29 | "src/**/*.tsx", |
| 30 | "src/**/*.js", |
| 31 | "src/**/*.jsx", |
| 32 | "tsconfig.json", |
| 33 | "tsconfig.*.json", |
| 34 | "vite.config.ts", |
| 35 | "package.json" |
| 36 | ], |
| 37 | "env": ["NODE_ENV", "PORT", "VITE_*"] |
| 38 | }, |
| 39 | "lint": { |
| 40 | "dependsOn": ["^build"], |
| 41 | "inputs": [ |
| 42 | "src/**/*.ts", |
| 43 | "src/**/*.tsx", |
| 44 | "src/**/*.js", |
| 45 | "src/**/*.jsx", |
| 46 | "eslint.config.js", |
| 47 | ".eslintrc*", |
| 48 | "package.json", |
| 49 | "tsconfig.json", |
| 50 | "tsconfig.*.json" |
| 51 | ], |
| 52 | "outputs": [".eslintcache"], |
| 53 | "env": ["NODE_ENV"] |
| 54 | }, |
| 55 | "type-check": { |
| 56 | "dependsOn": ["^build"], |
| 57 | "inputs": [ |
| 58 | "src/**/*.ts", |
| 59 | "src/**/*.tsx", |
| 60 | "src/**/*.d.ts", |
| 61 | "tsconfig.json", |
| 62 | "tsconfig.*.json", |
| 63 | "package.json" |
| 64 | ], |
| 65 | "outputs": ["dist/**/*.d.ts", ".tsbuildinfo"], |
| 66 | "env": ["NODE_ENV"] |
| 67 | }, |
| 68 | "test": { |
| 69 | "dependsOn": ["^build"], |
| 70 | "inputs": [ |
| 71 | "src/**/*.ts", |
| 72 | "src/**/*.tsx", |
| 73 | "src/**/*.js", |
| 74 | "src/**/*.jsx", |
| 75 | "test/**/*.ts", |
| 76 | "test/**/*.tsx", |
| 77 | "test/**/*.js", |
| 78 | "test/**/*.jsx", |
| 79 | "__tests__/**/*.ts", |
| 80 | "__tests__/**/*.tsx", |
| 81 | "**/*.test.ts", |
| 82 | "**/*.test.tsx", |
| 83 | "**/*.spec.ts", |
| 84 | "**/*.spec.tsx", |
| 85 | "jest.config.*", |
| 86 | "vitest.config.*", |
| 87 | "package.json", |
| 88 | "tsconfig.json", |
| 89 | "tsconfig.*.json" |
| 90 | ], |
| 91 | "outputs": ["coverage/**", ".nyc_output/**", "test-results/**"], |
| 92 | "env": ["NODE_ENV", "CI"] |
| 93 | } |
| 94 | }, |
| 95 | "globalDependencies": [ |
| 96 | "**/.env", |
| 97 | "**/.env.*", |
| 98 | "**/.env.local", |
| 99 | "**/.env.*.local", |
| 100 | ".gitignore", |
| 101 | "turbo.json", |
| 102 | "package.json", |
| 103 | "bun.lock", |
| 104 | "tsconfig.json" |
| 105 | ], |
| 106 | "globalEnv": ["NODE_ENV", "CI", "TURBO_TOKEN", "TURBO_TEAM", "TURBO_REMOTE_ONLY"] |
| 107 | } |