Skip to content

Commit f4fe31d

Browse files
author
Tomasz Dłuski
committed
update typescript
1 parent 00adff6 commit f4fe31d

File tree

5 files changed

+37
-35
lines changed

5 files changed

+37
-35
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
node_modules
22
build/
33
out/
4-
.DS_STORE
4+
.DS_STORE
5+
.vercel
6+
.next

next.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ const withBundleAnalyzer = require("@next/bundle-analyzer")({
33
});
44

55
module.exports = withBundleAnalyzer({
6-
distDir: "build",
76
publicRuntimeConfig: {
87
// add your public runtime environment variables here with NEXT_PUBLIC_*** prefix
98
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"eslint-plugin-react": "^7.21.5",
2121
"eslint-plugin-react-hooks": "^4.2.0",
2222
"prettier": "^2.2.1",
23-
"typescript": "^4.1.2"
23+
"typescript": "^4.6.2"
2424
},
2525
"dependencies": {
2626
"@next/bundle-analyzer": "^10.0.4",

tsconfig.json

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

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1995,10 +1995,10 @@ type-fest@^0.8.1:
19951995
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d"
19961996
integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==
19971997

1998-
typescript@^4.1.2:
1999-
version "4.1.2"
2000-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.2.tgz#6369ef22516fe5e10304aae5a5c4862db55380e9"
2001-
integrity sha512-thGloWsGH3SOxv1SoY7QojKi0tc+8FnOmiarEGMbd/lar7QOEd3hvlx3Fp5y6FlDUGl9L+pd4n2e+oToGMmhRQ==
1998+
typescript@^4.6.2:
1999+
version "4.6.2"
2000+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.2.tgz#fe12d2727b708f4eef40f51598b3398baa9611d4"
2001+
integrity sha512-HM/hFigTBHZhLXshn9sN37H085+hQGeJHJ/X7LpBWLID/fbc2acUMfU+lGD98X81sKP+pFa9f0DZmCwB9GnbAg==
20022002

20032003
ua-parser-js@^0.7.23:
20042004
version "0.7.23"

0 commit comments

Comments
 (0)