Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(all): Change npm commands since yarn is the default package manager #204

Merged
merged 2 commits into from
Dec 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading