From what I observed, a rollback is applied only if my --test-script fails. If my --install-script fails, my package.json stays in the failing state.
I'm not sure however, which would be my desired behavior. It is nice to have a working state afterwards. But it is also nice to have the modified package.json right there - so I do not have to scroll up my terminal to figure out which version was tried to apply. Maybe a flag?
From what I observed, a rollback is applied only if my
--test-script
fails. If my--install-script
fails, mypackage.json
stays in the failing state.I'm not sure however, which would be my desired behavior. It is nice to have a working state afterwards. But it is also nice to have the modified
package.json
right there - so I do not have to scroll up my terminal to figure out which version was tried to apply. Maybe a flag?