Skip to content

Commit

Permalink
Upgrade react and react-dom to 17.x
Browse files Browse the repository at this point in the history
- upgrade related dependencies' version
- add some config in tsconfig.json
  • Loading branch information
Jaewoook committed Oct 11, 2021
1 parent ef4be50 commit ea90a84
Show file tree
Hide file tree
Showing 3 changed files with 4,171 additions and 3,331 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
"@types/firefox-webext-browser": "^82.0.1",
"@types/fs-extra": "^9.0.1",
"@types/node": "^14.0.5",
"@types/react": "^16.9.46",
"@types/react-dom": "^16.9.8",
"@types/react": "^17.0.27",
"@types/react-dom": "^17.0.9",
"@types/styled-components": "^5.1.2",
"@typescript-eslint/eslint-plugin": "^3.8.0",
"@typescript-eslint/parser": "^3.9.1",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"archiver": "^5.0.0",
"chalk": "^4.1.0",
"cross-env": "^7.0.2",
"eslint": "^6.6.0",
"eslint": "7",
"eslint-config-react-app": "^5.2.1",
"eslint-plugin-react": "^7.20.6",
"fs-extra": "^10.0.0",
Expand All @@ -39,9 +39,9 @@
"antd": "^4.4.1",
"axios": "^0.19.2",
"copy-to-clipboard": "^3.3.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "^3.4.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"styled-components": "^5.1.1"
},
"browserslist": {
Expand Down
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"module": "esnext",
"jsx": "preserve",
"jsx": "react",
"lib": [
"DOM",
"DOM.Iterable",
Expand All @@ -17,7 +17,8 @@
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true
"noEmit": true,
"noFallthroughCasesInSwitch": true
},
"include": [
"src/**/*"
Expand Down
Loading

0 comments on commit ea90a84

Please sign in to comment.