* feat: file replacement handling for TS and pure file copy replacements * test: add tests for replacements & refactor a bit Co-authored-by: Igor Randjelovic <rigor789@gmail.com>