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

437 Commits

Author SHA1 Message Date
github-actions[bot]
32cc188964 version bump 2023-02-26 00:27:53 +00:00
github-actions[bot]
a2d7521052 version bump 2023-02-12 00:26:17 +00:00
Álvaro Mondéjar
0befae66c9
Fix tree shaking when importing root entrypoint (#8332) 2023-02-10 01:49:48 +01:00
github-actions[bot]
2e015fcc0e version bump 2023-01-29 00:26:08 +00:00
renovate[bot]
ac0799708a
chore(deps): update all dependencies (#8230)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-23 17:10:18 +01:00
github-actions[bot]
d24fb0d052 version bump 2023-01-15 00:25:21 +00:00
Álvaro Mondéjar
289725256b
Freeze development dependencies versions (#8223) 2023-01-09 16:13:45 +01:00
renovate[bot]
d7b8157909
Update all dependencies (#8165) 2022-12-27 18:03:35 +08:00
github-actions[bot]
9620970351 version bump 2022-12-25 00:24:35 +00:00
Álvaro Mondéjar
3271d9e950
Modernize SVGO setup (#8149)
* SVGO now discovers config file automatically

* Drop `svgo` script from package.json

* Use '.mjs' extension for SVGO config file
2022-12-21 12:56:09 +01:00
renovate[bot]
2753dc3b87
Update all dependencies (#8130)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 03:13:27 +01:00
github-actions[bot]
b0a3bb56d3 version bump 2022-12-11 00:25:38 +00:00
github-actions[bot]
131660a913 version bump 2022-12-04 00:22:18 +00:00
Álvaro Mondéjar
8765f74c8a
Export ./icons entrypoint as index in package.json (#8076)
* Fix exports in package.json
2022-12-02 10:30:59 +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
github-actions[bot]
b586c6faa5 version bump 2022-11-27 00:25:44 +00:00
renovate[bot]
a63fbf93bd
Update all dependencies (#8034)
* Update all dependencies

* Update svgo.config.js

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com>
2022-11-24 14:39:11 +01:00
github-actions[bot]
9f43e22f75 version bump 2022-11-20 00:27:29 +00:00
github-actions[bot]
1a14b39ebb version bump 2022-11-06 00:27:06 +00:00
github-actions[bot]
4e8c5b57fc version bump 2022-10-30 00:32:08 +00:00
Álvaro Mondéjar
302cbc045a
Update SVGLint to v2.2.0 (#7987) 2022-10-24 14:25:23 +02:00
github-actions[bot]
1f26abea99 version bump 2022-10-23 00:36:22 +00:00
github-actions[bot]
69beabb16a version bump 2022-10-16 00:36:40 +00:00
github-actions[bot]
f498519ce1 version bump 2022-10-09 00:30:34 +00:00
github-actions[bot]
abb05eaa71 version bump 2022-10-02 00:36:57 +00: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
github-actions[bot]
62fcc794a2 version bump 2022-09-25 00:28:08 +00:00
github-actions[bot]
06d7866ac0 version bump 2022-09-18 00:30:22 +00:00
github-actions[bot]
1af62bceb2 version bump 2022-09-11 00:26:28 +00:00
github-actions[bot]
32bb14fd35 version bump 2022-09-04 00:28:09 +00:00
renovate[bot]
ed20eb4eff
Update dependency esbuild to v0.15.6 (#7676)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-02 17:31:00 +08:00
github-actions[bot]
6826cb3684 version bump 2022-08-28 00:28:58 +00:00
github-actions[bot]
faf49c1b12 version bump 2022-08-21 00:24:15 +00:00
github-actions[bot]
e41f678897 version bump 2022-08-14 00:25:53 +00:00
github-actions[bot]
c2a8166676 version bump 2022-08-07 00:29:12 +00:00
renovate[bot]
22dcd449ce
Update all dependencies (#7621)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-28 19:30:46 +02:00
github-actions[bot]
47654648d4 version bump 2022-07-24 00:28:30 +00:00
Sachin Raja
2310edef50
revert version to 7.4.0 (#7597) 2022-07-17 08:37:49 -07:00
Sachin Raja
534ff84b31
Revert "version bump" (#7596)
This reverts commit 82691fc1b1.
2022-07-17 08:30:50 -07:00
github-actions[bot]
82691fc1b1 version bump 2022-07-17 00:26:18 +00:00
github-actions[bot]
2b7c88c7e6 version bump 2022-07-10 00:28:19 +00:00
github-actions[bot]
7559dd24f0 version bump 2022-07-03 00:26:21 +00:00
github-actions[bot]
04349169de version bump 2022-06-26 00:28:26 +00:00
github-actions[bot]
ffbe3845e6 version bump 2022-06-19 00:23:24 +00:00
renovate[bot]
40ea4457c9
Update dependency esbuild to v0.14.43 (#7501)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-12 20:05:08 -07:00
github-actions[bot]
7b82a04aaa version bump 2022-06-12 00:24:32 +00:00
github-actions[bot]
be0b79115f version bump 2022-05-29 00:23:32 +00: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
renovate[bot]
7ffcc9695f
Update all dependencies (#7442)
* Update all dependencies

* Update create-release.yml

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-26 11:38:46 +02:00
github-actions[bot]
60d9d342ac version bump 2022-05-22 00:22:53 +00:00
github-actions[bot]
ebfcfb0f8f version bump 2022-05-16 08:50:18 +00:00
renovate[bot]
4f8cc1ce4a
Update all dependencies (#7397)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-09 13:17:22 +02:00
github-actions[bot]
388727251f version bump 2022-05-08 00:21:44 +00:00
github-actions[bot]
230727d6b2 version bump 2022-05-01 00:28:53 +00:00
github-actions[bot]
18cba41bad version bump 2022-04-17 00:22:18 +00:00
github-actions[bot]
906d43ffad version bump 2022-04-10 00:20:18 +00:00
github-actions[bot]
35dbc14178 version bump 2022-04-03 00:21:03 +00:00
github-actions[bot]
d5706aabf9 version bump 2022-03-27 00:23:17 +00:00
github-actions[bot]
4937ac3e22 version bump 2022-03-20 00:19:47 +00:00
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