Skip to content

ensure that package.json changes at every commit. #1

Description

@v0lkan

install https://github.com/observing/pre-commit as a dev dependency.

On every commit it should ensure that package.json has also been modified.

Or it is better to create a tiny module that ensures that the package.json has been modified and committed. (it will run a git diff or something similar to ensure that the package.json is staged)

^ Then I can add it as a dev dependency and run it before running tests; or something.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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