type
BunLockFile
type BunLockFile =
- configVersion?: 0 | 1
0/undefinedfor projects created before v1.3.2,1for projects created after.Right now this only changes the default install linker strategy:
- With
0, the linker is hoisted. - With
1, the linker is isolated for workspaces and hoisted for single-package projects.
- With
- packages: {}
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) ]
Types for bun.lock