source-cooperative / viewers.source.coop

Data Viewers for Source Cooperative
https://viewers.source.coop
Apache License 2.0
5 stars 2 forks source link

Publish ESM files, not tsx #6

Open severo opened 3 days ago

severo commented 3 days ago

The npm package is not published in a way that can be imported. The source files (TSX) cannot be used as such, we need to build ESM files.

Required for https://github.com/source-cooperative/source.coop/issues/1

severo commented 3 days ago

We can use https://github.com/source-cooperative/components as a reference, it does exactly that.

conversation about versions of the component package At least, in version `1.0.15`, published at https://www.npmjs.com/package/@source-cooperative/components?activeTab=code The repository https://github.com/source-cooperative/components still only has one initial commit at version `1.0.0`. I'm wondering where is the codebase with version `1.0.15`. Maybe in a fork that could be merged back to the upstream repo? cc @jedsundwall @kbgg Edit: Fixed today 2024/11/28!