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

feat: Add support for Lerna monorepos #63

Merged
merged 1 commit into from
May 12, 2020

Conversation

evocateur
Copy link
Contributor

Howdy! 👋

I like the level of abstraction of these packages, and wanted to make them useful for folks using Lerna monorepo patterns.

Thanks!

@changeset-bot
Copy link

changeset-bot bot commented May 11, 2020

🦋 Changeset is good to go

Latest commit: 023a42b

We got this.

This PR includes changesets to release 3 packages
Name Type
@manypkg/cli Patch
@manypkg/find-root Minor
@manypkg/get-packages Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@evocateur evocateur force-pushed the add-lerna-support branch from 0d24c4c to 023a42b Compare May 11, 2020 23:14
root: "yarn",
bolt: "bolt"
}[tool],
tool === "pnpm" ? ["install"] : [],
tool === "pnpm" ? ["install"]
: tool === "lerna" ? ["bootstrap", "--since", "HEAD"]
Copy link
Member

Choose a reason for hiding this comment

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

What does --since HEAD do?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It ensures that bootstrap will only run against the packages changed by the fixes (and their local direct dependents) instead of the entire monorepo, in most cases.

Copy link
Member

@emmatown emmatown left a comment

Choose a reason for hiding this comment

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

Thanks!!

@emmatown emmatown merged commit a4db72a into Thinkmill:master May 12, 2020
@github-actions github-actions bot mentioned this pull request May 12, 2020
@evocateur evocateur deleted the add-lerna-support branch May 13, 2020 21:40
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