projectx-codehagen / Badget

Badget aims to simplify financial management with a user-friendly interface and robust backend
https://projectx-eight-gilt.vercel.app/
GNU Affero General Public License v3.0
2.4k stars 263 forks source link

Feature: From Contentlayer to Content Collections #254

Open Codehagen opened 3 months ago

Codehagen commented 3 months ago

Type of feature

💡 Feature

Current behavior

We are currently using Contentlayer, a content SDK that transforms Markdown & MDX content into type-safe JSON data for React applications.

Suggested solution

Remove Contentlayer and move into Content Collections. Content Collections is a Contentlayer-inspired content framework created by Sebastian Sdorra. It addresses limitations found in Contentlayer, such as the inability to define an email or URL type for a given field.

Additional context

Contentlayer has been effectively unmaintained since their main sponsor, Stackbit, was acquired by Netlify. Additionally, there are issues like Next.js App Router incompatibility. Here is a link to see how we need to do it: Content Collections Blog Post

Here is their GitHub repository: Content Collections GitHub

linear[bot] commented 3 months ago

BAD-48 Feature: xxx

akyndev commented 3 months ago

.take

github-actions[bot] commented 3 months ago

Thanks for taking this issue! Let us know if you have any questions!

akyndev commented 3 months ago

raw

What's the value of raw parsed in the body, it doesn't seems to be on content-collections body