Skip to content

Commit ca75d14

Browse files
committed
Add .gitignores
1 parent ca26348 commit ca75d14

File tree

29 files changed

+4028
-696
lines changed

29 files changed

+4028
-696
lines changed

.github/pull_request_template.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@ The following selections do not need to be completed if this PR only contains ch
1111

1212
- Template Metadata
1313
- [ ] template directory ends with `-template`
14-
- [ ] "cloudflare" section of package.json is populated
14+
- [ ] "cloudflare" section of `package.json` is populated
1515
- [ ] template preview image uploaded to Images
1616
- [ ] README is populated and uses `<!-- dash-content-start -->` and `<!-- dash-content-end -->` to designate the Dash readme preview
17-
- [ ] package.json contains a `deploy` command
18-
- [ ] package.json contains `private: true` and no `version` field
17+
- [ ] `.gitignore` file exists
18+
- [ ] `package.json` contains a `deploy` command
19+
- [ ] `package.json` contains `private: true` and no `version` field
1920

20-
## Example package.json
21+
## Example `package.json`
2122

2223
```json
2324
"private": true,

.gitignore

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
1-
# Created by https://www.toptal.com/developers/gitignore/api/node,macos
2-
# Edit at https://www.toptal.com/developers/gitignore?templates=node,macos
1+
# Created by https://www.toptal.com/developers/gitignore/api/macos,node,git
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=macos,node,git
3+
4+
### Git ###
5+
# Created by git for backups. To disable backups in Git:
6+
# $ git config --global mergetool.keepBackup false
7+
*.orig
8+
9+
# Created by git when using merge tools for conflicts
10+
*.BACKUP.*
11+
*.BASE.*
12+
*.LOCAL.*
13+
*.REMOTE.*
14+
*_BACKUP_*.txt
15+
*_BASE_*.txt
16+
*_LOCAL_*.txt
17+
*_REMOTE_*.txt
318

419
### macOS ###
520
# General
@@ -10,6 +25,7 @@
1025
# Icon must end with two \r
1126
Icon
1227

28+
1329
# Thumbnails
1430
._*
1531

@@ -29,6 +45,10 @@ Network Trash Folder
2945
Temporary Items
3046
.apdisk
3147

48+
### macOS Patch ###
49+
# iCloud generated files
50+
*.icloud
51+
3252
### Node ###
3353
# Logs
3454
logs
@@ -74,10 +94,6 @@ build/Release
7494
node_modules/
7595
jspm_packages/
7696

77-
# Moved from ./templates for ignoring all locks in templates
78-
templates/**/*-lock.*
79-
templates/**/*.lock
80-
8197
# Snowpack dependency directory (https://snowpack.dev/)
8298
web_modules/
8399

@@ -173,17 +189,18 @@ dist
173189
# SvelteKit build / generate output
174190
.svelte-kit
175191

176-
# End of https://www.toptal.com/developers/gitignore/api/node,macos
192+
# End of https://www.toptal.com/developers/gitignore/api/macos,node,git
177193

178-
# Wrangler output
194+
### Wrangler ###
179195
.wrangler/
180-
build/
196+
.env*
197+
!.env.example
198+
.dev.vars*
199+
!.dev.vars.example
181200

182-
# Turbo output
201+
### Turbo ###
183202
.turbo/
184203

185-
# Playwright
204+
### Playwright ###
186205
/test-results/
187206
/playwright-report/
188-
/blob-report/
189-
/playwright/.cache/

0 commit comments

Comments
 (0)