Skip to content

Commit

Permalink
Use npx nx over nx
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperpeulen committed Dec 4, 2024
1 parent d6b4e7b commit 53c66f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/tasks/check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions scripts/tasks/compile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 53c66f9

Please sign in to comment.