Separating protocol from service packages
The goal is to extract “protocol-base” and “protocol-definition” packages from the service monorepo. We will create a top level “protocol” folder and move these two packages there (just like the common folder).
Once done, service and client can take a dependency on the published packages. The pros are, we will only bump those packages when needed and breaking changes will be easier to track. The cons are, it makes development story harder since we need to update and publish those packages first before we can consume them. However, this additional complexity also forces us to be more deliberate when making breaking changes.
Roughly, the steps of this migration are the following:
- Create a top level 'protocol' folder and move these two packages there.
- Set up a build pipeline and publish those two packages. Pre-release should be fine.
- Update all code with the new pre-release dependency.
- Update fluid-build to account for the repo structure.
- Delete existing packages from server mono repo.
FYI @GaryWilber
I think you should also include updates to fluid-build to account for the new repo layout.
I think you should also include updates to fluid-build to account for the new repo layout.
Great point! Updated the description
Should we also move @fluidframework/gitresources? It's also included in the runtime.
This PR has been automatically marked as stale because it has had no activity for 60 days. It will be closed if no further activity occurs within 8 days of this comment. Thank you for your contributions to Fluid Framework!