chore: update docusaurus#1541
Open
timdeschryver wants to merge 10 commits into
Open
Conversation
- @docusaurus/core: ^2.0.1 → ^3.10.1 - @docusaurus/preset-classic: ^2.0.1 → ^3.10.1 - @docusaurus/remark-plugin-npm2yarn: ^2.0.1 → ^3.10.1 - react: ^16.10.2 → ^18.0.0 - react-dom: ^16.10.2 → ^18.0.0 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Use nested npm overrides so url-loader/file-loader/null-loader get ajv@6 (required by their schema-utils@3/ajv-keywords@3), while top-level stays at ajv@8 for ajv-keywords@5 - Fix src/pages/help.js: replace props.config.baseUrl (v1 API) with baseUrl from useDocusaurusContext() - Fix src/pages/index.js: convert class component to function, use useDocusaurusContext() instead of this.props.config (v1 API) - Fix src/components/Showcase/index.jsx: replace deprecated isDarkTheme from useThemeConfig() with useColorMode() from @docusaurus/theme-common Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add 'diff' to prism.additionalLanguages so prism-react-renderer v2 loads the diff grammar. Add CSS for .token.inserted/.token.deleted to restore green/red background highlighting for +/- lines in both light and dark mode. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Create blog/authors.yml with Alex Krolick and Kent C. Dodds - Update blog post frontmatter to reference authors by key - Add truncation markers to all three blog posts Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
kcd-scripts v17 dropped webpack in favour of Rollup, eliminating the ajv version conflict that required the nested overrides workaround. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- classnames 2.3.1 → 2.5.1 - clsx 1.2.1 → 2.1.1 - react/react-dom 18 → 19 (supported by Docusaurus 3.10.1) - prettier 2.2.1 → 3.8.3 - husky 1.3.1 → 9.1.7 (migrate to .husky/pre-commit file) - lint-staged 8.2.1 → 17.0.5 (drop linters wrapper, remove git add) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
✅ Deploy Preview for testing-library ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
I've let AI handle the migration.
I verified the output and the page still look and behave the same.