graphile / starter

Opinionated SaaS quick-start with pre-built user account and organization system for full-stack application development in React, Node.js, GraphQL and PostgreSQL. Powered by PostGraphile, TypeScript, Apollo Client, Graphile Worker, Graphile Migrate, GraphQL Code Generator, Ant Design and Next.js
https://graphile-starter.herokuapp.com
Other
1.73k stars 214 forks source link

Upgrade TypeScript v4 -> v5, AntD v4 -> v5, Next v10 -> v13 #341

Closed benjie closed 1 year ago

benjie commented 1 year ago

Upgrading TypeScript broke Next, because Next v10 thought it was cleverer than us and replaced moduleResolution: nodenext with moduleResolution: node which TS doesn't support any more.

So, we had to upgrade Next, but Next doesn't support Less, and all the less workarounds for Next looked sucky. And really, we don't need Less - we just use it for theme variables. And it turns out that AntD v5 has dropped Less.

So we upgraded all three of these major modules, and then faffed around to get things working again.

Thanks to @triptec and @heracek for their work in #328 and #295 which influenced this work.