Skip to content

Commit 58b59bc

Browse files
committed
📦 NEW: Add React router
1 parent 4d50642 commit 58b59bc

File tree

2 files changed

+92
-3
lines changed

2 files changed

+92
-3
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"postcss-cli": "^7.1.1",
1414
"react": "^16.13.1",
1515
"react-dom": "^16.13.1",
16+
"react-router-dom": "^5.2.0",
1617
"react-scripts": "3.4.1",
1718
"react-spring": "^8.0.27",
1819
"tailwindcss": "^1.6.2"

yarn.lock

Lines changed: 91 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,7 @@
11101110
dependencies:
11111111
regenerator-runtime "^0.13.4"
11121112

1113-
"@babel/runtime@^7.0.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.10.3", "@babel/runtime@^7.3.1", "@babel/runtime@^7.3.4", "@babel/runtime@^7.4.5", "@babel/runtime@^7.5.1", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4":
1113+
"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.10.2", "@babel/runtime@^7.10.3", "@babel/runtime@^7.3.1", "@babel/runtime@^7.3.4", "@babel/runtime@^7.4.5", "@babel/runtime@^7.5.1", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4":
11141114
version "7.11.0"
11151115
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.11.0.tgz#f10245877042a815e07f7e693faff0ae9d3a2aac"
11161116
integrity sha512-qArkXsjJq7H+T86WrIFV0Fnu/tNOkZ4cgXmjkzAu3b/58D5mFIO8JH/y77t7C9q0OdDRdh9s7Ue5GasYssxtXw==
@@ -5292,6 +5292,18 @@ hex-color-regex@^1.1.0:
52925292
resolved "https://registry.yarnpkg.com/hex-color-regex/-/hex-color-regex-1.1.0.tgz#4c06fccb4602fe2602b3c93df82d7e7dbf1a8a8e"
52935293
integrity sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==
52945294

5295+
history@^4.9.0:
5296+
version "4.10.1"
5297+
resolved "https://registry.yarnpkg.com/history/-/history-4.10.1.tgz#33371a65e3a83b267434e2b3f3b1b4c58aad4cf3"
5298+
integrity sha512-36nwAD620w12kuzPAsyINPWJqlNbij+hpK1k9XRloDtym8mxzGYl2c17LnV6IAGB2Dmg4tEa7G7DlawS0+qjew==
5299+
dependencies:
5300+
"@babel/runtime" "^7.1.2"
5301+
loose-envify "^1.2.0"
5302+
resolve-pathname "^3.0.0"
5303+
tiny-invariant "^1.0.2"
5304+
tiny-warning "^1.0.0"
5305+
value-equal "^1.0.1"
5306+
52955307
hmac-drbg@^1.0.0:
52965308
version "1.0.1"
52975309
resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1"
@@ -5301,6 +5313,13 @@ hmac-drbg@^1.0.0:
53015313
minimalistic-assert "^1.0.0"
53025314
minimalistic-crypto-utils "^1.0.1"
53035315

5316+
hoist-non-react-statics@^3.1.0:
5317+
version "3.3.2"
5318+
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45"
5319+
integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==
5320+
dependencies:
5321+
react-is "^16.7.0"
5322+
53045323
hosted-git-info@^2.1.4:
53055324
version "2.8.8"
53065325
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.8.tgz#7539bd4bc1e0e0a895815a2e0262420b12858488"
@@ -5982,6 +6001,11 @@ is-wsl@^2.1.1:
59826001
dependencies:
59836002
is-docker "^2.0.0"
59846003

6004+
isarray@0.0.1:
6005+
version "0.0.1"
6006+
resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf"
6007+
integrity sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=
6008+
59856009
isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0:
59866010
version "1.0.0"
59876011
resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
@@ -6855,7 +6879,7 @@ loglevel@^1.6.6:
68556879
resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.8.tgz#8a25fb75d092230ecd4457270d80b54e28011171"
68566880
integrity sha512-bsU7+gc9AJ2SqpzxwU3+1fedl8zAntbtC5XYlt3s2j1hJcn2PsXSmgN8TaLG/J1/2mod4+cE/3vNL70/c1RNCA==
68576881

6858-
loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0:
6882+
loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.2.0, loose-envify@^1.3.1, loose-envify@^1.4.0:
68596883
version "1.4.0"
68606884
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
68616885
integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==
@@ -7072,6 +7096,14 @@ min-indent@^1.0.0:
70727096
resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869"
70737097
integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==
70747098

7099+
mini-create-react-context@^0.4.0:
7100+
version "0.4.0"
7101+
resolved "https://registry.yarnpkg.com/mini-create-react-context/-/mini-create-react-context-0.4.0.tgz#df60501c83151db69e28eac0ef08b4002efab040"
7102+
integrity sha512-b0TytUgFSbgFJGzJqXPKCFCBWigAjpjo+Fl7Vf7ZbKRDptszpppKxXH6DRXEABZ/gcEQczeb0iZ7JvL8e8jjCA==
7103+
dependencies:
7104+
"@babel/runtime" "^7.5.5"
7105+
tiny-warning "^1.0.3"
7106+
70757107
mini-css-extract-plugin@0.9.0:
70767108
version "0.9.0"
70777109
resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-0.9.0.tgz#47f2cf07aa165ab35733b1fc97d4c46c0564339e"
@@ -7856,6 +7888,13 @@ path-to-regexp@0.1.7:
78567888
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c"
78577889
integrity sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=
78587890

7891+
path-to-regexp@^1.7.0:
7892+
version "1.8.0"
7893+
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-1.8.0.tgz#887b3ba9d84393e87a0a0b9f4cb756198b53548a"
7894+
integrity sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==
7895+
dependencies:
7896+
isarray "0.0.1"
7897+
78597898
path-type@^2.0.0:
78607899
version "2.0.0"
78617900
resolved "https://registry.yarnpkg.com/path-type/-/path-type-2.0.0.tgz#f012ccb8415b7096fc2daa1054c3d72389594c73"
@@ -9019,11 +9058,40 @@ react-error-overlay@^6.0.7:
90199058
resolved "https://registry.yarnpkg.com/react-error-overlay/-/react-error-overlay-6.0.7.tgz#1dcfb459ab671d53f660a991513cb2f0a0553108"
90209059
integrity sha512-TAv1KJFh3RhqxNvhzxj6LeT5NWklP6rDr2a0jaTfsZ5wSZWHOGeqQyejUp3xxLfPt2UpyJEcVQB/zyPcmonNFA==
90219060

9022-
react-is@^16.12.0, react-is@^16.8.1, react-is@^16.8.4:
9061+
react-is@^16.12.0, react-is@^16.6.0, react-is@^16.7.0, react-is@^16.8.1, react-is@^16.8.4:
90239062
version "16.13.1"
90249063
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"
90259064
integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==
90269065

9066+
react-router-dom@^5.2.0:
9067+
version "5.2.0"
9068+
resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-5.2.0.tgz#9e65a4d0c45e13289e66c7b17c7e175d0ea15662"
9069+
integrity sha512-gxAmfylo2QUjcwxI63RhQ5G85Qqt4voZpUXSEqCwykV0baaOTQDR1f0PmY8AELqIyVc0NEZUj0Gov5lNGcXgsA==
9070+
dependencies:
9071+
"@babel/runtime" "^7.1.2"
9072+
history "^4.9.0"
9073+
loose-envify "^1.3.1"
9074+
prop-types "^15.6.2"
9075+
react-router "5.2.0"
9076+
tiny-invariant "^1.0.2"
9077+
tiny-warning "^1.0.0"
9078+
9079+
react-router@5.2.0:
9080+
version "5.2.0"
9081+
resolved "https://registry.yarnpkg.com/react-router/-/react-router-5.2.0.tgz#424e75641ca8747fbf76e5ecca69781aa37ea293"
9082+
integrity sha512-smz1DUuFHRKdcJC0jobGo8cVbhO3x50tCL4icacOlcwDOEQPq4TMqwx3sY1TP+DvtTgz4nm3thuo7A+BK2U0Dw==
9083+
dependencies:
9084+
"@babel/runtime" "^7.1.2"
9085+
history "^4.9.0"
9086+
hoist-non-react-statics "^3.1.0"
9087+
loose-envify "^1.3.1"
9088+
mini-create-react-context "^0.4.0"
9089+
path-to-regexp "^1.7.0"
9090+
prop-types "^15.6.2"
9091+
react-is "^16.6.0"
9092+
tiny-invariant "^1.0.2"
9093+
tiny-warning "^1.0.0"
9094+
90279095
react-scripts@3.4.1:
90289096
version "3.4.1"
90299097
resolved "https://registry.yarnpkg.com/react-scripts/-/react-scripts-3.4.1.tgz#f551298b5c71985cc491b9acf3c8e8c0ae3ada0a"
@@ -9404,6 +9472,11 @@ resolve-from@^4.0.0:
94049472
resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6"
94059473
integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==
94069474

9475+
resolve-pathname@^3.0.0:
9476+
version "3.0.0"
9477+
resolved "https://registry.yarnpkg.com/resolve-pathname/-/resolve-pathname-3.0.0.tgz#99d02224d3cf263689becbb393bc560313025dcd"
9478+
integrity sha512-C7rARubxI8bXFNB/hqcp/4iUeIXJhJZvFPFPiSPRnhU5UPxzMFIl+2E6yY6c4k9giDJAhtV+enfA+G89N6Csng==
9479+
94079480
resolve-url-loader@3.1.1:
94089481
version "3.1.1"
94099482
resolved "https://registry.yarnpkg.com/resolve-url-loader/-/resolve-url-loader-3.1.1.tgz#28931895fa1eab9be0647d3b2958c100ae3c0bf0"
@@ -10469,6 +10542,16 @@ timsort@^0.3.0:
1046910542
resolved "https://registry.yarnpkg.com/timsort/-/timsort-0.3.0.tgz#405411a8e7e6339fe64db9a234de11dc31e02bd4"
1047010543
integrity sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=
1047110544

10545+
tiny-invariant@^1.0.2:
10546+
version "1.1.0"
10547+
resolved "https://registry.yarnpkg.com/tiny-invariant/-/tiny-invariant-1.1.0.tgz#634c5f8efdc27714b7f386c35e6760991d230875"
10548+
integrity sha512-ytxQvrb1cPc9WBEI/HSeYYoGD0kWnGEOR8RY6KomWLBVhqz0RgTwVO9dLrGz7dC+nN9llyI7OKAgRq8Vq4ZBSw==
10549+
10550+
tiny-warning@^1.0.0, tiny-warning@^1.0.3:
10551+
version "1.0.3"
10552+
resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.3.tgz#94a30db453df4c643d0fd566060d60a875d84754"
10553+
integrity sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==
10554+
1047210555
tmp@^0.0.33:
1047310556
version "0.0.33"
1047410557
resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9"
@@ -10819,6 +10902,11 @@ validate-npm-package-license@^3.0.1:
1081910902
spdx-correct "^3.0.0"
1082010903
spdx-expression-parse "^3.0.0"
1082110904

10905+
value-equal@^1.0.1:
10906+
version "1.0.1"
10907+
resolved "https://registry.yarnpkg.com/value-equal/-/value-equal-1.0.1.tgz#1e0b794c734c5c0cade179c437d356d931a34d6c"
10908+
integrity sha512-NOJ6JZCAWr0zlxZt+xqCHNTEKOsrks2HQd4MqhP1qy4z1SkbEP467eNx6TgDKXMvUOb+OENfJCZwM+16n7fRfw==
10909+
1082210910
vary@~1.1.2:
1082310911
version "1.1.2"
1082410912
resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"

0 commit comments

Comments
 (0)