Commit Graph

257 Commits

Author SHA1 Message Date
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
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
Johan Fagerberg
1ce7d3a563
Version bump 2018-07-26 13:26:50 +02:00
Johan Fagerberg
924632bc6f
Version bump (breaking change) 2018-07-24 10:46:57 +02:00
Johan Fagerberg
03dad6c56d
Version bump 2018-07-24 10:43:51 +02:00
Johan Fagerberg
d26fa23f0a
Version bump 2018-07-23 18:31:41 +02:00
Johan Fagerberg
30b284373f
Version bump 2018-07-20 22:30:26 +02:00
Johan Fagerberg
9a802e02f7
Version bump 2018-07-20 02:40:08 +02:00
Johan Fagerberg
c05810941f
Version bump 2018-07-18 18:19:12 +02:00
Johan Fagerberg
4084e82ec9
Version bump 2018-06-13 22:24:00 +02:00
Johan Fagerberg
9f0422d6b5
Version bump 2018-06-10 16:24:19 +02:00
Johan Fagerberg
486b180e7d
Version bump 2018-06-02 16:49:44 +02:00
Johan Fagerberg
9312b85aae
Version bump 2018-05-24 00:39:53 +02:00
Johan Fagerberg
ae4a59ca79
Version bump 2018-05-10 16:25:39 +02:00
Johan Fagerberg
99d8d86f0e
Version bump (removal) 2018-04-11 11:17:03 +02:00
Johan Fagerberg
8b9ec4220e
Version bump 2018-04-11 11:15:50 +02:00
Johan Fagerberg
50c44ba014
Version bump 2018-04-09 20:34:43 +02:00
Johan Fagerberg
95418b54b6
Version bump 2018-03-21 20:49:07 +01:00
Johan Fagerberg
b369058f84
Version bump 2018-03-08 21:55:46 +01:00
Johan Fagerberg
fcec5ced97
Version bump 2018-02-26 10:02:56 +01:00
Johan Fagerberg
24b2fceab3
Version bump 2018-02-21 21:15:16 +01:00
Johan Fagerberg
c5b0223199
Version bump 2018-02-20 09:26:20 +01:00
Eric Cornelissen
66e5f01b3e Replace jsonlint by jsonlint2
jsonlint2 is a fork of jsonlint that is still being updated. Relevant
discussion: https://github.com/zaach/jsonlint/pull/105
2018-02-20 09:07:13 +01:00
Johan Fagerberg
2c69f2c254
Version bump 2018-02-15 21:05:05 +01:00
Johan Fagerberg
76335ec994
Version bump 2018-02-15 16:59:47 +01:00
Johan Fagerberg
1b2344e9f5
Version bump
Minor breaking change (JIRA -> Jira)
2018-02-14 00:27:05 +01:00
Johan Fagerberg
b967c092cb
Version bump 2018-01-20 16:25:09 +01:00
Johan Fagerberg
15a1b1c8e9
Version bump 2018-01-02 22:06:34 +01:00
Johan Fagerberg
f15dc5f26d
Version bump 2017-12-23 17:23:39 +01:00
Johan Fagerberg
fa019be40c
Version bump 2017-12-11 14:50:50 +01:00
Johan Fagerberg
80382d9af0
Version bump 2017-12-07 14:41:05 +01:00
Johan Fagerberg
ecd74275fb
Version bump 2017-12-02 01:43:55 +01:00
Johan Fagerberg
051b659a4f
Version bump 2017-11-28 23:15:10 +01:00
Johan Fagerberg
7bb819198b
Version bump 2017-11-26 22:45:11 +01:00
Johan Fagerberg
a1ea7ab889
Version bump 2017-11-22 22:44:38 +01:00
Johan Fagerberg
21dfa06e9d
Version bump 2017-11-12 23:14:18 +01:00
Johan Fagerberg
61ba6b42ba
Version bump 2017-11-03 11:16:57 +01:00
Johan Fagerberg
462d15f6f9
Version bump 2017-11-01 17:21:47 +01:00
Johan Fagerberg
7859b6da2d Version bump 2017-09-26 23:37:51 +02:00
Johan Fagerberg
39588b3a0b Version bump 2017-09-26 18:52:33 +02:00
Johan Fagerberg
bb2bfbfeee Version bump 2017-09-26 14:13:19 +02:00
Johan Fagerberg
29157c2d27 Version bump 2017-09-26 09:45:30 +02:00
Johan Fagerberg
dac3d25b3f Version bump 2017-09-25 22:40:16 +02:00
Johan Fagerberg
e787f4a571 Version bump 2017-09-24 18:24:01 +02:00
Johan Fagerberg
73bea00acc Version bump 2017-09-22 01:13:26 +02:00
Johan Fagerberg
fa1179065f Version bump 2017-09-20 00:42:59 +02:00
Johan Fagerberg
4c538323dc Bump version number
Removed Minecraft
2017-09-19 19:26:04 +02:00
Johan Fagerberg
25689c8138 Bump version number 2017-09-19 15:12:42 +02:00
birjolaxew
724555c18f
Version bump 2017-09-17 10:50:31 +02:00
birjolaxew
70bbd06e33
Update package.json 2017-09-17 04:17:42 +02:00
Jenil Gogari
ca0e2ac72e add index.js file for npm
make is possible to import all icons with the SVG content, see example.js for usage
Discussion at https://github.com/simple-icons/simple-icons/pull/446
2017-09-16 16:49:58 -04:00
birjolaxew
9c0039d121
Add JSONLint schema 2017-09-13 16:21:34 +02:00
Eric Cornelissen
b194931025 Add NPM script Travis configuration for jsonlint 2017-09-11 21:56:40 +02:00
Eric Cornelissen
b566627804 Add "jsonhint" dependency 2017-09-11 21:53:21 +02:00
Peter Piekarczyk
ec9afd6deb switch license to CCO 2017-05-10 10:13:00 -05:00
Peter Piekarczyk
9fa763c71c create package from npm 2017-05-10 10:08:35 -05:00