Skip to content

Support version update of package-lock.json and npm-shrinkwrap.json #193

Open
@odanado

Description

@odanado

Describe the feature

npm has version information is stored not only in package.json, but also in package-lock.json and npm-shrinkwrap.json. Therefore, when updating a package's version, these files must also be updated.

Here is an example implementation of the npm version command.
https://github.com/npm/cli/blob/60faa9052a74d7a6ac8db59dae2d7017542310d7/workspaces/libnpmversion/lib/version.js#L79-L94

Additional information

  • Would you be willing to help implement this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions