From 64ceb3bf3911c52c6e3eb17a992199610435bc88 Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Tue, 4 Jun 2024 08:02:19 -0400 Subject: [PATCH] docs: mention upgrading TypeScript getLib target in versio upgrades --- docs/maintenance/pull-requests/Dependency_Version_Upgrades.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/maintenance/pull-requests/Dependency_Version_Upgrades.mdx b/docs/maintenance/pull-requests/Dependency_Version_Upgrades.mdx index c184221d1e6f..15ae0340c358 100644 --- a/docs/maintenance/pull-requests/Dependency_Version_Upgrades.mdx +++ b/docs/maintenance/pull-requests/Dependency_Version_Upgrades.mdx @@ -134,6 +134,7 @@ We generally start the process of supporting a new TypeScript version just after - Whenever a PR is merged, change the respective heading's emoji from 🏗 to ✅ 1. Create a PR with a title like `feat: update TypeScript to X.Y-rc` and the following changes: - In the root `package.json`, add `|| X.Y.1-rc2` to the `devDependency` on `typescript` + - In the parser's `getLib`, update the `switch (target)` and its preceding comment as needed (see [#6782](https://github.com/typescript-eslint/typescript-eslint/pull/6782)) - Change the `SUPPORTED_TYPESCRIPT_VERSIONS` constant's `<` version to the next version of TypeScript - Change the `SUPPORTED_PRERELEASE_RANGES` constant to equal `['X.Y.1-rc']` - Rename and update `patches/typescript*` to the new TypeScript version