Skip to content

Commit 7cd4e9e

Browse files
committedJan 24, 2020
correct gitignore
I'd copied it from the wrong project. Now it makes sense why git was still showing me so many unknown files :)
1 parent 9f29fc8 commit 7cd4e9e

File tree

1 file changed

+21
-42
lines changed

1 file changed

+21
-42
lines changed
 

‎.gitignore

+21-42
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,22 @@
1-
/node_modules
2-
/.nyc_output/
3-
/coverage/
1+
# ignore most things, include some others
2+
/*
3+
/.*
44

5-
/test/fixtures/selflink/node_modules/@scope/z/node_modules/glob
6-
/test/fixtures/selflink/node_modules/foo/node_modules/selflink
7-
/test/fixtures/other/node_modules/glob
8-
/test/fixtures/linkedroot
9-
/test/fixtures/deep/root
10-
/test/fixtures/deeproot
11-
/test/fixtures/badlink/node_modules/foo
12-
/test/fixtures/badlink/node_modules/bar
13-
/test/fixtures/workspace/node_modules/a
14-
/test/fixtures/workspace/node_modules/b
15-
/test/fixtures/workspace/node_modules/c
16-
/test/fixtures/workspace/packages/a/node_modules/b
17-
/test/fixtures/workspace/packages/a/node_modules/c
18-
/test/fixtures/workspace/packages/b/node_modules/a
19-
/test/fixtures/workspace/packages/b/node_modules/c
20-
/test/fixtures/workspace/packages/c/node_modules/a
21-
/test/fixtures/workspace/packages/c/node_modules/b
22-
/test/fixtures/workspace2/node_modules/c/node_modules/d
23-
/test/fixtures/workspace2/node_modules/c/node_modules/x
24-
/test/fixtures/workspace3/node_modules/app
25-
/test/fixtures/workspace3/node_modules/a
26-
/test/fixtures/workspace3/node_modules/b
27-
/test/fixtures/workspace3/node_modules/c
28-
/test/fixtures/links-all-over/node_modules/link-outside-nest
29-
/test/fixtures/links-all-over/node_modules/link-deep
30-
/test/fixtures/links-all-over/node_modules/link-link
31-
/test/fixtures/links-all-over/node_modules/nest/node_modules/link-in-nest
32-
/test/fixtures/symlinked-node-modules/example/node_modules
33-
/test/fixtures/symlinked-node-modules/linked-node-modules/bar
34-
/test/fixtures/install-types/node_modules/symlink
35-
/test/fixtures/pnpm/node_modules/.pnpm/registry.npmjs.org/@scope/x/1.0.0/node_modules/a
36-
/test/fixtures/pnpm/node_modules/.pnpm/registry.npmjs.org/@scope/x/1.0.0/node_modules/b
37-
/test/fixtures/pnpm/node_modules/.pnpm/registry.npmjs.org/@scope/x/1.0.0/node_modules/c
38-
/test/fixtures/pnpm/node_modules/.pnpm/registry.npmjs.org/a/1.0.0/node_modules/b
39-
/test/fixtures/pnpm/node_modules/.pnpm/registry.npmjs.org/a/1.0.0/node_modules/c
40-
/test/fixtures/pnpm/node_modules/.pnpm/registry.npmjs.org/b/1.0.0/node_modules/c
41-
/test/fixtures/pnpm/node_modules/.pnpm/registry.npmjs.org/c/1.0.0/node_modules/@scope/x
42-
/test/fixtures/pnpm/node_modules/@scope/x
43-
/test/fixtures/pnpm/node_modules/a
5+
!bin/
6+
!lib/
7+
!docs/
8+
!package.json
9+
!package-lock.json
10+
!README.md
11+
!CONTRIBUTING.md
12+
!LICENSE
13+
!CHANGELOG.md
14+
!example/
15+
!scripts/
16+
!tap-snapshots/
17+
!test/
18+
!.travis.yml
19+
!.gitignore
20+
!.gitattributes
21+
!map.js
22+
!index.js

0 commit comments

Comments
 (0)
Please sign in to comment.