by diggan · 10y ago · 0 comments
Right now, the tool also works across any language where there is docker images with versions, not just for JavaScript/NodeJS. It's enough with having a Dockerfile with $VERSION (that will be replaced by the tool) and changing the test command. I will make this easier in the future.
Thanks for taking a look and please let me know what you think about it.
The first is that nvm is nodejs specific and since I knew I wanted it to eventually work with multiple languages, nvm is out.
Second is that docker has a API I can work with (via Dockerode in this case), makes it easier to use/debug and such.
Third is the easy of isolation. It's basically what docker is about while nvm is more for just managing versions.
I still use nvm locally, when developing. But when I want to rapidly test in multiple versions, I use docker with autochecker.