4 ms·
>It's simple enough, as you say it's mostly templating, but the hardest part I found is maintaining dependencies. I needed to keep all dependencies up-to-date,
by MoreQARespect 3y ago
>It's simple enough, as you say it's mostly templating, but the hardest part I found is maintaining dependencies. I needed to keep all dependencies up-to-date, which was a big amount of manual work. For something like React-native, rather than templating I was generating a project using create-react-native-app then applying patch files. How do you manage this?
I did something like this before by building integration tests against the templater project and performed various smoke tests on them.
The integration tests I would schedule once or twice a week on the latest dependencies.
It was somewhat complicated by the fact that often plugin B to framework A required a maximum of version 4.1 for framework A, so at some point you had to make a decision:
* Wait for plugin B to catch up to framework A before upgrading framework A.
* Drop support for plugin B.
It really helped having the tests run periodically to get quick notification when something broke, coz then you could quickly adjust the dependencies (e.g. change >=3.5 to >=3.5, <4.1).