Allow npm install of spago@next
natefaubion opened this issue · 3 comments
natefaubion commented
Currently spago is hardcoded to use github releases for legacy spago. Would it be possible to use npm for install for spago next/unstable?
natefaubion commented
Current workaround is to install spago in a step using npm and invoke from node_modules/.bin or npx.
thomashoneyman commented
Yes, we would need to update this:
setup-purescript/src/Setup/Data/Tool.purs
Lines 118 to 133 in b059776
...such that if the Spago version is greater than 0.90.x then we use NPM as the installation method.
thomashoneyman commented
We would also need to update the get latest versions script so that it looks at NPM releases for Spago; right now everything looks at GitHub releases, but the spago@next releases are not happening on GitHub releases at all.