From bb63f96669805ac90743c9ced0406549d7f4340b Mon Sep 17 00:00:00 2001 From: Nacho Vazquez Date: Tue, 28 May 2024 10:03:52 -0300 Subject: [PATCH] fix: replace yarn with pnpm --- CONTRIBUTING.md | 10 +++++----- nx.json | 2 +- package.json | 4 ++-- packages/ngworker/lumberjack/project.json | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a4522703c..71f9488a2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -7,26 +7,26 @@ Start by installing all dependencies: ```bash -yarn +pnpm install ``` Run the tests: ```bash -yarn test -yarn e2e +pnpm exec test +pnpm exec e2e ``` Run the playground app: ```bash -yarn start +pnpm exec start ``` ## Building ```bash -yarn build +pnpm exec build ``` ## Coding Rules diff --git a/nx.json b/nx.json index 27b296da1..8bfe77350 100644 --- a/nx.json +++ b/nx.json @@ -1,7 +1,7 @@ { "$schema": "./node_modules/nx/schemas/nx-schema.json", "cli": { - "packageManager": "yarn" + "packageManager": "pnpm" }, "generators": { "@nx/angular:application": { diff --git a/package.json b/package.json index ecf2be15d..bbc6e198b 100644 --- a/package.json +++ b/package.json @@ -5,12 +5,12 @@ "private": true, "scripts": { "build": "nx run-many --target=build --all", - "ci": "yarn lint && yarn test && yarn build && yarn e2e", + "ci": "pnpm exec lint && pnpm exec test && pnpm exec build && yarn e2e", "clean": "rimraf dist coverage reports", "configure-sonar-report-paths": "node tools/scripts/configure-sonar-report-paths.mjs", "delete-path-alias": "node tools/scripts/delete-path-alias.mjs", "e2e": "nx run-many --target=e2e --all --parallel=1", - "format": "yarn nx format:write", + "format": "pnpm exec nx format:write", "lint": "nx run-many --target=lint --all --max-warnings=0", "nx": "nx", "start": "nx serve", diff --git a/packages/ngworker/lumberjack/project.json b/packages/ngworker/lumberjack/project.json index 6f5f10ea8..01a515c80 100644 --- a/packages/ngworker/lumberjack/project.json +++ b/packages/ngworker/lumberjack/project.json @@ -24,13 +24,13 @@ "production": { "commands": [ "nx run ngworker-lumberjack:build-package:production", - "yarn copy README.md dist/packages/ngworker/lumberjack" + "pnpm exec copy README.md dist/packages/ngworker/lumberjack" ] }, "development": { "commands": [ "nx run ngworker-lumberjack:build-package:development", - "yarn copy README.md dist/packages/ngworker/lumberjack" + "pnpm exec copy README.md dist/packages/ngworker/lumberjack" ] } },