-
Notifications
You must be signed in to change notification settings - Fork 115
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
[Feature Request] Support Yarn 2 Publish Command #382
Comments
Maybe not 😁 It might make more sense to create a separate |
Guess so 😆
Yeah, create separate plugin is cool too 👍 |
to clarify a bit, it sounds like this is only a problem when using yarn 2 with a repo that is structured as a monorepo. am i understanding that correctly? while i agree with both @gr2m and @pmowrer that it would be better to support this type of approach in a new plugin than to include it in either while we would like to take steps to make it simpler for tools like in short, you are welcome to approach solving this problem with a custom plugin, but it is unlikely that we will build or maintain an official plugin for this purpose. from our understanding, the existing functionality of the |
Problem
As mentioned in pmowrer/semantic-release-monorepo#107,
semantic-release
don't useyarn
command when publishing so when using yarn workspace protocol, it didn't replace the protocol when published tonpm
.Possible Solution
Please support the yarn publishing command.
The gist is:
.yarnrc.yml
file in the root project, or theyarn.lock
file always contain__metadata
while yarn 1 not.yarn npm publish
)Well, maybe it's not as simple as that to implement.
Thank you
The text was updated successfully, but these errors were encountered: