Type object
File match bun.lock
Schema URL https://catalog.lintel.tools/schemas/schemastore/bun-lock/latest.json
Source https://www.schemastore.org/bun-lock.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Schema definition for Bun's bun.lock file (package manager lockfile). See https://bun.sh/docs/install/lockfile

Properties

lockfileVersion integer required

Specifies the version of the lockfile format. Currently only sypporting 0 or 1.

Values: 0 1
workspaces object required

Defines the project workspaces and their corresponding packages.

packages object required

Contains information about all the packages used in the project.

overrides object

Defines custom dependency resolutions for specific packages.

patchedDependencies object

Lists dependencies that have been patched to modify their behavior.

trustedDependencies string[]

An array of dependencies explicitly marked as trusted.

Definitions

BunLockFileBasePackageInfo object

Base information about a package, including dependencies and peer relationships.

dependencies object

A map of dependencies required by this package.

devDependencies object

A map of development-only dependencies.

optionalDependencies object

A map of optional dependencies for this package.

peerDependencies object

A map of peer dependencies for this package.

optionalPeers string[]

An array of optional peer dependencies.

bin object | string

Executable binaries provided by the package.

binDir string

Directory where the package's binaries are located.

BunLockFileWorkspacePackage
BunLockFilePackageInfo
BunLockFilePackageArray array | array | array | array | array

An array representing a package in the lockfile.