Files
bun.sh/test/cli
Claude Bot 7409fb5629 Add initial yarn berry (v4) lockfile migration support
This implements basic yarn.lock v4 (yarn berry) migration support:

- Created yarn.lock.berry.zig for parsing yarn berry YAML format
- Modified yarn.zig to detect and delegate to berry parser
- Added test fixture with real yarn v4 lockfile
- Added test case for yarn v4 migration

The implementation parses the yarn berry YAML lockfile format including:
- Package metadata (__metadata version/cacheKey)
- Package descriptors (name@npm:version format)
- Resolution URLs and versions
- Checksums (converts yarn berry's "10/hash" format to sha512)
- Dependencies (prod/dev/peer/optional)

Note: Dependency resolution matching is incomplete. The migration will
parse packages but requires a full install to properly resolve all
dependencies. This is a foundational implementation that can be enhanced.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-12 14:55:55 +00:00
..
2025-05-24 13:36:51 -07:00
2025-10-11 08:23:25 -07:00