Skip to content

Lerna version with json response #3720

@Fnxxxxo

Description

@Fnxxxxo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions