Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Remove babel from custom-server-typescript example #40309

Merged
merged 3 commits into from Sep 8, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 0 additions & 3 deletions examples/custom-server-typescript/.babelrc

This file was deleted.

18 changes: 9 additions & 9 deletions examples/custom-server-typescript/package.json
Expand Up @@ -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"
}
}
3 changes: 2 additions & 1 deletion examples/custom-server-typescript/tsconfig.json
Expand Up @@ -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"]
Expand Down