woocommerce/turbo.json

71 lines
1.7 KiB
JSON

{
"$schema": "https://turborepo.org/schema.json",
"baseBranch": "origin/trunk",
"pipeline": {
"lint": {
"cache": false
},
"lint:fix": {
"cache": false
},
"build": {
"dependsOn": [ "^build" ],
"inputs": [
"src/**.js",
"src/**.jsx",
"src/**.ts",
"src/**.tsx",
"src/**.php",
"includes/**.php"
],
"outputs": [
"dist/**",
"build/**",
"build-module/**",
"build-style/**",
"build-types/**"
]
},
"woocommerce#build": {
"dependsOn": [
"^build",
"@woocommerce/admin-library#build",
"woocommerce/client/legacy#build"
],
"outputs": [],
"inputs": [
"src/**.php",
"includes/**.php",
"!legacy/**"
]
},
"test": {
"dependsOn": [ "build" ],
"inputs": [
"src/**.js",
"src/**.jsx",
"src/**.ts",
"src/**.tsx",
"src/**.php",
"includes/**.php"
],
"outputs": []
},
"e2e": {
"dependsOn": [ "build" ],
"cache": false
},
"e2e:debug": {
"dependsOn": [ "build" ],
"cache": false
},
"e2e:dev": {
"dependsOn": [ "build" ],
"cache": false
}
}
}