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? |
| @@ -0,0 +1,7824 @@ | |||
| { | |||
| "name": "tsdx", | |||
There was a problem hiding this comment.
Remove this file. We are on #TeamYarn
| ], | ||
| "scripts": { | ||
| "start": "tsdx watch", | ||
| "build": "tsdx build" |
There was a problem hiding this comment.
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.tsbasic,monorepo)tsdx createusers to select project structure (if template supports it)monorepostructurebasictemplate andmonorepotemplate must share a basenamemonorepotemplate should be suffixed with-monorepoIdeas
tsdx create(or new command?) to scaffold out a new package within an existing monorepo