Skip to content

build: refresh webpack, PostCSS and site tooling - #604

Merged
rtfpessoa merged 2 commits into
masterfrom
rodrigo/deps-website-build
Nov 28, 2026
Merged

rtfpessoa merged 2 commits into
masterfrom
rodrigo/deps-website-build

Conversation

@rtfpessoa

Copy link
Copy Markdown
Owner

🎥 Demonstration

Production and dev-server browser checks retained the homepage, demo layouts, themes, and deployed image bytes. The standalone TOC checks cover mixed line endings, preservation of content outside the TOC, and idempotence. Full validation and release rehearsal run independently on this boundary.

🎯 Motivation

Modernize the website and repository tools and replace legacy parents that pull vulnerable transitives.

📋 Summary

  • Refresh webpack, CSS and website build dependencies, switch to explicit .mts configs, and use built-in webpack assets without changing website URLs.
  • Keep development reloads scoped to the website compiler.
  • Replace the unmaintained TOC generator with a Markdown parser and GitHub-style slugs. Run the root README generator before formatting; nested READMEs are only formatted.
  • Verify the installed and separately vendored serializer, not just the top-level dependency tree.

⚠️ Merge Danger

The build pipeline and staged hook change. The checked-in homepage PNG and its production URL remain unchanged.

🔎 Expert review questions

  • Do the asset and TOC changes preserve the paths and content callers rely on?

🚧 Non-goals

No runtime library dependency upgrades in this boundary.

Use explicit webpack ESM configs and built-in asset modules. Name the dev-server compilers to isolate live reload events while retaining site URLs, hashed assets and both demo layouts.

Refresh the compatible transitive paths. Replace the legacy TOC dependency and old contributor CLI, and serialize the README formatting hook.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Deploying diff2html with  Cloudflare Pages  Cloudflare Pages

Latest commit: adcd759
Status: ✅  Deploy successful!
Preview URL: https://d900cb74.diff2html.pages.dev
Branch Preview URL: https://rodrigo-deps-website-build.diff2html.pages.dev

View logs

@rtfpessoa
rtfpessoa marked this pull request as ready for review November 27, 2026 23:30
Base automatically changed from rodrigo/deps-source-tooling to master November 28, 2026 09:10
* commit 'b855f3374cbf5aea29336297c13b9e9a1c7d2c43':
  ci: check the release tag before publishing
  ci: publish to npm with GitHub OIDC

Signed-off-by: Rodrigo Fernandes <rodrigo.fernandes@datadoghq.com>
@rtfpessoa
rtfpessoa merged commit 45b38e2 into master Nov 28, 2026
8 checks passed
@rtfpessoa
rtfpessoa deleted the rodrigo/deps-website-build branch November 28, 2026 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant