Files
bun.sh/test/cli/install
Claude Bot eb09e22152 Fix bun pm pack to use workspace package.json version instead of lockfile version
Fixes #20477

When packing a workspace package that depends on another workspace package,
`bun pm pack` now reads the version from the workspace dependency's package.json
instead of using the cached version in bun.lock. This ensures that if a workspace
package version is updated without running `bun install`, the pack command will
use the current version from package.json.

Changes:
- Modified editRootPackageJSON to read workspace package.json files directly
- Added detailed error messages for read/parse errors and missing version fields
- Added test to verify correct behavior when workspace versions are updated

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 05:16:21 +00:00
..
2025-08-27 06:39:11 -07:00
2025-08-27 06:39:11 -07:00
2025-08-12 17:07:46 -07:00
2023-10-12 15:17:03 -07:00