Skip to content

Update deps, commit lockfile, override webpackbar as build fix, refactor and update workflow action versions to use lockfile#350

Merged
chalin merged 7 commits intocncf:mainfrom
chalin:chalin-m24-upd-deps-2026-0416
Apr 17, 2026
Merged

Update deps, commit lockfile, override webpackbar as build fix, refactor and update workflow action versions to use lockfile#350
chalin merged 7 commits intocncf:mainfrom
chalin:chalin-m24-upd-deps-2026-0416

Conversation

@chalin
Copy link
Copy Markdown
Collaborator

@chalin chalin commented Apr 16, 2026

  • Bumps @docusaurus/* to 3.10.0 and refreshes related runtime and dev dependencies (React, TypeScript, cspell, Prettier, markdownlint-cli, npm-check-updates, and others).
  • Moves onBrokenMarkdownLinks under markdown.hooks in docusaurus.config.ts for Docusaurus 3.10.
  • Adds an overrides entry so @docusaurus/bundler resolves webpackbar ^7, avoiding the webpack 5.106+ / ProgressPlugin build failure (docusaurus#11923); documents the temporary workaround with a // note in package.json.
  • Stops ignoring package-lock.json, commits the lockfile, and switches CI to npm ci for reproducible installs.
  • Introduces scripts/postinstall-webpackbar-notice.mjs on postinstall; keeps output silent until @docusaurus/bundler declares webpackbar 7+, then prints that the override and comment can be removed.
  • Adds a composite action .github/actions/npm-ci-via-cached-nvmrc (actions/setup-node@v6 with .nvmrc, cache: npm, then npm ci) and points link, format, and spelling workflows at it to stay DRY.
  • Updates actions/checkout to @v6 in those workflows.

@chalin chalin added the CI/infra CI & infrastructure label Apr 16, 2026
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 16, 2026

Deploy Preview for cncf-techdocs ready!

Name Link
🔨 Latest commit a08269a
🔍 Latest deploy log https://app.netlify.com/projects/cncf-techdocs/deploys/69e14f2a4e9b2900084668a4
😎 Deploy Preview https://deploy-preview-350--cncf-techdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

chalin added 4 commits April 16, 2026 14:10
Signed-off-by: Patrice Chalin <pchalin@gmail.com>
Signed-off-by: Patrice Chalin <pchalin@gmail.com>
Signed-off-by: Patrice Chalin <pchalin@gmail.com>
Temporarily add an overrides entry to package.json to force webpackbar ^7 for @docusaurus/bundler and add a postinstall script that prints a notice when @docusaurus/bundler declares webpackbar v7+, so the override can be removed. Update package.json (scripts, spelling) and package-lock.json accordingly. This is a short-term workaround for facebook/docusaurus#11923.

Signed-off-by: Patrice Chalin <pchalin@gmail.com>
@chalin chalin force-pushed the chalin-m24-upd-deps-2026-0416 branch from 89140b1 to 78d00eb Compare April 16, 2026 18:10
@chalin chalin changed the title Update npm deps and docus chore: bump Docusaurus to 3.10, commit lockfile, and override webpackbar as build failure workaround Apr 16, 2026
chalin added 3 commits April 16, 2026 16:52
Signed-off-by: Patrice Chalin <pchalin@gmail.com>
Signed-off-by: Patrice Chalin <pchalin@gmail.com>
Signed-off-by: Patrice Chalin <pchalin@gmail.com>
@chalin chalin changed the title chore: bump Docusaurus to 3.10, commit lockfile, and override webpackbar as build failure workaround Update deps, commit lockfile, override webpackbar as build fix, refactor and update workflow action versions to use lockfile Apr 17, 2026
@chalin
Copy link
Copy Markdown
Collaborator Author

chalin commented Apr 17, 2026

This fixes the build, so I'm going to merge. Feedback is still welcome @nate-double-u.

@chalin chalin merged commit 2416a91 into cncf:main Apr 17, 2026
9 checks passed
@chalin chalin deleted the chalin-m24-upd-deps-2026-0416 branch April 17, 2026 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/infra CI & infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant