-
Notifications
You must be signed in to change notification settings - Fork 147
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
workspaces phase 1: aggregated install #60
Conversation
This is lovely! I'm 100 % supportive of this plan. Can we call it |
How about we disable this feature behind and |
So for every workspace feature I'd have to type out |
In .yarnrc:
|
Sounds good. |
This isn't really how RFCs are supposed to work... there's a lot of missing details here that should be added |
I am open to suggestions here, @thejameskyle. |
I added a lot more detail to my original RFC here: https://gist.github.com/thejameskyle/1e0f781de728ec1f2597a0bdbe071675 |
Looking at workspaces (or: multi-project builds, or: multi-modules) from a Gradle (or: maven) perspective, there's that In a multi-project yarn set-up, we do this by writing a package.json {
"name": "parent",
"private": true,
"dependencies": {
"a": "1.0.0",
"b": "^2.4.7"
}
} packages/common/package.json: {
"name": "common",
"dependencies": {
"a": "x.y.z"
}
} packages/utils/package.json: {
"name": "core",
"dependencies": {
"a": "x.y.z",
"b": "x.y.z"
}
} I think it could be super-helpful to add a |
@dherges that would risk a nonstandard version string being published out to the ecosystem. The inner package package.jsons need to be coded as if the parent workspace doesn't exist, since when published, it won't. |
@ljharb yes, you're right. it would require to build an effective |
@dherges which is a very error-prone approach, considering anyone might run |
@ljharb partially, yes. we work around this by managing |
No description provided.