Commit Graph

220 Commits

Author SHA1 Message Date
Eric Cornelissen
bd742e72d6 version bump 2020-06-14 13:09:43 +03:00
David Beitey
5da34c7efd
Add linter to check svg path dimensions (#3107)
* Add linter to check svg path dimensions

Float precision is set at 3 which is the default for svgo in .svgo.yml;
precision can be raised over time.

This adds an ignore file with the current paths of non-conforming icons.

This also changes the name of the icon title linter as well so it reads
more nicely than "custom".

* Update CONTRIBUTING GUIDELINES

Add a note on visual imperfections and viewbox problems due to 
optimizing.

Co-authored-by: Eric Cornelisesn <ericornelissen@gmail.com>
Co-authored-by: Peter Noble <PeterShaggyNoble@users.noreply.github.com>
2020-06-10 12:59:42 +03:00
renovate[bot]
b234c8ffef
Update dependency editorconfig-checker to v3.1.0 (#3188) 2020-06-08 09:23:04 +01:00
Eric Cornelisesn
7293a0ebd0 version bump 2020-06-07 12:48:34 +03:00
renovate[bot]
3934363887
Update dependency uglify-js to v3.9.4 (#3146)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-01 07:46:22 +03:00
Eric Cornelisesn
7af9796704 version bump 2020-05-31 12:52:26 +03:00
Eric Cornelissen
72968fdff9 version bump 2020-05-24 12:56:19 +03:00
renovate[bot]
b2f4739631
Update all dependencies (#3089)
* Update all dependencies

* Update NodeJS version for Travis to 10

Starting from v26.0.0 of Jest [1] a function native to NodeJS 10 is 
being used, therefore using NodeJS 8 in Travis CI is no longer 
sufficient.

--
1. https://github.com/facebook/jest/blob/master/CHANGELOG.md#2600

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Eric Cornelissen <ericornelissen@gmail.com>
2020-05-18 15:22:33 +03:00
Álvaro Mondéjar
b12a531c49
Avoid to run svglint for icons/*.js files. (#3083) 2020-05-18 15:02:47 +03:00
Eric Cornelissen
3f4704f8a3 version bump 2020-05-17 16:40:48 +03:00
Álvaro Mondéjar
1f9fe8861f
Fix 'wslint' command that isn't linting the simple-icons.json file. (#3079)
* Avoid to insert a final newline on '_data/simple-icons.json' file config for '.editorconfig'.

* Fix wslint script, add final newline to simple-icons.json and revert .editorconfig configuration.
2020-05-14 19:30:14 +03:00
David Beitey
d38740682a
Restore lost lint command to run all linting (#3063) 2020-05-13 14:01:57 +03:00
github-actions[bot]
6f2287edaa
version bump 2020-05-10 00:01:09 +00:00
renovate[bot]
1c7d921fad
Update all dependencies (#3020)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-04 07:41:23 +03:00
github-actions[bot]
e3b3be9532
version bump 2020-05-03 00:00:43 +00:00
Eric Cornelissen
b07f8f37cd
Add command to run all linting at once (#2966)
* Add `npm run lint` command that runs all our linting commands at once

Using npm-run-all [1], following a comment from a contributor [2].

--
1. https://www.npmjs.com/package/npm-run-all
2. 
https://github.com/simple-icons/simple-icons/pull/2958#issuecomment-616540155

* Mention new `npm run lint` command in the contributing guidelines
2020-04-27 13:34:05 +02:00
renovate[bot]
a835c6870f
Update all dependencies (#2986)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-27 12:17:23 +03:00
github-actions[bot]
29fc42ecd2
version bump 2020-04-26 00:01:09 +00:00
renovate[bot]
4d2287beab
Update all dependencies (#2956)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-20 08:17:28 +03:00
renovate[bot]
ed7a5c39b5
Update dependency jest to v25.3.0 (#2929)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-13 14:00:40 +03:00
Eric Cornelissen
4b3df322ea version bump 2020-04-12 11:13:27 +03:00
renovate[bot]
0eac456e7b
Update dependency jest to v25.2.7 (#2902)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-06 12:24:53 +03:00
renovate[bot]
49bb60c50c
Update all dependencies (#2866) 2020-03-30 12:16:27 +01:00
Eric Cornelisesn
9ab2334647 version bump 2020-03-29 16:38:12 +03:00
Renovate Bot
c91e7cdcce
Update dependency editorconfig-checker to v3.0.4 2020-03-15 23:19:38 +00:00
Eric Cornelisesn
71d1729a5c version bump 2020-03-15 15:35:48 +02:00
renovate[bot]
35c19f4642
Update dependency uglify-js to v3.8.0 (#2711)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-03-02 08:24:42 +02:00
Eric Cornelissen
21b23da612 version bump 2020-03-01 10:22:47 +02:00
Eric Cornelissen
7ebf7f71fa
Add documentation and tooling for SVG filenames (#2601)
* Create simple CLI tool to get the filename from a brandname

https://github.com/simple-icons/simple-icons/pull/2589#issuecomment-585902427

* Update contributing guidelines on new SVGs' filenames

* Fix incorrect filename in package.json script

* Add file header to get-filename script

* Update contributing guidelines' section on SVG filenames

Co-Authored-By: YoussefRaafatNasry <youssefraafatnasry@gmail.com>
2020-02-26 17:54:54 +01:00
Eric Cornelissen
6f7f5c2473 version bump 2020-02-17 00:21:07 +02:00
renovate[bot]
fd7e4a63b0 Update dependency uglify-js to v3.7.7 (#2563)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-10 11:30:29 +02:00
Eric Cornelissen
e9df670425 version bump 2020-02-05 19:15:42 +02:00
renovate[bot]
609a527624 Update all dependencies (#2478) 2020-01-27 08:34:21 +02:00
Eric Cornelissen
2600db2ad8 version bump 2020-01-19 18:38:27 +02:00
Johan Fagerberg
7b69d16efb Add CI step for ensuring alphabetical order of icons (#2334)
* Add a script for the linting that cannot be accomplished by our other linters

Currently this only contains linting for whether our icons are alphabetically sorted

* Add our own linting to Travis

* Fix Let's Encrypt being incorrectly sorted

* Intentionally break sorting to test CI

* Revert "Intentionally break sorting to test CI"

This reverts commit 55e4070b3c3294cff306fcc138ce247843130c35.

* Explain in CONTRIBUTION.md how to sort metadata
2020-01-16 12:40:46 +02:00
renovate[bot]
d7863b5f23 Update dependency uglify-js to v3.7.5 (#2348) 2020-01-13 13:04:08 +00:00
Eric Cornelissen
27d650ed7a version bump 2020-01-07 02:12:48 +02:00
renovate[bot]
5cea5fa5bf Update dependency uglify-js to v3.7.3 (#2249) 2019-12-30 12:56:41 +01:00
Eric Cornelissen
d4b2fa285b version bump 2019-12-23 21:25:46 +01:00
renovate[bot]
afadbf4e5b Update dependency uglify-js to v3.7.2 (#2133) 2019-12-16 21:22:46 +02:00
Eric Cornelisesn
e1aefe2e7f version bump
New major version becomes two icons have been removed
2019-12-08 17:48:48 +02:00
renovate[bot]
d7a960b9b7 Update dependency uglify-js to v3.7.1 (#2038) 2019-12-02 09:04:36 +02:00
Eric Cornelisesn
303405dcce version bump 2019-11-25 02:47:13 +02:00
renovate[bot]
ea16132475 Update dependency uglify-js to v3.6.9 (#1953) 2019-11-19 09:31:33 +02:00
renovate[bot]
9841df01cf Update dependency uglify-js to v3.6.8 (#1909) 2019-11-12 23:04:16 +02:00
renovate[bot]
b7496dca70 Update all dependencies (#1883) 2019-11-04 12:44:49 +01:00
Johan Fagerberg
ab9b5f792e
Bump version in package.json 2019-11-03 04:20:50 +01:00
Johan Fagerberg
5a2b321a56
Version bump in package.json 2019-10-23 15:36:12 +02:00
renovate[bot]
807c83ff82 Update dependency uglify-js to v3.6.3 (#1806) 2019-10-21 08:35:27 +03:00
renovate[bot]
ec47ff9fa8 Update dependency uglify-js to v3.6.1 (#1773) 2019-10-14 02:10:51 +02:00
Johan Fagerberg
cd1bf5fbd4
Bump version in package.json 2019-10-12 10:33:10 +02:00
Eric Cornelisesn
054452d51d Merge patch v1.17.1 into develop 2019-10-09 23:07:18 +03:00
Eric Cornelissen
5e57e8fef9
Publish 1.17.1
Refactored the following icons to fix display issues in some cases (e.g. Adobe Illustrator):

- Eleventy
- Gentoo
- GreenSock
- Laravel
- MuseScore
- Open Source Initiative
- PyTorch
- Qgis
- RStudio
- Skillshare
- Xiaomi
2019-10-09 23:03:54 +03:00
renovate[bot]
f708ecd27a Update all dependencies (#1703)
* Update all dependencies

* Explicitly ignore .svg files with wslint

Continuing on https://github.com/simple-icons/simple-icons/pull/1682, 
required because of an update to editorconfig-checker in 
b14e46c462e064f3dc1d09f18107e566dda8db51
2019-10-07 08:52:57 +03:00
Eric Cornelissen
dec6c791af version bump 2019-10-06 14:17:59 +03:00
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