mirror of
https://github.com/nodejs/node.git
synced 2024-11-29 23:16:30 +01:00
ea4b0bcb3c
Refs: https://github.com/nodejs/node/pull/32670#issuecomment-609498003 PR-URL: https://github.com/nodejs/node/pull/32710 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
139 lines
2.5 KiB
Plaintext
139 lines
2.5 KiB
Plaintext
# Please take extra care not to add rules that will make tracked files ignored.
|
|
# To test that, run `git ls-files -i --exclude-standard`.
|
|
# To check why a specific file is ignored, run `git check-ignore -v <filepath>`.
|
|
|
|
# === Rule for dotfiles ===
|
|
# Ignore all dotfiles.
|
|
.*
|
|
# Exclude specific dotfiles that we want to track.
|
|
!deps/**/.*
|
|
!test/fixtures/**/.*
|
|
!.clang-format
|
|
!.editorconfig
|
|
!.eslintignore
|
|
!.eslintrc.js
|
|
!.flake8
|
|
!.gitattributes
|
|
!.github
|
|
!.gitignore
|
|
!.gitkeep
|
|
!.mailmap
|
|
!.nycrc
|
|
!.eslintrc.yaml
|
|
!.cpplint
|
|
|
|
# === Rules for root dir ===
|
|
/core
|
|
/vgcore.*
|
|
/v8*.log
|
|
/perf.data
|
|
/perf.data.old
|
|
/tags
|
|
/doc/api.xml
|
|
/node
|
|
/node_g
|
|
/gon-config.json
|
|
/*.exe
|
|
/*.swp
|
|
/out
|
|
/*.msi
|
|
/*.wixpdb
|
|
|
|
# === Rules for artifacts of `./configure` ===
|
|
/icu_config.gypi
|
|
/config.gypi
|
|
/config.status
|
|
/config_fips.gypi
|
|
|
|
# === Rules for MSVS artifacts ===
|
|
Debug/
|
|
Release/
|
|
*.sln
|
|
*.suo
|
|
*.vcxproj*
|
|
UpgradeLog*.XML
|
|
_UpgradeReport_Files/
|
|
*.sdf
|
|
*.opensdf
|
|
*.VC.*
|
|
*.wixobj
|
|
/tools/msvs/genfiles/
|
|
/npm.wxs
|
|
/tools/msvs/msi/Release/
|
|
/tools/msvs/msi/obj/
|
|
/tools/msvs/msi/x64/
|
|
# Exclude MSVS files used for .msi file generation
|
|
!tools/msvs/msi/custom_actions.vcxproj
|
|
!tools/msvs/msi/nodemsi.sln
|
|
|
|
# === Rules for GYP artifacts ===
|
|
*-nodegyp*
|
|
/gyp-*-tool
|
|
/test/addons/??_*/
|
|
/*.mk
|
|
|
|
# === Rules for other build artifacts ===
|
|
/email.md
|
|
/deps/v8-*
|
|
/deps/icu
|
|
/deps/icu*.zip
|
|
/deps/icu*.tgz
|
|
/deps/icu-tmp
|
|
./node_modules
|
|
/android-toolchain/
|
|
# 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
|
|
|
|
# === Rules for release artifacts ===
|
|
/*.tar.*
|
|
/*.pkg
|
|
/SHASUMS*.txt*
|
|
|
|
# === Rules for `node_modules` ===
|
|
!**/node_modules/**
|
|
/node_modules
|
|
/tools/doc/node_modules
|
|
/tools/clang-format/node_modules
|
|
|
|
# === Rules for test artifacts ===
|
|
/*.tap
|
|
/*.xml
|
|
/node_trace.*.log
|
|
# coverage related
|
|
/gcovr
|
|
/build
|
|
/coverage
|
|
|
|
# === Rules for XCode artifacts ===
|
|
*.xcodeproj
|
|
*.xcworkspace
|
|
*.pbxproj
|
|
|
|
# === Rules for files in `/deps` ===
|
|
# Exclude all files in the vendored `npm`.
|
|
!/deps/npm/node_modules
|
|
# These are not needed and causes issues for distro packagers.
|
|
/deps/npm/node_modules/.bin/
|
|
# Respect V8's .gitignore
|
|
!deps/v8/**
|
|
# Ignore the libuv book and GitHub templates
|
|
/deps/uv/.github/
|
|
/deps/uv/docs/code/
|
|
/deps/uv/docs/src/guide/
|
|
# Ignore dependencies fetched by deps/v8/tools/node/fetch_deps.py
|
|
/deps/.cipd
|
|
|
|
# === Global Rules ===
|
|
# Keep last to avoid being excluded
|
|
*.pyc
|
|
__pycache__
|
|
.DS_Store
|
|
*~
|