-
Notifications
You must be signed in to change notification settings - Fork 789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gitignored package-lock.json #213
Comments
@satazor Hey, I ran into this same problem today, bit of a pain. Besides manually running
That being said, it would obviously be nice if standard-version detected that the file is git-ignored, but until we can add that, one of the above options is probably the best we can do. HTH! |
@nextdrew thanks for your suggestions, haven’t really thought of them. Nicely done. Regarding windows support, replacing |
@satazor Yes, good point, |
Hello, |
With #230 (and likely some updates since), Thanks to all who contributed to this initial fix/feature! ✌️ |
I prefer to gitignore the
package-lock.json
for libraries. I commit thepackage-lock.json
only for apps.When the package lock is gitignored, when running
standard-version
this happens:Using
-f
will add the package-log to source control which I don't want. Ideally,standard-version
could detect that the file is gitignored and skip it.Thoughts?
The text was updated successfully, but these errors were encountered: