We have four repositories in SVN, in which most of the files are same in all four of them. The reason why we are using four different repositories is, we have four different software products which share a lot of common files. Those files are not part of a common library because all four products are going to be built and run in different environments, say electron and browsers which have it's own dependencies for their respective environments. However, the business logic and functionalities are same.
Here my requirement is to make this more manageable, to reduce our development team's work and time. One idea I have is, if I commit any of the particular files in one repo, it could automatically affect the other three repositories. But maybe there is a simpler/more effective approach for solving our issues?
I tried to find a solution by googling it, but didn't get anything which helped me. So, can anyone please tell me that whether I am on the right track, and please guide how to improve our workflow.
(The application is developed using Angular, but this is probably of minor importance.)