Commit Graph

74 Commits

Author SHA1 Message Date
Dayong Lee
23aa7db57d
style(format): add sorting imports plugin and fix eslint config (#625)
* Add prettier sort

* Fix prettier setting in eslint

* Apply prettier

* Fix depdencies

* Add .yarn folder in excludes of vitest

* Revert pick I don't know why this is changed
2024-10-01 14:00:45 +09:00
Sojin Park
66baac2afc v1.22.0
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-29 00:37:47 +09:00
Wojciech Maj
2673425aeb
chore: fix test command (#609)
`vitest run` implied non-development environment, disabling features like watching. So, now you can e.g.:

```
yarn test cloneDeep --watch
```

and work on your utility in peace.

At the same time, added `watch: false` to `vitest.config.mts` ensures the expected behavior of all test related commands won't change.
2024-09-28 21:40:09 +09:00
raon0211
d216470391 v1.21.0 2024-09-25 16:40:21 +09:00
Dayong Lee
f38392c400
chore(lint): add lint plugin for using for loop instead of for...of over array (#587)
* Add prefer for loop

* change plugin name

* Revert tsconfig

* Revert random comment

* Revert eslint config parser options

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-24 10:35:28 +09:00
Sojin Park
300d1074b4 v1.20.0 2024-09-18 17:17:22 +09:00
Sojin Park
09eb88676e feat(debounce): Add compatibility with lodash 2024-09-16 19:04:30 +09:00
raon0211
72186bb8c9 v1.19.0
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-14 23:19:16 +09:00
seungrodotlee
9364390715
feat(curry): add curry function (#187)
* feat. Add utility types

* feat. Add curry function

* feat. add error throw

* feat. add spec of curry

* fix. fix type error when optional parameter exist

* fix. fix type when rest parameters exist

* fix. fix types error

* fix. fix all type errors

* refactor. rename OptionalStartIdx

* test. add test codes when rest parameters exist

* feat. add  method to flexibleCurry

* feat. fix all type errors and functional errors

* chore. add benchmark

* chore. fix comments

* refactor. enhance type of flexibleCurry

* refactor. refactor arrow function -> normal function

* feat. correctly infer the errored type when the run method is called while the argument to be received is not optional

* docs. add docs about curry

* refactor. file refactor naming case of types

* fix. fix types error caused by renaming of case

* fix. fix errors same as last commit

* fix. fix errors same as last commit

* feat. keep curry function and type simple

* fix. fix test codes with updated implementation

* Update src/function/index.ts

* feat(curry): Fix curry types

* feat(curry): Fix curry types

* feat(curry): Fix curry types

* Remove ramda

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-14 14:24:56 +09:00
raon0211
3409d25a8d v1.18.0
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-12 22:19:27 +09:00
Dayong Lee
9aa89a7cfb
chore(test): add script for transforming lodash test codes (#516)
* Add transform lodash test code

* Simplify using destructure
2024-09-12 21:31:29 +09:00
Sojin Park
a9e7edde14 docs: Add documentation automatic generation script 2024-09-08 17:02:19 +09:00
Dayong Lee
fb4a0e1736
docs: Automate the status of compatiblity implementation (#486)
* Add vue eslint

* Remove Sandpakc and add Registry CompatibilityStatus

* add compatibility data

* Apply CompatibilityStatus

* Remove unusable template

* Revert

* Refactor

* Fix lint error

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-07 23:36:54 +09:00
Gromit (전민재)
7ad4ef15d3
feat(flatMapDeep): Add flatMapDeep (#464)
* feat: add flatMapDeep new function

* refac: flatMapDeep refactor

* fix: benchmark fix

* fix: benchmark fix

* Apply suggestions from code review

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-04 10:01:01 +09:00
Sojin Park
7da85862ac v1.17.0 2024-08-31 15:02:56 +09:00
Dayong Lee
5c551b8866
build: Remove unused package (#408)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-08-20 23:38:12 +09:00
StyleShit
d4aa7031c8
chore(dev-deps): upgrade to eslint 9 (#396)
Closes #395
2024-08-20 21:55:39 +09:00
Sojin Park
010ec0496e v1.16.0
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-08-15 23:18:39 +09:00
Sojin Park
be4162dc19 style: Apply prettier 2024-08-11 10:54:13 +09:00
Sojin Park
37fe24455a v1.15.1 2024-08-10 17:26:13 +09:00
Sojin Park
b7a55063ab v1.15.0 2024-08-10 16:35:27 +09:00
Juhyeok Kang
bfddc0f549
docs: Add Sandpack in docs (#363) 2024-08-10 10:15:48 +09:00
raon0211
b156814cbe v1.14.0 2024-08-09 10:59:49 +09:00
Florens Verschelde
6e3fff0ae3
build: move browser build from umd dir to dist (#314) 2024-07-25 10:05:14 +09:00
Florens Verschelde
7b2aa1adfc
chore: use rollup instead of tsup for a cleaner dist (#255)
* update tsup to 8.2.0 (no change to dist)

* add rollup config to generate dist

* fix browser build config

* browser umd bundle sourcemap should be published

* browser bundle is iife, not umd, despite folder name

* rollup: don't use manualChunks to keep the config a tad simpler

* prepack: use rollup instead of tsup

* remove browser entrypoint from dist

* remove comments in .js and .mjs outputs

* remove src/browser.ts, use equivalent Rollup config

* Restore original .npmignore

* rollup config: rename umdBuildConfig to browserBuildConfig

* rollup: use package.json#exports for esm entrypoints

* chore: package.json

* rollup config

* sort

* lint

* prettier

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-25 00:37:53 +09:00
raon0211
5e877fafb2 test: Add E2E tests for CJS and ESM 2024-07-25 00:15:38 +09:00
Florens Verschelde
0896d5e517
test(ci): check the generated dist and package.tgz (#288)
* test(ci): add @arethetypeswrong/cli check of package.tgz

* chore(ci): run attw before release

* test(ci): add minimal check-dist test to pre-pack
2024-07-23 23:03:27 +09:00
Sojin Park
cc06b2d7a3 test: Add missing test lines
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-20 12:49:11 +09:00
Sojin Park
7bfc3e090f v1.13.1 2024-07-20 11:55:45 +09:00
Sojin Park
528bc2b077 v1.13.0 2024-07-20 11:30:29 +09:00
Sojin Park
701e82300b build: Add build for browsers 2024-07-20 11:18:01 +09:00
raon0211
14c0ad3055 v1.12.0 2024-07-19 00:04:31 +09:00
raon0211
19e2cde5a9 build: Add export map for compat 2024-07-19 00:02:18 +09:00
raon0211
cd60ee8f6d v1.11.0 2024-07-18 23:24:05 +09:00
raon0211
c763c8c51f test: Add benchmarks for bundle size 2024-07-17 11:47:39 +09:00
raon0211
51e1970495 docs: Add docs for flatMap
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-15 22:50:07 +09:00
raon0211
ca632a77be chore: Make lodash available only in benchmark directory 2024-07-15 10:20:33 +09:00
raon0211
96ec636e63 v1.10.1 2024-07-15 10:17:01 +09:00
Sojin Park
acb74650a6 feat: Introduce es-toolkit/compat, and add chunk in compat 2024-07-14 23:55:52 +09:00
Sojin Park
ba35a8da53 v1.10.0 2024-07-14 18:22:27 +09:00
정해준
d48900fa55
feat(snakeCase): add snakeCase (#152)
* feat(snakeCase): Add caseSplitPattern RegExp const

* feat(snakeCase): Add caseSplitPattern test code

* feat(snakeCase): Add snakeCase function

* feat(snakeCase): Add snakeCase test code

* feat(snakeCase): Add snakeCase docs

* feat(snakeCase): Add snakeCase benchmarks

* chore: Add string export

* fix(snakeCase): constants public api

* Update docs/ko/reference/string/snakeCase.md

* Update docs/ko/reference/string/snakeCase.md

* Update docs/reference/string/snakeCase.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-11 09:14:09 +09:00
raon0211
85d4628623 v1.9.0 2024-07-10 09:57:53 +09:00
Dongkyu Kim
2ce004c91b
chore(package.json): build script (#129)
* fix: build script

* fix: add shebangs
2024-07-08 23:01:09 +09:00
raon0211
ba768f01c2 v1.8.0 2024-07-05 10:13:41 +09:00
raon0211
a175b43e0b v1.7.1 2024-07-03 10:48:24 +09:00
raon0211
8844930d1b v1.7.0 2024-07-03 10:44:28 +09:00
Dongho Kim
01b5636218
style(*): Add eslint-plugin-jsdoc for improved JSDoc validation and update codebase accordingly (#112) 2024-07-03 09:15:02 +09:00
Jonghyeon Ko
57e2afcbc2
chore(package.json): add details (#110) 2024-07-03 09:13:16 +09:00
Minsoo Kim
e62c06193a
docs: update installation section (#102) 2024-07-01 07:10:04 +09:00
Sojin Park
6c776a49f1 v1.6.1 2024-06-30 13:47:15 +09:00