Skip to content

Commit

Permalink
update next and react
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnau Zapata Delgado authored and Arnau Zapata Delgado committed Jul 13, 2023
1 parent 01d3052 commit df293ed
Show file tree
Hide file tree
Showing 5 changed files with 1,917 additions and 960 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 next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if (process.env.NODE_ENV !== 'production') {
const getAllAllowedEnvironmentVariables = () => {
return Object.entries(process.env).reduce(
(vars, [name, value]) =>
/^(?:__|NODE_)/.test(name) ? vars : { ...vars, [name]: value },
/^(?:__|NODE_)/.test(name) || name === 'NEXT_RUNTIME' ? vars : { ...vars, [name]: value },
{}
)
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"formidable": "^1.2.2",
"moment": "^2.29.0",
"next": "^13.4.9",
"react": "^16.13.1",
"react": "^18.2.0",
"react-dom": "^16.13.1",
"react-notifications": "^1.7.4",
"styled-components": "^5.1.0",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve"
"jsx": "preserve",
"incremental": true
},
"exclude": ["node_modules"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"]
Expand Down
Loading

0 comments on commit df293ed

Please sign in to comment.