Commit Graph

104 Commits

Author SHA1 Message Date
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
Johan Fagerberg
9ed3358c78
Version bump 2018-09-04 22:46:18 +02:00
Johan Fagerberg
26b79531d8
Version bump 2018-09-01 11:21:10 +02:00
Johan Fagerberg
fc4d687279
Version bump 2018-08-30 09:02:36 +02:00
Johan Fagerberg
57e66ef99a
Version bump 2018-08-26 23:24:45 +02:00
Johan Fagerberg
6ee6ba977c
Add prepublish script (#942)
* Add prepublish script

Compiles icons into both static js files (icons/{filename}.js) and
into a static index.js. The latter is not tree-shakeable.

Closes #941, closes #751

* Add information on tree-shaking to README

* Remove index.js after publishing

* Change 'prepublish' to 'prepublishOnly'

* Link to webpack in README

* Simplify postpublish cleanup

Thanks @ericcornelissen

* Fix quote usage in prepublish.js

* Fix quote usage in utils.js

* Optimized file size of prepublish output

* Improved readability of prepublish script
2018-08-26 23:23:57 +02:00
Johan Fagerberg
9ef370f7fe
Version bump 2018-08-19 14:08:28 +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
Johan Fagerberg
4b824444ec
Version bump 2018-08-07 14:18:04 +02:00
Johan Fagerberg
ba56572d5b
Version bump 2018-08-02 23:07:59 +02:00
Johan Fagerberg
915626acb1
Version bump 2018-08-02 09:28:39 +02:00
Johan Fagerberg
9dc7db16a7
Version bump (breaking change) 2018-08-01 13:33:56 +02:00