-
Notifications
You must be signed in to change notification settings - Fork 45
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
remove lockfile, add .npmignore #100
Conversation
.npmignore
Outdated
@@ -0,0 +1,2 @@ | |||
.github |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.github | |
.github/ |
Since .github
is always a directory, we can add a slash after it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree. I tend to use .github
because it works as a glob pattern, but explicit is probably better than implicit. Changed.
I would also suggest having a package-lock=false This would disable |
.npmignore
Outdated
@@ -0,0 +1,2 @@ | |||
.github | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we are creating a .npmignore
here it would be best to ignore other items such as:
test/
misc/
.travis.yml
Makefile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True. I didn't realize until double checking the docs on .npmignore
that NPM uses .gitignore
if you have no .npmignore
. So we need to add this stuff back in so that we continue to get the behavior we've had so far. Changed.
@Yash-Singh1 Cool, I didn't know that was a feature of |
That link includes where to keep an |
Some cleanup:
.npmignore
file so we can start to omit automation tooling (like the.github
directory we now have). People like clean NPM packages downloaded into their projects.