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
Ramy Melo
30826c33e0
chore: enabled eslint rule - prettier/prettier
2022-03-04 11:32:32 -05:00
Ramy Melo
7fc23697c8
chore: include test project in configuration.
2022-03-04 10:47:12 -05:00
Ramy Melo
d237726a5c
chore: updates deps and adds new deps to utils.
2022-03-04 10:32:30 -05:00
Ramy Melo
3babd46af8
feat: further integrates eslint, ts , and prettier
2022-03-04 10:28:51 -05:00
Joaquín Sánchez Jiménez
dea75709e1
chore: run cjs and esm test in the same order
2022-03-04 15:20:23 +01:00
Joaquín Sánchez Jiménez
ad0e490b91
test: add vitest cjs
2022-03-04 14:52:08 +01:00
Joaquín Sánchez Jiménez
9071d0aeaa
test: add vitest
2022-03-04 12:00:20 +01:00
Joaquín Sánchez Jiménez
dec6e45770
chore: add type module again, jest tests working again
2022-03-04 11:27:41 +01:00
Joaquín Sánchez Jiménez
ae3706cbf8
tests: add dual jest test, esm and cjs working
2022-03-04 00:36:30 +01:00
Joaquín Sánchez Jiménez
7ba8d5a2be
chore: move node stuff + package.json changes
2022-03-03 22:30:16 +01:00
Joaquín Sánchez Jiménez
0a8a0c9a23
chore: use lib folder + fix customisation modules
2022-03-02 21:33:10 +01:00
Joaquín Sánchez Jiménez
e74f332fb9
chore: move to unbuild
2022-03-02 21:11:50 +01:00
Joaquín Sánchez Jiménez
79e4530fab
Revert "chore: move some modules and update types test: include some tests for writeOnce
"
...
This reverts commit 6134d1f6
2022-03-02 18:55:03 +01:00
Joaquín Sánchez Jiménez
b59a49ece4
chore: add modern logic to loadIcon
and update types
...
test: add dynamic import for loadIcon test
cleanup: remove unused dependencies
2022-02-27 19:55:06 +01:00
Joaquín Sánchez Jiménez
7dd250ef55
chore: remove node
stuff
2022-02-27 17:58:24 +01:00