Merge pull request #31573 from woocommerce/grunt/app-level

Use application installed Grunt instead of requiring global install
This commit is contained in:
jonathansadowski 2022-01-05 16:23:09 -06:00 committed by GitHub
commit 6e2bc89824
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@
"options": {
"commands": [
{
"command": "grunt assets",
"command": "pnpx grunt assets",
"forwardAllArgs": false
}
],
@ -25,11 +25,11 @@
"options": {
"commands": [
{
"command": "grunt eslint",
"command": "pnpx grunt eslint",
"forwardAllArgs": false
},
{
"command": "grunt stylelint",
"command": "pnpx grunt stylelint",
"forwardAllArgs": false
}
],

View File

@ -53,7 +53,7 @@
"build-watch": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"command": "grunt watch",
"command": "pnpx grunt watch",
"cwd": "plugins/woocommerce/legacy"
}
},