From 53c66f963e894e665eddc3798a98f63db7746281 Mon Sep 17 00:00:00 2001 From: Kasper Peulen Date: Wed, 4 Dec 2024 14:37:33 +0100 Subject: [PATCH] Use npx nx over nx --- scripts/tasks/check.ts | 4 ++-- scripts/tasks/compile.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/tasks/check.ts b/scripts/tasks/check.ts index 4089728b580a..a3f4edf31f2b 100644 --- a/scripts/tasks/check.ts +++ b/scripts/tasks/check.ts @@ -7,8 +7,8 @@ const amountOfVCPUs = 8; const parallel = `--parallel=${process.env.CI ? amountOfVCPUs - 1 : maxConcurrentTasks}`; -const linkCommand = `yarn nx affected -t check ${parallel}`; -const nolinkCommand = `yarn nx affected -t check -c production ${parallel}`; +const linkCommand = `npx nx affected -t check ${parallel}`; +const nolinkCommand = `npx nx affected -t check -c production ${parallel}`; export const check: Task = { description: 'Typecheck the source code of the monorepo', diff --git a/scripts/tasks/compile.ts b/scripts/tasks/compile.ts index e2987b6f0001..dc8bfb7f3f6c 100644 --- a/scripts/tasks/compile.ts +++ b/scripts/tasks/compile.ts @@ -12,8 +12,8 @@ const amountOfVCPUs = 4; const parallel = `--parallel=${process.env.CI ? amountOfVCPUs - 1 : maxConcurrentTasks}`; const linkedContents = `export * from '../../src/manager-api/index.ts';`; -const linkCommand = `yarn nx run-many -t build ${parallel}`; -const noLinkCommand = `yarn nx run-many -t build -c production ${parallel}`; +const linkCommand = `npx nx run-many -t build ${parallel}`; +const noLinkCommand = `npx nx run-many -t build -c production ${parallel}`; export const compile: Task = { description: 'Compile the source code of the monorepo',