Commit Graph

155 Commits

Author SHA1 Message Date
Á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
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
dependabot[bot]
af20a32554
Bump node-notifier from 8.0.0 to 8.0.1 (#4423)
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-22 02:19:33 +01: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
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
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