1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-11-26 01:00:27 +02:00
Commit Graph

478 Commits

Author SHA1 Message Date
Sigurd Spieckermann
e58dc74d30
add "exports" for SVG files (#7241)
Co-authored-by: Sachin Raja <sachinraja2349@gmail.com>
2022-03-19 07:19:49 -07:00
Álvaro Mondéjar
9b823a427f
Add funding key to package.json (#7218) 2022-03-14 14:26:40 +01:00
github-actions[bot]
d362dbbab9 version bump 2022-03-13 00:18:49 +00:00
github-actions[bot]
7d5d8236bc version bump 2022-03-06 00:18:30 +00:00
github-actions[bot]
a1f29ca7aa version bump 2022-02-27 00:19:42 +00:00
github-actions[bot]
ea8e05550d version bump 2022-02-20 00:20:37 +00:00
renovate[bot]
ebbc9dea2a
Update all dependencies (#7146)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-15 16:09:00 -08:00
github-actions[bot]
d54b71ddc7 version bump 2022-02-13 00:16:37 +00:00
github-actions[bot]
a89f126550 version bump 2022-02-06 00:18:29 +00:00
github-actions[bot]
376a4bb6b7 version bump 2022-01-30 00:14:36 +00:00
Sachin Raja
d49492f1ef
switch from uvu to mocha (#7071)
* switch from uvu to mocha

* remove unused import

* custom min reporter

* use constants
2022-01-19 18:23:32 +01:00
github-actions[bot]
132fcc2d9b version bump 2022-01-16 00:15:49 +00:00
github-actions[bot]
690b9c67ca version bump 2022-01-09 00:15:28 +00:00
github-actions[bot]
2309e4c43c version bump 2022-01-02 00:15:06 +00:00
renovate[bot]
bdae801317
Update all dependencies (#6986)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-27 04:13:04 +01:00
github-actions[bot]
09b22d010a version bump 2021-12-26 00:15:39 +00:00
Sachin Raja
a930dc57ec
convert scripts to esm (#6946)
* convert scripts to esm

* fix tests

* fix tests

* fix lints

* syncFs to fsSync

* named export for fs

Co-authored-by: LitoMore <LitoMore@users.noreply.github.com>

* fsSync to { promises as fs }

* convert update-svgs-count to esm

* rename data to icons

* fix build script

* switch svglintrc file to mjs

* use node: protocol

* pluralize getIcons

Co-authored-by: LitoMore <LitoMore@users.noreply.github.com>
2021-12-25 06:22:56 -08:00
Eric Cornelissen
2c351f6452
Upgrade SVGLint dependency (#6970)
* Upgrade svglint from 1.3.0 to 2.0.0

* Update minimum required NodeJS version for local testing

In accordance with the new minimum required NodeJS version for SVGLint:
2d242fe57a/package.json (L52)

* Update CONTRIBUTING.md

Co-authored-by: LitoMore <LitoMore@users.noreply.github.com>
2021-12-21 19:14:29 +01:00
github-actions[bot]
f9c14cbc86 version bump 2021-12-19 00:14:55 +00:00
renovate[bot]
2a8cea5a72
Update all dependencies (#6962)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-13 10:30:52 +01:00
github-actions[bot]
adf7db7121 version bump 2021-12-12 00:14:40 +00:00
github-actions[bot]
9020eb4a81 version bump 2021-12-05 00:14:47 +00:00
Álvaro Mondéjar
ebbd39bd32
Enforce <svg> node alphabetical attributes ordering (#6930) 2021-12-01 15:03:52 -08:00
renovate[bot]
4beea3a1b1
Update all dependencies (#6922)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 10:37:52 +01:00
Sachin Raja
a14e03cf7a
Switch testing framework from jest to uvu (#6915)
* switch from jest to uvu

* remove jest config

* convert index.test.js to uvu

* use assert.type

* Get rid of jest-diff

* Remove uneeded splits

* remove out.txt

* switch to fake-diff
2021-11-29 09:44:36 +01:00
Álvaro Mondéjar
67825e3d6e
Bump named-html-entities-json to stable version (#6921) 2021-11-28 14:16:54 -08:00
github-actions[bot]
47eb472a12 version bump 2021-11-28 00:14:17 +00:00
LitoMore
1fc838517a
Avoid CRLF in SVGs (#6880) 2021-11-25 09:08:34 +01:00
Sachin Raja
8010341b97
make building async and minify with esbuild (#6898)
* make building async and minify with esbuild

* switch from fs/promises to fs.promises

* cleanup fs.promises

* fix conflicts

* fix conflicts

* revert test file changes
2021-11-24 03:01:24 +01:00
github-actions[bot]
a94f8dd1cf version bump 2021-11-21 00:13:11 +00:00
github-actions[bot]
9234fd26ae version bump 2021-11-14 00:13:13 +00:00
Sachin Raja
7c8146e475
refactor: reorganize tests, reduce repetition (#6829)
* refactor: reorganize tests, reduce repetition

* fix conflicts

* fix conflicts

* remove unnecessary type checks and use toStrictEqual

* move index tests to separate file

* test svg values in testIcon
2021-11-08 11:55:47 +01:00
github-actions[bot]
2cbce346f7 version bump 2021-11-07 00:12:58 +00:00
Eric Cornelissen
3fdcb11536
Add prepare script that installs husky (#6805) 2021-10-31 06:33:36 -07:00
Eric Cornelissen
cc9ee3f853 version bump
Patch installation failure due to postinstall script
2021-10-31 11:37:18 +01:00
github-actions[bot]
f31abe30dc version bump 2021-10-31 00:13:02 +00:00
Sachin Raja
1a77d28227
export bundled icons from one entry point and add types (#6767)
* export all icons from a single file (#6189)

* fix: revert formatting, add exports to package.json

* feat: generate icons.js and add relevant exports field

* add minifyAndWrite

Co-authored-by: Eric Cornelissen <ericornelissen@gmail.com>

* fix: minifyAndWrite build

* add type: commonjs

Co-authored-by: Eric Cornelissen <ericornelissen@gmail.com>

* simplify exports

Co-authored-by: Eric Cornelissen <ericornelissen@gmail.com>

* add "require" in exports

* place objects directly in barrel file

* write exports minified

Co-authored-by: Eric Cornelissen <ericornelissen@gmail.com>

* fix formatting

Co-authored-by: Eric Cornelissen <ericornelissen@gmail.com>

* refactor slugToVariableName code into a function

* fix slugToVariableName

* change prefix to "si"

* move slugToVariableName to local helper functions

* unignore icons.js and icons.mjs

Co-authored-by: Eric Cornelissen <ericornelissen@gmail.com>

* feat: add types (#6580)

* feat: add types

* fix linting error

* export default from types/index.d.ts

* minify

* revert formatting changes

* revert formatting change

* change paths from types/index.d.ts to index.d.ts

* mark icons.get as deprecated

* move type alias to another file

* update readme

* update readme.md

Co-authored-by: Eric Cornelissen <ericornelissen@gmail.com>

* update typescript usage section

Co-authored-by: Eric Cornelissen <ericornelissen@gmail.com>

* fix conflicts

* Apply suggestions from code review

Co-authored-by: Eric Cornelissen <ericornelissen@gmail.com>

* add writeTs function

Co-authored-by: Eric Cornelissen <ericornelissen@gmail.com>
2021-10-28 16:16:34 -07:00
Eric Cornelissen
e0df400494
Setup prettier (#6758)
* Add prettier as a dependency

* Add format command and configure prettier

I opted for single quotes to be in line with other simple-icons projects

I ignore the data file because changing its formatting is quite a bit of
trouble for all open PRs.

* Run prettier

* Replace all functions by arrow functions

* Move prettier configuration to config file

Move it to a file so editors (and other software) can pick up on the
configuration. I went with .js because (a) it allows for comments and
(2) it seems most of the config files are in JavaScript already.

* Add prettier --check when running npm run lint (This adds it to the CI as well)

* Add husky and format changes before committing

* Use object destructuring for imports consistently

* Add shebang and fileoverview to jsonlint.js
2021-10-25 21:13:10 +02:00
github-actions[bot]
ad9170fb47 version bump 2021-10-24 00:13:25 +00:00
github-actions[bot]
4073e6dccc version bump 2021-10-17 00:12:29 +00:00
renovate[bot]
20e7c258aa
Update all dependencies (#6706)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-10 20:53:19 -07:00
github-actions[bot]
a33cd9c8eb version bump 2021-10-10 00:12:46 +00:00
github-actions[bot]
8eb69b42ac version bump 2021-10-03 00:13:29 +00:00
Álvaro Mondéjar
f726999af2
Unify SVGs for HTML safe titles reporting encoding errors in linting (#6522)
* Basic implementation

* Fix error

* Update icons

* Tweak implementation

* Minor changes

* Apply suggested changes

* Don't encode 34 and 39 codepoints (double and single quotes)

* Fix comments
2021-10-02 16:46:07 +02:00
renovate[bot]
466b58f6fe
Update all dependencies (#6603)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 10:02:10 +02:00
github-actions[bot]
2b34541d75 version bump 2021-09-26 00:12:26 +00:00
github-actions[bot]
7185e4f994 version bump 2021-09-19 00:12:08 +00:00
github-actions[bot]
c4cbdd82be version bump 2021-09-12 00:12:27 +00:00
github-actions[bot]
babc9a1dcc version bump 2021-09-05 00:11:40 +00:00
Álvaro Mondéjar
7728aad8a8
Add cross platform support for 'clean' script (#6450) 2021-09-02 09:50:22 +02:00
github-actions[bot]
2cfea3131c version bump 2021-08-29 00:11:40 +00:00
renovate[bot]
81344e6bd3
Update all dependencies (#6351)
* Update all dependencies

* Update SVGO configuration

SVGO v2.4.0 deprecated the old approach of extending default
plugins (using `extendDefaultPlugins`) and introduced a new
approach using the 'preset-default' plugin.


Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Eric Cornelissen <ericornelissen@gmail.com>
2021-08-23 09:43:03 +02:00
Siddharth
12ca93cf27
Change engine to engines in package.json (#6349) 2021-08-22 22:06:39 +02:00
github-actions[bot]
56100cc5e9 version bump 2021-08-22 00:10:53 +00:00
github-actions[bot]
01b26ba35a version bump 2021-08-15 00:11:04 +00:00
github-actions[bot]
8388a095c1 version bump 2021-08-08 00:11:07 +00:00
Eric Cornelissen
eca5056774 version bump 2021-08-01 11:29:29 +02:00
renovate[bot]
e6b8bbe251
Update dependency uglify-js to v3.14.0 (#6169)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-26 10:09:09 +02:00
github-actions[bot]
ee377edb12 version bump 2021-07-25 00:09:49 +00:00
github-actions[bot]
712875fd99 version bump 2021-07-18 00:10:25 +00:00
renovate[bot]
b4fd6d4d72
Update all dependencies to v27.0.6 (#6096)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-12 11:23:16 +02:00
github-actions[bot]
73ac45609f version bump 2021-07-11 00:09:50 +00:00
github-actions[bot]
23b8e9e8c6 version bump 2021-07-04 00:09:16 +00:00
renovate[bot]
01478b524f
Update all dependencies (#6038)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-28 08:41:55 +02:00
github-actions[bot]
897c0f3b95 version bump 2021-06-27 00:10:34 +00:00
GitHub Actions
e8b25f9275 version bump 2021-06-20 00:10:46 +00:00
GitHub Actions
0904a994cf version bump 2021-06-13 00:12:16 +00:00
Álvaro Mondéjar
bbac9332b0
Update svg-path-segments to stable version (#5876) 2021-06-08 10:27:06 +02:00
GitHub Actions
8cf7175fee version bump 2021-06-06 00:20:24 +00:00
Álvaro Mondéjar
8dc6c821d6
Update 'svg-path-bbox' to v1.0.0 (#5846)
Co-authored-by: Peter Noble <petershaggynoble@gmail.com>
2021-06-03 20:15:21 +01:00
Eric Cornelissen
1cfaf5bd02 version bump 2021-05-30 11:13:36 +02:00
GitHub Actions
e9eec77acb version bump 2021-05-23 00:13:38 +00:00
GitHub Actions
7e27d0b323 version bump 2021-05-16 00:12:36 +00:00
GitHub Actions
e9cfea7480 version bump 2021-05-09 00:06:23 +00:00
Eric Cornelissen
153a029c25
Restructure the scripts/ directory (#5546)
* Restructure scripts/ directory

And update references to this scripts everywhere.

* Update names of file-level constants in bump-version.js

* Normalize quotes between all scripts

* Move "create-release.yml" scripts to scripts/release

* Move slugs table script to scripts/release

* Update relative path logic in update-slugs-table.js
2021-05-07 19:55:06 +02:00
renovate[bot]
92a049441b
Update all dependencies (#5595) 2021-05-05 11:35:03 +01:00
GitHub Actions
5e077bf9af version bump 2021-05-02 00:15:01 +00:00
GitHub Actions
7a0a61636b version bump 2021-04-25 00:23:27 +00:00
renovate[bot]
8678c94ee1
Update all dependencies (#5484)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-19 19:41:01 +02:00
GitHub Actions
3385df7a85 version bump 2021-04-18 00:22:36 +00:00
GitHub Actions
d2a55b349c version bump 2021-04-11 00:24:29 +00:00
GitHub Actions
a061087486 version bump 2021-04-04 00:32:31 +00:00
GitHub Actions
83b157b402 version bump 2021-03-28 00:22:13 +00:00
renovate[bot]
ea9b5c43f8
Update all dependencies (#5263)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-23 16:31:43 +01:00
GitHub Actions
88b8dfe801 version bump 2021-03-21 01:01:57 +00:00
GitHub Actions
7db0f83c54 version bump 2021-03-14 01:00:20 +00:00
Sam Pierce Lolla
bf47cc3604
Remove www subdomain from package.json homepage (#5206)
Clicking on the "homepage" field [on npm](https://www.npmjs.com/package/simple-icons) returns a privacy error: https://www.simpleicons.org/
2021-03-08 17:14:53 +01:00
renovate[bot]
5752c8d755
Update all dependencies (#5199)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-08 09:34:23 +01:00
Álvaro Mondéjar
9347c766f0 Version bump 2021-03-07 19:17:32 +01:00
Álvaro Mondéjar
d56a2b3b9d
Add proper error messages to linter; fix bug in 'collinear-segments' rule (#5061)
* Implement better linter error handling; fix error in 'collinear-segments' lint rule

* Revert changes

* Fix error with resolution tips

* Fix lint error

* Fix minor errors

* Increase performance bumping svg-path-segments version

* Minor change in function name and bump svg-path-segments to 0.1.5

* Update function doc

* Remove 'segmentsSVGPath' function and update functions documentation

* Fix error in index number

* Fix automatic collinear segment
2021-03-02 19:00:18 +01:00
renovate[bot]
85af76a91e
Update all dependencies (#5137)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-02 17:40:59 +01:00
Eric Cornelissen
a769301056 version bump 2021-02-28 13:00:12 +01:00
renovate[bot]
1df43dd50b
Update all dependencies (#5096) 2021-02-22 10:09:37 +00:00
Álvaro Mondéjar
b3360c3a0b
Upgrade SVGO to version 2 (#5079)
* Upgrade SVGO to version 2

* Sketch neither supports space after arc flags

* Bump svgo to version 2.0.3 and enable 'reusePaths'

* Improve comment

* Simplify additional plugins list; update svgo script in package.json

* Apply suggestions from review
2021-02-21 13:48:30 +01:00
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 55e4070b3c.

* 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