Skip to content

chore: update docusaurus#1541

Open
timdeschryver wants to merge 10 commits into
mainfrom
timdeschryver/update-docusaurus-deps
Open

chore: update docusaurus#1541
timdeschryver wants to merge 10 commits into
mainfrom
timdeschryver/update-docusaurus-deps

Conversation

@timdeschryver
Copy link
Copy Markdown
Member

@timdeschryver timdeschryver commented May 26, 2026

I've let AI handle the migration.
I verified the output and the page still look and behave the same.

timdeschryver and others added 10 commits May 26, 2026 18:37
- @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>
@netlify
Copy link
Copy Markdown

netlify Bot commented May 26, 2026

Deploy Preview for testing-library ready!

Name Link
🔨 Latest commit f2eaed9
🔍 Latest deploy log https://app.netlify.com/projects/testing-library/deploys/6a15f8adc504ea00089b9888
😎 Deploy Preview https://deploy-preview-1541--testing-library.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant