Skip to content

Commit

Permalink
fix: replace yarn with pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
nacho-vazquez committed May 28, 2024
1 parent b55ee5c commit bb63f96
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

## <a name="rules"></a> Coding Rules
Expand Down
2 changes: 1 addition & 1 deletion nx.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"cli": {
"packageManager": "yarn"
"packageManager": "pnpm"
},
"generators": {
"@nx/angular:application": {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/ngworker/lumberjack/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
},
Expand Down

0 comments on commit bb63f96

Please sign in to comment.