From 0f67d858e92b7e0c736f691b1406a1329d8d8756 Mon Sep 17 00:00:00 2001 From: roykho Date: Wed, 5 Jan 2022 13:18:09 -0800 Subject: [PATCH] Use application installed Grunt instead of requiring global install --- plugins/woocommerce/legacy/project.json | 6 +++--- plugins/woocommerce/project.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/woocommerce/legacy/project.json b/plugins/woocommerce/legacy/project.json index 12ae5f2a2f9..7043c74e3f2 100644 --- a/plugins/woocommerce/legacy/project.json +++ b/plugins/woocommerce/legacy/project.json @@ -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 } ], diff --git a/plugins/woocommerce/project.json b/plugins/woocommerce/project.json index b59b43e9d79..2a421ba0e83 100644 --- a/plugins/woocommerce/project.json +++ b/plugins/woocommerce/project.json @@ -53,7 +53,7 @@ "build-watch": { "executor": "@nrwl/workspace:run-commands", "options": { - "command": "grunt watch", + "command": "pnpx grunt watch", "cwd": "plugins/woocommerce/legacy" } },