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.
Description
Use
lerna version --jsonto do what version command can and return a version updated json likelerna changed --json.Motivation
My project use artifact repo other than npm.
lerna publishcannot support the requirement.lerna changedcannot bump the version andlerna versionhas no formatted json response.lerna versionalso changes the version tag which causelerna changedto become silent。Suggested Implementation
Call
lerna version --jsonto do what version command can return a json object likelerna changed --jsonbut with the bump version.Alternate Implementations
Maybe use
lerna changed --previousto check the tag before the latest one.