Commit graph

8 commits

Author SHA1 Message Date
Lukáš Huvar
7863b60ef6 Prettier fix (#8754) 2019-09-16 15:24:42 +02:00
Junyoung Choi
9c8d34d551 Upgrade next.js version in custom-typescript-server example (#7772)
* Upgrade next.js version of custom-typescript-server example

* Update examples/custom-server-typescript/package.json

Co-Authored-By: Resi Respati <resir014@gmail.com>

* Format package.json
2019-07-09 13:24:14 -04:00
Resi Respati
ed0e17503e [custom-server-typescript] fixed custom server build issues (#7385) 2019-05-23 14:08:03 -05:00
Javier Alcala
8a326345b9 Enable strict type checking on custom-server-typescript example (#7025) 2019-04-13 19:56:12 +02:00
Brent Ertz
4c4459f931 Update custom-server-typescript example (#6627)
* Typecheck server vs. client code independently, ensuring that each respects its own tsconfig.
* Use nextjs default distDir in tsconfig
* Update packages
* Fix type error in server.listen callback
2019-03-16 16:42:22 +01:00
Alexander Kachkaev
2e641e9e8c Use separate tsconfig for server in custom-server-typescript example (#3963) 2018-03-07 09:13:12 +01:00
Alexander Kachkaev
39be7183a5 Update custom-server-typescript example (#3936)
- Add "jsx": "preserve" to tsconfig.json
- Rename lib to production-server to remove incompatibility with other examples

Context: https://github.com/zeit/next.js/pull/3838#issuecomment-370189242 and below
2018-03-05 09:49:48 +01:00
Ibrahim Ansari
99fb191286 Add custom-server-typescript example (see #3694) (#3838)
* Add custom-server-typescript example (see #3694)

* Fix linting errors in custom-server-typescript

* Provide proper arguments to ts-node.

* Fix import and fix all linting errors.

* Use import in server as well.

* Update nodemon.json
2018-02-22 16:29:47 +01:00