❗️This is a work in progress/Proof of Concept and is not completed.
There is currently no codemod/CLI tool (as of 3rd October 2022) to perform the programmatic addition of libraries after an app has been scaffolded with create-t3-app. This is an attempt to fill that gap, while learning about codemods.
It is not recommended to use this tool on a production app.
CT3A Codemod
Built to install and scaffold the libraries from create-t3-app in a project that has already been started. Libraries can be installed individually, or all at once.
Packages
- Tailwind
- Prisma
- NextAuth
- tRPC
Usage
All Packages
npx ct3a-codemod -i all
to install all packages.
Select Packages
npx ct3a-codemod -i tailwind
or multiple packages at once: npx ct3a-codemod -i tailwind trpc
TODO
- [] Fix relative imports based on created file location
- []