Server scripts source code versioning

Another thought here: it’s difficult to maintain shared code between scripts, so it would be great also having means to keep libraries under source code control.
For example, if I want to include a JS library in my service or event scripts, I need to upload it to the scripts folder in the DF server, so it’s available for import. That means the JS file is placed in the filesystem of the server, while the custom services or the event scripts are stored in the internal DF DB.

If library scripts could be also transferred from / to a source code repo, that would make things easier.

Thanks again!