Commit Graph

175 Commits

Author SHA1 Message Date
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
e1c7f20914 Audit dependencies (#1526)
Before when running `npm install` it would report "Found 1110 high 
severity vulnerabilities [...]". This updates the dependencies in 
package-lock.json, resultin in 0 vulnerabilities.
2019-07-14 21:03:41 +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
dependabot[bot]
9ef19f59dc Bump lodash from 4.17.11 to 4.17.14 (#1514)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-12 17:06:18 +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
Eric Cornelissen
e1069c89b9 Audit dependencies 2019-06-09 14:25:36 +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
942cf31f5f
Update package-lock Version 2019-02-17 12:51:19 -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
birjolaxew
d9e2d50712
Update package-lock.json
Should fix #1052
Updated using 'npm audit fix'
2018-11-18 00:49:14 +01: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
Johan Fagerberg
289d1883a1 Add SVGLint (#922)
* Added SVGLint

* Added SVGLint to CI

* Upgraded Node version used by CI

* Upgraded SVGLint to latest version

* Moved SVGLint configuration file

* Upgraded SVGLint

1.0.1 -> 1.0.2
Adds support for globs on Windows

* Added SVGLint check for aria-labelledby and title ID
2018-08-16 11:33:32 +02:00