mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-24 19:56:37 +00:00

Previously dependencies weren't actually removed from `node_modules`, this runs `npm rm` on the optional dependencies, effectively excluding them, and their dependencies from the shrinkwrap file. Also the script has been hooked to the `preshrinkwrap` hook, to remove the need of having to run it manually. Change-Type: patch