0

We have a Purescript project that has grown organically, and it would be natural to split it up into two "binaries" and two libraries.

Since the packages are still closely related, it would be convenient to maintain them in the same git repository. Is anyone doing this?

Most purescript repos I've seen are very fine-grained, and others just put everything in one bower package.

(FWIW, part of the reason for wanting to split them is to be able to avoid pulling unnecessary transitive dependencies into downstream projects.)

aij
  • 5,903
  • 3
  • 37
  • 41
  • You can split them and reference from local file system with Spago, I believe, but you still can't distribute "compiled binary" (i.e. compiled JavaScript), which is what you're implying here if I understand correctly. All library code comes as PureScript source and gets compiled all together, transitive dependencies and all. – Fyodor Soikin Jun 05 '19 at 18:23
  • I'm fine with distributing source only, but I'd rather keep the 4 packages in one repo rather than multiple, so that we can atomically commit changes across packages. I'll need to look into Spago more... Can it reference directories in remote git repos too? – aij Jun 06 '19 at 15:07

0 Answers0