Skip to content

Commit

Permalink
Add missing svgo dev dependency (#11824)
Browse files Browse the repository at this point in the history
Co-authored-by: Aaron Casanova <aaron.casanova@shopify.com>
Co-authored-by: Jess Telford <jess.telford@shopify.com>
  • Loading branch information
3 people committed Apr 9, 2024
1 parent e2909ba commit 79130ee
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/neat-bulldogs-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/polaris-icons': patch
---

Added missing `svgo` dev dependency
5 changes: 5 additions & 0 deletions .changeset/silver-rocks-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/polaris': patch
---

Lint fixes
1 change: 1 addition & 0 deletions polaris-icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"hast-util-select": "^3.0.0",
"js-yaml": "^4.0.0",
"rehype-parse": "^7.0.1",
"svgo": "^2.8.0",
"unified": "^9.2.1"
},
"peerDependencies": {
Expand Down
1 change: 0 additions & 1 deletion polaris-icons/tests/validate-svg-content.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const fs = require('fs');
const path = require('path');

// eslint-disable-next-line import/no-extraneous-dependencies
const svgo = require('svgo');
const globby = require('globby');
const unified = require('unified');
Expand Down
2 changes: 1 addition & 1 deletion polaris-react/postcss-mixins/no-focus-ring.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
&::after {
content: none;
}
} ;
}
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -20775,7 +20775,7 @@ svg-tags@^1.0.0:
resolved "https://registry.yarnpkg.com/svg-tags/-/svg-tags-1.0.0.tgz#58f71cee3bd519b59d4b2a843b6c7de64ac04764"
integrity sha1-WPcc7jvVGbWdSyqEO2x95krAR2Q=

svgo@^2.7.0:
svgo@^2.7.0, svgo@^2.8.0:
version "2.8.0"
resolved "https://registry.yarnpkg.com/svgo/-/svgo-2.8.0.tgz#4ff80cce6710dc2795f0c7c74101e6764cfccd24"
integrity sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg==
Expand Down

0 comments on commit 79130ee

Please sign in to comment.