documentation icon indicating copy to clipboard operation
documentation copied to clipboard

"purescript without node" should use psc-package

Open matthewleon opened this issue 8 years ago • 6 comments

https://github.com/purescript/documentation/blob/master/guides/PureScript-Without-Node.md

Not sure how others feel about this, but to me it simplifies Node-free development.

matthewleon avatar Aug 04 '17 14:08 matthewleon

Yes, definitely. That page is only like that because it predates psc-package.

hdgarrood avatar Aug 04 '17 15:08 hdgarrood

I'd prefer to decouple guides on dependency management tools and bundling tools from that "purescript without node" article. Would need to create those guides first, then can simplify that article. I imagine the simplified article would be like "Use tool X for dep management. See guide X. Use tool Y for bundling. See guide Y."

chexxor avatar Feb 24 '18 22:02 chexxor

If the purpose of the guide is to present a sensible workflow for purescript without node, then psc-package is definitely the right choice. We could certainly do with more docs around the compiler CLI, though, which discuss only the purs executable and don’t bring in other tools, but I think that’s a different thing.

hdgarrood avatar Feb 24 '18 23:02 hdgarrood

Would it be possible adding a demonstration on how to use PureScript with other JavaScript backends (e.g., deno)?

toraritte avatar Aug 17 '20 00:08 toraritte

This could now instead/also refer to spago, I think the only node dependency is a runtime on for node-dependant commands (like run and test)

nwolverson avatar Jan 14 '22 16:01 nwolverson

I don't think there's interest among the core team in maintaining psc-package, so I agree this should refer to Spago.

thomashoneyman avatar Jan 14 '22 19:01 thomashoneyman