Git committing the resolved package.json file after publish #3653
Unanswered
xenobytezero
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This might be a very strange workflow I'm looking for, but it makes sense to me
In my monorepo I have two packages where on my release branch, I would like to git commit the resolved package.json files after publish (where the
workspace:
protocol versions have been replaced with version numbers), so that they can be git cloned and built by a cloud provider, pulling in the NPM versions of my other pacakges that I just published.Ideally I'd also like to skip the "push to NPM" step of the publish process for these two packages, but that is less of a priority.
Is there any way to pull this off?
Beta Was this translation helpful? Give feedback.
All reactions