11cb0ef41Sopenharmony_ci# Please take extra care not to add rules that will make tracked files ignored.
21cb0ef41Sopenharmony_ci# To test that, run `git ls-files -i --exclude-standard`.
31cb0ef41Sopenharmony_ci# To check why a specific file is ignored, run `git check-ignore -v <filepath>`.
41cb0ef41Sopenharmony_ci
51cb0ef41Sopenharmony_ci# === Rule for dotfiles ===
61cb0ef41Sopenharmony_ci# Ignore all dotfiles.
71cb0ef41Sopenharmony_ci.*
81cb0ef41Sopenharmony_ci# Exclude specific dotfiles that we want to track.
91cb0ef41Sopenharmony_ci!deps/**/.*
101cb0ef41Sopenharmony_ci!test/fixtures/**/.*
111cb0ef41Sopenharmony_ci!.clang-format
121cb0ef41Sopenharmony_ci!.editorconfig
131cb0ef41Sopenharmony_ci!.eslintignore
141cb0ef41Sopenharmony_ci!.eslintrc.js
151cb0ef41Sopenharmony_ci!.flake8
161cb0ef41Sopenharmony_ci!.gitattributes
171cb0ef41Sopenharmony_ci!.github
181cb0ef41Sopenharmony_ci!.gitignore
191cb0ef41Sopenharmony_ci!.gitkeep
201cb0ef41Sopenharmony_ci!.mailmap
211cb0ef41Sopenharmony_ci!.nycrc
221cb0ef41Sopenharmony_ci!.eslintrc.yaml
231cb0ef41Sopenharmony_ci!.cpplint
241cb0ef41Sopenharmony_ci
251cb0ef41Sopenharmony_ci# === Rules for root dir ===
261cb0ef41Sopenharmony_ci/core
271cb0ef41Sopenharmony_ci/vgcore.*
281cb0ef41Sopenharmony_ci/v8*.log
291cb0ef41Sopenharmony_ci/perf.data
301cb0ef41Sopenharmony_ci/perf.data.old
311cb0ef41Sopenharmony_ci/tags
321cb0ef41Sopenharmony_ci/doc/api.xml
331cb0ef41Sopenharmony_ci/node
341cb0ef41Sopenharmony_ci/node_g
351cb0ef41Sopenharmony_ci/gon-config.json
361cb0ef41Sopenharmony_ci/*.exe
371cb0ef41Sopenharmony_ci/*.swp
381cb0ef41Sopenharmony_ci/out
391cb0ef41Sopenharmony_ci
401cb0ef41Sopenharmony_ci# === Rules for artifacts of `./configure` ===
411cb0ef41Sopenharmony_ci/icu_config.gypi
421cb0ef41Sopenharmony_ci/config.gypi
431cb0ef41Sopenharmony_ci/config.status
441cb0ef41Sopenharmony_ci/config_fips.gypi
451cb0ef41Sopenharmony_ci
461cb0ef41Sopenharmony_ci# === Rules for MSVS artifacts ===
471cb0ef41Sopenharmony_ciDebug/
481cb0ef41Sopenharmony_ciRelease/
491cb0ef41Sopenharmony_ci*.sln
501cb0ef41Sopenharmony_ci*.suo
511cb0ef41Sopenharmony_ci*.vcxproj*
521cb0ef41Sopenharmony_ciUpgradeLog*.XML
531cb0ef41Sopenharmony_ci_UpgradeReport_Files/
541cb0ef41Sopenharmony_ci*.sdf
551cb0ef41Sopenharmony_ci*.opensdf
561cb0ef41Sopenharmony_ci*.VC.*
571cb0ef41Sopenharmony_ci*.wixobj
581cb0ef41Sopenharmony_ci/tools/msvs/genfiles/
591cb0ef41Sopenharmony_ci/npm.wxs
601cb0ef41Sopenharmony_ci# Exclude MSVS files used for .msi file generation
611cb0ef41Sopenharmony_ci!tools/msvs/msi/custom_actions.vcxproj
621cb0ef41Sopenharmony_ci!tools/msvs/msi/nodemsi.sln
631cb0ef41Sopenharmony_ci
641cb0ef41Sopenharmony_ci# === Rules for GYP artifacts ===
651cb0ef41Sopenharmony_ci*-nodegyp*
661cb0ef41Sopenharmony_ci/gyp-*-tool
671cb0ef41Sopenharmony_ci/test/addons/??_*/
681cb0ef41Sopenharmony_ci/*.mk
691cb0ef41Sopenharmony_ci
701cb0ef41Sopenharmony_ci# === Rules for other build artifacts ===
711cb0ef41Sopenharmony_ci/email.md
721cb0ef41Sopenharmony_ci/deps/v8-*
731cb0ef41Sopenharmony_ci/deps/icu
741cb0ef41Sopenharmony_ci/deps/icu*.zip
751cb0ef41Sopenharmony_ci/deps/icu*.tgz
761cb0ef41Sopenharmony_ci/deps/icu-tmp
771cb0ef41Sopenharmony_ci./node_modules
781cb0ef41Sopenharmony_ci/android-toolchain/
791cb0ef41Sopenharmony_ci# generated by gyp on Windows
801cb0ef41Sopenharmony_ci/deps/openssl/openssl.props
811cb0ef41Sopenharmony_ci/deps/openssl/openssl.targets
821cb0ef41Sopenharmony_ci/deps/openssl/openssl.xml
831cb0ef41Sopenharmony_ci# generated by gyp on android
841cb0ef41Sopenharmony_ci/*.target.mk
851cb0ef41Sopenharmony_ci/*.host.mk
861cb0ef41Sopenharmony_ci/deps/openssl/openssl.target.mk
871cb0ef41Sopenharmony_ci/deps/zlib/zlib.target.mk
881cb0ef41Sopenharmony_ci
891cb0ef41Sopenharmony_ci# === Rules for release artifacts ===
901cb0ef41Sopenharmony_ci/*.tar.*
911cb0ef41Sopenharmony_ci/*.pkg
921cb0ef41Sopenharmony_ci/SHASUMS*.txt*
931cb0ef41Sopenharmony_ci
941cb0ef41Sopenharmony_ci# === Rules for `node_modules` ===
951cb0ef41Sopenharmony_ci!**/node_modules/**
961cb0ef41Sopenharmony_ci/node_modules
971cb0ef41Sopenharmony_ci/tools/doc/node_modules
981cb0ef41Sopenharmony_ci/tools/clang-format/node_modules
991cb0ef41Sopenharmony_ci
1001cb0ef41Sopenharmony_ci# === Rules for test artifacts ===
1011cb0ef41Sopenharmony_ci/*.tap
1021cb0ef41Sopenharmony_ci/node_trace.*.log
1031cb0ef41Sopenharmony_ci# coverage related
1041cb0ef41Sopenharmony_ci/gcovr
1051cb0ef41Sopenharmony_ci/build
1061cb0ef41Sopenharmony_ci/coverage
1071cb0ef41Sopenharmony_ci
1081cb0ef41Sopenharmony_ci# === Rules for XCode artifacts ===
1091cb0ef41Sopenharmony_ci*.xcodeproj
1101cb0ef41Sopenharmony_ci*.xcworkspace
1111cb0ef41Sopenharmony_ci*.pbxproj
1121cb0ef41Sopenharmony_ci
1131cb0ef41Sopenharmony_ci# === Rules for files in `/deps` ===
1141cb0ef41Sopenharmony_ci# Exclude all files in the vendored `npm`.
1151cb0ef41Sopenharmony_ci!/deps/npm/node_modules
1161cb0ef41Sopenharmony_ci# These are not needed and causes issues for distro packagers.
1171cb0ef41Sopenharmony_ci/deps/npm/node_modules/.bin/
1181cb0ef41Sopenharmony_ci# Respect V8's .gitignore
1191cb0ef41Sopenharmony_ci!deps/v8/**
1201cb0ef41Sopenharmony_ci# Ignore the libuv book and GitHub templates
1211cb0ef41Sopenharmony_ci/deps/uv/.github/
1221cb0ef41Sopenharmony_ci/deps/uv/docs/code/
1231cb0ef41Sopenharmony_ci/deps/uv/docs/src/guide/
1241cb0ef41Sopenharmony_ci# Ignore dependencies fetched by deps/v8/tools/node/fetch_deps.py
1251cb0ef41Sopenharmony_ci/deps/.cipd
1261cb0ef41Sopenharmony_ci
1271cb0ef41Sopenharmony_ci# === Global Rules ===
1281cb0ef41Sopenharmony_ci# Keep last to avoid being excluded
1291cb0ef41Sopenharmony_ci*.pyc
1301cb0ef41Sopenharmony_ci__pycache__
1311cb0ef41Sopenharmony_ci.DS_Store
1321cb0ef41Sopenharmony_ci*~
133