-
Notifications
You must be signed in to change notification settings - Fork 507
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
WIP: Improve monorepo support #127
Conversation
Maybe by finding all directories with a |
Both good ideas. As of right now, this PR adds If that remains the case, I'd lean towards checking |
no opinion, go for it :) |
72ef6de
to
1569137
Compare
I'll be circling back to this shortly. Does cutting off this PR at adding I'd like to add support for |
circling back. still keen on this? i dont monorepo, personally. @NateRadebaugh might care for #188 |
Yes I would love to switch my monorepo to use tsdx at the root. It looks like this threat is talking about scaffolding a new project, so https://github.com/natemoo-re/tsdx-monorepo may be enough of an example for my use case. |
@sw-yx Yes, I'd love to finish this up now that some personal stuff has settled down. Thanks for the reminder! 😄 I'll see what it takes to get this up to date. If @NateRadebaugh lands some docs to close #188, I would be happy to add a section for monorepos |
What's the status of this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Skimmed over it.
@@ -0,0 +1,7824 @@ | |||
{ | |||
"name": "tsdx", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this file. We are on #TeamYarn
], | ||
"scripts": { | ||
"start": "tsdx watch", | ||
"build": "tsdx build" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about test and lint cmd?
Sorry for clogging up your PRs. I’m going to close this and reopen if I find time to finish it. If anyone wants to use this as a starting point for their own implementation, please do. |
Related to #122. Feedback welcome!
Goals
src/index.ts
basic
,monorepo
)tsdx create
users to select project structure (if template supports it)monorepo
structurebasic
template andmonorepo
template must share a basenamemonorepo
template should be suffixed with-monorepo
Ideas
tsdx create
(or new command?) to scaffold out a new package within an existing monorepo