From 46a5be2843e2d50d95bf31c2bc4fdf216b8e3ce6 Mon Sep 17 00:00:00 2001 From: Paul Chavard Date: Wed, 20 Mar 2019 16:28:56 +0300 Subject: [PATCH] Add fontawesom icons for React --- package.json | 11 +++++++---- yarn.lock | 34 +++++++++++++++++++++++++++++++++- 2 files changed, 40 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 12a2d4acd..2963c8048 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,11 @@ { "dependencies": { + "@babel/preset-react": "^7.0.0", + "@fortawesome/fontawesome-svg-core": "^1.2.15", + "@fortawesome/free-solid-svg-icons": "^5.7.2", + "@fortawesome/react-fontawesome": "^0.1.4", "@rails/webpacker": "4.0.0-pre.3", "@sentry/browser": "^4.6.5", - "@babel/preset-react": "^7.0.0", "@turf/area": "^6.0.1", "activestorage": "^5.2.2", "autocomplete.js": "^0.36.0", @@ -11,15 +14,15 @@ "dom4": "^2.1.3", "highcharts": "^6.1.2", "jquery": "^3.3.1", - "leaflet": "^1.3.4", "leaflet-freedraw": "^2.9.0", + "leaflet": "^1.3.4", "prop-types": "^15.7.2", "rails-ujs": "^5.2.2", "ramda": "^0.25.0", - "react": "^16.8.4", + "react_ujs": "^2.4.4", "react-dom": "^16.8.4", "react-sortable-hoc": "^1.7.1", - "react_ujs": "^2.4.4", + "react": "^16.8.4", "select2": "^4.0.6-rc.1", "turbolinks": "^5.2.0" }, diff --git a/yarn.lock b/yarn.lock index 0393dc910..25610d6dc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -773,6 +773,33 @@ resolved "https://registry.yarnpkg.com/@csstools/convert-colors/-/convert-colors-1.4.0.tgz#ad495dc41b12e75d588c6db8b9834f08fa131eb7" integrity sha512-5a6wqoJV/xEdbRNKVo6I4hO3VjyDq//8q2f9I6PBAvMesJHFauXDorcNCsr9RzvsZnaWi5NYCcfyqP1QeFHFbw== +"@fortawesome/fontawesome-common-types@^0.2.15": + version "0.2.15" + resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-0.2.15.tgz#16af950653083d1e3064061de9f8e5e3b579f688" + integrity sha512-ATBRyKJw1d2ko+0DWN9+BXau0EK3I/Q6pPzPv3LhJD7r052YFAkAdfb1Bd7ZqhBsJrdse/S7jKxWUOZ61qBD4g== + +"@fortawesome/fontawesome-svg-core@^1.2.15": + version "1.2.15" + resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-1.2.15.tgz#368f9fc7e8e8d8636495dc7483f97510f920ba97" + integrity sha512-M/sHyl4g2VBtKYkay1Z+XImMyTVcaBPmehYtPw4HKD9zg2E7eovB7Yx98aUfZjPbroGqa+IL4/+KhWBMOGlHIQ== + dependencies: + "@fortawesome/fontawesome-common-types" "^0.2.15" + +"@fortawesome/free-solid-svg-icons@^5.7.2": + version "5.7.2" + resolved "https://registry.yarnpkg.com/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-5.7.2.tgz#9ec2ed353d630092a8e19cc8aae2f716572963e5" + integrity sha512-iujcXMyAvIbWM8W3jkOLpvJbR+rPpdN1QyqhZeJaLRdHPH4JmuovIAYP4vx5Sa1csZVXfRD1eDWqVZ/jGM620A== + dependencies: + "@fortawesome/fontawesome-common-types" "^0.2.15" + +"@fortawesome/react-fontawesome@^0.1.4": + version "0.1.4" + resolved "https://registry.yarnpkg.com/@fortawesome/react-fontawesome/-/react-fontawesome-0.1.4.tgz#18d61d9b583ca289a61aa7dccc05bd164d6bc9ad" + integrity sha512-GwmxQ+TK7PEdfSwvxtGnMCqrfEm0/HbRHArbUudsYiy9KzVCwndxa2KMcfyTQ8El0vROrq8gOOff09RF1oQe8g== + dependencies: + humps "^2.0.1" + prop-types "^15.5.10" + "@rails/webpacker@4.0.0-pre.3": version "4.0.0-pre.3" resolved "https://registry.yarnpkg.com/@rails/webpacker/-/webpacker-4.0.0-pre.3.tgz#8974c98ba6f2fbe4e67e6d2b7812ee5d817d29e8" @@ -4271,6 +4298,11 @@ https-browserify@^1.0.0: resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" integrity sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM= +humps@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/humps/-/humps-2.0.1.tgz#dd02ea6081bd0568dc5d073184463957ba9ef9aa" + integrity sha1-3QLqYIG9BWjcXQcxhEY5V7qe+ao= + iconv-lite@0.4.19: version "0.4.19" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b" @@ -7017,7 +7049,7 @@ promise-inflight@^1.0.1: resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" integrity sha1-mEcocL8igTL8vdhoEputEsPAKeM= -prop-types@^15.5.7, prop-types@^15.6.2, prop-types@^15.7.2: +prop-types@^15.5.10, prop-types@^15.5.7, prop-types@^15.6.2, prop-types@^15.7.2: version "15.7.2" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5" integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==