woocommerce/turbo.json

92 lines
1.7 KiB
JSON
Raw Normal View History

{
"$schema": "https://turborepo.org/schema.json",
"pipeline": {
"build:feature-config": {
"cache": false
},
"build:assets-cleanup": {
"cache": false
},
"turbo:build": {
"dependsOn": [ "build:feature-config", "build:assets-cleanup", "^turbo:build", "$WC_ADMIN_PHASE" ],
"inputs": [
"src/**/*.js",
"src/**/*.jsx",
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.php",
"includes/**/*.php"
],
"outputs": [
"dist/**",
"build/**",
"build-module/**",
"build-style/**",
"build-types/**"
],
"outputMode": "new-only"
},
"woocommerce#turbo:build": {
"dependsOn": [
"build:feature-config",
"build:assets-cleanup",
"^turbo:build",
"woocommerce/client/admin#turbo:build",
"woocommerce/client/legacy#turbo:build"
],
"outputs": [],
"inputs": [
"src/**/*.php",
"includes/**/*.php"
],
"outputMode": "new-only"
},
"woocommerce#build:zip": {
"dependsOn": [
"^build:assets-cleanup"
]
},
"woocommerce/client/legacy#turbo:build": {
"dependsOn": [ "build:assets-cleanup", "^turbo:build" ],
"outputs": [
"../../assets/js/**",
"../../assets/css/**"
],
"inputs": [
"css/**/*.scss",
"css/**/*.css",
"js/**/*.js"
],
"outputMode": "new-only"
},
"woocommerce/client/admin#turbo:build": {
"dependsOn": [
"build:feature-config",
"^turbo:build",
"$WC_ADMIN_PHASE"
],
"outputs": [
"../woocommerce/assets/client/admin/**"
],
"inputs": [
"client/**/*.js",
"client/**/*.jsx",
"client/**/*.ts",
"client/**/*.tsx",
"client/**/*.scss"
],
"outputMode": "new-only"
},
"turbo:test": {
"cache": false,
"dependsOn": [ "turbo:build" ],
"outputs": []
}
}
}