INFO = { prod/dev/optional/peer dependencies, os, cpu, libc (TODO), bin, binDir }
// first index is resolution for each type of package
npm -> [ "name@version", registry (TODO: remove if default), INFO, integrity]
symlink -> [ "name@link:path", INFO ]
folder -> [ "name@file:path", INFO ]
workspace -> [ "name@workspace:path" ] // workspace is only path
tarball -> [ "name@tarball", INFO ]
root -> [ "name@root:", { bin, binDir } ]
git -> [ "name@git+repo", INFO, .bun-tag string (TODO: remove this) ]
github -> [ "name@github:user/repo", INFO, .bun-tag string (TODO: remove this) ]
type
BunLockFile
type BunLockFile =
- packages: {}
Types for bun.lock