1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-12-16 01:10:30 +02:00
Commit Graph

24 Commits

Author SHA1 Message Date
LitoMore
3fa891560b
Minify _data/simple-icons.json on publish (#11903) 2024-10-01 11:52:48 +08:00
Álvaro Mondéjar Rubio
5183e3c06b
Stricter rules for JSDoc documentation blocks (#11881) 2024-09-29 22:28:34 +08:00
Álvaro Mondéjar Rubio
1fd47d646b
Fix number of icons not updated on README when decreased (#11537) 2024-07-26 18:19:45 +02:00
Álvaro Mondéjar Rubio
236f5fc715
Add types to source code (#10637) 2024-06-06 14:40:35 +02:00
LitoMore
c9f9494eda
Update XO configurations (#10859) 2024-05-02 22:54:43 +02:00
LitoMore
da97f3263f
Fix scripts execution compatibility (#10838) 2024-04-21 14:16:09 +02:00
Álvaro Mondéjar Rubio
f2cdbc3db5
Disable linting for autogenerated SDK TS definitions (#10747) 2024-03-31 20:18:52 +08:00
LitoMore
e03f990a3c
Fix typos (#10728) 2024-03-28 22:44:08 +01:00
LitoMore
bf69b6dee0
Add XO linter (#10643) 2024-03-24 18:38:18 +01:00
LitoMore
56993f5100
Optimize disclaimer formatting (#10439) 2024-02-11 05:52:10 +01:00
Adam Rusted
5b19bae8a5
Update ReadMe to use GitHub formatting (#9928)
* Add GH README tags, and update link stripping theme to include.

* Remove bold text

* Remove additional detail

* Re-add bold text to non GH titles

* Update README.md

* Fix Notice Formatting
2023-11-28 18:48:10 +01:00
LitoMore
15cc8ea7fa
Rename scripts (#9938) 2023-11-27 10:50:10 +00:00
Álvaro Mondéjar
30dd8a1fbf
Use permanent README icons links in releases (#9788)
* Ensure permanent release README links

* Minor change
2023-10-28 19:24:55 +01:00
Álvaro Mondéjar
17ea889273
Refactor tests and scripts (#9237)
Co-authored-by: LitoMore <LitoMore@users.noreply.github.com>
2023-08-08 06:38:52 +02:00
Álvaro Mondéjar
720a0e4d53
Fix linting error and refactor .svglintrc.mjs (#9195) 2023-08-04 03:27:20 +02:00
Álvaro Mondéjar
3588f61183
Autogenerate SDK TypeScript definitions on releases (#9186) 2023-08-01 20:09:47 +02:00
Álvaro Mondéjar
32c1611c8e
Drop bump-version script (#9188) 2023-08-01 20:06:45 +02:00
LitoMore
b3906b828e
Remove unused shebang line (#9126) 2023-07-28 16:19:49 +02:00
Álvaro Mondéjar
6178243859
Expose SDK in NPM package (#8077) 2023-04-19 15:23:13 +02: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
Álvaro Mondéjar
ed4c29f7b6
Automatically update milestone (SVG count) in README (#6951)
* Automatically update milestone (SVG count) in README

* Use updateRange variale

* Rewrite 2 lines

* Simplify code

* Format new file

* Fix error in script

* Apply suggested changes
2021-12-09 17:02:58 -08: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
LitoMore
8283daf05a
Drop package-lock.json (#6179)
* Drop `package-lock.json`

* Drop lockfile related code

* Drop lockfile maintenance configurations
2021-08-23 19:21:03 +02: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