Skip to content

Conversation

@yumechi
Copy link
Owner

@yumechi yumechi commented Jan 24, 2026

Summary

This PR upgrades Docusaurus and related dependencies to version 3.9.2, updates the markdown configuration to use the new hooks API, and simplifies pnpm dependency overrides.

Key Changes

  • Docusaurus upgrade: Updated all @docusaurus/* packages from 3.8.1 to 3.9.2
    • Core, preset-classic, and google-gtag plugin
    • Type definitions and module aliases
  • Markdown configuration: Migrated onBrokenMarkdownLinks setting from top-level config to the new markdown.hooks structure, aligning with Docusaurus 3.9.2 API changes
  • Dependency overrides: Simplified pnpm overrides from 8 entries to a single targeted override for gray-matter>js-yaml, reducing maintenance burden and improving clarity
  • Lock file: Updated pnpm-lock.yaml to reflect new dependency versions

Implementation Details

The onBrokenMarkdownLinks configuration was moved into a nested markdown.hooks object as part of Docusaurus 3.9.2's restructuring of markdown-related settings. This change maintains the same behavior while following the new configuration schema.

- Docusaurusと関連パッケージを3.8.1から3.9.2にアップデート
- 非推奨の`onBrokenMarkdownLinks`設定を`markdown.hooks.onBrokenMarkdownLinks`に移行
- 不要なpnpm overridesを削除し、gray-matter互換性のために必要な`gray-matter>js-yaml: 3.14.2`のみを保持
- browserslistデータベースを最新に更新
- ビルドと型チェックが正常に動作することを確認
@yumechi yumechi merged commit 4887f12 into main Jan 24, 2026
2 checks passed
@yumechi yumechi deleted the claude/upgrade-docusaurus-W06ar branch January 24, 2026 15:59
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.

2 participants