1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-11-26 01:00:27 +02:00
Commit Graph

115 Commits

Author SHA1 Message Date
Eric Cornelissen
93425f8aa0 No longer require no final newline in SVGs (#1682)
* Introduce newline into a SVG

for testing purposes

* Remove potential newlines from SVGs when building the package

* Don't lint SVG files

... so it is neither required to have, or not have, a final newline

* Remove both Windows and Unix style newlines in build script

* Rever 3372ca3
2019-09-30 18:34:42 +02:00
renovate[bot]
fcc89c9461 Pin dependencies (#1680) 2019-09-30 08:21:06 +03:00
Eric Cornelisesn
fa27e1138d version bump 2019-09-22 18:37:50 +03:00
Eric Cornelisesn
28fd6e5b1d version bump 2019-09-08 13:57:44 +03:00
Eric Cornelisesn
3e5e920010 version bump 2019-08-25 14:52:05 +03:00
Eric Cornelisesn
186d4ab1e9 version bump 2019-08-11 12:54:12 +02:00
Johan Fagerberg
2f4e772458
Merge pull request #1546 from ericcornelissen/deps/svglint
Update SVGLint dependency
2019-07-24 12:25:52 +02:00
Eric Cornelissen
11cdbd7073 Add a "build" and "clean" NPM script (#1548) 2019-07-22 09:58:51 -07:00
Eric Cornelissen
1978e05c5d 1.12.0 2019-07-21 20:44:51 +01:00
Eric Cornelissen
412b1b01e6 Update SVGLint to v1.0.5
To make use of the fix for 
https://github.com/birjolaxew/svglint/issues/5
2019-07-19 07:48:51 +01:00
Eric Cornelissen
3af76b75d3
Add NPM script to perform SVGO optimization from the repository (#1476)
* Add SVGO as devDependencies and a NPM script to run it

* Update Contributing Guidelines

Change the instructions on how to use SVGO to optimize SVGs to use the 
new dependency and NPM script.

* Add configuration for the NPM command to optimize SVGs

* Specify --precision  in SVGO configuration file

* Update SVGO config ordering of attributes

To be in line with the fact that, as @davidklebanoff pointed out: "most 
(all?) have the attributes in the order of role, viewbox, xmlns 
(alphabetical)"

* Move SVGO --multipass argument to .svgo.yml

* Update SVGO dependency to 1.3.0

Now the force merge option works 🎉

See: https://github.com/svg/svgo/releases/tag/v1.3.0

* Update outdated "blocking" comment
2019-07-15 15:14:50 +01:00
Eric Cornelissen
c6a9346985 Generic get icon function for easier access to brands with "difficult" names (#1522)
* Add URL friendy/slug/file name as property to package icon objects

* Test new property

* Build index from template

* Add .get function to index.js export

* Test new .get function in index.js export

* Use Uglify-JS to minify the code in the package's index.js

* Update API in README.md

* Renaem test using "slug" instead of "name"
2019-07-14 21:05:38 +02:00
Eric Cornelissen
80483e9597 Version bump
minor update since an icon was removed from the package
2019-07-14 13:24:51 +01:00
Eric Cornelissen
01b84bc2c2 Version bump
Bumped the second digit instead of the third to indicate a not backwards 
compatible change: removing the icon named Adobe Lightroom.
2019-06-30 11:55:57 +01:00
Eric Cornelissen
4777fda380 Version bump 2019-06-09 15:25:57 +01:00
birjolaxew
8aa85816d5
Version bump 2019-05-18 17:12:41 +02:00
Eric Cornelissen
e05787520a Version bump 2019-04-27 22:32:02 +03:00
Eric Cornelissen
0a0586a04e
Lint SVG files for final newlines (#1367)
* Update editorconfig-checker dependency

At least v2.0.7 [1] is required to check that a file does not contain a 
final newline.

--
1. 
https://github.com/editorconfig-checker/editorconfig-checker.javascript/releases/tag/2.0.7

* Add *.svg to editorconfig and enable checking in editorconfig-checker

* Remove final newline from existing SVG files

... to fix the `$ npm run wslint` command
2019-04-23 01:41:13 +03:00
Eric Cornelissen
579d439e60
Lint file formatting (primarily whitespace) (#1349)
* Add editorconfig-checker and .editorconfig

* Fix wslint errors
2019-04-17 12:59:44 +03:00
Eric Cornelissen
112b78f48c
Update Travis CI build (#1348)
* Remove xmlstarlet from Travis CI "Lint" build

With https://github.com/birjolaxew/svglint/pull/6 merged some time ago, 
we no longer need xmlstarlet to verify that SVGs are valid XML. 
Essentially reverting the changes in #1112 and #1159

This should also make it easier for contributors to reproduce the build 
on their own machines, specifically if they don't use Linux.
2019-04-17 12:41:37 +03:00
Eric Cornelissen
c1f4df5322 Version bump 2019-04-05 20:45:09 +03:00
Eric Cornelissen
f96683be39 Version bump 2019-03-20 10:37:49 +02:00
Eric Cornelissen
eac0b0dff8 Version bump 2019-03-05 22:30:12 +02:00
birjolaxew
5f19e9a007
Version bump 2019-03-03 17:06:23 +01:00
birjolaxew
fe5cb2ed80
Upgrade Jest to fix reported vulnerabilities
NPM reported several minor vulnerabilities in the old version of Jest
This upgrades the version of Jest to the newest version
2019-02-22 16:35:27 +01:00
birjolaxew
eae0a275ef
Version bump 2019-02-22 16:28:05 +01:00
David Klebanoff
a1660dd2df
Bump Package Version 2019-02-17 12:49:46 -08:00
Eric Cornelissen
bf48e4044f Update dependencies and license information (#1205)
* Update dependencies

* Change "license" in package.json to SPDX format

Fixes the "npm WARN simple-icons@1.9.19 license should be a valid SPDX
license expression" warning given by NPM.
2019-02-12 10:01:35 -08:00
Eric Cornelissen
e7f878ddf6
Version bump 2019-02-03 20:46:48 +02:00
Eric Cornelissen
ac1dac0230
Version bump 2019-01-11 14:19:52 +01:00
Johan Fagerberg
7d855dca92
Version bump 2018-12-26 23:06:06 +01:00
Eric Cornelissen
e126c55481
Version bump 2018-12-18 01:00:03 +02:00
Johan Fagerberg
d51caf3e26
Version bump 2018-12-05 21:24:35 +01:00
Johan Fagerberg
dfa938b57c
Version bump 2018-11-21 13:27:58 +01:00
Johan Fagerberg
e1333240e2
Version bump 2018-11-08 08:31:57 +01:00
Johan Fagerberg
4749069804
Version bump 2018-11-05 18:52:05 +01:00
Johan Fagerberg
8727352e03
Version bump 2018-11-02 10:53:37 +01:00
Johan Fagerberg
a4d78b97ff
Version bump 2018-10-31 16:11:27 +01:00
Johan Fagerberg
5ba41ba938
Version bump 2018-10-25 15:13:16 +02:00
Johan Fagerberg
d3eda2f983
Version bump 2018-10-21 16:00:22 +02:00
Johan Fagerberg
0eaf23de4a
Version bump 2018-10-17 15:41:16 +02:00
Johan Fagerberg
37c2c9fa13
Version bump 2018-10-08 13:58:11 +02:00
Johan Fagerberg
e0498334e8
Version bump 2018-10-06 18:13:53 +02:00
Johan Fagerberg
38ee127c5c
Version bump 2018-10-03 17:14:06 +02:00
Johan Fagerberg
912d8a9ae7
Version bump 2018-10-02 23:35:53 +02:00
Johan Fagerberg
d21be9cb41
Version bump 2018-09-26 14:16:03 +02:00
Johan Fagerberg
8de084acca
Version bump 2018-09-23 22:21:32 +02:00
Eric Cornelissen
046c5e8b45 Add "pretest" and "posttest" scripts 2018-09-11 13:32:16 +03:00
Johan Fagerberg
1d57dea52c
Version bump 2018-09-11 10:15:32 +02:00
Eric Cornelissen
e6485072d2 Test the NPM package (#972)
* Implement basic test for the NPM package

Just an initial test suite that checks if all promised imports actually 
exist. The testing framework Jest was chosen because of it ease of setup 
and use.

* Implement exhaustive tests of properties for each icon
2018-09-09 21:58:53 +02:00