Skip to content

Commit 68163f8

Browse files
committed
Refactor .gitignore to streamline ignored files and directories
1 parent 0f90668 commit 68163f8

File tree

1 file changed

+18
-108
lines changed

1 file changed

+18
-108
lines changed

.gitignore

Lines changed: 18 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -1,121 +1,31 @@
11
.git
22

3-
/.next
4-
/next
3+
**/dist
54

6-
# Logs
7-
logs
8-
*.log
9-
npm-debug.log*
10-
yarn-debug.log*
11-
yarn-error.log*
12-
13-
# Runtime data
14-
pids
15-
*.pid
16-
*.seed
17-
*.pid.lock
18-
19-
# Directory for instrumented libs generated by jscoverage/JSCover
20-
lib-cov
21-
22-
# Coverage directory used by tools like istanbul
23-
coverage
24-
25-
# nyc test coverage
26-
.nyc_output
27-
28-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
29-
.grunt
30-
31-
# Bower dependency directory (https://bower.io/)
32-
bower_components
33-
34-
# node-waf configuration
35-
.lock-wscript
36-
37-
# Compiled binary addons (https://nodejs.org/api/addons.html)
38-
build/Release
39-
40-
# Dependency directories
41-
node_modules/
42-
jspm_packages/
43-
44-
# TypeScript v1 declaration files
45-
typings/
46-
47-
# Optional npm cache directory
48-
.npm
49-
50-
# Optional eslint cache
51-
.eslintcache
52-
53-
# Typescript cache
54-
tsconfig.tsbuildinfo
55-
56-
# Optional REPL history
57-
.node_repl_history
58-
59-
# Output of 'npm pack'
60-
*.tgz
61-
62-
# Yarn Integrity file
63-
.yarn-integrity
64-
65-
# dotenv environment variables file
66-
.env
67-
.env-restore.example
68-
69-
# next.js build output
705
.next
716

72-
# e2e tests
73-
__tests__/e2e/tests_output/
74-
tests_output/
75-
browserstack.err
76-
77-
stage_ssh_key
78-
79-
80-
7+
# API keys and secrets
8+
**/.env*
9+
!**/.env.example
8110

11+
# Dependency directory
12+
node_modules
13+
bower_components
8214

83-
### next 12 .gitignore rules
84-
85-
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
86-
87-
# dependencies
88-
/node_modules
89-
/.pnp
90-
.pnp.js
91-
92-
# testing
93-
/coverage
94-
95-
# next.js
96-
/.next/
97-
/out/
98-
99-
# production
100-
/build
15+
# Editors
16+
.idea
17+
*.iml
10118

102-
# misc
19+
# OS metadata
10320
.DS_Store
104-
*.pem
21+
Thumbs.db
10522

106-
# debug
107-
npm-debug.log*
108-
yarn-debug.log*
109-
yarn-error.log*
23+
# Ignore built ts files
24+
dist/**/*
11025

111-
# local env files
112-
.env.local
113-
.env.development.local
114-
.env.test.local
115-
.env.production.local
26+
# Logging files
27+
*.log
11628

117-
# vercel
118-
.vercel
29+
temp
11930

120-
# Sentry
121-
.sentryclirc
31+
tsconfig.tsbuildinfo

0 commit comments

Comments
 (0)