Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update npm non-major dependencies #14692

Closed
wants to merge 4 commits into from

Conversation

TomasEng
Copy link
Contributor

@TomasEng TomasEng commented Feb 17, 2025

Description

This pull request contains all the NPM non-major dependency updates from Renovate except from Prettier. Prettier has a breaking change in its latest minor version and is thereby handled in a separate pull request.

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)

Summary by CodeRabbit

  • Chores
    • Upgraded key dependency packages across several projects, enhancing performance consistency and reliability.
    • Applied uniform updates to core libraries including build tools, Storybook integrations, and analytics utilities with the latest patch releases.

Copy link
Contributor

coderabbitai bot commented Feb 17, 2025

📝 Walkthrough

Walkthrough

This pull request updates various dependency versions across multiple package.json files in the project. Several projects have their webpack version updated from 5.97.1 to 5.98.0, either under devDependencies or peerDependencies. Additionally, the Storybook-related dependencies for the studio components package are upgraded, a minor update is applied to the iso-639-1 package in the text editor, and multiple dependency versions in the root package.json have been incremented. No other changes outside version updates were made.

Changes

File(s) Change Summary
frontend/app-development/package.json, frontend/app-preview/package.json, frontend/dashboard/package.json, frontend/resourceadm/package.json Updated webpack version in devDependencies from 5.97.1 to 5.98.0.
frontend/packages/ux-editor/package.json, frontend/packages/ux-editor-v3/package.json Updated webpack peer dependency from 5.97.1 to 5.98.0.
frontend/libs/studio-components/package.json Upgraded Storybook dependencies: @storybook/addon-essentials, @storybook/addon-interactions, @storybook/addon-links, @storybook/blocks, @storybook/react, @storybook/react-webpack5, and @storybook/test from 8.5.2 to 8.5.5, and @storybook/addon-webpack5-compiler-swc from 2.0.0 to 2.1.0.
frontend/packages/text-editor/package.json Updated dependency iso-639-1 from 3.1.4 to 3.1.5.
package.json Updated multiple dependencies: @microsoft/applicationinsights-react-js (17.3.417.3.5), @microsoft/applicationinsights-web (3.3.43.3.5), @tanstack/react-query and @tanstack/react-query-devtools (5.65.15.66.0), @swc/core (1.10.121.10.16), webpack (5.97.15.98.0), @babel/traverse (7.26.77.26.8), and caniuse-lite (1.0.300016961.0.30001699).

Suggested labels

solution/platform, skip-releasenotes, area/process, team/studio-domain1, team/studio-domain2, team/studio-core, skip-manual-testing, skip-documentation

Suggested reviewers

  • github-actions
  • SandGrainOne
  • Ahmed-Ghanam

📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8006f35 and 21ed925.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (9)
  • frontend/app-development/package.json (1 hunks)
  • frontend/app-preview/package.json (1 hunks)
  • frontend/dashboard/package.json (1 hunks)
  • frontend/libs/studio-components/package.json (1 hunks)
  • frontend/packages/text-editor/package.json (1 hunks)
  • frontend/packages/ux-editor-v3/package.json (1 hunks)
  • frontend/packages/ux-editor/package.json (1 hunks)
  • frontend/resourceadm/package.json (1 hunks)
  • package.json (3 hunks)
✅ Files skipped from review due to trivial changes (5)
  • frontend/dashboard/package.json
  • frontend/app-development/package.json
  • frontend/app-preview/package.json
  • frontend/resourceadm/package.json
  • frontend/packages/text-editor/package.json
🔇 Additional comments (8)
frontend/packages/ux-editor/package.json (1)

20-20: Updated Webpack Peer Dependency Version
The peer dependency for webpack has been updated to "5.98.0", aligning this package with the rest of the codebase. Please ensure that the new version works seamlessly with the build configuration of the UX Editor.

frontend/packages/ux-editor-v3/package.json (1)

23-24: Updated Webpack Peer Dependency Version
The webpack version in the peerDependencies has been updated to "5.98.0", mirroring updates in related packages. This maintains consistency and should help avoid mismatches across the project.

frontend/libs/studio-components/package.json (1)

24-31: Updated Storybook-Related DevDependencies
Multiple Storybook packages in devDependencies have been bumped (e.g., "@storybook/addon-essentials", "@storybook/addon-interactions", etc., now at "8.5.5", and "@storybook/addon-webpack5-compiler-swc" updated to "2.1.0"). These changes are consistent minor version updates that should offer modest improvements and maintain compatibility with webpack 5. Please verify that your custom Storybook configurations continue to function as expected after these updates.

package.json (5)

10-11: Updated Microsoft Application Insights Packages
The versions for "@microsoft/applicationinsights-react-js" and "@microsoft/applicationinsights-web" have been updated to "17.3.5" and "3.3.5", respectively. These minor increments likely include bug fixes or minor improvements.


13-14: Updated Tanstack React Query Packages
The versions for "@tanstack/react-query" and "@tanstack/react-query-devtools" have been bumped to "5.66.0". This update helps maintain version consistency across the project—please confirm that no breaking changes affect the application's behavior.


28-28: Updated @swc/core Version
The update from "1.10.12" to "1.10.16" for @swc/core should bring in minor improvements or bug fixes. Ensure that the new version is compatible with your current build tools and configurations.


63-63: Updated webpack Version in DevDependencies
Webpack has been updated to "5.98.0" in the devDependencies, which is in line with the updates in peerDependencies of other packages. Please verify that your build and development environments are fully compatible with this version.


70-71: Updated Resolutions for @babel/traverse and caniuse-lite
The resolutions now enforce "@babel/traverse": "7.26.8" and "caniuse-lite": "1.0.30001699". Double-check that these changes harmonize well with the overall dependency graph and do not introduce conflicts.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added area/ui-editor Area: Related to the designer tool for assembling app UI in Altinn Studio. area/text-editor Area: Related to creating, translating and editing texts. area/dashboard Area: Related to the dashboard application area/app-preview Area: Related to test and preview of apps that are developed in Altinn Studio. solution/studio/designer Issues related to the Altinn Studio Designer solution. kind/dependencies Used for issues or pull requests that are dependency updates frontend labels Feb 17, 2025
@TomasEng TomasEng force-pushed the renovate/npm-minor-patch branch from f96ba35 to a6af721 Compare February 17, 2025 12:41
Copy link

codecov bot commented Feb 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.76%. Comparing base (8006f35) to head (609f784).
Report is 189 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #14692   +/-   ##
=======================================
  Coverage   95.76%   95.76%           
=======================================
  Files        1914     1914           
  Lines       24948    24948           
  Branches     2857     2857           
=======================================
  Hits        23891    23891           
  Misses        798      798           
  Partials      259      259           

☔ 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.

@TomasEng TomasEng marked this pull request as ready for review February 17, 2025 13:13
@TomasEng TomasEng added skip-releasenotes Issues that do not make sense to list in our release notes skip-manual-testing PRs that do not need to be tested manually skip-documentation Issues where updating documentation is not relevant labels Feb 17, 2025
@TomasEng
Copy link
Contributor Author

TomasEng commented Apr 4, 2025

Closing this since the updates are already merged from other pull requests.

@TomasEng TomasEng closed this Apr 4, 2025
@github-project-automation github-project-automation bot moved this from 🔎 Review to Documentation in Team Studio Apr 4, 2025
@TomasEng TomasEng moved this from Documentation to ✅ Done in Team Studio Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
added-to-sprint area/app-preview Area: Related to test and preview of apps that are developed in Altinn Studio. area/dashboard Area: Related to the dashboard application area/text-editor Area: Related to creating, translating and editing texts. area/ui-editor Area: Related to the designer tool for assembling app UI in Altinn Studio. frontend kind/dependencies Used for issues or pull requests that are dependency updates skip-documentation Issues where updating documentation is not relevant skip-manual-testing PRs that do not need to be tested manually skip-releasenotes Issues that do not make sense to list in our release notes solution/studio/designer Issues related to the Altinn Studio Designer solution.
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

1 participant