1 # Please take extra care not to add rules that will make tracked files ignored.
2 # To test that, run `git ls-files -i --exclude-standard`.
3 # To check why a specific file is ignored, run `git check-ignore -v <filepath>`.
5 # === Rule for dotfiles ===
8 # Exclude specific dotfiles that we want to track.
25 # === Rules for root dir ===
42 # For GitHub Codespaces
45 # === Rules for artifacts of `./configure` ===
51 # === Rules for MSVS artifacts ===
65 /tools/msvs/msi/Release/
68 # Exclude MSVS files used for .msi file generation
69 !tools/msvs/msi/custom_actions.vcxproj
70 !tools/msvs/msi/nodemsi.sln
72 # === Rules for GYP artifacts ===
78 # === Rules for other build artifacts ===
87 # generated by gyp on Windows
88 /deps/openssl/openssl.props
89 /deps/openssl/openssl.targets
90 /deps/openssl/openssl.xml
91 # generated by gyp on android
94 /deps/openssl/openssl.target.mk
95 /deps/zlib/zlib.target.mk
97 # === Rules for release artifacts ===
102 # === Rules for `node_modules` ===
105 /tools/doc/node_modules
106 /tools/clang-format/node_modules
108 # === Rules for test artifacts ===
117 # === Rules for XCode artifacts ===
122 # === Rules for files in `/deps` ===
123 # Exclude all files in the vendored `npm`.
124 !/deps/npm/node_modules
125 # These are not needed and causes issues for distro packagers.
126 /deps/npm/node_modules/.bin/
127 # Respect V8's .gitignore
129 # Ignore the libuv book and GitHub templates
132 /deps/uv/docs/src/guide/
133 # Ignore dependencies fetched by deps/v8/tools/node/fetch_deps.py
136 # === Rules for Windows vcbuild.bat ===
139 # === Global Rules ===
140 # Keep last to avoid being excluded