forked from Merit-Systems/x402scan
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathturbo.json
More file actions
106 lines (106 loc) · 2.8 KB
/
turbo.json
File metadata and controls
106 lines (106 loc) · 2.8 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"$schema": "https://turbo.build/schema.json",
"ui": "tui",
"tasks": {
"build": {
"description": "Build package for production",
"dependsOn": ["^build", "^db:generate"],
"outputs": [".next/**", "!.next/cache/**", "dist/**"]
},
"build:deploy": {
"description": "Build package with database migrations for deployment",
"dependsOn": ["^build", "^db:generate", "^db:deploy"],
"outputs": [".next/**", "!.next/cache/**", "dist/**"]
},
"lint": {
"description": "Run ESLint to check code quality",
"dependsOn": [
"^types:generate",
"^build",
"^db:generate",
"types:generate",
"db:generate"
]
},
"lint:fix": {
"description": "Run ESLint and automatically fix issues",
"dependsOn": [
"^types:generate",
"^build",
"^db:generate",
"types:generate",
"db:generate"
]
},
"dev": {
"description": "Start development server with hot reload",
"dependsOn": ["^build", "^db:generate"],
"persistent": true
},
"start": {
"description": "Start production server",
"cache": false,
"persistent": true
},
"types:generate": {
"description": "Generate TypeScript types from sources",
"outputs": [".next/**", "!.next/cache/**"]
},
"types:check": {
"description": "Type-check code with TypeScript compiler",
"dependsOn": [
"^types:check",
"^types:generate",
"^db:generate",
"types:generate",
"^build",
"db:generate"
]
},
"format": {
"description": "Format code with Prettier",
"dependsOn": ["^format"]
},
"format:check": {
"description": "Check code formatting without modifying files",
"dependsOn": ["^format:check"]
},
"knip": {
"description": "Find unused files, dependencies, and exports"
},
"knip:check": {
"description": "Check for unused code without auto-fixing"
},
"publish:check": {
"description": "Verify package is ready for npm publishing"
},
"db:generate": {
"description": "Generate Prisma client from schema",
"cache": false
},
"db:migrate": {
"description": "Create and apply database migrations",
"cache": false,
"persistent": true
},
"db:deploy": {
"description": "Deploy pending database migrations to production",
"cache": false
},
"trigger:deploy": {
"description": "Deploy Trigger.dev background jobs",
"dependsOn": ["^build", "^db:generate"],
"cache": false
}
},
"globalEnv": ["TURBO_*"],
"globalPassThroughEnv": [
"NODE_ENV",
"VERCEL_ENV",
"VERCEL_PROJECT_PRODUCTION_URL",
"VERCEL_BRANCH_URL"
],
"remoteCache": {
"enabled": true
}
}