🔧(global) setup Turborepo and package.json
Add configuration files to make use of Turborepo. Setup constraints values for package.json regarding node and package manager.
This commit is contained in:
39
turbo.json
Normal file
39
turbo.json
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"$schema": "https://turbo.build/schema.json",
|
||||
"pipeline": {
|
||||
"build": {
|
||||
"dependsOn": [
|
||||
"^build"
|
||||
],
|
||||
"outputs": [
|
||||
"dist/**"
|
||||
]
|
||||
},
|
||||
"lint": {
|
||||
"outputs": []
|
||||
},
|
||||
"dev": {
|
||||
"cache": false,
|
||||
"dependsOn": [
|
||||
"^dev"
|
||||
]
|
||||
},
|
||||
"test": {
|
||||
"outputs": [],
|
||||
"inputs": [
|
||||
"src/**/*.tsx",
|
||||
"src/**/*.ts",
|
||||
"test/**/*.ts",
|
||||
"test/**/*.tsx"
|
||||
]
|
||||
},
|
||||
"deploy": {
|
||||
"dependsOn": [
|
||||
"build",
|
||||
"test",
|
||||
"lint"
|
||||
],
|
||||
"outputs": []
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user