Skip to content

Commit

Permalink
fix: add tsbuildinfo to gitignore (#18)
Browse files Browse the repository at this point in the history
* fix: add tsbuildinfo to gitignore

* chore: add changeset

* enhancement: improve gitignore
  • Loading branch information
innerdvations authored May 22, 2024
1 parent 80d6ab4 commit 7d42be8
Show file tree
Hide file tree
Showing 2 changed files with 135 additions and 16 deletions.
5 changes: 5 additions & 0 deletions .changeset/six-toes-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@strapi/sdk-plugin': patch
---

Add .tsbuildinfo to gitignore
146 changes: 130 additions & 16 deletions src/cli/commands/plugin/init/files/gitIgnore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,142 @@ const gitIgnoreFile: TemplateFile = {
contents: outdent`
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
node_modules
.pnp
.pnp.js
############################
# OS X
############################
# testing
coverage
.DS_Store
.AppleDouble
.LSOverride
Icon
.Spotlight-V100
.Trashes
._*
############################
# Linux
############################
*~
############################
# Windows
############################
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msm
*.msp
############################
# Packages
############################
*.7z
*.csv
*.dat
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
*.com
*.class
*.dll
*.exe
*.o
*.seed
*.so
*.swo
*.swp
*.swn
*.swm
*.out
*.pid
############################
# Logs and databases
############################
.tmp
*.log
*.sql
*.sqlite
*.sqlite3
############################
# Misc.
############################
# production
*#
ssl
.idea
nbproject
.tsbuildinfo
.eslintcache
.env
############################
# Strapi
############################
public/uploads/*
!public/uploads/.gitkeep
############################
# Build
############################
dist
build
# misc
.DS_Store
*.pem
############################
# Node.js
############################
lib-cov
lcov.info
pids
logs
results
node_modules
.node_history
############################
# Package managers
############################
.yarn/*
!.yarn/cache
!.yarn/unplugged
!.yarn/patches
!.yarn/releases
!.yarn/sdks
!.yarn/versions
.pnp.*
yarn-error.log
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# local env files
.env
############################
# Tests
############################
coverage
`,
};

Expand Down

0 comments on commit 7d42be8

Please sign in to comment.