Created
June 15, 2022 06:48
-
-
Save hypeJunction/fdcb67a609db74a2204ed59d97d3d7d9 to your computer and use it in GitHub Desktop.
Turborepo config example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://turborepo.org/schema.json", | |
"baseBranch": "origin/master", | |
"pipeline": { | |
"build": { | |
"dependsOn": ["^build"], | |
"inputs": ["src/**/*", "package.json", "tsconfig.json"], | |
"outputs": ["dist/**"] | |
}, | |
"test": { | |
"inputs": ["**/*.spec.ts", "**/*.spec.tsx"], | |
"outputs": [] | |
}, | |
"dev": { | |
"dependsOn": ["^build"], | |
"inputs": ["src/**/*", "package.json", "tsconfig.json"], | |
"cache": false, | |
"outputs": [] | |
}, | |
"watch": { | |
"dependsOn": [], | |
"inputs": ["src/**/*", "package.json", "tsconfig.json"], | |
"cache": false, | |
"outputs": [] | |
}, | |
"@me/application-a#build": { | |
"dependsOn": ["^build"], | |
"inputs": ["pages/**/*", "public/**/*", "next.config.js", "package.json" "tsconfig.json"], | |
"outputs": [".next/**"] | |
}, | |
"@me/application-a#dev": { | |
"dependsOn": ["^build"], | |
"inputs": ["pages/**/*", "public/**/*", "next.config.js", "package.json", "tsconfig.json"], | |
"cache": false | |
}, | |
"@me/application-a#start": { | |
"cache": false | |
}, | |
"@me/application-a#test": { | |
"dependsOn": ["^build"], | |
"inputs": ["**/*.spec.ts", "**/*.spec.tsx"] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment