From d172012f30ad82fb0c3c033470176d10b1e21c8c Mon Sep 17 00:00:00 2001 From: Yvan Sraka Date: Sat, 25 Feb 2017 18:02:04 +0100 Subject: [PATCH 1/3] Use GitHub .gitignore template for Node.js --- .gitignore | 40 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 482e34b1..5148e527 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,37 @@ -.DS_Store -*.swp -*.swo +# Logs +logs +*.log +npm-debug.log* + +# Runtime data +pids +*.pid +*.seed + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules +jspm_packages + +# Optional npm cache directory +.npm + +# Optional REPL history +.node_repl_history From 4ee907c7b00dad118e994709ac072dbf99e9b740 Mon Sep 17 00:00:00 2001 From: Nik Sumeiko Date: Thu, 15 Jun 2017 13:17:00 +0200 Subject: [PATCH 2/3] Syncs .gitignore latest version of 'github.com/github/gitignore/blob/master/Node.gitignore' --- .gitignore | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 5148e527..621038fa 100644 --- a/.gitignore +++ b/.gitignore @@ -2,11 +2,14 @@ logs *.log npm-debug.log* +yarn-debug.log* +yarn-error.log* # Runtime data pids *.pid *.seed +*.pid.lock # Directory for instrumented libs generated by jscoverage/JSCover lib-cov @@ -20,6 +23,9 @@ coverage # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) .grunt +# Bower dependency directory (https://bower.io/) +bower_components + # node-waf configuration .lock-wscript @@ -27,11 +33,26 @@ coverage build/Release # Dependency directories -node_modules -jspm_packages +node_modules/ +jspm_packages/ + +# Typescript v1 declaration files +typings/ # Optional npm cache directory .npm +# Optional eslint cache +.eslintcache + # Optional REPL history .node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env From 40e4f39cba372aeaf1379db33d076a1c57980b7b Mon Sep 17 00:00:00 2001 From: Nik Sumeiko Date: Thu, 15 Jun 2017 13:17:44 +0200 Subject: [PATCH 3/3] Includes already existing ignores in .gitignore --- .gitignore | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index 621038fa..50664c95 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,11 @@ +# Project custom ignores +.DS_Store +*.swp +*.swo +build +.idea +*.iml + # Logs logs *.log