Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Migrate from contentlayer to content-collections #61

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

paulgrammer
Copy link

Issue

On macOS, encountered a critical build issue with Contentlayer where the build process would hang indefinitely at:
Contentlayer config change detected. Updating type definitions and data...

Multiple attempted fixes were unsuccessful. This is a known issue tracked at haydenbleasel/next-forge#50 with no current resolution.

Solution

Migrated to Content Collections as a viable alternative. Content Collections provides similar functionality while avoiding the build issues present in Contentlayer.

Changes

  • Removed Contentlayer configuration and dependencies
  • Implemented Content Collections for content management
  • Updated content processing logic
  • Migrated existing content to new structure

Testing

  • Verified build process completes successfully on macOS
  • Confirmed content is properly rendered
  • Tested content updates and rebuilds

Copy link

vercel bot commented Oct 26, 2024

@paulgrammer is attempting to deploy a commit to the mickasmt's projects Team on Vercel.

A member of the Team first needs to authorize it.

@paulgrammer paulgrammer force-pushed the migrate-to-content-collections branch from 87d4b6c to 8828083 Compare October 26, 2024 14:48
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant