-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Question: How can I publish only one package? #1691
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
Comments
I believe you can't, you have to do it manually by going to the folder and run:
Than manually update the version of the package in the other packages. This is the way i do it. Hope there is an other way |
@jimmytb yup, this is what I am doing right now. I hope lerna can support publish one single package. then you don't care about the package.json and the git tag and git commits . |
You can't. A Lerna-managed monorepo doesn't work that way. |
@evocateur any reason why not to support it? |
Because it breaks the fundamental mechanism Lerna uses to determine which packages need to be published? Absolutely nothing stopping you from not placing several packages in the same monorepo that apparently shouldn't be. |
This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
How can I publish only one package?
If I have 5 packages, and all those 5 packages are changed. They are independent, and I just want to publish one of them, because the others they are not ready yet.
Possible Solution
Can we simply add a
Ignore
option when doingleran publish
?Your Environment
lerna --version
npm --version
node --version
The text was updated successfully, but these errors were encountered: