Skip to content

chore: update next to v16#22177

Merged
kennylam merged 3 commits into
carbon-design-system:mainfrom
tay1orjones:task/nextjs-16-examples
May 5, 2026
Merged

chore: update next to v16#22177
kennylam merged 3 commits into
carbon-design-system:mainfrom
tay1orjones:task/nextjs-16-examples

Conversation

@tay1orjones

@tay1orjones tay1orjones commented May 4, 2026

Copy link
Copy Markdown
Member

Updates the nextjs example projects to nextjs 16 and adds standalone yarn lockfiles now that these examples are no longer workspaces as of #21859

I think this should fix the elements preview that has been broken since what looks like January.

I did not update www because I'm removing it in #22188

Changelog

New

  • Added standalone yarn.lock files for nextjs example projects that install independently.
  • Added explicit turbopack roots for standalone nextjs examples with nested lockfiles.

Changed

  • Updated nextjs example dependencies to nextjs 16 and react 19.
  • Updated the light/dark mode Sass font path so the app compiles under nextjs 16/turbopack.
  • Switched the colors Sass modules example local dependency from file: to link: to avoid packaging the local Carbon package during install/dedupe.

Removed

  • Removed obsolete next lint scripts and lint-only dependencies from the top-level nextjs examples.

Testing / Reviewing

  • In examples/nextjs, run yarn install, then yarn dev, then open http://localhost:3000 and confirm the page renders
  • In examples/light-dark-mode, run yarn install, then yarn dev, then open http://localhost:3000 and confirm the page renders
  • This PR should have an elements preview deploy preview commented on it from netlify.

PR Checklist

As the author of this PR, before marking ready for review, confirm you:

  • Reviewed every line of the diff
    - [ ] Updated documentation and storybook examples
    - [ ] Wrote passing tests that cover this change
    - [ ] Addressed any impact on accessibility (a11y)
    - [ ] Tested for cross-browser consistency
  • Validated that this code is ready for review and status checks should pass

@tay1orjones tay1orjones requested a review from a team as a code owner May 4, 2026 21:40
@tay1orjones tay1orjones self-assigned this May 4, 2026
@github-project-automation github-project-automation Bot moved this to 🕵️‍♀️ Triage in Design System May 4, 2026
@tay1orjones tay1orjones moved this from 🕵️‍♀️ Triage to 🚦 In Review in Design System May 4, 2026
@netlify

netlify Bot commented May 4, 2026

Copy link
Copy Markdown

Deploy Preview for v11-carbon-react ready!

Name Link
🔨 Latest commit 55cecdc
🔍 Latest deploy log https://app.netlify.com/projects/v11-carbon-react/deploys/69fa476aad632f0008048259
😎 Deploy Preview https://deploy-preview-22177--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@netlify

netlify Bot commented May 4, 2026

Copy link
Copy Markdown

Deploy Preview for v11-carbon-web-components ready!

Name Link
🔨 Latest commit 55cecdc
🔍 Latest deploy log https://app.netlify.com/projects/v11-carbon-web-components/deploys/69fa476ceff4d30008619b4a
😎 Deploy Preview https://deploy-preview-22177--v11-carbon-web-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@codecov

codecov Bot commented May 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.10%. Comparing base (7b66202) to head (55cecdc).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #22177   +/-   ##
=======================================
  Coverage   95.10%   95.10%           
=======================================
  Files         548      549    +1     
  Lines       45599    45636   +37     
  Branches     6582     6585    +3     
=======================================
+ Hits        43366    43404   +38     
+ Misses       2103     2102    -1     
  Partials      130      130           
Flag Coverage Δ
main-packages 89.16% <ø> (+<0.01%) ⬆️
web-components 97.89% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@devadula-nandan devadula-nandan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I did not update www because I'm going to open a PR shortly to remove that from the codebase.

👍🏻

@netlify

netlify Bot commented May 5, 2026

Copy link
Copy Markdown

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 55cecdc
🔍 Latest deploy log https://app.netlify.com/projects/carbon-elements/deploys/69fa476ab951e200084ff759
😎 Deploy Preview https://deploy-preview-22177--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@tay1orjones

Copy link
Copy Markdown
Member Author

Opened #22188 for the www removal.

@tay1orjones tay1orjones requested a review from a team as a code owner May 5, 2026 19:39
@tay1orjones tay1orjones requested a review from annawen1 May 5, 2026 19:39
@tay1orjones

Copy link
Copy Markdown
Member Author

Since we discovered that the netlify deploy preview builds fail sort of silently, I added a ci check to make sure the examples build succeeds.

@kennylam kennylam added this pull request to the merge queue May 5, 2026
Merged via the queue into carbon-design-system:main with commit 3c4c87a May 5, 2026
40 checks passed
@github-project-automation github-project-automation Bot moved this from 🚦 In Review to ✅ Done in Design System May 5, 2026
@carbon-automation

Copy link
Copy Markdown
Contributor

Hey there! v11.107.0 was just released that references this issue/PR.

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

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants