Skip to content

Commit

Permalink
Feature/nextjs version up (#98)
Browse files Browse the repository at this point in the history
* nextjs version up v11 -> v12

* add install & remove script

* typescript version update

* nextjs devtool option 제거
  • Loading branch information
cyjo9603 authored Jun 30, 2022
1 parent 9473d84 commit 25bb217
Show file tree
Hide file tree
Showing 6 changed files with 7,128 additions and 7,769 deletions.
1 change: 0 additions & 1 deletion client/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const nextConfig = {
return {
...config,
mode: prod ? 'production' : 'development',
devtool: prod ? 'hidden-source-map' : 'eval',
plugins,
};
},
Expand Down
4 changes: 2 additions & 2 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"emotion-server": "^10.0.27",
"emotion-theming": "^10.0.27",
"graphql": "^15.0.0",
"next": "^11.1.1",
"next": "^12.0.8",
"next-transpile-modules": "^8.0.0",
"react": "^16.13.1",
"react-cookie": "^4.0.3",
Expand Down Expand Up @@ -71,7 +71,7 @@
"eslint-plugin-react-hooks": "2.4.0",
"nodemon": "^2.0.4",
"prettier": "^2.0.5",
"typescript": "^3.9.5",
"typescript": "^4.5.5",
"webpack": "^4.43.0"
}
}
87 changes: 66 additions & 21 deletions client/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
Expand All @@ -15,25 +19,66 @@
"jsx": "preserve",
"baseUrl": ".",
"paths": {
"@src/*": ["src/*"],
"@pages/*": ["src/components/pages/*"],
"@svg-icons/*": ["src/components/icons/*"],
"@modals/*": ["src/components/modals/*"],
"@hoc/*": ["src/components/hoc/*"],
"@atoms/*": ["src/components/UI/atoms/*"],
"@molecules/*": ["src/components/UI/molecules/*"],
"@organisms/*": ["src/components/UI/organisms/*"],
"@frames/*": ["src/components/UI/frames/*"],
"@hooks/*": ["src/hooks/*"],
"@mappers/*": ["src/mappers/*"],
"@store/*": ["src/store/*"],
"@lib/*": ["src/lib/*"],
"@routes/*": ["src/routes/*"],
"@theme/*": ["src/theme/*"],
"@queries": ["src/queries/index.ts"],
"@gql-types/*": ["src/types/*"],
}
"@src/*": [
"src/*"
],
"@pages/*": [
"src/components/pages/*"
],
"@svg-icons/*": [
"src/components/icons/*"
],
"@modals/*": [
"src/components/modals/*"
],
"@hoc/*": [
"src/components/hoc/*"
],
"@atoms/*": [
"src/components/UI/atoms/*"
],
"@molecules/*": [
"src/components/UI/molecules/*"
],
"@organisms/*": [
"src/components/UI/organisms/*"
],
"@frames/*": [
"src/components/UI/frames/*"
],
"@hooks/*": [
"src/hooks/*"
],
"@mappers/*": [
"src/mappers/*"
],
"@store/*": [
"src/store/*"
],
"@lib/*": [
"src/lib/*"
],
"@routes/*": [
"src/routes/*"
],
"@theme/*": [
"src/theme/*"
],
"@queries": [
"src/queries/index.ts"
],
"@gql-types/*": [
"src/types/*"
]
},
"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 25bb217

Please sign in to comment.