Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Feature: Make it easy to use across a monorepo #1064

Closed
3 tasks done
maelp opened this issue Nov 30, 2023 · 3 comments
Closed
3 tasks done

🚀 Feature: Make it easy to use across a monorepo #1064

maelp opened this issue Nov 30, 2023 · 3 comments
Labels
status: in discussion Not yet ready for implementation or a pull request type: feature New enhancement or request

Comments

@maelp
Copy link

maelp commented Nov 30, 2023

Bug Report Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have pulled the latest main branch of the repository.
  • 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 maelp added the type: feature New enhancement or request label Nov 30, 2023
@JoshuaKGoldberg JoshuaKGoldberg added the status: in discussion Not yet ready for implementation or a pull request label Nov 30, 2023
@JoshuaKGoldberg
Copy link
Owner

🙌 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.?

@maelp
Copy link
Author

maelp commented Nov 30, 2023

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!

@JoshuaKGoldberg
Copy link
Owner

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 JoshuaKGoldberg closed this as not planned Won't fix, can't repro, duplicate, stale Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: in discussion Not yet ready for implementation or a pull request type: feature New enhancement or request
Projects
None yet
Development

No branches or pull requests

2 participants