* chore(deps): bump vitest from 1.5.2/2.0.5 to 2.1.1
* chore: fix unit test failing in Vitest 2
* Add timeout
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
`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.
* 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>
* 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>