Skip to content

chore: update dependencies, Docusaurus v3.10 and fix config - #282

Open
dave1010 wants to merge 1 commit into
mainfrom
codex/update-dependencies
Open

chore: update dependencies, Docusaurus v3.10 and fix config#282
dave1010 wants to merge 1 commit into
mainfrom
codex/update-dependencies

Conversation

@dave1010

@dave1010 dave1010 commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Motivation

  • Keep the site dependencies up-to-date (Docusaurus, React, testing and build tooling) to pick up fixes and improvements.
  • Make the codebase compatible with the newer Docusaurus release which renamed the faster build config.
  • Resolve TypeScript and tooling type-resolution issues introduced by dependency upgrades.

Description

  • Bumped runtime and dev dependencies in package.json (notably Docusaurus packages to ~3.10.2, React to ^19.2.8, @testing-library/jest-dom to ^7.0.0, Babel/Jest updates, swc/swc-related and many transitive upgrades) and regenerated package-lock.json.
  • Renamed the Docusaurus config key future.experimental_faster to future.faster in docusaurus.config.ts to match the newer API.
  • Adjusted tsconfig.json compiler options so test/library types resolve correctly (tweaked baseUrl/types).
  • Large lockfile refresh with multiple transitive package updates to align with the new dependency constraints.

Testing

  • Ran npm test -- --runInBand and all test suites passed (5 suites, 45 tests).
  • Ran npm run typecheck and TypeScript checks completed successfully after the tsconfig fixes.
  • Ran the site build with DISABLE_FASTER_BUILD=true npm run build (webpack fallback) and npm run build (faster build path after config fix), and both produced successful builds.

Codex Task

@vercel

vercel Bot commented Aug 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
wardley-leadership-strategies Ready Ready Preview Aug 4, 2026 9:55am

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8638db7c0d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package.json
"@docusaurus/module-type-aliases": "~3.10.2",
"@docusaurus/tsconfig": "~3.10.2",
"@docusaurus/types": "~3.10.2",
"@testing-library/jest-dom": "^7.0.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Keep jest-dom compatible with the CI Node version

On every push, .github/workflows/tests.yml runs the test suite with Node 18, but the lockfile for this upgraded dependency declares node >=22, and jest.setup.js imports it unconditionally before the tests run. This leaves the repository's required test job executing an unsupported dependency/runtime combination; either retain the Node-18-compatible jest-dom release or update the workflow to Node 22 or newer.

Useful? React with 👍 / 👎.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant