1 year ago

#385899

test-img

János

How to upgrade fontawesome with yarn?

package.json has following lines:

  "dependencies": {
    "@date-io/date-fns": "^1.3.13",
    "@fortawesome/fontawesome-svg-core": "^1.2.35",
    "@fortawesome/free-solid-svg-icons": "^5.15.3",
    "@fortawesome/react-fontawesome": "^0.1.14",

I did a yarn upgrade but version numbers does not increase. Why? I see in their website there is already version 6.1.1.

https://fontawesome.com/docs/web/setup/packages

And also yarn upgrade warns me to upgrade. How can I upgrade if not with yarn upgrade?

yarn upgrade v1.22.17
[1/4] 🔍  Resolving packages...
warning @fortawesome/fontawesome-svg-core@1.3.0: Please upgrade to 6.1.0. https://fontawesome.com/docs/changelog/
warning @fortawesome/fontawesome-svg-core > @fortawesome/fontawesome-common-types@0.3.0: Please upgrade to 6.1.0. https://fontawesome.com/docs/changelog/

reactjs

typescript

next.js

font-awesome

yarnpkg

0 Answers

Your Answer

Accepted video resources