Skip to content

Commit

Permalink
Update dependencies and re-lock without legacy peer deps (#7785)
Browse files Browse the repository at this point in the history
* avoid using legacy peer deps for npm dependencies

* fix glob

* update patch versions of dependencies

* update readme: remove `--legacy-peer-deps` from docs

* remove legacy-peer-deps from dockerfile

---------

Co-authored-by: Rithvik Nishad <mail@rithviknishad.dev>
  • Loading branch information
sainak and rithviknishad committed May 15, 2024
1 parent e6c6b7b commit 0d83e5f
Show file tree
Hide file tree
Showing 6 changed files with 2,645 additions and 1,758 deletions.
2 changes: 0 additions & 2 deletions .npmrc

This file was deleted.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN if [ "$(uname -m)" = "aarch64" ] || [ "$(uname -m)" = "arm64" ]; then apt-ge

COPY package.json package-lock.json ./

RUN npm install --legacy-peer-deps
RUN npm install

COPY . .

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#### Install the required dependencies

```sh
npm install --legacy-peer-deps
npm install
```

#### 🏃 Run the app in development mode
Expand Down

0 comments on commit 0d83e5f

Please sign in to comment.