Commit Graph

6 Commits

Author SHA1 Message Date
Kenny Daniel
95c47f243d
Add minSize parameter to cachedAsyncBuffer 2025-03-17 23:54:20 -07:00
Sylvain Lesage
09ae9400c5
build types before publishing to npm (#46)
* build types before publishing to npm

* use prepare instead of prepublishOnly + make it clear that we only build types

doc for prepare vs prepublishOnly is here: https://docs.npmjs.com/cli/v8/using-npm/scripts

* no jsx in this lib

* relative imports from the root, so that it works from types/

* remove unused hyparquet.d.ts + report differences to jsdoc in files

* try to understand if this is the cause of the failing CI check

tsc fails: https://github.com/hyparam/hyparquet/actions/runs/12040954822/job/33571851170?pr=46

* Revert "try to understand if this is the cause of the failing CI check"

This reverts commit 5e2fc8ca179064369de71793ab1cda3facefddc7.

* not sure what happens, but we just need to ensure the types are created correctly

* increment version

* Explicitly export types for use in downstream typescript projects

* Use new typescript jsdoc imports for smaller package

* Combine some files and use @import jsdoc

* use the local typescript

---------

Co-authored-by: Kenny Daniel <platypii@gmail.com>
2024-12-02 17:47:42 +01:00
Sylvain Lesage
cb1e965e02
simulate an async operation (#33) 2024-11-08 22:23:35 +01:00
Kenny Daniel
a5c34e2950
cachedAsyncBuffer tests 2024-10-16 01:38:02 -07:00
Kenny Daniel
961b92650c
Never copy data 2024-02-09 14:35:11 -08:00
Kenny Daniel
060ef950b2
offsetArrayBuffer to return an offset view of an array buffer 2024-01-14 13:38:05 -08:00