.gitignore untuk Bun
47 aturan pengabaian untuk Bun, siap disalin ke repositori Anda.
Runtime dan toolkit JavaScript all-in-one yang cepat
.gitignore lengkap untuk Bun
# Dibuat oleh LFGitignore - https://lfgitignore.com
# Dibuat: 2026-10-31 21:52:27 UTC
# Teknologi: Bun
### Bun ###
logs
# Basis data SQLite
*.sqlite
# Laporan diagnostik Node.js
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
package-json.lock
# Berkas ID proses
pids
# Berkas ID proses
*.pid
node_modules.bun
# Berkas nilai awal acak
*.seed
# Berkas kunci proses
*.pid.lock
# Log debug Lerna
lerna-debug.log*
# Cakupan pustaka
lib-cov
# Berkas catatan
*.log
# Direktori cakupan
coverage
# Data cakupan LCOV
*.lcov
# Informasi build TypeScript
*.tsbuildinfo
# Keluaran cakupan NYC
.nyc_output
# Log debug npm
npm-debug.log*
# Penyimpanan perantara Grunt
.grunt
# Log debug Yarn
yarn-debug.log*
# Dependensi Bower
bower_components
# Log kesalahan Yarn
yarn-error.log*
# Konfigurasi node-waf
.lock-wscript
# Add-on biner yang dikompilasi
build/Release
# Dependensi Node.js
node_modules/
# paket JSPM
jspm_packages/
# Direktori cache npm
.npm
# Cache ESLint
.eslintcache
typings/
.node_repl_history
*.tgz
# Cache plugin Rollup
.rpt2_cache/
.yarn-integrity
# Variabel lingkungan
.env
# Cache CJS Rollup
.rts2_cache_cjs/
# Cache ES Rollup
.rts2_cache_es/
# Cache UMD Rollup
.rts2_cache_umd/
# Direktori Cache
.cache
# Keluaran Next.js build
.next
.env.test
# Keluaran build Nuxt.js
.nuxt
dist
.cache/
# Keluaran build VuePress
.vuepress/dist
# Framework tanpa server
.serverless/
# Cache FuseBox
.fusebox/
# DynamoDB Lokal
.dynamodb/
# Berkas port Tern.js
.tern-port
Apa yang sebenarnya diabaikan oleh aturan Bun ini
Setiap pola berikut beserta alasan untuk memasukkannya ke .gitignore.
Log
| Pola | Yang diabaikan |
|---|---|
logs |
Log |
*.sqlite |
Basis data SQLite |
package-json.lock |
package-json |
node_modules.bun |
Berkas deployment bun |
lerna-debug.log* |
Log debug Lerna |
*.log |
Berkas catatan |
npm-debug.log* |
Log debug npm |
yarn-debug.log* |
Log debug Yarn |
yarn-error.log* |
Log kesalahan Yarn |
Laporan diagnostik (https://nodejs.org/api/report.html)
| Pola | Yang diabaikan |
|---|---|
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json |
Laporan diagnostik Node.js |
Data waktu proses
| Pola | Yang diabaikan |
|---|---|
pids |
Berkas ID proses |
*.pid |
Berkas ID proses |
*.seed |
Berkas nilai awal acak |
*.pid.lock |
Berkas kunci proses |
Direktori untuk lib berinstrumen yang dihasilkan oleh jscoverage/JSCover
| Pola | Yang diabaikan |
|---|---|
lib-cov |
Cakupan pustaka |
Direktori cakupan yang digunakan oleh alat seperti istanbul
| Pola | Yang diabaikan |
|---|---|
coverage |
Direktori cakupan |
*.lcov |
Data cakupan LCOV |
.nyc_output |
Keluaran cakupan NYC |
Cache TypeScript
| Pola | Yang diabaikan |
|---|---|
*.tsbuildinfo |
Informasi build TypeScript |
Penyimpanan perantara Grunt (https://gruntjs.com/creating-plugins#storing-task-files)
| Pola | Yang diabaikan |
|---|---|
.grunt |
Penyimpanan perantara Grunt |
Direktori dependensi Bower (https://bower.io/)
| Pola | Yang diabaikan |
|---|---|
bower_components |
Dependensi Bower |
.lock-wscript |
Konfigurasi node-waf |
Add-on biner yang dikompilasi (https://nodejs.org/api/addons.html)
| Pola | Yang diabaikan |
|---|---|
build/Release |
Add-on biner yang dikompilasi |
Direktori dependensi
| Pola | Yang diabaikan |
|---|---|
node_modules/ |
Dependensi Node.js |
jspm_packages/ |
paket JSPM |
Direktori cache npm opsional
| Pola | Yang diabaikan |
|---|---|
.npm |
Direktori cache npm |
Cache eslint opsional
| Pola | Yang diabaikan |
|---|---|
.eslintcache |
Cache ESLint |
Berkas deklarasi TypeScript v1
| Pola | Yang diabaikan |
|---|---|
typings/ |
Berkas deklarasi TypeScript v1 |
Riwayat REPL opsional
| Pola | Yang diabaikan |
|---|---|
.node_repl_history |
Riwayat REPL opsional |
Keluaran 'npm pack'
| Pola | Yang diabaikan |
|---|---|
*.tgz |
Keluaran 'npm pack' |
Cache Microbundle
| Pola | Yang diabaikan |
|---|---|
.rpt2_cache/ |
Cache plugin Rollup |
.rts2_cache_cjs/ |
Cache CJS Rollup |
.rts2_cache_es/ |
Cache ES Rollup |
.rts2_cache_umd/ |
Cache UMD Rollup |
Berkas integritas Yarn
| Pola | Yang diabaikan |
|---|---|
.yarn-integrity |
Berkas integritas Yarn |
.env |
Variabel lingkungan |
.cache |
Direktori Cache |
.env.test |
Berkas integritas Yarn |
Keluaran Next.js build
| Pola | Yang diabaikan |
|---|---|
.next |
Keluaran Next.js build |
Keluaran build / generate Nuxt.js
| Pola | Yang diabaikan |
|---|---|
.nuxt |
Keluaran build Nuxt.js |
dist |
Keluaran build / generate Nuxt.js |
berkas Gatsby
| Pola | Yang diabaikan |
|---|---|
.cache/ |
berkas Gatsby |
.vuepress/dist |
Keluaran build VuePress |
Direktori Serverless
| Pola | Yang diabaikan |
|---|---|
.serverless/ |
Framework tanpa server |
Cache FuseBox
| Pola | Yang diabaikan |
|---|---|
.fusebox/ |
Cache FuseBox |
berkas Lokal DynamoDB
| Pola | Yang diabaikan |
|---|---|
.dynamodb/ |
DynamoDB Lokal |
Berkas port TernJS
| Pola | Yang diabaikan |
|---|---|
.tern-port |
Berkas port Tern.js |
Cara menggunakan .gitignore ini untuk Bun
- Salin aturan Bun di atas atau unduh langsung berkasnya.
- Buat berkas bernama .gitignore di direktori utama repositori Git Anda dan tempelkan aturannya.
- Jika sebagian berkas tersebut sudah dilacak, jalankan git rm -r --cached . lalu buat commit baru — Git hanya menerapkan aturan pengabaian pada berkas yang belum dilacak.
- Commit .gitignore agar seluruh anggota tim menggunakan aturan yang sama.