Skip to content

Commit 0b461ee

Browse files
committed
fix: upgrade svgo to latets version and make sure the comman uses recursive flag to traverse all files
1 parent a4be1eb commit 0b461ee

File tree

331 files changed

+1263
-922
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

331 files changed

+1263
-922
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# EditorConfig is awesome: http://EditorConfig.org
22

3-
root = true;
3+
root = true
44

55
[*]
66
# Ensure there's no lingering whitespace

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"react-test-renderer": "18.3.1",
8989
"storybook": "^8.3.6",
9090
"style-loader": "^4.0.0",
91-
"svgo": "^1.3.2",
91+
"svgo": "^3.3.2",
9292
"syncpack": "^10.9.3",
9393
"ts-jest": "29.1.1",
9494
"ts-node": "10.9.1",

packages/gamut-icons/.svgo.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/gamut-icons/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"repository": "git@github.com:Codecademy/gamut.git",
2626
"scripts": {
2727
"build": "nx build @codecademy/gamut-icons",
28-
"format": "svgo -f ./src/svg --pretty --config=.svgo.yml"
28+
"format": "svgo -rf ./src/svg --pretty --config=svgo.config.mjs"
2929
},
3030
"sideEffects": false,
3131
"types": "dist/index.d.ts"
Lines changed: 5 additions & 3 deletions
Loading
Lines changed: 3 additions & 1 deletion
Loading
Lines changed: 3 additions & 1 deletion
Loading
Lines changed: 3 additions & 1 deletion
Loading
Lines changed: 3 additions & 1 deletion
Loading
Lines changed: 3 additions & 1 deletion
Loading

0 commit comments

Comments
 (0)