Bun용 .gitignore

저장소에 바로 복사할 수 있는 Bun 제외 규칙 47개.

빠른 통합 JavaScript 런타임 및 툴킷

Bun용 전체 .gitignore

# LFGitignore로 생성 - https://lfgitignore.com
# 생성일: 2026-10-13 15:58:34 UTC
# 기술: Bun

### Bun ###
logs
# SQLite 데이터베이스
*.sqlite
# Node.js 진단 보고서
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
package-json.lock
# 프로세스 ID 파일
pids
# 프로세스 ID 파일
*.pid
node_modules.bun
# 난수 시드 파일
*.seed
# 프로세스 잠금 파일
*.pid.lock
# Lerna 디버그 로그
lerna-debug.log*
# 라이브러리 커버리지
lib-cov
# 로그 파일
*.log
# 커버리지 디렉터리
coverage
# LCOV 커버리지 데이터
*.lcov
# TypeScript 빌드 정보
*.tsbuildinfo
# NYC 커버리지 결과
.nyc_output
# npm 디버그 로그
npm-debug.log*
# Grunt 중간 저장소
.grunt
# Yarn 디버그 로그
yarn-debug.log*
# Bower 의존성
bower_components
# Yarn 오류 로그
yarn-error.log*
# node-waf 구성
.lock-wscript
# 컴파일된 바이너리 애드온
build/Release
# Node.js 의존성
node_modules/
# JSPM 패키지
jspm_packages/
# npm 캐시 디렉터리
.npm
# ESLint 캐시
.eslintcache
typings/
.node_repl_history
*.tgz
# Rollup 플러그인 캐시
.rpt2_cache/
.yarn-integrity
# 환경 변수
.env
# Rollup CJS 캐시
.rts2_cache_cjs/
# Rollup ES 캐시
.rts2_cache_es/
# Rollup UMD 캐시
.rts2_cache_umd/
# 캐시 디렉터리
.cache
# Next.js 빌드 결과
.next
.env.test
# Nuxt.js 빌드 결과
.nuxt
dist
.cache/
# VuePress 빌드 결과
.vuepress/dist
# 서버리스 프레임워크
.serverless/
# FuseBox 캐시
.fusebox/
# 로컬 DynamoDB
.dynamodb/
# Tern.js 포트 파일
.tern-port

이 Bun 규칙이 실제로 제외하는 항목

아래에서 각 패턴과 .gitignore에 포함하는 이유를 확인하세요.

로그

패턴 제외 대상
logs 로그
*.sqlite SQLite 데이터베이스
package-json.lock package-json 파일
node_modules.bun bun 배포 파일
lerna-debug.log* Lerna 디버그 로그
*.log 로그 파일
npm-debug.log* npm 디버그 로그
yarn-debug.log* Yarn 디버그 로그
yarn-error.log* Yarn 오류 로그

진단 보고서(https://nodejs.org/api/report.html)

패턴 제외 대상
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json Node.js 진단 보고서

런타임 데이터

패턴 제외 대상
pids 프로세스 ID 파일
*.pid 프로세스 ID 파일
*.seed 난수 시드 파일
*.pid.lock 프로세스 잠금 파일

jscoverage/JSCover가 생성한 계측 라이브러리 디렉터리

패턴 제외 대상
lib-cov 라이브러리 커버리지

istanbul 같은 도구가 사용하는 커버리지 디렉터리

패턴 제외 대상
coverage 커버리지 디렉터리
*.lcov LCOV 커버리지 데이터
.nyc_output NYC 커버리지 결과

TypeScript 캐시

패턴 제외 대상
*.tsbuildinfo TypeScript 빌드 정보

Grunt 중간 저장소(https://gruntjs.com/creating-plugins#storing-task-files)

패턴 제외 대상
.grunt Grunt 중간 저장소

Bower 의존성 디렉터리(https://bower.io/)

패턴 제외 대상
bower_components Bower 의존성
.lock-wscript node-waf 구성

컴파일된 바이너리 애드온(https://nodejs.org/api/addons.html)

패턴 제외 대상
build/Release 컴파일된 바이너리 애드온

의존성 디렉터리

패턴 제외 대상
node_modules/ Node.js 의존성
jspm_packages/ JSPM 패키지

선택적 npm 캐시 디렉터리

패턴 제외 대상
.npm npm 캐시 디렉터리

선택적 eslint 캐시

패턴 제외 대상
.eslintcache ESLint 캐시

TypeScript v1 선언 파일

패턴 제외 대상
typings/ TypeScript v1 선언 파일

선택적 REPL 기록

패턴 제외 대상
.node_repl_history 선택적 REPL 기록

'npm pack' 결과

패턴 제외 대상
*.tgz 'npm pack' 결과

Microbundle 캐시

패턴 제외 대상
.rpt2_cache/ Rollup 플러그인 캐시
.rts2_cache_cjs/ Rollup CJS 캐시
.rts2_cache_es/ Rollup ES 캐시
.rts2_cache_umd/ Rollup UMD 캐시

Yarn 무결성 파일

패턴 제외 대상
.yarn-integrity Yarn 무결성 파일
.env 환경 변수
.cache 캐시 디렉터리
.env.test Yarn 무결성 파일

Next.js 빌드 결과

패턴 제외 대상
.next Next.js 빌드 결과

Nuxt.js 빌드 / 생성 결과

패턴 제외 대상
.nuxt Nuxt.js 빌드 결과
dist Nuxt.js 빌드 / 생성 결과

Gatsby 파일

패턴 제외 대상
.cache/ Gatsby 파일
.vuepress/dist VuePress 빌드 결과

Serverless 디렉터리

패턴 제외 대상
.serverless/ 서버리스 프레임워크

FuseBox 캐시

패턴 제외 대상
.fusebox/ FuseBox 캐시

DynamoDB Local 파일

패턴 제외 대상
.dynamodb/ 로컬 DynamoDB

TernJS 포트 파일

패턴 제외 대상
.tern-port Tern.js 포트 파일

이 Bun용 .gitignore 사용 방법

  1. 위의 Bun 규칙을 복사하거나 파일을 바로 다운로드하세요.
  2. Git 저장소 루트에 .gitignore라는 파일을 만들고 규칙을 붙여 넣으세요.
  3. 이미 추적 중인 파일이 있다면 git rm -r --cached . 명령을 실행한 다음 다시 커밋하세요. Git은 추적하지 않는 파일에만 제외 규칙을 적용합니다.
  4. 팀원 모두가 같은 규칙을 사용하도록 .gitignore를 커밋하세요.

다른 런타임용 .gitignore 템플릿

모든 런타임 템플릿 보기