https://github.com/imbios/next-to-ts
Codemod to help you migrate your Next.js project to typescript in seconds
https://github.com/imbios/next-to-ts
cli codemod hacktoberfest javascript migration-tool nextjs npm-package tool typescript
Last synced: 3 months ago
JSON representation
Codemod to help you migrate your Next.js project to typescript in seconds
- Host: GitHub
- URL: https://github.com/imbios/next-to-ts
- Owner: ImBIOS
- License: mit
- Created: 2021-10-05T16:30:32.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-29T10:54:47.000Z (about 2 years ago)
- Last Synced: 2025-02-14T03:04:06.822Z (4 months ago)
- Topics: cli, codemod, hacktoberfest, javascript, migration-tool, nextjs, npm-package, tool, typescript
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/next-to-ts
- Size: 60.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### 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
```bash
npx next-to-ts
```or
```bash
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.