-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Lerna version with json response #3720
Copy link
Copy link
Closed
Labels
accepting-prsWe would gladly receive a PR to resolve this issueWe would gladly receive a PR to resolve this issuetype: feature
Description
- I'd be willing to implement this feature (contributing guide)
Description
Use lerna version --json to do what version command can and return a version updated json like lerna changed --json .
Motivation
My project use artifact repo other than npm. lerna publish cannot support the requirement. lerna changed cannot bump the version and lerna version has no formatted json response. lerna version also changes the version tag which cause lerna changed to become silent。
Suggested Implementation
Call lerna version --json to do what version command can return a json object like lerna changed --json but with the bump version.
Alternate Implementations
Maybe use lerna changed --previous to check the tag before the latest one.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
accepting-prsWe would gladly receive a PR to resolve this issueWe would gladly receive a PR to resolve this issuetype: feature