Skip to content

V15: Update Backoffice NPM dependencies#18376

Merged
iOvergaard merged 33 commits intov15/devfrom
v15/feature/client-npm-2025-02
Feb 20, 2025
Merged

V15: Update Backoffice NPM dependencies#18376
iOvergaard merged 33 commits intov15/devfrom
v15/feature/client-npm-2025-02

Conversation

@iOvergaard
Copy link
Contributor

@iOvergaard iOvergaard commented Feb 18, 2025

Changes

  • Updates Backoffice dependencies.
  • Removed dependency base64-js - this code is now inlined and attributed to the original author, which allows us to export it as an esmodule
  • Removed dependency @rollup/commonjs-plugin - no longer needed due to base64-js
  • Removed dependency @web/dev-server-rollup - no longer needed due to base64-js
  • Added dependency svgo to optimise icons and ensure that we no longer need 550+ files changed in PRs when upgrading icon libraries
  • Added tests for generate:icons and generate:tsconfig in the Github Action to make sure icons work

How to test

  • Make sure to run npm run build:for:cms and launch the backend server
  • Test areas affected by or using Tinymce, Tiptap, Icons, Marked
  • Test Storybook

…t exported as esm and has not been updated in 4 years
…lt to make everyone happy (and avoid commonjs pitfalls)
this mistake was highlighted by the test runner
this also ensures that icons are unchanged when we upgrade icon library packages as they would normally include things like versions as comments in the files
@iOvergaard iOvergaard added dependencies Pull requests that update a dependency file area/frontend release/15.3.0 labels Feb 19, 2025
@iOvergaard iOvergaard marked this pull request as ready for review February 19, 2025 11:07
@iOvergaard iOvergaard enabled auto-merge (squash) February 19, 2025 11:07
Copy link
Member

@leekelleher leekelleher left a comment

Choose a reason for hiding this comment

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

Tested out, everything is working as expected! 🚀

@iOvergaard iOvergaard merged commit 7a7602f into v15/dev Feb 20, 2025
22 of 23 checks passed
@iOvergaard iOvergaard deleted the v15/feature/client-npm-2025-02 branch February 20, 2025 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/frontend dependencies Pull requests that update a dependency file release/15.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments