Commit Graph

43 Commits

Author SHA1 Message Date
Brendan Forster
69df486d77 Merge pull request #2157 from luiscoms/patch-1
Add bower dependency directory
2017-01-28 12:04:37 +01:00
Malcolm
e3dad9eb64 Add .env to Node.gitignore 2017-01-25 16:13:33 +13:00
Luis Fernando Gomes
c2bf044184 Add bower dependency directory 2016-10-28 00:23:58 -02:00
Craig Morris
11c20eb3ba Add yarn ignored file 2016-10-12 14:07:57 +01:00
Mike Ralphson
841cf58592 Update Node.gitignore (*.tgz)
Add `*.tgz`, the output of `npm pack`, or other build-steps.
2016-09-26 06:59:20 +01:00
Kyle Pollock
88e76d3b94 Add eslint cache ignore for node projects. 2016-08-19 09:46:09 -05:00
Roman Pushkin
55157bfd0e Ignore *.pid.lock
Some popular applications (for example, Phusion Passenger) leave `*.pid.lock` file(s). For example, when you type `passenger start` with simple express app listening on port 3000, it leaves the following files:

* `passenger.3000.pid` (removed when passenger stops)
* `passenger.3000.log`
* `passenger.3000.pid.lock`

While `*pid` and `*.log` are ignored, `*.pid.lock` remains unignored. Phusion Passenger is quite popular, and `*.pid.lock` file should be ignored.
2016-07-02 09:05:05 -07:00
Roman Pushkin
1f2a6371e4 Add nyc test coverage output directory
[nyc](https://github.com/bcoe/nyc) is quite popular, and under some circumstances it writes to `.nyc_output` directory. This directory should be ignored by default.
2016-04-21 12:01:36 -07:00
Matti Jokitulppo
e9e59f2259 Merge Node.gitignore with master 2016-02-12 07:44:43 +02:00
Levin Rickert
cedf149de3 URL doesn't exists anymore 2016-01-17 17:43:54 +01:00
Julien CROUZET
5f5926a9bb Ignore REPL history file
Like in #1732, Docker images can consider project directoy as $HOME
2015-11-05 16:17:54 +01:00
Julien CROUZET
f4faeebd86 Add .npm cache directory 2015-11-02 19:20:21 +01:00
Matti Jokitulppo
a98ae44ae8 Ignore JSPM package folder 2015-10-12 19:03:57 +03:00
cyrbil
5e87c947e4 Add ignore for npm debug log files 2015-08-06 11:30:45 +02:00
Goutham Veeramachaneni
e1a89ad432 Fix typo from node_modules to node-modules
Thanks to @arcresu for pointing out!
2015-04-30 10:10:28 +05:30
Goutham Veeramachaneni
7fd989641e Update npmjs docs link
The previous link gives 404
2015-04-24 16:38:03 +05:30
Sebastian Blei
7e8db0da2c Update Node.gitignore
Corrected URL, which linked to the `Should I check my node_modules folder into git?` readup.
2015-02-19 09:20:28 +01:00
Carl Suster
cbe3b7bf37 Revert "Ignore npm-debug.log" 2015-01-24 15:43:52 +11:00
Jenrik
3c1fc5972a Ignore npm-debug.log
Debug log from npm is now ignored
2015-01-02 01:38:25 +01:00
Carl Suster
137ea2e8ac Merge pull request #1233 from stuartpb/patch-1
Restore original comment about node_modules
2014-11-12 18:54:40 +11:00
Stuart P. Bentley
9988b4bfe0 Let node_modules FAQ URL speak for itself 2014-11-11 23:47:18 -08:00
Stuart P. Bentley
e4e5da63fa Explain .lock-wscript and move it
This changes the comment to better explain what .lock-wscript is for
(it's for the [obsolete][v0.8.0] node-waf build system), and moves it
next to the other ignore pattern(s) for binary module compilation artifacts.

[v0.8.0]: http://blog.nodejs.org/2012/06/25/node-v0-8-0/
2014-09-30 22:23:32 -07:00
Stuart P. Bentley
2d111edfb0 Restore original comment about node_modules
It's not the opinion of "some people", it's a conditional circumstance.
Even proponents of checking node_modules into Git agree that you
shouldn't do it when you're writing a module to be included as a
dependency on npmjs.org: the advantage of checking node_modules
into Git is only for fully-packaged apps, which is why the original
comment was what it was.
2014-09-30 22:17:25 -07:00
Josh Whaley
5521a828aa Update Node.gitignore
Updated link for the dependency directory from [this](https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git) to [this](https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-).
2014-08-13 10:52:00 -04:00
Scott J. Roberts
446dae3d53 Adding .lock-wscript 2014-05-07 17:47:05 -04:00
cheddar
9390b1072d Reintroduce link to npmjs
And remove my own opinions...
2014-04-04 17:33:30 -05:00
cheddar
4d30a45c9e Remove opinion from Node.js .gitignore file
This is a PR to remove the opinionated lines from the Node.js .gitignore file.

I do not believe that Github's pre-baked .gitignore files should be promulgating opinions, especially in a community that is as fresh as the Node.js community.  Questions of what should be checked in should be a decision made on an organization-by-organization basis, or left up to the individual.  Github's inclusion of opinion in these files puts unnecessary authority behind that opinion, which can have the negative side-effect of people following without thinking.
2014-04-04 10:05:58 -05:00
Stuart P. Bentley
6b8815dc43 Remove Results classes from Node gitignore
These aren't really common patterns in the Node world, and if a Node project includes one of these types as files, they're as likely to want to include them in the project as not (`*.csv` is as likely to be a data source as `*.json`).
2014-02-28 12:46:45 -08:00
Adam Roben
937523ae50 Reduce comments 2014-02-28 11:37:14 -05:00
Stuart P. Bentley
f3f11fb2f1 Node.gitignore: correct term for instrumentation 2014-01-07 02:52:27 -08:00
Stuart P. Bentley
bdf8aec8f9 Add .grunt directory 2014-01-07 02:33:15 -08:00
Stuart P. Bentley
8845a345c0 Add coverage directory, rename coverage heading 2014-01-07 02:27:32 -08:00
Stuart P. Bentley
b0440f97cc Add build/Release to Node gitignore
This re-covers the http://nodejs.org/api/addons.html case for which the "build" directory was added in 00686415c4, but doesn't break cross-environment projects that use the build directory for including concatenated/minified source. Mazel tov!
2014-01-07 01:49:40 -08:00
Stuart P. Bentley
935e9b4560 Clarify node_modules comment
Now linking to the official npm FAQ entry (with tl;dr) rather than straight to mikeal's blog post
2014-01-07 01:37:13 -08:00
Stuart P. Bentley
d79a88b29f Refactor Node.gitignore with comments
The "build" directory is lost in this refactor, as many JS projects
do wish to include a minified/concatenated version of their source
in the "build" folder in source control.
2014-01-02 20:02:57 -05:00
Ray Solomon
00686415c4 add 'build' to Node.gitignore
This is to exclude compiled code from nodejs addons.
Reference: http://nodejs.org/api/addons.html
2013-11-13 01:27:28 -08:00
Dan Kerimdzhanov
fa1ea3d7f2 remove npm-debug.log entry 2013-11-08 18:34:37 +06:00
Ivan Zuzak
f0dde55c6b ensure single trailing newline 2013-10-06 14:40:01 +02:00
Andrej Mihajlov
3df67a9651 Update Node.gitignore 2012-11-08 14:07:25 +01:00
Ankur Oberoi
541e85287f checking in the node_modules dir is best practice for app developers
according to the community since recent changes.

see: http://www.mikealrogers.com/posts/nodemodules-in-git.html
by @mikeal
(cherry picked from commit 44b47ec5bd0222ccf55efe5bcdb8bd3c55271803)
2012-01-06 00:59:41 -05:00
indexzero
aa8f00968f [minor] Update Node.gitignore for npm 1.0 2011-05-29 21:47:07 -04:00
Peat Bakke
330290971a Removing .DS_Store; specific to OS X, and redundant with Global/OSX 2010-11-10 03:40:33 +08:00
amrnt
4dc09001b5 adding Node.js ignores 2010-11-09 15:51:04 +08:00