No successful run was found on main (ca1d331) during the generation of this report, so 7958c6b was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.
test(content): add test for bare filename images in JSON collections
Adds a test case to verify that bare filenames (e.g., "cover.jpg")
work correctly in JSON content layer collections with the image()
helper, ensuring they are resolved the same way as in markdown
frontmatter.
The test includes:
- New rockets.json fixture with bare filename and relative path images
- Test assertions for both bare filename and relative path resolution
- Updated collections.json.js to include the new collection
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
57ef469
1 day ago
by claude
+0.01%
chore: add changeset for image path resolution fix
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0578d87
1 day ago
by claude
+0.28%
fix(content): exclude aliases and parent paths from normalization
Updates the bare filename normalization to properly skip:
- Alias paths starting with ~ (e.g., ~/assets/image.jpg)
- Alias paths starting with @ (e.g., @images/image.jpg)
- Parent directory paths starting with ../ (e.g., ../image.jpg)
This prevents breaking existing alias resolution while still
normalizing true bare filenames like "cover.jpg" to "./cover.jpg".
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>