Add configuration files to make use of Turborepo. Setup constraints values for package.json regarding node and package manager.
40 lines
596 B
JSON
40 lines
596 B
JSON
{
|
|
"$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": []
|
|
}
|
|
}
|
|
}
|