Expanded Turbo Task Inputs (#33542)
Turbo's globbing syntax for directory wildcards does not find files in the root directory of the search. This commit adds to the inputs so that it will consider the right files.
This commit is contained in:
parent
3669426bd6
commit
7d878c4e47
43
turbo.json
43
turbo.json
|
@ -12,12 +12,18 @@
|
|||
"build": {
|
||||
"dependsOn": [ "^build" ],
|
||||
"inputs": [
|
||||
"src/**.js",
|
||||
"src/**.jsx",
|
||||
"src/**.ts",
|
||||
"src/**.tsx",
|
||||
"src/**.php",
|
||||
"includes/**.php"
|
||||
"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/**",
|
||||
|
@ -35,21 +41,28 @@
|
|||
],
|
||||
"outputs": [],
|
||||
"inputs": [
|
||||
"src/**.php",
|
||||
"includes/**.php",
|
||||
"!legacy/**"
|
||||
"src/*.php",
|
||||
"src/**/*.php",
|
||||
"includes/*.php",
|
||||
"includes/**/*.php"
|
||||
]
|
||||
},
|
||||
|
||||
"test": {
|
||||
"dependsOn": [ "build" ],
|
||||
"inputs": [
|
||||
"src/**.js",
|
||||
"src/**.jsx",
|
||||
"src/**.ts",
|
||||
"src/**.tsx",
|
||||
"src/**.php",
|
||||
"includes/**.php"
|
||||
"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": []
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue