Skip to content

Conversation

@ovflowd
Copy link
Member

@ovflowd ovflowd commented Jul 2, 2023

Description

This PR introduces a better separation of the MDXRemote props on the next.dynamic.mjs generation; It introduces support to the VFile metadata through the unified pipeline, which can be used for the Remark Plugins that mutate the VFile meta, such as remark-frontmatter, remark-headings.

And ultimately does a better separation of the theme.tsx with the mdxProvider content.

Lastly, it adds support to Headings for the TOC generation through remark-headings

@ovflowd ovflowd requested a review from a team as a code owner July 2, 2023 19:18
@vercel
Copy link

vercel bot commented Jul 2, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nodejs-org ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 4, 2023 9:40am
nodejs-org-stories ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 4, 2023 9:40am

@ovflowd ovflowd added website redesign Issue/PR part of the Node.js Website Redesign feature-request infrastructure Issues/PRs related to the Repository Infra labels Jul 2, 2023
@vercel vercel bot temporarily deployed to Preview – nodejs-org-stories July 2, 2023 19:19 Inactive
@vercel vercel bot temporarily deployed to Preview – nodejs-org July 2, 2023 19:21 Inactive
@ovflowd
Copy link
Member Author

ovflowd commented Jul 2, 2023

cc @nodejs/website for reviews

@ovflowd ovflowd mentioned this pull request Jul 2, 2023
5 tasks
Copy link
Member

@AugustinMauroy AugustinMauroy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TOC part is LTGM

Copy link
Contributor

@shanpriyan shanpriyan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@bmuenzenmeyer bmuenzenmeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only had time for a quick read - couldn't run the code yet.

one npm nit and one import lint nit

@vercel vercel bot temporarily deployed to Preview – nodejs-org July 4, 2023 09:18 Inactive
@vercel vercel bot temporarily deployed to Preview – nodejs-org-stories July 4, 2023 09:20 Inactive
@vercel vercel bot temporarily deployed to Preview – nodejs-org July 4, 2023 09:21 Inactive
@ovflowd
Copy link
Member Author

ovflowd commented Jul 4, 2023

It looks like Storybook broke with Next.js 13.4.8: storybookjs/storybook#23287

@ovflowd
Copy link
Member Author

ovflowd commented Jul 4, 2023

I'm downgrading Next.js back to 13.4.7 on this PR for the meantime.

@vercel vercel bot temporarily deployed to Preview – nodejs-org-stories July 4, 2023 09:38 Inactive
@vercel vercel bot temporarily deployed to Preview – nodejs-org July 4, 2023 09:40 Inactive
@ovflowd ovflowd merged commit 61f2662 into nodejs:main Jul 4, 2023
@ovflowd ovflowd deleted the feat/add-support-to-headings branch July 4, 2023 14:23
@ovflowd
Copy link
Member Author

ovflowd commented Jul 5, 2023

Storybook fixed their bug, we can upgrade to Next.sj 13.4.8 https://github.com/storybookjs/storybook/releases/tag/v7.0.26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Issues/PRs related to the Repository Infra website redesign Issue/PR part of the Node.js Website Redesign

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants