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

104 Commits

Author SHA1 Message Date
Álvaro Mondéjar Rubio
512e4cbf4a
Resolve all possible TODO comments (#11119) 2024-06-07 03:24:29 +08:00
Álvaro Mondéjar Rubio
236f5fc715
Add types to source code (#10637) 2024-06-06 14:40:35 +02:00
Álvaro Mondéjar Rubio
788014313d
Refactor JSONSchema and URL checks (#10276) 2024-05-22 08:13:35 +01:00
simple-icons[bot]
0ffa274973
Update all dependencies (#10882)
* Update all dependencies

* Update svg-path-segments syntax to v2

* Add `@inquirer/core` dependency

---------

Co-authored-by: simple-icons[bot] <165065041+simple-icons[bot]@users.noreply.github.com>
Co-authored-by: Álvaro Mondéjar Rubio <mondejar1994@gmail.com>
2024-05-03 00:15:20 +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
Álvaro Mondéjar
1350a52726
Drop del-cli dependency (#10652) 2024-03-19 20:35:59 +08:00
uncenter
4cd4603432
Refactor add-icon-data script (#10639) 2024-03-15 05:04:10 +01:00
Álvaro Mondéjar
1401fb2a05
Handle cleanly interruption signals on add-icon-data script (#10620) 2024-03-13 16:31:45 +01:00
Álvaro Mondéjar
ce2f63e591
Add fuzzy matching for licenses search to add-icon-data script (#10593) 2024-03-08 19:52:11 +01:00
uncenter
dcb07310d9
Allow to select between licenses in add-icon-data script (#10564)
* Improve add-icon-data script

* Handle force closed prompts, add success message

* Remove Boolean casting

* Remove try/catch
2024-03-04 22:59:32 +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
LitoMore
88db73966f
Fix color normalizer in add-icon-data script (#9613) 2023-09-24 20:36:55 +02: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
LitoMore
bbdf2e604d
Use icons from CDN (#7950) 2023-07-28 21:50:15 +08:00
LitoMore
ab4fed9f82
Convert hex code to upper case in add-icon-data script (#8762) 2023-06-10 17:33:26 +02:00
LitoMore
7330e01f85
Add lint for checking redundant slashes (#8692)
* Add lint for checking redundant slashes

* Update function names

* Better condition

* Fix typo
2023-05-29 03:34:33 +02:00
LitoMore
e9c814ac00
Omit undefined properties (#8582) 2023-05-25 14:45:12 +02:00
LitoMore
a9a226c58a
Migrate inquirer to @inquirer/prompts (#8592) 2023-05-03 04:16:53 +02:00
LitoMore
8d05c7111b
Fix add-icon-data script (#8587) 2023-04-30 17:53:03 +08:00
Álvaro Mondéjar
6178243859
Expose SDK in NPM package (#8077) 2023-04-19 15:23:13 +02:00
LitoMore
119fdd812b
Workaround for icons in table (#8158)
* Workaround for icons in table

* Fix pattern of module URL
2022-12-21 12:32:32 +01:00
Sachin Raja
fcec7adc8b
replace index.js entry point (#8058)
* replace index.js entry point

* add types.d.ts

* Update documentation

* Add Typescript usage example

* Drop template file

* Readd test

* Minor change

Co-authored-by: Álvaro Mondéjar Rubio <mondejar1994@gmail.com>
2022-11-28 12:32:57 +01:00
Álvaro Mondéjar
1fa10346a2
Use <picture> blocks for GH theme images in README (#7983)
* Visual manual test on Github

* Replace all images

* Fix error

* Merge with develop

* Upgrade strip-gh-theme-links action
2022-11-27 12:46:23 +01:00
LitoMore
d224a349fa
Fix aliases prompt (#7883) 2022-09-30 22:17:40 +08:00
LitoMore
3b141f1a25
Add aliases support for add-icon-data script (#7863)
Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com>
2022-09-28 10:11:27 +08:00
LitoMore
5958fc117b
Add add-icon-data script (#7849)
Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com>
2022-09-25 09:04:58 +08:00
Álvaro Mondéjar
3ee620b9d6
Forbid the usage of non secure URLs (#7855)
* Forbid the usage of non secure URLs

* Document in CONTRIBUTING

* Add test to forbid HTTP URLs in documentation pages
2022-09-24 17:37:03 +02:00
Álvaro Mondéjar
ad7de0434e
Standarize locale comparisons and sort icons by title in package (#7854)
* Use Intl.Collator for locale comparisons

* Sort icons by title in package
2022-09-24 17:29:43 +02:00
LitoMore
fdc707bf81
Build icons in order (#7852) 2022-09-23 20:44:28 +02:00
Álvaro Mondéjar
e0a4e765ad
Reuse svg getter package template parts (#7457)
* Reuse svg getter package template parts
2022-05-27 15:09:33 +02:00
Sachin Raja
986589c34c
deprecate index (#7453) 2022-05-26 23:18:44 -07:00
Sachin Raja
665b82590d
remove icons/* entrypoints (#6788)
* remove icons/* entrypoints

* remove icons/* tests

* remove icons/* references from the README

* reference actual variable in README console.log

* merge develop

* fix conflicts

* fix

* fix tests

* Update scripts/build/package.js

* Update README.md

* fix ignore files
2022-05-26 14:29:37 +02:00
Álvaro Mondéjar
b2cf3885ce
expose getIconsData* util functions (#7394) 2022-05-08 04:48:32 -07:00
Álvaro Mondéjar
8f4e65ce28
Allow to use the function getThirdPartyExtensions at other locations (#7361) 2022-04-30 07:04:46 -07:00
Álvaro Mondéjar
44064880b4
Normalize newline characters reading README in scripts (#7292) 2022-03-31 05:30:30 -07:00
Álvaro Mondéjar
6be07af824
Fix 3rd party extensions order, add test to avoid regression (#7111)
* Fix 3rd party extensions order and add test to avoid regression

* Prevent possible error in test

* Apply suggestions from code review

* Apply suggestion

* Remove uneeded import
2022-01-30 23:09:44 +01:00
Álvaro Mondéjar
cc649017cc
Optimize titleToSlug function (#7073)
* Optimize `titleToSlug` function

* Use simpler regex initialization

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

* Simpler regex definition

* Run prettier

Co-authored-by: LitoMore <LitoMore@users.noreply.github.com>
2022-01-19 06:34:08 -08: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