Since this hasn't been updated in several years, there are a few security problems.
I've updated the the grunt and babel dependencies
Switched to use @babel/preset-env and preset-react (instead of specifying presets and plugins manually)
Fixed a charset problem in the demo/template.html file.
Pinned the node and npm versions with volta
Added the package-lock file.
The second commit is all of the files which changed when running npm run build after the first commit. Since we are updating the tools which generate/clean up the SVG files from the source svg, every downstream file (such as pdf, php, final svg, and react) also gets updated.
I verified the SVG + PDF output is correct by visually reviewing that there is no difference before and after.
Testing
[x] Verify that the generated PDF files are correct
[x] Verify that the generated svg files are correct
[x] Verify that it works with Calypso.
I created a calypso branch with the gridicon dependency changed to https://github.com/Automattic/gridicons#try/update-dependencies
Since this hasn't been updated in several years, there are a few security problems.
@babel/preset-env
andpreset-react
(instead of specifying presets and plugins manually)demo/template.html
file.The second commit is all of the files which changed when running
npm run build
after the first commit. Since we are updating the tools which generate/clean up the SVG files from the source svg, every downstream file (such as pdf, php, final svg, and react) also gets updated.I verified the SVG + PDF output is correct by visually reviewing that there is no difference before and after.
Testing
https://github.com/Automattic/gridicons#try/update-dependencies