Skip to content

Commit a84f58d

Browse files
committed
tools,build: .gitignore tweaks
1 parent 0fb1e07 commit a84f58d

File tree

1 file changed

+40
-31
lines changed

1 file changed

+40
-31
lines changed

.gitignore

Lines changed: 40 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
# Whitelist dotfiles
22
.*
3-
!deps/**/.*
4-
!test/fixtures/**/.*
5-
!tools/eslint/**/.*
6-
!tools/doc/node_modules/**/.*
3+
!deps/**
74
!.editorconfig
85
!.eslintignore
96
!.eslintrc.yaml
7+
!.eslintrc.yml
108
!.gitattributes
119
!.github
1210
!.gitignore
@@ -24,9 +22,8 @@ perf.data.old
2422
tags
2523
.lock-wscript
2624
*.pyc
27-
doc/api.xml
25+
/doc/api.xml
2826
tmp/
29-
test/tmp*/
3027
iojs
3128
iojs_g
3229
node
@@ -36,15 +33,19 @@ node_g
3633
icu_config.gypi
3734
.eslintcache
3835
node_trace.*.log
39-
coverage/
40-
36+
/coverage/
4137
/out
4238

4339
# various stuff that VC++ produces/uses
4440
Debug/
45-
!**/node_modules/debug/
46-
!deps/v8/src/debug/
41+
!/deps/v8/test/debugger/debug/
42+
!/deps/v8/src/base/debug
43+
!/deps/v8/src/debug
44+
/deps/v8/src/debug/obj
45+
deps/v8/src/inspector/Debug/
4746
Release/
47+
!deps/v8/tools/release
48+
!deps/npm/node_modules/bluebird/js/release
4849
!doc/blog/**
4950
*.sln
5051
!nodemsi.sln
@@ -62,7 +63,6 @@ ipch/
6263
*.VC.opendb
6364
.vs/
6465
.vscode/
65-
/deps/v8/src/debug/obj
6666
/*.exe
6767

6868
/config.mk
@@ -75,46 +75,55 @@ ipch/
7575
/tools/msvs/genfiles/
7676
/test/addons/??_*/
7777
email.md
78-
deps/v8-*
79-
deps/icu
80-
deps/icu*.zip
81-
deps/icu*.tgz
82-
deps/icu-tmp
83-
./node_modules
78+
/deps/v8-*
79+
/deps/icu
80+
/deps/icu*.zip
81+
/deps/icu*.tgz
82+
/deps/icu-tmp
8483
android-toolchain/
8584
.svn/
8685

8786
# generated by gyp on Windows
88-
deps/openssl/openssl.props
89-
deps/openssl/openssl.targets
90-
deps/openssl/openssl.xml
87+
/deps/openssl/openssl.props
88+
/deps/openssl/openssl.targets
89+
/deps/openssl/openssl.xml
9190

9291
# generated by gyp on android
9392
/*.target.mk
9493
/*.host.mk
95-
deps/openssl/openssl.target.mk
96-
deps/zlib/zlib.target.mk
97-
98-
# not needed and causes issues for distro packagers
99-
deps/npm/node_modules/.bin/
94+
/deps/openssl/openssl.target.mk
95+
/deps/zlib/zlib.target.mk
10096

10197
# build/release artifacts
10298
/*.tar.*
10399
/*.pkg
104100
/SHASUMS*.txt*
105101

106102
# test artifacts
107-
tools/faketime
108-
tools/remark-cli/node_modules
109-
tools/remark-preset-lint-node/node_modules
103+
/tools/faketime
110104
icu_config.gypi
111105
*.tap
112106

113107
# Xcode workspaces and project folders
114108
*.xcodeproj
115109
*.xcworkspace
116110

111+
# npm stuff
112+
node_modules
113+
package-lock.json
114+
!/deps/npm/node_modules**
115+
/deps/npm/node_modules/node-gyp/gyp/**/*.pyc
116+
!/tools/eslint/node_modules**
117+
!/tools/doc/node_modules**
118+
!/test/fixtures/**
119+
# not needed and causes issues for distro packagers
120+
/deps/npm/node_modules/.bin/
121+
117122
# libuv book and GitHub template
118-
deps/uv/.github/
119-
deps/uv/docs/code/
120-
deps/uv/docs/src/guide/
123+
/deps/uv/.github/
124+
/deps/uv/docs/code/
125+
/deps/uv/docs/src/guide/
126+
127+
!/deps/v8/test/mjsunit/tools/profviz-test.log
128+
!/deps/v8/test/mjsunit/tools/tickprocessor-test-func-info.log
129+
!/deps/v8/test/mjsunit/tools/tickprocessor-test.log

0 commit comments

Comments
 (0)