Skip to content

Commit 2c515a7

Browse files
committed
Updating next and react
1 parent 24b0316 commit 2c515a7

5 files changed

Lines changed: 151 additions & 4013 deletions

File tree

babelrc.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

next-env.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
/// <reference types="next" />
2-
/// <reference types="next/types/global" />
2+
/// <reference types="next/image-types/global" />
3+
4+
// NOTE: This file should not be edited
5+
// see https://nextjs.org/docs/basic-features/typescript for more information.

package.json

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,24 @@
1212
"author": "Matthew Frey <matthewfrey118@gmail.com>",
1313
"license": "MIT",
1414
"dependencies": {
15-
"classnames": "^2.2.6",
16-
"detect-node": "^2.0.4",
17-
"next": "^9.5.3",
18-
"react": "^16.13.1",
19-
"react-dom": "^16.13.1",
20-
"react-icons": "^3.11.0",
21-
"styled-components": "^5.2.0",
22-
"styled-reset": "^4.2.3"
15+
"classnames": "2.x",
16+
"detect-node": "2.x",
17+
"next": "12.x",
18+
"react": "17.x",
19+
"react-dom": "17.x",
20+
"react-icons": "3.x",
21+
"styled-components": "5.x",
22+
"styled-reset": "4.x"
2323
},
2424
"devDependencies": {
25-
"@types/classnames": "^2.2.10",
26-
"@types/detect-node": "^2.0.0",
27-
"@types/node": "^14.11.2",
28-
"@types/react": "^16.9.49",
29-
"@types/react-dom": "^16.9.8",
30-
"@types/styled-components": "^5.1.3",
31-
"babel-plugin-styled-components": "^1.11.1",
32-
"fork-ts-checker-webpack-plugin": "^5.2.0",
33-
"tslint": "^6.1.3",
34-
"tslint-config-airbnb": "^5.11.2",
35-
"typescript": "^4.0.3"
25+
"@types/classnames": "2.x",
26+
"@types/detect-node": "2.x",
27+
"@types/node": "16.x",
28+
"@types/react": "17.x",
29+
"@types/react-dom": "17.x",
30+
"@types/styled-components": "5.x",
31+
"tslint": "6.x",
32+
"tslint-config-airbnb": "5.x",
33+
"typescript": "4.x"
3634
}
3735
}

tsconfig.json

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
11
{
2-
"compilerOptions": {
3-
"target": "es5",
4-
"lib": [
5-
"dom",
6-
"dom.iterable",
7-
"esnext"
8-
],
9-
"allowJs": true,
10-
"skipLibCheck": true,
11-
"strict": false,
12-
"forceConsistentCasingInFileNames": true,
13-
"noEmit": true,
14-
"esModuleInterop": true,
15-
"module": "esnext",
16-
"moduleResolution": "node",
17-
"resolveJsonModule": true,
18-
"isolatedModules": true,
19-
"jsx": "preserve"
20-
},
21-
"exclude": [
22-
"node_modules"
2+
"compilerOptions": {
3+
"target": "es5",
4+
"lib": [
5+
"dom",
6+
"dom.iterable",
7+
"esnext"
238
],
24-
"include": [
25-
"next-env.d.ts",
26-
"**/*.ts",
27-
"**/*.tsx"
28-
]
29-
}
9+
"allowJs": true,
10+
"skipLibCheck": true,
11+
"strict": false,
12+
"forceConsistentCasingInFileNames": true,
13+
"noEmit": true,
14+
"esModuleInterop": true,
15+
"module": "esnext",
16+
"moduleResolution": "node",
17+
"resolveJsonModule": true,
18+
"isolatedModules": true,
19+
"jsx": "preserve",
20+
"incremental": true
21+
},
22+
"exclude": [
23+
"node_modules"
24+
],
25+
"include": [
26+
"next-env.d.ts",
27+
"**/*.ts",
28+
"**/*.tsx"
29+
]
30+
}

0 commit comments

Comments
 (0)