1
0
Fork 0

feat: add turborepo for monorepo building and management

This commit is contained in:
Vojtěch Mareš 2023-10-04 18:13:19 +02:00
parent d891426a12
commit 125dbeea01
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
2 changed files with 22 additions and 0 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
.turbo
**/node_modules
**/coverage
**/build

21
turbo.json Normal file
View file

@ -0,0 +1,21 @@
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"build": {
"dependsOn": ["^build"],
"outputs": [".next/**", "!.next/cache/**"]
},
"deploy": {
"dependsOn": ["build", "test", "lint"]
},
"test": {
"dependsOn": ["build"],
"inputs": ["src/**/*.tsx", "src/**/*.ts", "test/**/*.ts", "test/**/*.tsx"]
},
"lint": {},
"dev": {
"cache": false,
"persistent": true
}
}
}