Skip to content

Commit

Permalink
⬆️ upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineKM committed Jan 19, 2022
1 parent bdb6b85 commit 44f7830
Show file tree
Hide file tree
Showing 5 changed files with 725 additions and 1,833 deletions.
5 changes: 4 additions & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"is_js": "^0.9.0",
"moment": "^2.29.1",
"next": "latest",
"next": "^12.0.8",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"remixicon": "^2.5.0",
Expand Down
2 changes: 2 additions & 0 deletions src/pages/_document.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable react/display-name */
/* eslint-disable @next/next/no-document-import-in-page */
import Document, {
DocumentContext,
DocumentInitialProps,
Expand Down
52 changes: 40 additions & 12 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"target": "esnext",
"module": "esnext",
"jsx": "preserve",
"lib": ["dom", "es2017"],
"lib": [
"dom",
"es2017"
],
"moduleResolution": "node",
"allowJs": true,
"noEmit": true,
Expand All @@ -21,17 +24,42 @@
"isolatedModules": true,
"baseUrl": ".",
"paths": {
"@static/*": ["./public/static/*"],
"@components/*": ["./src/components/*"],
"@data/*": ["./src/data/*"],
"@styles/*": ["./src/styles/*"],
"@screens/*": ["./src/screens/*"],
"@hooks/*": ["./src/hooks/*"],
"@constants/*": ["./src/constants/*"],
"@services/*": ["./src/services/*"]
"@static/*": [
"./public/static/*"
],
"@components/*": [
"./src/components/*"
],
"@data/*": [
"./src/data/*"
],
"@styles/*": [
"./src/styles/*"
],
"@screens/*": [
"./src/screens/*"
],
"@hooks/*": [
"./src/hooks/*"
],
"@constants/*": [
"./src/constants/*"
],
"@services/*": [
"./src/services/*"
]
},
"types": ["node"]
"types": [
"node"
],
"incremental": true
},
"exclude": ["node_modules"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"]
"exclude": [
"node_modules"
],
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx"
]
}
Loading

0 comments on commit 44f7830

Please sign in to comment.