Skip to content

Package.json is being ignore if part of the full path matches #253

Description

@chrisgalvan

My package.json and package-lock.json are being ignored by https://github.com/conventional-changelog/standard-version when trying to bump the version, the reason is that the full path of my package.json contains some words or matches with some specification in .gitignore file

let's say I have this

# ignore user files
/user/
*.user*

and my project is in the following path

c:/users/myuser/dev/myapp/

so this always evaluates to true:

if (dotgit.ignore(configPath)) return

I have posted something related in the PR #230

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