Another fix to previous commit. The special case for use-sync-external-store still needs to write out the updated package.json, because we also use that branch to update the version field.
@gate