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
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