]> source.dussan.org Git - gitignore.git/commitdiff
Restore original comment about node_modules
authorStuart P. Bentley <stuart@testtrack4.com>
Wed, 1 Oct 2014 05:17:25 +0000 (22:17 -0700)
committerStuart P. Bentley <stuart@testtrack4.com>
Wed, 1 Oct 2014 05:17:25 +0000 (22:17 -0700)
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.

Node.gitignore

index 59d842baa84c8bf4a041873b61233d12a585816c..bf98867614a9c8581a72747946377625870c277a 100644 (file)
@@ -20,7 +20,7 @@ coverage
 build/Release
 
 # Dependency directory
-# Commenting this out is preferred by some people, see
+# Deployed apps should consider commenting this line out:
 # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
 node_modules