diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a4522703..71f9488a 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 27b296da..8bfe7735 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 ecf2be15..bbc6e198 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 6f5f10ea..01a515c8 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" ] } },