diff --git a/examples/custom-server-typescript/.babelrc b/examples/custom-server-typescript/.babelrc deleted file mode 100644 index 1ff94f7ed28e16b..000000000000000 --- a/examples/custom-server-typescript/.babelrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "presets": ["next/babel"] -} diff --git a/examples/custom-server-typescript/package.json b/examples/custom-server-typescript/package.json index dd8cf92cc482bd6..9e79d47ca0a3cf9 100644 --- a/examples/custom-server-typescript/package.json +++ b/examples/custom-server-typescript/package.json @@ -6,17 +6,17 @@ "start": "cross-env NODE_ENV=production node dist/index.js" }, "dependencies": { - "cross-env": "^7.0.2", + "cross-env": "^7.0.3", "next": "latest", - "react": "^17.0.2", - "react-dom": "^17.0.2" + "react": "^18.2.0", + "react-dom": "^18.2.0" }, "devDependencies": { - "@types/node": "^12.0.12", - "@types/react": "^16.9.44", - "@types/react-dom": "^16.9.8", - "nodemon": "^2.0.4", - "ts-node": "^8.10.2", - "typescript": "4.0" + "@types/node": "^18.7.15", + "@types/react": "^18.0.18", + "@types/react-dom": "^18.0.6", + "nodemon": "^2.0.19", + "ts-node": "^10.9.1", + "typescript": "~4.8.2" } } diff --git a/examples/custom-server-typescript/tsconfig.json b/examples/custom-server-typescript/tsconfig.json index 919ea44a15e95dd..4097ef5f16ea81c 100644 --- a/examples/custom-server-typescript/tsconfig.json +++ b/examples/custom-server-typescript/tsconfig.json @@ -19,7 +19,8 @@ "preserveConstEnums": true, "sourceMap": true, "forceConsistentCasingInFileNames": true, - "resolveJsonModule": true + "resolveJsonModule": true, + "incremental": true }, "exclude": ["dist", ".next", "out", "next.config.js"], "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"]