Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There is code that is shared between plutus playground and plutus SCB that is not used by marlowe playground or marlowe dashboard. The same will be true for Marlowe once SCP-1672 is implemented. There is also code that is useful to all web projects. We wouldn't normally mind mixing these 3 types in one location however some of the purescript code depends on code generated by the psgenerator scripts. If we have them all together we have to add lots of superfluous types to our psgenerators. It started to get our of hand when I looked at implementing SCP-1672. This commit splits these 3 types into 3 different directories and should allow the psgenerator scripts to be simplified. web-common-marlowe doesn't have anything in it yet but it will do with SCP-1672 Currently we're sticking with the model of "add an extra source directory" rather than having full on purescript or node modules. This is because it's currently much simpler, also spago2nix can't handle local modules yet (justinwoo/spago2nix#19). Finally, it makes it much easier to make changes to web-common and web-common-* during development of the main client projects because they are symlinks in the project, this means (in VSCode at least) that intellisense etc work perfectly.
- Loading branch information