woocommerce/turbo.json

100 lines
2.6 KiB
JSON
Raw Normal View History

{
"$schema": "https://turborepo.org/schema.json",
"baseBranch": "origin/trunk",
"pipeline": {
"lint": {
"cache": false
},
"lint:fix": {
"cache": false
},
"build": {
"dependsOn": [ "^build", "$WC_ADMIN_PHASE" ],
"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"
]
},
"woocommerce/client/admin#build": {
"dependsOn": [ "^build", "$WC_ADMIN_PHASE" ],
"outputs": [],
"inputs": [
"client/*.js",
"client/**/*.js",
"client/*.jsx",
"client/**/*.jsx",
"client/*.ts",
"client/**/*.ts",
"client/*.tsx",
"client/**/*.tsx",
"client/*.scss",
"client/**/*.scss"
]
},
"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
}
}
}