Skip to content

Re-run npm i after bumping a package to ensure package-lock.json doesn't change #3203

@frattaro

Description

@frattaro

I ran into an issue with: build(deps-dev): bump babel-preset-gatsby from 0.12.1 to 0.12.2

PR runs fine, tests fine. If you were to branch off this and run npm i the package-lock.json changes and breaks everything. Seems like re-running npm i after bumping a package to ensure package-lock.json doesn't change would be a good check against a faulty package, or alternatively include the additional changes in the PR.

But I'm not a grandmaster NPM guy, nor am I in-the-know on dependabot internals, so I'm dropping this idea here.

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