purescript-tsd-gen icon indicating copy to clipboard operation
purescript-tsd-gen copied to clipboard

Distribution via npm

Open minoki opened this issue 6 years ago • 2 comments

There should be an easy way for a npm user to install this tool.

Since this tool is written in Haskell, this is not trivial. Some choices are:

  • Binary distribution
  • Compile to JavaScript with GHCJS or something

As a note, purescript npm package uses postinstall script to download the binary:

minoki avatar Mar 04 '18 05:03 minoki

you can also go with flow-bin approach https://github.com/flowtype/flow-bin/blob/master/Makefile. Flow compiles all the binaries, uploads them to github releases and flow-bin downloads binaries and bundles them in npm packages

stereobooster avatar Mar 08 '18 22:03 stereobooster

#11 might be useful, might not

zmrocze avatar Apr 18 '23 13:04 zmrocze