Skip to content

Commit

Permalink
Merge pull request #6493 from spwoodcock/fix/react-placeholder
Browse files Browse the repository at this point in the history
Fix react-placeholder peerDependency conflict (React v18)
  • Loading branch information
dakotabenjamin authored Jul 30, 2024
2 parents c847eba + 717a217 commit 0f63180
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"react-hot-toast": "^2.4.1",
"react-intl": "^6.4.4",
"react-meta-elements": "^1.0.0",
"react-placeholder": "^4.1.0",
"react-placeholder": "git+https://github.com/hotosm/react-placeholder.git",
"react-redux": "^8.1.1",
"react-router-dom": "^6.13.0",
"react-select": "^5.7.3",
Expand Down
7 changes: 3 additions & 4 deletions frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12258,10 +12258,9 @@ react-onclickoutside@^6.13.0:
resolved "https://registry.yarnpkg.com/react-onclickoutside/-/react-onclickoutside-6.13.0.tgz#e165ea4e5157f3da94f4376a3ab3e22a565f4ffc"
integrity sha512-ty8So6tcUpIb+ZE+1HAhbLROvAIJYyJe/1vRrrcmW+jLsaM+/powDRqxzo6hSh9CuRZGSL1Q8mvcF5WRD93a0A==

react-placeholder@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/react-placeholder/-/react-placeholder-4.1.0.tgz#943128820b3b0a6f94371655aadec18d306e05e3"
integrity sha512-z1HGD86NWJTYTQumHsmGH9jkozv4QHa9dju/vHVUd4f1svu23pf5v7QoBLBfs3kA1S9GLJaCeRMHLbO2SCdz5A==
"react-placeholder@git+https://github.com/hotosm/react-placeholder.git":
version "4.2.0"
resolved "git+https://github.com/hotosm/react-placeholder.git#ef6301c4a017b91513c2c4b091d291d82d8b5916"

react-popper@^2.3.0:
version "2.3.0"
Expand Down
3 changes: 2 additions & 1 deletion scripts/docker/Dockerfile.frontend
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ WORKDIR /usr/src/app/frontend
COPY frontend .

## SETUP
RUN npm install
RUN git config --global url.https://github.com/.insteadOf [email protected]: \
&& npm install --ignore-scripts

# SERVE
COPY tasking-manager.env ..
Expand Down

0 comments on commit 0f63180

Please sign in to comment.