Commit Graph

434 Commits

Author SHA1 Message Date
Eric Cornelissen
e39a96af50 version bump 2021-02-21 11:20:43 +01:00
Eric Cornelissen
39269e7d39
Add icon license to JSON linting (and change JSON linting dependency) (#4945)
* Add "license" object to the data file JSON schema

* Add license to GNU and GNU social

As an example, based on the discussion in:
https://github.com/simple-icons/simple-icons/issues/1167

* Use `"additionalProperties": false` in JSON schema

... to detect properties in the data file that shouldn't be there.

For more info, see:
https://json-schema.org/understanding-json-schema/reference/object.html

* Update JSON scheme descriptions

* Switch from jsonlint2 to jsonschema

This gives is better support for advanced features of JSON schema.

A couple of clarifications:
- There does exist a jsonschema-cli package, but it is rather limited
  and crucially doens't exit with a non-zero exit code if there is an
  error. (it is also pretty old and not maintained), hence the custom
  script.
- I renamed .jsonlintschema 1) for clarity (lint is no longer accurate)
  and 2) the .json extension allows easy imorting in the script and 3)
  it adds syntax highlighting.
- The script outputs the number of errors in the end because the output
  gets pretty big pretty quickly, this way you can see it easily from
  your CLI.
- We could customize how the errors are logged, but I feel that is
  beyond this PR.

* Two minor changes

* Use `oneOf` to require URL for custom licenses

The updated configuration allows the `"license"` field to be either
1) a SPDX license, optional with a URL
2) a "custom" license with a required URL

Read more about the "oneOf" feature of jsonschema at:
https://json-schema.org/understanding-json-schema/reference/combining.html#oneof

* Include license field in Contributing Guidelines
2021-02-19 15:19:22 +01:00
github-actions[bot]
d0c949855d
version bump 2021-02-14 00:54:35 +00:00
renovate[bot]
22c577c177
Update dependency uglify-js to v3.12.7 (#4948) 2021-02-08 12:08:38 +01:00
github-actions[bot]
b2e31576c6
version bump 2021-02-07 00:53:50 +00:00
renovate[bot]
6692f09241
Update dependency uglify-js to v3.12.6 (#4902)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-01 12:22:07 +00:00
github-actions[bot]
ce43d3ebea
version bump 2021-01-31 01:05:50 +00:00
renovate[bot]
1a0a7a7f98
Update dependency uglify-js to v3.12.5 (#4855)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-25 01:02:49 +01:00
github-actions[bot]
02ca61f089
version bump 2021-01-24 01:43:11 +00:00
github-actions[bot]
2f017666b0
version bump 2021-01-17 13:44:51 +00:00
Eric Cornelissen
a4ca74602f
Minor improvements (#4708)
* Remove .travis.yml reference from .gitattributes

* Minor refactoring of .svglintrc.js

- Remove unused variables
- Fix missing semi-colons
- Remove unneeded indentation

* Prevent error in clean command due to missing files

* Fix indentations

* Further improvements to Editorconfig and indentation

* Format YAML files

- Update indentation for array notation
- Normalize use of newlines
2021-01-15 21:47:00 +01:00
Adam Rusted
1a00044f8c Fix Version Number 2021-01-10 09:30:46 +00:00
github-actions[bot]
f2838187b3
version bump 2021-01-10 01:27:43 +00:00
renovate[bot]
42c7a0a8d1
Update dependency uglify-js to v3.12.4 (#4599)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-04 02:28:06 +01:00
github-actions[bot]
7e12a0fd66
version bump 2021-01-03 01:18:25 +00:00
renovate[bot]
e4c1d500a5
Update dependency uglify-js to v3.12.3 (#4513) 2020-12-28 01:28:10 +01:00
github-actions[bot]
0be7709c0c
version bump 2020-12-27 01:11:59 +00:00
Álvaro Mondéjar
5e4b4d6667
Update 'svg-path-bbox' (#4436) 2020-12-22 11:15:46 -05:00
renovate[bot]
45d5687094
Update all dependencies (#4420)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-21 13:55:32 +01:00
github-actions[bot]
a3a16923af
version bump 2020-12-20 01:04:10 +00:00
Álvaro Mondéjar
45583efadd
Add lint to check JSON data file prettification (#4320)
* Add test for check JSON data file prettification

* Move prettification test to out linting script

* Add other newline in error message to improve readability

* Invert the diff to show the solution to the user

* Add 'jest-diff' as direct dependency

* Remove annotations and colors

* Replace CRLF newlines with LFs in JSON prettification lint

* Restore colors in JSON prettification lint
2020-12-13 21:17:41 +01:00
Eric Cornelissen
6a76322073 version bump 2020-12-13 01:02:48 +01:00
Eric Cornelissen
ebc47dc9b2 version bump 2020-12-06 01:02:45 +01:00
renovate[bot]
198b55a326
Update all dependencies (#4156)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-01 12:55:58 +01:00
Eric Cornelissen
d829e8bc45 version bump 2020-11-29 12:51:25 +01:00
github-actions[bot]
ca6eb99725
version bump 2020-11-29 00:02:25 +00:00
Álvaro Mondéjar
01a4d7fa30
Replace 'svg-path-bounding-box' with 'svg-path-bbox'. (#3977)
* Replace 'svg-path-bounding-box' with 'svg-path-bbox'.

* Decompose bounding boxes calling 'svgPathBbox'

* Add 'icon-precision' list to '.svglint-ignored.json'

* Downgrade 'package-lock.json' lockVersion file to 1.

* Update 'svglint-ignored.json'

* Update dependencies
2020-11-23 11:36:10 +01:00
Álvaro Mondéjar
fdb7f86566
Upgrade svglint to prevent silent exceptions (#3985)
* Upgrade svglint to prevent silent exceptions

* Update package-lock.json

* Downgrade package-lock.json lockfile vesion
2020-11-22 11:01:20 +01:00
github-actions[bot]
017947c3e1
version bump 2020-11-22 00:02:42 +00:00
Álvaro Mondéjar
160b5d2bec
Add minimum NodeJS version requirement to package.json (#3979)
* Add minimum NodeJS version requirement to package.json

* Update package.json
2020-11-21 14:33:04 +01:00
Alexandre Paradis
9cee719fcb
Proposal: Check outlying precision while running linter (#3750)
* Check outlying precision while running linter

* Prevent reduce error on empty array

* Rebase on branch develop

* Add svgpath dep

* Improve decimal precision verification

* Check outlying precision while running linter

* Prevent reduce error on empty array

* Fix ignored file

* Fix reverted dep version

* Check decimal according to review proposal

* Pin svgpath version

* Use te maximum precision only

* Run linter again

* Fix uglify-js version

* Add supported engines to package.json

* Improve message

* Revert engines and use version check in linter

* Move function

* Update node version to 12 in Travis

* Add skip ignored
2020-11-19 21:49:49 +01:00
renovate[bot]
7cfe0f9d13
Update dependency uglify-js to v3.11.6 (#3864) 2020-11-16 05:50:17 +01:00
github-actions[bot]
ddaccab41b
version bump 2020-11-15 00:02:01 +00:00
renovate[bot]
dbecdc5629
Update all dependencies (#3842) 2020-11-09 16:21:38 +01:00
github-actions[bot]
26c47333f1
version bump 2020-11-08 00:02:14 +00:00
github-actions[bot]
a8176c9865
version bump 2020-11-01 00:01:50 +00:00
renovate[bot]
a7bc5478d6
Update all dependencies (#3767)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-26 09:40:27 +02:00
github-actions[bot]
a5e5b6f5d2
version bump 2020-10-25 00:02:34 +00:00
github-actions[bot]
5e7e294f36
version bump 2020-10-18 00:02:41 +00:00
renovate[bot]
e60b7f3c5f
Update all dependencies (#3716) 2020-10-15 01:50:37 +03:00
renovate[bot]
d9f810b004
Update all dependencies (#3650)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-06 23:48:54 +03:00
Eric Cornelissen
9a1973163b version bump 2020-10-04 12:13:48 +03:00
renovate[bot]
d3add4daa1
Update dependency uglify-js to v3.11.0 (#3609) 2020-09-28 12:37:34 +03:00
github-actions[bot]
44cddc7db8
version bump 2020-09-27 00:02:31 +00:00
github-actions[bot]
664821fa8f
version bump 2020-09-20 00:02:29 +00:00
renovate[bot]
99b94c1daa
Update all dependencies (#3563)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-16 12:14:40 +03:00
github-actions[bot]
9d52674cc4
version bump 2020-09-13 00:02:14 +00:00
renovate[bot]
3170327338
Update dependency uglify-js to v3.10.4 (#3520) 2020-09-07 14:48:05 +03:00
github-actions[bot]
3dd705f039
version bump 2020-09-06 00:02:12 +00:00
github-actions[bot]
a90c0e79a3
version bump 2020-08-30 00:10:34 +00:00
renovate[bot]
ab8651d13f
Update all dependencies (#3456) 2020-08-24 10:45:15 +03:00
github-actions[bot]
78618c5186
version bump 2020-08-23 00:06:52 +00:00
github-actions[bot]
06ee7502ea
version bump 2020-08-16 00:02:00 +00:00
renovate[bot]
6c79263fe6
Update all dependencies (#3406) 2020-08-10 08:57:58 +03:00
github-actions[bot]
b4c26a8332
version bump 2020-08-09 00:02:18 +00:00
github-actions[bot]
02b8efdc21
version bump 2020-08-02 00:01:48 +00:00
Eric Cornelissen
d4b07ad447 version bump 2020-07-26 16:46:04 +03:00
github-actions[bot]
64d5f13b63 version bump 2020-07-19 15:05:25 +03:00
Eric Cornelissen
7c34d3f468 version bump 2020-07-14 08:38:52 +03:00
Eric Cornelisesn
a1c01e5545 version bump 2020-07-05 10:42:05 +03:00
Eric Cornelisesn
6e502fdffa version bump 2020-07-05 10:24:01 +03:00
renovate[bot]
b73f867def
Update all dependencies (#3268)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-29 05:44:45 +03:00
Eric Cornelisesn
b5955dbe1b version bump 2020-06-28 14:11:28 +03:00
Eric Cornelissen
d8de963872 version bump 2020-06-15 14:30:38 +03:00
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
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