SAFE-Stack / SAFE-template

dotnet CLI template for SAFE project
MIT License
280 stars 87 forks source link

Upgrade to use metapackages #598

Closed isaacabraham closed 4 months ago

isaacabraham commented 4 months ago

Closes #557. This PR introduces dependencies on two NuGet metapackages, SAFE.Server and SAFE.Client. They contain the dependencies required for SAFE Stack applications as well as some nice helper types and functions.

I've also incorporated some of the types directly into the bookstore (notably, the AsyncOperation and Deferred types) (note that these will probably be renamed at some point to something a little more obvious).

I suggest that individuals test out this repository (or the SAFE.Meta packages) directly from this PR. Once we're happy with the shape of the metapackages, we can release it as a full v5 release (to go alongside SAFE Stack 5).

isaacabraham commented 4 months ago

@mattgallagher92 I'd like to get this merged in this week if possible - even if you have legitimate concerns about the API, we can rapidly iterate on that once the template is hooked up to using the package (and ideally published as a beta).

We can also "soft launch" the types and stuff (just including it in the package but not heavily publicising it) and iterating that way.