Skip to content

Commit e35985a

Browse files
committed
feat: upgrade to react@17
1 parent 8636a6a commit e35985a

File tree

4 files changed

+1694
-3181
lines changed

4 files changed

+1694
-3181
lines changed

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"typescript.tsdk": "node_modules/typescript/lib"
3+
}

package.json

+25-25
Original file line numberDiff line numberDiff line change
@@ -53,40 +53,40 @@
5353
"root": true
5454
},
5555
"dependencies": {
56-
"gatsby": "^2.24.85",
57-
"gatsby-image": "^2.4.21",
58-
"gatsby-plugin-google-analytics": "^2.3.19",
56+
"gatsby": "^2.28.0",
57+
"gatsby-image": "^2.7.0",
58+
"gatsby-plugin-google-analytics": "^2.7.0",
5959
"gatsby-plugin-graphql-codegen": "^2.7.1",
60-
"gatsby-plugin-manifest": "^2.4.35",
61-
"gatsby-plugin-offline": "^3.2.37",
62-
"gatsby-plugin-react-helmet": "^3.3.14",
63-
"gatsby-plugin-sharp": "^2.6.43",
64-
"gatsby-plugin-styled-components": "^3.3.14",
65-
"gatsby-plugin-typescript": "^2.4.24",
66-
"gatsby-source-filesystem": "^2.3.35",
67-
"gatsby-transformer-json": "^2.4.15",
68-
"gatsby-transformer-sharp": "^2.5.19",
60+
"gatsby-plugin-manifest": "^2.8.0",
61+
"gatsby-plugin-offline": "^3.6.0",
62+
"gatsby-plugin-react-helmet": "^3.6.0",
63+
"gatsby-plugin-sharp": "^2.10.0",
64+
"gatsby-plugin-styled-components": "^3.6.0",
65+
"gatsby-plugin-typescript": "^2.8.0",
66+
"gatsby-source-filesystem": "^2.7.0",
67+
"gatsby-transformer-json": "^2.7.0",
68+
"gatsby-transformer-sharp": "^2.8.0",
6969
"prop-types": "^15.7.2",
70-
"react": "^16.12.0",
71-
"react-dom": "^16.12.0",
70+
"react": "^17.0.1",
71+
"react-dom": "^17.0.1",
7272
"react-helmet": "^6.1.0",
73-
"styled-components": "^5.2.0",
74-
"styled-reset": "^4.2.3"
73+
"styled-components": "^5.2.1",
74+
"styled-reset": "^4.3.1"
7575
},
7676
"devDependencies": {
77-
"@ntnyq/eslint-config-prettier-typescript-react": "^0.1.9",
78-
"@ntnyq/prettier-config": "^0.1.0",
79-
"@types/react": "^16.9.53",
80-
"@types/react-dom": "^16.9.8",
77+
"@ntnyq/eslint-config-prettier-typescript-react": "^0.1.11",
78+
"@ntnyq/prettier-config": "^0.2.0",
79+
"@types/react": "^17.0.0",
80+
"@types/react-dom": "^17.0.0",
8181
"@types/react-helmet": "^6.0.0",
8282
"@types/scrollreveal": "^0.0.6",
8383
"@types/styled-components": "^5.1.4",
8484
"dotenv": "^8.2.0",
85-
"eslint": "^7.12.0",
85+
"eslint": "^7.14.0",
8686
"husky": "^4.3.0",
87-
"lint-staged": "^10.4.2",
88-
"prettier": "^2.1.2",
89-
"sort-package-json": "^1.46.1",
90-
"typescript": "^4.0.3"
87+
"lint-staged": "^10.5.2",
88+
"prettier": "^2.2.1",
89+
"sort-package-json": "^1.48.0",
90+
"typescript": "^4.1.2"
9191
}
9292
}

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"baseUrl": ".",
44
"outDir": "./dist",
55
"declaration": false,
6-
"jsx": "react",
6+
"jsx": "react-jsx",
77
"lib": [
88
"ESNEXT",
99
"DOM",

0 commit comments

Comments
 (0)