From 1861d30b30d3431b9015dfd3035ffd8d7803a0a9 Mon Sep 17 00:00:00 2001 From: joostdecock Date: Tue, 10 Dec 2024 13:57:57 +0100 Subject: [PATCH] fix: Invoke nx with npx --- package.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index ab0c1909ca6..955e6ab957c 100644 --- a/package.json +++ b/package.json @@ -17,15 +17,15 @@ "org": "cd sites/org && npm run start", "dev": "cd sites/dev && npm run start", "kickstart": "npm install && husky && npm run buildall && npm run tips", - "cleanall": "nx run-many --target=clean", - "test": "nx run-many --target=test", - "e2e": "nx run-many --target=e2e", + "cleanall": "npx nx run-many --target=clean", + "test": "npx nx run-many --target=test", + "e2e": "npx nx run-many --target=e2e", "prettier": "npx prettier --write 'config/*' 'config/**/*' 'packages/**/src/*.mjs' 'packages/i18n/src/locales/**/*.*' 'packages/**/tests/*.mjs' 'packages/react-components/src/**/*.mjs'", "reconfigure": "all-contributors generate && node --experimental-json-modules --no-warnings scripts/reconfigure.mjs", "sitebuildconfigure": "SITEBUILD=1 node --experimental-json-modules --no-warnings scripts/reconfigure.mjs", - "buildall": "nx run-many --target=build:all", - "build": "nx run-many --target=buildall", - "wbuild": "nx run-many --target=wbuild:all", + "buildall": "npx nx run-many --target=build:all", + "build": "npx nx run-many --target=buildall", + "wbuild": "npx nx run-many --target=wbuild:all", "testall": "node scripts/testall.js", "lint": "LINTER=1 nx run-many --target=lint -- ", "qa": "npm run qa:prettier && npm run qa:lint", @@ -42,7 +42,7 @@ "checkdocs": "remark markdown --quiet --frail", "strapi:translate": "node scripts/strapi-en-to-other.mjs", "fixdocs": "remark markdown --quiet --frail --output", - "wbuildall": "nx run-many --target=wbuildall" + "wbuildall": "npx nx run-many --target=wbuildall" }, "repository": { "type": "git",