Skip to content

Commit

Permalink
Merge pull request #204 from carlos-ds/refactor/change-npm-references
Browse files Browse the repository at this point in the history
refactor(all): Change npm commands since yarn is the default package manager
  • Loading branch information
spierala authored Dec 24, 2023
2 parents 81e53ac + 7e03ff3 commit 4a91e79
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,24 @@ MiniRx Store uses [NX](https://nx.dev/) to manage several libraries and apps in

Install the dependencies:
```shell
npm i
yarn install
```

## Run

Start the demo app with a watcher on the app and library code.
```shell
npm run dev
yarn dev
```

## Test

```shell
npm run test:mini-rx-store:watch
yarn test:mini-rx-store:watch
```

```shell
npm run test:mini-rx-store-ng:watch
yarn test:mini-rx-store-ng:watch
```

## Questions and requests for support
Expand Down
4 changes: 2 additions & 2 deletions apps/mini-rx-angular-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ This demo uses both the Redux API and the Feature Store API:

### Install dependencies

`npm install`
`yarn install`

### Run the demo

`npm run start:angular-demo`
`yarn start:angular-demo`

### NX

Expand Down
2 changes: 1 addition & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"defaultBase": "main"
},
"cli": {
"packageManager": "npm"
"packageManager": "yarn"
},
"tasksRunnerOptions": {
"default": {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"test:mini-rx-store-ng": "nx test mini-rx-store-ng",
"test:mini-rx-store-ng:watch": "nx test mini-rx-store-ng --watch",
"test:mini-rx-store-ng:coverage": "nx test mini-rx-store-ng --codeCoverage",
"deploy:docs": "npm run deploy --prefix docs",
"deploy:docs": "cd docs && yarn deploy",
"build:mini-rx-angular-demo:sourcemap": "nx build mini-rx-angular-demo --source-map",
"build:mini-rx-angular-demo:sourcemap:stats": "npm run build:mini-rx-angular-demo:sourcemap && source-map-explorer dist/apps/mini-rx-angular-demo/**/*.js",
"build:mini-rx-angular-demo:sourcemap:stats": "yarn build:mini-rx-angular-demo:sourcemap && source-map-explorer dist/apps/mini-rx-angular-demo/**/*.js",
"prepare": "husky install"
},
"private": true,
Expand Down

0 comments on commit 4a91e79

Please sign in to comment.