woocommerce/turbo.json

84 lines
2.1 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/**/*.js",
"src/*.jsx",
"src/**/*.jsx",
"src/*.ts",
"src/**/*.ts",
"src/*.tsx",
"src/**/*.tsx",
"src/*.php",
"src/**/*.php",
"includes/*.php",
"includes/**/*.php"
],
"outputs": [
"dist/**",
"build/**",
"build-module/**",
"build-style/**",
"build-types/**"
]
},
"woocommerce#build": {
"dependsOn": [
"^build",
"woocommerce/client/admin#build",
"woocommerce/client/legacy#build"
],
"outputs": [],
"inputs": [
"src/*.php",
"src/**/*.php",
"includes/*.php",
"includes/**/*.php"
]
},
"test": {
"dependsOn": [ "build" ],
"inputs": [
"src/*.js",
"src/**/*.js",
"src/*.jsx",
"src/**/*.jsx",
"src/*.ts",
"src/**/*.ts",
"src/*.tsx",
"src/**/*.tsx",
"src/*.php",
"src/**/*.php",
"includes/*.php",
"includes/**/*.php"
],
"outputs": []
},
"e2e": {
"dependsOn": [ "build" ],
"cache": false
},
"e2e:debug": {
"dependsOn": [ "build" ],
"cache": false
},
"e2e:dev": {
"dependsOn": [ "build" ],
"cache": false
}
}
}