gamut
gamut copied to clipboard
fix: upgrade svgo to latest version and make sure the comman uses recursive flag to traverse all files
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 |
View your CI Pipeline Execution ↗ for commit 28a9f05b4231e94ae06db57c5f3c31eba9dc88df.
☁️ Nx Cloud last updated this comment at 2025-05-30 08:43:05 UTC
📬Published Alpha Packages:
@codecademy/[email protected]
@codecademy/[email protected]
@codecademy/[email protected]