Skip to content

Conversation

avivkeller
Copy link
Member

Ref: #7725

This PR does two things:

  1. It updates css-loader to the next major
  2. It removes postcss dependencies that are bundled with Next.js, since they do not serve a purpose

@Copilot Copilot AI review requested due to automatic review settings May 10, 2025 15:14
@avivkeller avivkeller requested a review from a team as a code owner May 10, 2025 15:14
Copy link

vercel bot commented May 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nodejs-org ✅ Ready (Inspect) Visit Preview May 20, 2025 8:50pm

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the version of css-loader to its next major release and removes redundant postcss-related dependencies that are bundled with Next.js.

  • Updated css-loader version in packages/ui-components/package.json
  • Adjusted Storybook configuration in packages/ui-components/.storybook/main.ts to match the new css-loader settings and removed explicit postcss-loader configuration
  • Removed unneeded postcss and postcss-loader entries from apps/site/package.json

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
packages/ui-components/package.json Upgraded css-loader dependency to ~7.1.2
packages/ui-components/.storybook/main.ts Updated css-loader options and simplified postcss-loader configuration
apps/site/package.json Removed redundant postcss dependencies bundled with Next.js
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (1)

packages/ui-components/.storybook/main.ts:27

  • The removal of the custom implementation for 'postcss-loader' (previously using require.resolve('postcss')) means the default configuration will be used. Please confirm that these defaults align with your intended postcss behavior within Storybook.
options: { esModule: false, importLoaders: 1, },

@codecov-commenter
Copy link

codecov-commenter commented May 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.09%. Comparing base (663fad9) to head (86c12e4).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7739   +/-   ##
=======================================
  Coverage   75.09%   75.09%           
=======================================
  Files          98       98           
  Lines        7914     7914           
  Branches      196      196           
=======================================
  Hits         5943     5943           
  Misses       1970     1970           
  Partials        1        1           

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

github-actions bot commented May 10, 2025

Lighthouse Results

URL Performance Accessibility Best Practices SEO Report
/en 🔴 71 🟢 100 🟢 100 🟢 91 🔗
/en/about 🟢 100 🟢 100 🟢 100 🟠 82 🔗
/en/about/previous-releases 🟢 100 🟢 100 🟢 100 🟠 83 🔗
/en/download 🟢 98 🟢 100 🟢 100 🟢 91 🔗
/en/blog 🟢 100 🟢 100 🟢 96 🟢 92 🔗

@avivkeller avivkeller added the github_actions:pull-request Trigger Pull Request Checks label May 20, 2025
@avivkeller avivkeller enabled auto-merge May 20, 2025 20:50
@github-actions github-actions bot removed the github_actions:pull-request Trigger Pull Request Checks label May 20, 2025
@avivkeller avivkeller added this pull request to the merge queue May 20, 2025
Merged via the queue into main with commit 3725137 May 20, 2025
16 of 17 checks passed
@avivkeller avivkeller deleted the chore/css-loader branch May 20, 2025 20: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.

5 participants