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:
Christopher Allford 2022-06-22 15:32:29 -07:00 committed by GitHub
parent 3669426bd6
commit 7d878c4e47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 15 deletions

View File

@ -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": []
},