2019-05-29 15:41:12 +00:00
|
|
|
# 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.
|
2016-08-08 16:55:16 +00:00
|
|
|
.*
|
2019-05-29 15:41:12 +00:00
|
|
|
# Exclude specific dotfiles that we want to track.
|
2016-08-08 16:55:16 +00:00
|
|
|
!deps/**/.*
|
2021-11-15 23:39:09 +00:00
|
|
|
!.devcontainer/
|
|
|
|
!.devcontainer/.devcontainer.json
|
2016-08-08 16:55:16 +00:00
|
|
|
!test/fixtures/**/.*
|
2018-07-13 12:19:31 +00:00
|
|
|
!.clang-format
|
2021-09-05 12:59:24 +00:00
|
|
|
!.cpplint
|
2016-08-08 16:55:16 +00:00
|
|
|
!.editorconfig
|
|
|
|
!.gitattributes
|
|
|
|
!.github
|
|
|
|
!.gitignore
|
|
|
|
!.gitkeep
|
2022-07-09 11:59:42 +00:00
|
|
|
!.gitpod.yml
|
2016-08-08 16:55:16 +00:00
|
|
|
!.mailmap
|
2017-09-05 06:33:27 +00:00
|
|
|
!.nycrc
|
2021-09-05 12:59:24 +00:00
|
|
|
!.yamllint.yaml
|
2016-08-08 16:55:16 +00:00
|
|
|
|
2019-05-29 15:41:12 +00:00
|
|
|
# === Rules for root dir ===
|
|
|
|
/core
|
|
|
|
/vgcore.*
|
|
|
|
/v8*.log
|
|
|
|
/perf.data
|
|
|
|
/perf.data.old
|
|
|
|
/tags
|
2024-01-04 19:01:42 +00:00
|
|
|
/tags.*
|
2019-05-29 15:41:12 +00:00
|
|
|
/doc/api.xml
|
|
|
|
/node
|
|
|
|
/node_g
|
2020-01-22 03:38:11 +00:00
|
|
|
/gon-config.json
|
2019-05-29 15:41:12 +00:00
|
|
|
/*.exe
|
|
|
|
/*.swp
|
2011-08-08 19:11:48 +00:00
|
|
|
/out
|
2019-12-11 05:51:23 +00:00
|
|
|
/*.msi
|
|
|
|
/*.wixpdb
|
2020-07-15 22:47:57 +00:00
|
|
|
/*.qlog
|
2020-09-28 06:44:06 +00:00
|
|
|
# For GitHub Codespaces
|
|
|
|
/pythonenv*
|
2019-05-29 15:41:12 +00:00
|
|
|
|
|
|
|
# === Rules for artifacts of `./configure` ===
|
|
|
|
/icu_config.gypi
|
|
|
|
/config.gypi
|
|
|
|
/config.status
|
|
|
|
/config_fips.gypi
|
2011-08-07 05:11:21 +00:00
|
|
|
|
2019-05-29 15:41:12 +00:00
|
|
|
# === Rules for MSVS artifacts ===
|
2020-01-29 12:01:09 +00:00
|
|
|
Debug/
|
|
|
|
Release/
|
2011-08-07 05:11:21 +00:00
|
|
|
*.sln
|
|
|
|
*.suo
|
2019-05-29 15:41:12 +00:00
|
|
|
*.vcxproj*
|
2011-08-07 05:11:21 +00:00
|
|
|
UpgradeLog*.XML
|
|
|
|
_UpgradeReport_Files/
|
|
|
|
*.sdf
|
|
|
|
*.opensdf
|
2019-05-29 15:41:12 +00:00
|
|
|
*.VC.*
|
|
|
|
*.wixobj
|
|
|
|
/tools/msvs/genfiles/
|
|
|
|
/npm.wxs
|
2020-09-28 15:35:09 +00:00
|
|
|
/corepack.wxs
|
2023-03-22 22:16:57 +00:00
|
|
|
/tools/msvs/msi/**/Release/
|
|
|
|
/tools/msvs/msi/**/obj/
|
|
|
|
/tools/msvs/msi/**/x64/
|
2019-05-29 15:41:12 +00:00
|
|
|
# Exclude MSVS files used for .msi file generation
|
2023-03-22 22:16:57 +00:00
|
|
|
!tools/msvs/msi/**/custom_actions.vcxproj
|
|
|
|
!tools/msvs/msi/**/nodemsi.sln
|
2011-08-08 15:55:39 +00:00
|
|
|
|
2019-05-29 15:41:12 +00:00
|
|
|
# === Rules for GYP artifacts ===
|
2011-08-08 19:11:48 +00:00
|
|
|
*-nodegyp*
|
2019-05-29 15:41:12 +00:00
|
|
|
/gyp-*-tool
|
2018-01-23 10:49:25 +00:00
|
|
|
/test/addons/??_*/
|
2019-05-29 15:41:12 +00:00
|
|
|
/*.mk
|
2013-01-17 06:29:48 +00:00
|
|
|
|
2019-05-29 15:41:12 +00:00
|
|
|
# === Rules for other build artifacts ===
|
|
|
|
/email.md
|
|
|
|
/deps/v8-*
|
|
|
|
/deps/icu
|
|
|
|
/deps/icu*.zip
|
|
|
|
/deps/icu*.tgz
|
|
|
|
/deps/icu-tmp
|
|
|
|
./node_modules
|
|
|
|
/android-toolchain/
|
2013-01-17 06:29:48 +00:00
|
|
|
# generated by gyp on Windows
|
2019-05-29 15:41:12 +00:00
|
|
|
/deps/openssl/openssl.props
|
|
|
|
/deps/openssl/openssl.targets
|
|
|
|
/deps/openssl/openssl.xml
|
2021-11-27 15:07:12 +00:00
|
|
|
/deps/openssl/openssl-fipsmodule.props
|
|
|
|
/deps/openssl/openssl-fipsmodule.targets
|
|
|
|
/deps/openssl/openssl-fipsmodule.xml
|
2013-12-03 04:59:34 +00:00
|
|
|
# generated by gyp on android
|
|
|
|
/*.target.mk
|
|
|
|
/*.host.mk
|
2019-05-29 15:41:12 +00:00
|
|
|
/deps/openssl/openssl.target.mk
|
|
|
|
/deps/zlib/zlib.target.mk
|
2020-10-21 10:43:12 +00:00
|
|
|
# generated by MSVC with /P enabled
|
|
|
|
tools/*/*.i
|
|
|
|
tools/*/*.i.tmp
|
2015-09-22 14:24:16 +00:00
|
|
|
|
2019-05-29 15:41:12 +00:00
|
|
|
# === Rules for release artifacts ===
|
2015-01-13 01:51:34 +00:00
|
|
|
/*.tar.*
|
2017-09-04 10:07:56 +00:00
|
|
|
/*.pkg
|
2013-08-21 23:59:15 +00:00
|
|
|
/SHASUMS*.txt*
|
2013-02-13 20:19:08 +00:00
|
|
|
|
2019-05-29 15:41:12 +00:00
|
|
|
# === Rules for `node_modules` ===
|
|
|
|
!**/node_modules/**
|
|
|
|
/node_modules
|
|
|
|
/tools/doc/node_modules
|
|
|
|
/tools/clang-format/node_modules
|
2024-09-06 17:31:45 +00:00
|
|
|
/tools/eslint/node_modules
|
2018-08-24 09:30:45 +00:00
|
|
|
|
2019-05-29 15:41:12 +00:00
|
|
|
# === Rules for test artifacts ===
|
|
|
|
/*.tap
|
2019-04-14 21:24:22 +00:00
|
|
|
/*.xml
|
2022-10-03 17:45:40 +00:00
|
|
|
/v8*-tap.json
|
2019-05-29 15:41:12 +00:00
|
|
|
/node_trace.*.log
|
|
|
|
# coverage related
|
|
|
|
/gcovr
|
|
|
|
/build
|
2019-07-10 16:54:13 +00:00
|
|
|
/coverage
|
2015-04-29 17:47:04 +00:00
|
|
|
|
2021-06-01 18:09:14 +00:00
|
|
|
# === Rules for Xcode artifacts ===
|
2015-04-29 17:47:04 +00:00
|
|
|
*.xcodeproj
|
|
|
|
*.xcworkspace
|
2019-05-29 15:41:12 +00:00
|
|
|
*.pbxproj
|
2017-06-05 14:25:22 +00:00
|
|
|
|
2019-05-29 15:41:12 +00:00
|
|
|
# === 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
|
2018-01-05 22:24:10 +00:00
|
|
|
!deps/v8/**
|
2023-01-11 19:29:33 +00:00
|
|
|
# Ignore the libuv book
|
2019-05-29 15:41:12 +00:00
|
|
|
/deps/uv/docs/code/
|
|
|
|
/deps/uv/docs/src/guide/
|
2023-01-11 19:29:33 +00:00
|
|
|
# Ignore .github directories
|
|
|
|
/deps/**/.github/
|
2021-07-01 15:47:07 +00:00
|
|
|
# Ignore dependencies fetched by tools/v8/fetch_deps.py
|
2019-06-06 10:12:25 +00:00
|
|
|
/deps/.cipd
|
2018-10-12 17:48:13 +00:00
|
|
|
|
2020-06-22 09:22:42 +00:00
|
|
|
# === Rules for Windows vcbuild.bat ===
|
|
|
|
/temp-vcbuild
|
|
|
|
|
2021-03-18 06:59:30 +00:00
|
|
|
# === Rules for CMake ===
|
|
|
|
cmake-build-debug/
|
|
|
|
CMakeCache.txt
|
|
|
|
CMakeFiles
|
|
|
|
CTestTestfile.cmake
|
|
|
|
cmake_install.cmake
|
|
|
|
install_manifest.txt
|
|
|
|
*.cbp
|
|
|
|
|
2019-05-29 15:41:12 +00:00
|
|
|
# === Global Rules ===
|
|
|
|
# Keep last to avoid being excluded
|
|
|
|
*.pyc
|
|
|
|
__pycache__
|
2018-10-12 17:48:13 +00:00
|
|
|
.DS_Store
|
2019-07-26 14:37:16 +00:00
|
|
|
*~
|
2022-01-24 14:39:31 +00:00
|
|
|
|
|
|
|
# === Rules for C++ development ===
|
|
|
|
compile_commands.json
|