Upgrade to TypeScript 4.7 and lock TS minor version TS releases aren't completely backwards-compatible so locking on minor version to make sure all upgrades are intentional. Also update tsconfig options a bit. Module is now the stable 'ES2022' value instead of 'esnext' which changes between TS versions. Target and lib are now 'ES2021' since new-tab is only run on modern browsers. Also bump Prettier version.