-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Design workspaces support #41
Comments
I'd love to help out, where I can. I've got, uh, a little experience with these monorepo thingies. (A well-trained autocomplete too, heh) Some initial thoughts, largely at random:
What does this goal entail, exactly? Packages nesting inside other packages seems like a recipe for extreme ambiguity/confusion. If you're talking just package definitions at different levels of the directory tree without overlap, then consider my concern "old man yells at cloud" and carry on.
In my experience, I see a lot of folks opting for Lerna's "independent" versioning mode right off the bat (when in fact they often might not need it). I tend to prefer Lerna's default "fixed"/"unified" versioning, but I've often yearned for a hybrid mode that would allow a subset of packages to bump majors without the entire tree following in lockstep. Anyway, interested to see where this goes! |
@evocateur sorry, what I meant be central version management was versions of external dependencies. So if most of your packages rely on In Cargo terms, it might look like: # toplevel Cargo.toml
[central-dependencies]
anyhow = { version = "^1.0.25" }
# ./packages/my-subpackage/Cargo.toml
[dependencies]
anyhow = { central-version = true } And then, if you try and publish that package, it slurps up whatever the defined spec in the toplevel one is and puts it in as the |
p.s., @evocateur I would love to hear what you think about bit.dev's workflows and what you think is worth pulling in. |
@zkat Oh, hah, sorry for diving down the wrong rabbit-hole on that one. I gotta say, I'm really liking the progress I will have to carve out some time to explore bit.dev! A blog post from 2018 seems like as good a starting place as any... |
We need to design what workspaces will look like in
ds
. We should discuss what needs need to be fulfilled and examine the space a bit to see what others have done and how it can be improved on.Some things I'd really like to have:
The text was updated successfully, but these errors were encountered: