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

Switch lerna and yarn to use workspaces #118

Merged
merged 5 commits into from
Sep 24, 2017

Conversation

valscion
Copy link
Member

@valscion valscion commented Sep 24, 2017

Part of #97

https://yarnpkg.com/blog/2017/08/02/introducing-workspaces/

The best thing is that we'll now only have one yarn.lock file in the root.

Note that to get this working, I had to manually pin nightmare dev-dependency to a git commit, as the sub-dep electron@1.8.0 has been yanked and yarn wanted to install that — and failing. In particular, this incorporates segment-boneyard/nightmare#1270 which fixes segment-boneyard/nightmare#1269

electron@1.8.0 has been yanked and trying to install it will fail. There
hasn't yet been a new release of nightmare that pins the electron to
1.7.x release, so I'll have to point to a commit directly.
This is the major win in using yarn workspaces to manage the monorepo.
We'll only have one yarn.lock file now, whee!
@valscion valscion merged commit 9bc8b43 into version-3 Sep 24, 2017
@valscion valscion deleted the yarn-workspaces-and-version-1 branch September 24, 2017 16:34
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.

1 participant