0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-28 14:33:11 +01:00
nodejs/.gitignore
Claudio Rodriguez 15cc7c0e19 meta: whitelist dotfiles in .gitignore
Instead of excluding IDE-specific dotfiles, exclude all and
then whitelist those the project needs to track.

Refs: https://github.com/nodejs/node/pull/8010
Refs: https://github.com/nodejs/node/pull/9111
Refs: https://github.com/nodejs/node/pull/10052

Fixes: https://github.com/nodejs/node/issues/8012
PR-URL: https://github.com/nodejs/node/pull/8016

Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Josh Gavant <josh.gavant@outlook.com>
2016-12-04 19:34:43 -05:00

110 lines
1.4 KiB
Plaintext

# Whitelist dotfiles
.*
!deps/**/.*
!test/fixtures/**/.*
!tools/eslint/**/.*
!tools/doc/node_modules/**/.*
!.editorconfig
!.eslintignore
!.eslintrc
!.gitattributes
!.github
!.gitignore
!.gitkeep
!.mailmap
!.remarkrc
core
vgcore.*
v8*.log
perf.data
perf.data.old
.waf*
tags
.lock-wscript
*.pyc
doc/api.xml
tmp/
test/tmp*/
iojs
iojs_g
node
node_g
*.swp
.benchmark_reports
icu_config.gypi
.eslintcache
/out
# various stuff that VC++ produces/uses
Debug/
!**/node_modules/debug/
!deps/v8/src/debug/
Release/
!doc/blog/**
*.sln
!nodemsi.sln
*.suo
*.vcproj
*.vcxproj
!custom_actions.vcxproj
*.vcxproj.user
*.vcxproj.filters
UpgradeLog*.XML
_UpgradeReport_Files/
ipch/
*.sdf
*.opensdf
*.VC.opendb
.vs/
.vscode/
/config.mk
/config.gypi
/config_fips.gypi
*-nodegyp*
/gyp-mac-tool
/dist-osx
/npm.wxs
/tools/msvs/npm.wixobj
/tools/msvs/genfiles/
/tools/osx-pkg.pmdoc/index.xml
/test/addons/??_*/
email.md
deps/v8-*
deps/icu
deps/icu*.zip
deps/icu*.tgz
deps/icu-tmp
./node_modules
android-toolchain/
.svn/
# generated by gyp on Windows
deps/openssl/openssl.props
deps/openssl/openssl.targets
deps/openssl/openssl.xml
# generated by gyp on android
/*.target.mk
/*.host.mk
deps/openssl/openssl.target.mk
deps/zlib/zlib.target.mk
# not needed and causes issues for distro packagers
deps/npm/node_modules/.bin/
# build/release artifacts
/*.tar.*
/SHASUMS*.txt*
# test artifacts
tools/faketime
icu_config.gypi
*.tap
# Xcode workspaces and project folders
*.xcodeproj
*.xcworkspace