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