Commit graph

27 commits

Author SHA1 Message Date
Sergio Padrino
2d5e6d3fa1 Specify type for Octicon symbols 2021-07-27 18:41:20 +02:00
Markus Olsson
2a7cef4764 Merge branch 'development' into tree-shake-octoicons 2020-09-30 11:23:47 +02:00
Markus Olsson
3e817b8651 Merge branch 'development' into upgrade-octicons 2020-08-17 10:38:51 +02:00
rafeca
cc223c173a
fillRule -> fr 2020-08-06 15:22:12 +02:00
rafeca
f6c1875c9f
Copy fill-rule attribute from octoicons' SVGs 2020-08-06 15:10:55 +02:00
Rafael Oleza
7e9b84b514
Update generate-octicons script to generate named exports
With named exports for each of the octicons we can leverage WebPack tree shaking capabilities to get rid of unused octicons in the bundle
2020-07-21 10:12:47 +02:00
Rafael Oleza
4bf7673f7c
Update generate-icons script to use the new data
The data structure returned by octicons has changed in v10.0.0 (see dbf02d1bb8/CHANGELOG.md (breaking-changes--1)).

Now we need to get the SVG paths from a specific size from the sizes array.
2020-07-17 16:47:50 +02:00
Rafael Oleza
4f94999984
Use import for to-camel-case and xml2js 2020-07-14 16:32:49 +02:00
Andrew Casey
3c541dc92d Fix lint and prettier issues 2020-06-24 18:28:06 +00:00
evelyn masso
cc8ed4fa69 Revert "Revert "new octicons package""
This reverts commit f3ce77a5ba.
2019-09-25 11:24:58 -07:00
evelyn masso
f3ce77a5ba Revert "new octicons package"
This reverts commit 19fb0cac27.
2019-09-25 11:23:53 -07:00
evelyn masso
19fb0cac27 new octicons package
see https://github.com/primer/octicons/pull/311
2019-09-24 13:39:31 -07:00
Brendan Forster
2ddaab868b ensure octicons are generated in predictable order 2018-12-31 13:48:02 -04:00
Brendan Forster
1cfee4b4c4 on Windows this needs to be the full cmd file path 2018-03-26 10:23:35 +11:00
Brendan Forster
e9088a0399 lint fiiiix 2017-12-12 16:21:47 +11:00
Brendan Forster
95257fb988 fix all the new lint errors 2017-11-22 10:49:23 +11:00
Jed Fox
eaf5c478c9 Run all of the lint:fix commands; echo any lint errors to stdout/stderr 2017-11-04 07:13:05 -04:00
Brendan Forster
2ce115d392 include details with error 2017-11-04 13:47:59 +11:00
Brendan Forster
dc093b0fbe using the right method to launch the cleanup task 2017-11-04 12:28:26 +11:00
Brendan Forster
4bf18cf760 tidy up things 2017-11-04 12:28:26 +11:00
Brendan Forster
e85b5fab1e a simpler script for generating octicons using the NPM package 2017-11-04 12:28:26 +11:00
Jed Fox
d8ceeffe53 Fix lint-disabling comments 2017-10-19 19:04:47 -04:00
Jed Fox
909d521a2f Address review comments 2017-09-27 07:50:53 -04:00
Jed Fox
9d0735b7fc Don’t exit immediately after a bad viewBox match 2017-09-25 16:50:17 -04:00
Jed Fox
89f293f251 npm run prettify 2017-09-25 16:49:22 +00:00
Jed Fox
546869b4c9 Use UTF-8 encodings when reading and writing files 2017-09-25 15:43:55 +00:00
Jed Fox
d7b3ec0b5c Convert generate-octicons to TypeScript 2017-09-25 15:43:55 +00:00
Renamed from script/generate-octicons (Browse further)