Skip to content
devops47개 활성 규칙2026-09-30 검증 완료

bun .gitignore 템플릿

Standard bun gitignore template from upstream github/gitignore collection. GitHub 공식 리포지토리 패턴과 결정론적으로 병합되어 의존성 폴더, 빌드 결과물, 로컬 환경 변수 파일로부터 저장소를 깨끗하게 지켜줍니다.

인터랙티브 스택 생성기

전체 생성기에서 열기
Search for templates
빠른 추가:
선택됨1
bun
선택된 템플릿 (1)
.gitignore
47개 규칙
### bun ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# database
*.sqlite
# package-json
package-json.lock
# bun deploy file
node_modules.bun
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
# parcel-bundler cache (https://parceljs.org/)
.cache
# Next.js build output
.next
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
115줄•UTF-8
결정론적 파이프라인

bun .gitignore 원본 소스

크롤링 가능한 공식 업스트림 원본 템플릿
bun.gitignore•114 lines•UTF-8
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# database
*.sqlite
# package-json
package-json.lock
# bun deploy file
node_modules.bun
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
# parcel-bundler cache (https://parceljs.org/)
.cache
# Next.js build output
.next
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port

주요 제외 패턴 해설

의존성 및 패키지 폴더

패키지 매니저를 통해 언제든 복원 가능한 외부 라이브러리 및 벤더 디렉터리를 제외합니다.

node_modules.bunbower_componentsnode_modules/jspm_packages/

빌드 및 컴파일 산출물

컴파일 과정에서 생성되는 바이나리, 중간 오브젝트 파일, 출력 결과물 폴더를 제외합니다.

.nyc_outputbuild/Release*.tsbuildinfodist.vuepress/dist

환경 변수 및 보안 키

API 키, 데이터베이스 비밀번호, 로컬 환경 변수(.env) 등 민감한 정보의 유출을 방지합니다.

.env.env.test

캐시 및 임시 작업 파일

컴파일러 캐시, 테스트 커버리지 보고서, 임시 작업 스크래치 파일을 제외하여 저장소를 가볍게 유지합니다.

*.lognpm-debug.log*yarn-debug.log*yarn-error.log*lerna-debug.log*coverage외 +2개

출처 및 라이선스 검증

라이선스:: CC0-1.0

이 파일을 프로젝트 루트 디렉터리에 .gitignore라는 이름으로 저장하세요. 새로 추가되거나 아직 추적되지 않은 파일에 즉시 적용됩니다.