Á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
LitoMore
bf69b6dee0
Add XO linter ( #10643 )
2024-03-24 18:38:18 +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
6178243859
Expose SDK in NPM package ( #8077 )
2023-04-19 15:23:13 +02: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
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
Tyler Miller
84c0149bba
Fix SVG linting errors ( #7551 )
...
* Remove newlines
* Remove newline to fix test
* Enforce `lf` line endings
* Remove trailing newline enforcement
* Remove `replace` to ensure no trailing newlines
* Revert "Enforce `lf` line endings"
This reverts commit 05a13db8c3
.
2022-07-04 18:47:33 +02: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
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
ebbd39bd32
Enforce <svg>
node alphabetical attributes ordering ( #6930 )
2021-12-01 15:03:52 -08: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
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