chore: update deps pt 2#381
Merged
Merged
Conversation
701b80b to
38459a1
Compare
38459a1 to
1b9a7cd
Compare
hkonsti
added a commit
that referenced
this pull request
Jul 2, 2026
The monorepo dep bump (#381) moved the repo to React 19, @types/react 19, and TypeScript 6.0. The docs were pinned to React 18 because nextra 4.2.13 depends on a React-18-only mermaid plugin (@theguild/remark-mermaid@0.2.0), which left them failing to build under the bumped root types (a Slot type skew across the @types/react 18/19 boundary) and TS 6.0. Bring the docs onto React 19 so they match the rest of the monorepo: - Bump nextra + nextra-theme-docs to 4.6.1 (its @theguild/remark-mermaid ^0.3.0 supports React 19) and move the docs app to react/@types/react 19. - global.d.ts: declare `*.css` so TS 6.0 accepts the `import "./globals.css"` side-effect import (Next only declares `*.module.css`). - next.config: transpilePackages @theguild/remark-mermaid. It is ESM-only and nextra only aliases `@theguild/remark-mermaid/mermaid` for Turbopack, so the webpack production server bundle would fail to require it at runtime. - Pin zod to 4.3.6 via a root override. zod 4.4.3 made z.custom() object keys error when the key is absent, which breaks nextra-theme-docs' LayoutPropsSchema (its Layout strips `children` before validating the schema, which lists `children`). chromium-bidi is scoped back to zod ^3 so the E2E toolchain is untouched. Docs build passes (555 static pages); npm ci is consistent on Node 20 and 22.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.