Skip to content

Codemod to help you migrate your Next.js project to typescript in seconds

License

Notifications You must be signed in to change notification settings

ImBIOS/next-to-ts

Repository files navigation

Next To Typescript

Migrate your Next.js project from JavaScript to TypeScript in seconds

Get started

Make sure you are inside a Next.js project

Execute

npx next-to-ts

or

pnpm dlx next-to-ts

What does it do

  • It moves file these directories to typescript respectively.
  • Installs all necessary packages.
  • sets up standard tsconfig.json for next.js apps

Contributing

If you have any idea consider open issue or firing a PR.