Wés
Wés
TTCTheo's Typesafe Cult
Created by Wés on 12/1/2023 in #questions
Hygen/Plop alternative with typesafety
I'm diving a bit on the template generation sea again (done that 5+ years ago). I would like to have a typesafe solution for template generation, but hygen seems too outdated, and plop.js seems to be having trouble supporting this (currently only supports with an awkward pre-compilation step, which I don't want). Anyone have any typesafe options for these tools, I'm looking for something with a simple approach like these tools (prompter + templating engine) without me needing to write my cli tool from scratch. Aiming to use it on my job's repos for helping with repetitive tasks involving bootstrapping specific code.
3 replies
TTCTheo's Typesafe Cult
Created by Wés on 11/3/2023 in #questions
Stack for T3 (tRPC, Drizzle, Tailwind, NextAuth) + Bun + turborepo
I'm spending this weekend (and possibly part of the week) setting up a starter template with those so I can migrate a project for my work. It needs to: - be a monorepo (so turborepo) - have next-auth (we already use it) - use App Router (we already migrated) It's optional: - have Drizzle, but highly desirable. - use Bun, but is so fast (that I need it 🏎️) - have tRPC set up (I'll be migrating the whole api later and so I can delay this) - be in Next 14 (but would be nice) Has anyone tried something like this already (I imagine some of you have)? If so I would love any links to repos that include as much as those items or are near enough.
11 replies