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

Isolated Workspaces Updates #91

Merged
merged 1 commit into from
Mar 4, 2018
Merged

Isolated Workspaces Updates #91

merged 1 commit into from
Mar 4, 2018

Conversation

bdwain
Copy link
Contributor

@bdwain bdwain commented Mar 1, 2018

@bestander I have some small changes I realized were necessary after beginning work on this.

rendered

Install only that package's dependencies, and do not hoist them to the rootDir. Install dependencies on other
workspaces from registry instead of using the local version.

It should still use the rootDir's lockfile since adding lockfiles for each workspace will cause conflicts
across workspaces. Since other workspaces will not be in the lockfile, it should determine their versions as if it was
installing without a lockfile (by taking the newest version that matches their semver).

#### Changes to current (non-isolated) behavior
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deleting the dependency on install seems to happen automatically already, so it was unnecessary. With that, no existing commands needed changing.

@bestander bestander merged commit 2d802e9 into yarnpkg:master Mar 4, 2018
@bestander
Copy link
Member

Looks good, thanks @bdwain!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants