Skip to content

Commit 4bf1ae2

Browse files
Bump next from 9.4.4 to 12.1.0 (#105)
* Bump next from 9.4.4 to 12.1.0 Bumps [next](https://github.com/vercel/next.js) from 9.4.4 to 12.1.0. - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](vercel/next.js@v9.4.4...v12.1.0) --- updated-dependencies: - dependency-name: next dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * Create .nvmrc * update react version and remove unused import Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Monica Powell <[email protected]>
1 parent 673440d commit 4bf1ae2

File tree

8 files changed

+14834
-15964
lines changed

8 files changed

+14834
-15964
lines changed

.huskyrc.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module.exports = {
22
hooks: {
3-
"pre-commit":
4-
"npm run prettier && npm run test && npm run build",
3+
"pre-commit": "npm run prettier && npm run test && npm run build",
54
},
65
};

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
12

next-env.d.ts

+4-1
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-lock.json

+10,499-7,612
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
"prettier": "prettier --write --ignore-path ./gitignore \"**/*.+(js|json|ts|tsx)\""
1919
},
2020
"dependencies": {
21-
"@babel/preset-typescript": "^7.10.4",
21+
"@babel/preset-typescript": "^7.16.7",
2222
"@types/jest": "^26.0.14",
23-
"next": "9.4.4",
23+
"next": "12.1.0",
2424
"prettier": "^2.1.2",
25-
"react": "16.13.1",
26-
"react-dom": "16.13.1",
25+
"react": "^17.0.0",
26+
"react-dom": "^17.0.0",
2727
"react-twitter-embed": "^3.0.3"
2828
},
2929
"devDependencies": {
@@ -35,6 +35,6 @@
3535
"babel-jest": "^26.3.0",
3636
"husky": "^4.3.0",
3737
"jest": "^26.4.2",
38-
"typescript": "^3.9.5"
38+
"typescript": "^4.6.4"
3939
}
4040
}

pages/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import SEO from "../components/seo";
2-
import Banner from "../components/banner";
32
import Header from "../components/header";
43
import Disclaimer from "../components/disclaimer";
54
import StatusCodeGrid from "../components/statusCodeGrid";

tsconfig.json

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

0 commit comments

Comments
 (0)