Skip to content

Commit fa48bba

Browse files
committed
react 및 apollo version upgrade
1 parent aa2ddc2 commit fa48bba

File tree

5 files changed

+43
-44
lines changed

5 files changed

+43
-44
lines changed

client/codegen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
schema: ../back/schema.graphql
1+
schema: ../server/schema.graphql
22
generates:
33
schema.json:
44
plugins:

client/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"@next/bundle-analyzer": "^10.0.5",
2121
"@toast-ui/editor-plugin-color-syntax": "1.0.0",
2222
"@toast-ui/react-editor": "2.2.0",
23+
"@types/graphql": "^14.5.0",
2324
"axios": "0.21.1",
2425
"compression-webpack-plugin": "4.0.0",
2526
"crypto-js": "4.0.0",
@@ -28,9 +29,9 @@
2829
"graphql": "^15.0.0",
2930
"next": "^12.0.8",
3031
"next-transpile-modules": "^8.0.0",
31-
"react": "^16.13.1",
32+
"react": "^18.2.0",
3233
"react-cookie": "^4.0.3",
33-
"react-dom": "^16.13.1",
34+
"react-dom": "^18.2.0",
3435
"react-hook-form": "^6.14.0",
3536
"react-markdown": "^5.0.0",
3637
"react-slick": "^0.26.1",
@@ -51,8 +52,8 @@
5152
"@storybook/addon-links": "^6.0.28",
5253
"@storybook/react": "^6.0.28",
5354
"@types/node": "^14.0.11",
54-
"@types/react": "^16.9.35",
55-
"@types/react-dom": "^16.9.8",
55+
"@types/react": "^18.0.14",
56+
"@types/react-dom": "^18.0.5",
5657
"@types/styled-components": "^5.1.25",
5758
"@typescript-eslint/eslint-plugin": "2.21.0",
5859
"@typescript-eslint/parser": "2.21.0",

client/src/pages/_app.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,6 @@ const App = ({ Component, pageProps, mode: modeInCookie }: Props) => {
6262
content="프론트엔드 개발자를 목표로 공부하고 있는 조찬영의 포트폴리오와 블로그 페이지입니다. 개발자가 되기 위해 노력한 제 이야기들을 기록해 놓았습니다."
6363
/>
6464
<meta property="og:type" content="website" />
65-
<link rel="preconnect" href="https://fonts.gstatic.com" />
66-
<link
67-
rel="stylesheet"
68-
type="text/css"
69-
href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;900&display=swap"
70-
/>
7165
<link rel="shortcut icon" href="/favicon.png" />
7266
<link rel="apple-touch-icon-precomposed" href="/favicon2.png" />
7367
</Head>

client/src/pages/_document.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ class MyDocument extends Document {
4444
gtag('config', 'UA-176037246-1');`,
4545
}}
4646
/>
47+
<link rel="preconnect" href="https://fonts.gstatic.com" />
48+
<link
49+
rel="stylesheet"
50+
type="text/css"
51+
href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;900&display=swap"
52+
/>
4753
</Head>
4854
<body>
4955
<Main />

client/yarn.lock

Lines changed: 31 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -2839,6 +2839,13 @@
28392839
dependencies:
28402840
"@types/node" "*"
28412841

2842+
"@types/graphql@^14.5.0":
2843+
version "14.5.0"
2844+
resolved "https://registry.yarnpkg.com/@types/graphql/-/graphql-14.5.0.tgz#a545fb3bc8013a3547cf2f07f5e13a33642b75d6"
2845+
integrity sha512-MOkzsEp1Jk5bXuAsHsUi6BVv0zCO+7/2PTiZMXWDSsMXvNU6w/PLMQT2vHn8hy2i0JqojPz1Sz6rsFjHtsU0lA==
2846+
dependencies:
2847+
graphql "*"
2848+
28422849
"@types/hast@^2.0.0":
28432850
version "2.3.4"
28442851
resolved "https://registry.yarnpkg.com/@types/hast/-/hast-2.3.4.tgz#8aa5ef92c117d20d974a82bdfb6a648b08c0bafc"
@@ -2987,12 +2994,12 @@
29872994
resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.7.tgz#63bb7d067db107cc1e457c303bc25d511febf6cb"
29882995
integrity sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==
29892996

2990-
"@types/react-dom@^16.9.8":
2991-
version "16.9.16"
2992-
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-16.9.16.tgz#c591f2ed1c6f32e9759dfa6eb4abfd8041f29e39"
2993-
integrity sha512-Oqc0RY4fggGA3ltEgyPLc3IV9T73IGoWjkONbsyJ3ZBn+UPPCYpU2ec0i3cEbJuEdZtkqcCF2l1zf2pBdgUGSg==
2997+
"@types/react-dom@^18.0.5":
2998+
version "18.0.5"
2999+
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.0.5.tgz#330b2d472c22f796e5531446939eacef8378444a"
3000+
integrity sha512-OWPWTUrY/NIrjsAPkAk1wW9LZeIjSvkXRhclsFO8CZcZGCOg2G0YZy4ft+rOyYxy8B7ui5iZzi9OkDebZ7/QSA==
29943001
dependencies:
2995-
"@types/react" "^16"
3002+
"@types/react" "*"
29963003

29973004
"@types/react-syntax-highlighter@11.0.5":
29983005
version "11.0.5"
@@ -3001,7 +3008,7 @@
30013008
dependencies:
30023009
"@types/react" "*"
30033010

3004-
"@types/react@*":
3011+
"@types/react@*", "@types/react@^18.0.14":
30053012
version "18.0.14"
30063013
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.14.tgz#e016616ffff51dba01b04945610fe3671fdbe06d"
30073014
integrity sha512-x4gGuASSiWmo0xjDLpm5mPb52syZHJx02VKbqUKdLmKtAwIh63XClGsiTI1K6DO5q7ox4xAsQrU+Gl3+gGXF9Q==
@@ -3010,15 +3017,6 @@
30103017
"@types/scheduler" "*"
30113018
csstype "^3.0.2"
30123019

3013-
"@types/react@^16", "@types/react@^16.9.35":
3014-
version "16.14.28"
3015-
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.14.28.tgz#073258f3fe7bb80c748842c1f93aeaafe16dffad"
3016-
integrity sha512-83zBE6+XUVXsdL3iFzOyUewdauaU+KviKCHEGOgSW52coAuqW7tEKQM0E9+ZC0Zk6TELQ2/JgogPvp7FavzFwg==
3017-
dependencies:
3018-
"@types/prop-types" "*"
3019-
"@types/scheduler" "*"
3020-
csstype "^3.0.2"
3021-
30223020
"@types/scheduler@*":
30233021
version "0.16.2"
30243022
resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.2.tgz#1a62f89525723dde24ba1b01b092bf5df8ad4d39"
@@ -6940,6 +6938,11 @@ graphql-ws@^4.4.1:
69406938
resolved "https://registry.yarnpkg.com/graphql-ws/-/graphql-ws-4.9.0.tgz#5cfd8bb490b35e86583d8322f5d5d099c26e365c"
69416939
integrity sha512-sHkK9+lUm20/BGawNEWNtVAeJzhZeBg21VmvmLoT5NdGVeZWv5PdIhkcayQIAgjSyyQ17WMKmbDijIPG2On+Ag==
69426940

6941+
graphql@*:
6942+
version "16.5.0"
6943+
resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.5.0.tgz#41b5c1182eaac7f3d47164fb247f61e4dfb69c85"
6944+
integrity sha512-qbHgh8Ix+j/qY+a/ZcJnFQ+j8ezakqPiHwPiZhV/3PgGlgf96QMBB5/f2rkiC9sgLoy/xvT6TSiaf2nTHJh5iA==
6945+
69436946
graphql@^15.0.0:
69446947
version "15.8.0"
69456948
resolved "https://registry.yarnpkg.com/graphql/-/graphql-15.8.0.tgz#33410e96b012fa3bdb1091cc99a94769db212b38"
@@ -10266,15 +10269,13 @@ react-docgen@^5.0.0:
1026610269
node-dir "^0.1.10"
1026710270
strip-indent "^3.0.0"
1026810271

10269-
react-dom@^16.13.1:
10270-
version "16.14.0"
10271-
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.14.0.tgz#7ad838ec29a777fb3c75c3a190f661cf92ab8b89"
10272-
integrity sha512-1gCeQXDLoIqMgqD3IO2Ah9bnf0w9kzhwN5q4FGnHZ67hBm9yePzB5JJAIQCc8x3pFnNlwFq4RidZggNAAkzWWw==
10272+
react-dom@^18.2.0:
10273+
version "18.2.0"
10274+
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d"
10275+
integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==
1027310276
dependencies:
1027410277
loose-envify "^1.1.0"
10275-
object-assign "^4.1.1"
10276-
prop-types "^15.6.2"
10277-
scheduler "^0.19.1"
10278+
scheduler "^0.23.0"
1027810279

1027910280
react-element-to-jsx-string@^14.3.4:
1028010281
version "14.3.4"
@@ -10411,14 +10412,12 @@ react-transition-group@^4.3.0:
1041110412
loose-envify "^1.4.0"
1041210413
prop-types "^15.6.2"
1041310414

10414-
react@^16.13.1:
10415-
version "16.14.0"
10416-
resolved "https://registry.yarnpkg.com/react/-/react-16.14.0.tgz#94d776ddd0aaa37da3eda8fc5b6b18a4c9a3114d"
10417-
integrity sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==
10415+
react@^18.2.0:
10416+
version "18.2.0"
10417+
resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5"
10418+
integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==
1041810419
dependencies:
1041910420
loose-envify "^1.1.0"
10420-
object-assign "^4.1.1"
10421-
prop-types "^15.6.2"
1042210421

1042310422
read-pkg-up@^1.0.1:
1042410423
version "1.0.1"
@@ -10919,13 +10918,12 @@ sane@^4.0.3:
1091910918
minimist "^1.1.1"
1092010919
walker "~1.0.5"
1092110920

10922-
scheduler@^0.19.1:
10923-
version "0.19.1"
10924-
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.19.1.tgz#4f3e2ed2c1a7d65681f4c854fa8c5a1ccb40f196"
10925-
integrity sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==
10921+
scheduler@^0.23.0:
10922+
version "0.23.0"
10923+
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe"
10924+
integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==
1092610925
dependencies:
1092710926
loose-envify "^1.1.0"
10928-
object-assign "^4.1.1"
1092910927

1093010928
schema-utils@2.7.0:
1093110929
version "2.7.0"

0 commit comments

Comments
 (0)