gamut icon indicating copy to clipboard operation
gamut copied to clipboard

fix: upgrade svgo to latest version and make sure the comman uses recursive flag to traverse all files

Open rahultyagidev opened this issue 8 months ago • 4 comments

Overview

We noticed that svgo was on a very old version and did not support the recursive(-r) flag and hence doing yarn run format was not doing anything. This PR updates the svgo version to the latest and removes the yml config in favor of the new config format.

PR Checklist

  • [ ] Related to designs:
  • [x] Related to JIRA ticket: COPS-183
  • [x] I have run this code to verify it works
  • [ ] This PR includes unit tests for the code change
  • [ ] This PR includes testing instructions tests for the code change
  • [ ] The alpha package of this PR is passing end-to-end tests in all relevant Codecademy repositories

Testing Instructions

We need to test the svgs are functioning correctly after this update

PR Links and Envs

Repository PR Link PR Env
Portal Portal Link Portal Env

rahultyagidev avatar May 23 '25 09:05 rahultyagidev

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar May 23 '25 09:05 CLAassistant

View your CI Pipeline Execution ↗ for commit 28a9f05b4231e94ae06db57c5f3c31eba9dc88df.


☁️ Nx Cloud last updated this comment at 2025-05-30 08:43:05 UTC

nx-cloud[bot] avatar May 23 '25 09:05 nx-cloud[bot]

📬Published Alpha Packages:

@codecademy/[email protected]
@codecademy/[email protected]
@codecademy/[email protected]

codecademydev avatar May 23 '25 10:05 codecademydev