Commit Graph

5 Commits

Author SHA1 Message Date
Sojin Park
be4162dc19 style: Apply prettier 2024-08-11 10:54:13 +09:00
Dayong Lee
8600129813
style: Fix all lint errors (#351)
* Fix lint error

* Style format

* Add class, map, set
2024-08-07 18:50:42 +09:00
seungrodotlee
13c7c7f611
feat(mapKeys,mapValues): add mapKeys and mapValues (#291)
* feat(mapKeys): add mapKeys

* feat(map*): not clone object

* chore. fix names on bench

* feat. pass cloned object to iteratee

* Fix interface

* fix. fix test codes

* fix. fix type error on test

* Add docs

* test: Check test

* bench

* rewrite

* mapKeys

* test: Do not mutate the original function

---------

Co-authored-by: raon0211 <raon0211@toss.im>
2024-07-25 11:43:15 +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