Repository navigation
Update npm runtime dependencies in the website - #10311
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the website’s runtime dependency set (Next.js/React ecosystem and supporting libraries) and applies small code/workflow adjustments needed to align with those upgrades and CI caching behavior.
Changes:
- Bumps website runtime dependencies (Next.js, React, sharp, js-yaml, shiki, styled-components, DocSearch, FontAwesome, xyflow, motion) and refreshes
yarn.lock. - Removes unused/obsolete packages (
@next/third-parties,@types/js-yaml) and moves@types/mdxtodevDependencies. - Switches the contact form thank-you navigation to
useRouter().pushand updates the optimized-images cache key to account for dependency changes.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
website/yarn.lock |
Lockfile refresh to reflect updated dependency graph and removals. |
website/src/helpers/buildContentTree.ts |
Updates js-yaml import style to use load directly. |
website/package.json |
Bumps/cleans dependency declarations and reclassifies types packages. |
website/app/(content)/services/support/contact/ContactForm.tsx |
Replaces window.location.assign with Next.js router navigation for the thank-you redirect. |
.github/workflows/publish-website.yml |
Adjusts optimized-images cache key so dependency bumps (notably sharp) invalidate cached encodes. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This was referenced Oct 25, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
next,@next/mdx, andeslint-config-nextto 16.3.2 (clearing ninenextadvisories and, transitively, thepostcssandnanoidones),js-yamlto 5.3.0,sharpto 0.35.3,reactandreact-domto 19.2.8, and@fortawesome/*,@xyflow/react,shiki,styled-components,@docsearch/*(4.7.0), andmotion(13.1.1) to their current releases.@next/third-parties(unused since the GTM loader moved tonext/script) and@types/js-yaml(js-yaml 5 ships its own types), moves@types/mdxto devDependencies, and switches the contact form's thank-you redirect touseRouter().pushas the extendedno-location-assign-relative-destinationrule asks.website/yarn.lockto the optimized-images cache key so asharpbump re-encodes the AVIF/WebP set instead of reusing cached output.Held back:
@docsearch/*5.x (the Ask AI release, six new runtime dependencies) andelkjs0.12 (an entry that only satisfies the Mocha visualizer's peer range).Test plan
yarn install,tsc --noEmit,yarn lint, andyarn buildafter each bump;yarn optimize-imagesfor thesharpbump;yarn test:visualforshikiandmotion(all CodeBlock and motion-component baselines pass).