create-typescript-app icon indicating copy to clipboard operation
create-typescript-app copied to clipboard

🚀 Feature: Make it easy to use across a monorepo

Open maelp opened this issue 1 year ago • 2 comments
trafficstars

Bug Report Checklist

  • [X] I have tried restarting my IDE and the issue persists.
  • [X] I have pulled the latest main branch of the repository.
  • [X] I have searched for related issues and found none that matched my issue.

Overview

Perhaps there could be a "monorepo-enabled" mode where we would have all the config files in a shared location, and an easy way to update them from the origin repo, so that we can use the best-practices configuration on multiple projects in the monorepo easily, and keep them up-to-date together?

Additional Info

No response

maelp avatar Nov 30 '23 09:11 maelp

🙌 Yes! Monorepo support would be fantastic. I've got several projects personally that either are or will soon be set up as a monorepo, and would love to use create-typescript-app for them.

Do you have any thoughts on what this might look like? How those files might be stored, CLI flags / options, etc.?

JoshuaKGoldberg avatar Nov 30 '23 13:11 JoshuaKGoldberg

Not sure how it would look to be honest, but I'm struggling to create a "state-of-the-art" so-to-say monorepo which would have:

  • an expressjs typescript backend
  • a vitejs vue3 frontend
  • a shared typescript library being included in both the backend and the fronted

it's a mess of ESNext / CommonJS / tsconfig / vite.config options that go out of control, and nothing compiles although everything is valid typescript

if someone could have a basic monorepo like that, with your opinionated setup, it would be really cool!

maelp avatar Nov 30 '23 13:11 maelp

Coming back: #1181 has details on making a create package. I'm going to say monorepo support is out of scope for now, but will be something the create package will definitely tackle long-term. Cheers!

JoshuaKGoldberg avatar Aug 27 '24 15:08 JoshuaKGoldberg