-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update packages #638
Update packages #638
Conversation
🦋 Changeset detectedLatest commit: 005c453 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR 💥 An error occurred when fetching the changed packages and changesets in this PR
|
I published a test version of all the changes under To try it out, you can swap out From my testing on an updated version of export default makeSource({
contentDirPath: "posts",
documentTypes: [Post],
mdx: {
remarkPlugins: [remarkGfm],
},
}); Packaging related changes to get it published are over here: timlrx/contentlayer2#2 Hope to get it merged it so that all the updates will still be under contentlayer, but if there are no plans for further updates or if there are governance issues that make continuing under the contentlayer brand difficult, I will consider maintaining it separately with a reduce scope. Thank you for all the previous contributions ❤️ I really think it's the best ORM for markdown files and it would be a shame for it to just fade away! |
it seems like this pr is ready? 🙏 |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Yup, it's ready and it is not stale |
Tests contentlayerdev/contentlayer#638 and upgrades deps
is there an update? |
@necmettindev, guess we're just waiting for it to be merged to base. |
This has been open for two months now, nobody is maintaining this project anymore right ?? time to just make a fork ??? |
Probably time to just fork. I tested this in my project and it's working great. |
So what @timlrx ... can you take this on your shoulders and make a public fork with the changes you've made ? |
Had a chat with Schickling and he is good with me maintaining a separate hard fork. Will post the new repository link soon. |
That's some great news. waiting for it |
In the meantime, I have published @contentlayer2, contentlayer2 and next-contentlayer2. Feel free to update the packages and bump the version to |
Here's the new repository: https://github.com/timlrx/contentlayer2 |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Core dependency and peer dependency updates
Updated Unified, Next.js and Opentelemetry packages. Also list next 14 and esbuild 17-20 as peer dependencies.
This should solve the top 3/4 most commented issues on contentlayer and allow most folks to continue using it without manual patching:
remark-gfm
(fails on the previous setup and works with the updated dependencies)v3.6.0
. It's an older version but it comes with less dependencies and peer dependencies thanv4
onwards. Nonetheless, I updatedmkdirp
to use the recursive option which would be compatible withv4
packages should we decide to upgrade.The largest part of the core dependency that has yet to be updated are the effect packages, but given that the functions in the legacy package still work well I don't think there's a need to migrate it and that could be a subsequent update.
There's also the stackbit and contentful integration. Didn't bother upgrading those as I am neither a user nor a paid maintainer 😄. All the existing tests pass though so hopefully that should be sufficient.
Dev depedency updates
^5.0.12
and vitest to1.2.2
vitest.config.ts
file for each workspace with test as vitest now requires amoduleDirectories
to resolve correctlyMisc
awk
instead ofsed
for next-contentlayer prepack script. For some reason thesed
script did not work on my Mac