Vjacheslav Trushkin
ae9b177d3c
Update dependencies in main packages
2022-09-07 20:06:23 +03:00
Vjacheslav Trushkin
2dc12bd462
Replace jest done function with promises in utils tests
2022-09-07 20:00:33 +03:00
Vjacheslav Trushkin
de31dd36ba
Remove jest from core package, use vitest only
2022-08-21 18:43:27 +03:00
Vjacheslav Trushkin
6a034033cb
Remove jest from utils package, use vitest only
2022-08-21 18:40:56 +03:00
Vjacheslav Trushkin
780f93c7a0
Optimisations in Utils
2022-07-03 16:45:52 +03:00
Vjacheslav Trushkin
40ba4e076a
Publish new versions of all updated packages
2022-07-02 11:21:45 +03:00
Vjacheslav Trushkin
21d45bc28c
Return partial IconifyIcon in parseIconSet in Utils
2022-07-01 23:22:22 +03:00
Vjacheslav Trushkin
c0911ac283
Return only partial IconifyIcon in getIconData in Utils
2022-07-01 23:09:53 +03:00
Vjacheslav Trushkin
8eca9c6741
Change iconToSVG attributes from full to partial icon and customisations
2022-07-01 22:12:18 +03:00
Vjacheslav Trushkin
d475c2e3a8
Fix broken test in utils
2022-07-01 22:01:49 +03:00
Vjacheslav Trushkin
581ece2444
Export more types and functions in main file in utils
2022-07-01 11:35:23 +03:00
Vjacheslav Trushkin
1c24f85160
Export misc functions for working with objects in utils
2022-07-01 09:17:47 +03:00
Vjacheslav Trushkin
772aaf4686
Publish update for utils
2022-06-25 20:40:13 +03:00
Vjacheslav Trushkin
8b034b290e
Add lastModified to getIcons result
2022-06-25 10:01:25 +03:00
Vjacheslav Trushkin
3f2e7a181d
Publish next version of SVG framework, update utils
2022-06-23 21:23:41 +03:00
Vjacheslav Trushkin
af14c7a2e9
Publish beta versions of types and utils
2022-06-23 09:33:56 +03:00
Vjacheslav Trushkin
b2d3accf81
Clean up handling icon customisations and transformations
2022-06-20 23:43:01 +03:00
Vjacheslav Trushkin
7b4409665a
Parse icons tree only once when parsing icon set
2022-06-20 20:39:06 +03:00
Vjacheslav Trushkin
89a2def126
Rewite icon set functions to allow deep aliases tree
2022-06-20 20:00:56 +03:00
Vjacheslav Trushkin
e6336fe3da
Use getIconsTree in validateIconSet
2022-06-20 17:30:40 +03:00
Vjacheslav Trushkin
76494a1ed2
Add function to utils for getting icons tree from icon set
2022-06-20 16:44:56 +03:00
Vjacheslav Trushkin
ab14b084f2
Clean up scripts in several package.json files
2022-06-20 10:31:46 +03:00
Vjacheslav Trushkin
8f8f48c992
Fix unit tests
2022-06-19 22:40:13 +03:00
Vjacheslav Trushkin
db7e0c2ffd
Update dependencies, make build work correctly with pnpm
2022-06-19 22:25:00 +03:00
Vjacheslav Trushkin
a478719a1e
Use pnpm workspace dependencies
2022-06-19 20:58:50 +03:00
Vjacheslav Trushkin
25298bb7bf
Start moving to pnpm
2022-06-19 20:23:03 +03:00
Vjacheslav Trushkin
9ad23abd6a
Update SVG framework
2022-06-19 18:22:42 +03:00
Vjacheslav Trushkin
ad29f6df20
In IconifyJSON do not allow default transformations, remove inline from customisations, restructure utils
2022-06-19 17:12:26 +03:00
Vjacheslav Trushkin
99ddeeae47
Split defaultIconData in utils in 2 objects
2022-06-18 21:58:26 +03:00
Vjacheslav Trushkin
ddede9ee3a
Merge remote-tracking branch 'origin/master' into next
2022-06-17 23:30:07 +03:00
Vjacheslav Trushkin
83f496e24d
Utils: publish update
2022-06-17 23:26:55 +03:00
Joaquín Sánchez Jiménez
ea7a1aa00d
chore: cleanup console
2022-06-17 22:13:34 +02:00
Joaquín Sánchez Jiménez
107b28bdf1
feat: automatic xml preface cleanup
2022-06-17 22:10:54 +02:00
Vjacheslav Trushkin
1d65b060d7
Simplify parse function in utils, check for bad aliases
2022-06-09 14:03:47 +03:00
Vjacheslav Trushkin
8eb348b3a9
Build packages after installing them with monorepo script
2022-05-28 14:18:11 +03:00
Vjacheslav Trushkin
4f38f14ad5
Simplify code to calculate dimensions in Utils
2022-05-20 23:32:47 +03:00
Vjacheslav Trushkin
8c8aa34d53
Utils: fix comments in encodeSVGforURL
2022-05-01 09:04:54 +03:00
Vjacheslav Trushkin
e2d56ce62b
Utils: remove new lines when encoding SVG for URL
2022-05-01 08:35:34 +03:00
Vjacheslav Trushkin
826dd80833
Merge remote-tracking branch 'origin/master' into dev/next
2022-04-30 23:15:36 +03:00
Vjacheslav Trushkin
8e12f8614c
Remove alignment from customisations
2022-04-30 23:12:34 +03:00
Vjacheslav Trushkin
b56ac3ea39
More licenses cleanup
2022-04-20 19:20:04 +03:00
Vjacheslav Trushkin
8a16081d96
Fix licenses mess, switch everything to MIT
2022-04-20 19:00:21 +03:00
Vjacheslav Trushkin
b08d1221e3
utils: test encoding icon for css that contains +
2022-04-10 20:19:18 +03:00
Vjacheslav Trushkin
e7e51f8299
Move reusable functions for using SVG in CSS to utils
2022-04-10 13:47:25 +03:00
Vjacheslav Trushkin
b057e935b4
svg framework: fix tests, make xlink optional, move reusable function to utils
2022-04-10 10:45:05 +03:00
Vjacheslav Trushkin
5cd43f4b17
Publish new versions of utils and core packages
2022-03-31 16:35:30 +03:00
Vjacheslav Trushkin
fb537ef559
Do not use optional chaining in utils and core, some people still use old build tools that cannot parse it
2022-03-31 14:41:37 +03:00
Vjacheslav Trushkin
19e951cdb7
Replace unnecessary complex icon set validation function with basic function
2022-03-31 11:07:02 +03:00
Vjacheslav Trushkin
27bbe40845
Publish update for utils
2022-03-24 22:25:01 +02:00
Joaquín Sánchez Jiménez
36af258071
feat: provide collection and icon names to transform
customization
2022-03-24 21:16:13 +01:00
Vjacheslav Trushkin
877d84eebc
Publish update for utils
2022-03-22 20:24:34 +02:00
Joaquín Sánchez Jiménez
083cb56f53
test: add scale test for modern
2022-03-22 19:08:38 +01:00
Joaquín Sánchez Jiménez
e88ecf8aeb
fix(next): modern module ignores scale
2022-03-22 18:55:37 +01:00
Vjacheslav Trushkin
6fcca33a0f
Update dependencies for utils, publish update
2022-03-22 11:49:15 +02:00
Vjacheslav Trushkin
deacbd9187
Publish update for utils
2022-03-21 20:49:07 +02:00
Joaquín Sánchez Jiménez
6389a39e79
chore: apply trim on custom module
2022-03-21 19:44:59 +01:00
Joaquín Sánchez Jiménez
27e6e42d85
chore: remove breaking change on utils module
2022-03-21 19:34:58 +01:00
Joaquín Sánchez Jiménez
5c3252d148
chore: revert typesVersions
, preset icons cannot find type declarations
2022-03-21 19:01:11 +01:00
Joaquín Sánchez Jiménez
544a2d5fb3
test: update import type
2022-03-21 18:39:44 +01:00
Joaquín Sánchez Jiménez
123991c687
test: add trim custom svg + remove unused imports
2022-03-21 18:38:18 +01:00
Joaquín Sánchez Jiménez
e506d76843
feat(next): add trim for custom svg icons
2022-03-21 18:28:10 +01:00
Vjacheslav Trushkin
f0e78f4c8f
Publish update for utils
2022-03-21 18:55:20 +02:00
Vjacheslav Trushkin
bd935e4955
Add function to trim SVG to utils
2022-03-21 18:54:25 +02:00
Vjacheslav Trushkin
093aed6c0e
Add typesVersions to core
2022-03-21 10:51:47 +02:00
Joaquín Sánchez
fb51565d17
chore: update folder name
2022-03-20 14:58:37 +01:00
Joaquín Sánchez
814e944e27
fix(next): add dts
for non node packages
...
I talk with @antfu (sorry to ping you here ;) ), we need to add the `typedVersions`, we talk about it a few days/weeks ago:
``json
"typesVersions": {
"*": {
"*": [
"./dist/*"
]
}
},
```
2022-03-20 14:43:26 +01:00
Vjacheslav Trushkin
ad18afe316
Do not use non-null assertion in test in utils
2022-03-18 15:55:47 +02:00
Vjacheslav Trushkin
a7899d812f
Fix double spacing in attributes in mergeIconProps in utils
2022-03-18 15:52:53 +02:00
Joaquín Sánchez Jiménez
d5494752c9
fix(loader/utils): add space adding attrs to svg
2022-03-18 10:30:46 +01:00
Vjacheslav Trushkin
238104bbfe
Publish update for utils
2022-03-17 18:23:48 +02:00
Vjacheslav Trushkin
af2b2227ac
Merge branch 'dev/unbuild' into next
2022-03-17 18:04:14 +02:00
Vjacheslav Trushkin
a1bdc3488a
chore: fix eslint error in utils.ts
2022-03-17 17:10:03 +02:00
Joaquín Sánchez Jiménez
23a089b6bf
chore: configure usedProps
with additionalProperties
and override width
and height
from props
2022-03-17 14:59:51 +01:00
Joaquín Sánchez Jiménez
a1c7087cf2
jsdocs: explanation for width
and height
on usedProps
2022-03-17 13:38:24 +01:00
Joaquín Sánchez Jiménez
248b1f9d39
chore: cleanup + fix ts problem on tests
2022-03-17 13:14:35 +01:00
Joaquín Sánchez Jiménez
78c099669b
feat(utils): return used props applied to the svg
2022-03-17 12:48:49 +01:00
Joaquín Sánchez Jiménez
e4f2ddd531
chore: add used props
2022-03-17 10:07:29 +01:00
Vjacheslav Trushkin
41afe33976
Fix tsconfig in core, specify config when clearing jest cache
2022-03-16 16:10:14 +02:00
Vjacheslav Trushkin
96c7486f7c
Fix tsconfig in utils
2022-03-16 15:42:17 +02:00
Vjacheslav Trushkin
5feccddcb3
WIP: moving core to unbuild and vitest
2022-03-16 12:12:25 +02:00
Vjacheslav Trushkin
ef8ff7a76a
Update ignore files in utils
2022-03-16 11:04:16 +02:00
Vjacheslav Trushkin
d5a7e5724d
Fix linting errors in utils
2022-03-16 10:58:02 +02:00
Vjacheslav Trushkin
16146d553e
Remove Jasmine tests from utils
2022-03-16 10:01:55 +02:00
Vjacheslav Trushkin
6c3284e1c3
Retrieve list of files to build from package.json exports in utils
2022-03-16 09:50:12 +02:00
Vjacheslav Trushkin
91f5f8a7e4
Remove unnecessary non-null assertion in utils
2022-03-16 09:49:45 +02:00
Vjacheslav Trushkin
7ba7852d12
Remove duplicate warnOnce in utils
2022-03-15 21:07:35 +02:00
Vjacheslav Trushkin
fbd61e9183
Remove library-builder package, use unbuild instead
2022-03-15 19:19:51 +02:00
Vjacheslav Trushkin
77eb51366f
Fix test scripts in utils, publish update
2022-03-14 18:11:15 +02:00
Joaquín Sánchez Jiménez
3d771d7572
lint: tabs sizes on package.json file
2022-03-14 16:26:07 +01:00
Joaquín Sánchez Jiménez
ce322feb1d
lint: tabs sizes on tsconfig file
2022-03-14 16:24:09 +01:00
Joaquín Sánchez Jiménez
0d4df1edb9
lint: tabs sizes on tsconfig file
2022-03-14 16:21:27 +01:00
Joaquín Sánchez Jiménez
e20e4d9b36
cleanup: remove old build stuff
2022-03-14 16:17:29 +01:00
Joaquín Sánchez Jiménez
84e9b9f277
lint: change to prettier on local
2022-03-14 15:39:40 +01:00
Joaquín Sánchez Jiménez
08d35b55f7
chore: megre next + some eslint change + loader package lint
2022-03-14 15:13:13 +01:00
Joaquín Sánchez Jiménez
1b3680647c
Merge branch 'next' into userquin/feat-split-modern-loader-next
...
# Conflicts:
# packages/utils/package-lock.json
# packages/utils/src/loader/loader.ts
# packages/utils/src/loader/types.ts
# packages/utils/tests/iconify-icon-test.ts
2022-03-14 14:23:57 +01:00
Ramy Melo
30ab5eba2a
refactor(types): refactored away ts errors
2022-03-04 17:04:30 -05:00
Ramy Melo
fa01bbe962
refactor(eslint): refactored away mix type errors
...
@typescript-eslint/restrict-plus-operands
2022-03-04 16:18:02 -05:00
Ramy Melo
e5e4ddf49e
chore: eslint --fix after enabling ts typed rules.
2022-03-04 16:04:14 -05:00
Ramy Melo
ff261a0216
chore: enabled extra ts eslint rule
...
@typescript-eslint/recommended-requiring-type-checking
2022-03-04 15:28:31 -05:00
Ramy Melo
8f739807d5
chore: auto fixed prettier rules in src and tests
...
npx eslint --fix src/**/*.ts
npx eslint --fix tests/**/*.ts
2022-03-04 11:37:21 -05:00