Support bun new text-based lockfile
Since bun version 1.1.39, it supports new text-based lock file inplace of old binary lockfile.
- https://bun.sh/blog/bun-v1.1.39#bun-lock-is-bun-s-new-text-based-lockfile
- https://bun.sh/blog/bun-lock-text-lockfile
In my repo, I replaced
bun.lockb
file with bun.lock
But Cloudflare Pages can't detect that bun install --frozen-lockfile
should be issued.
Current workaround is to include a bun.lockb
file in repo.
The file can be empty.
It's used to make Cloudflare Pages know that we're using bun as package managerBun
Bun's new text-based lockfile
We're introducing a new text-based lockfile format for bun install. It's GitHub & git-friendly, and makes it easier for teams to migrate from npm, yarn, and pnpm to bun install
1 Reply
cc @aniniflare