Exclude `resolved` from npm shrinkwrap to avoid irrelevant changes

Fixes #12959.
CC: @XhmikosR for review