waveguide icon indicating copy to clipboard operation
waveguide copied to clipboard

index.d.ts and index.js do not exist

Open waynevanson opened this issue 5 years ago • 1 comments

There is no index module. When this library is imported with yarn add waveguide, it cannot find the files.

In the package.json, it points to ./lib/index.js as expected but the files do not exist.

The result we're after is export { wave, managed } from 'waveguide'.

Are you happy for me to make a pull and fix it?

waynevanson avatar Jul 30 '20 22:07 waynevanson

The expectation was that users would import directly the submodules they wanted similar to the functioning of fp-ts. We don't currently publish any built artifacts and I'm skeptical this library would be of any use from javascript anyway.

If you think there is benefit in providing a single import at lib/index.ts listed as the main entry that would be ok also. Or we could simply remove that field from package.json.

rzeigler avatar Feb 18 '21 15:02 rzeigler