chore: ensure safe config in the npmrc (#7144)