From 4fc75ebe5a76042a74468d3f6d1573a5ce97c458 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 5 Sep 2023 10:54:27 +0930 Subject: [PATCH 01/18] chore(deps): update dependency @types/node to v20.5.8 (#7600) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 6103d773e399..3744b6120b4d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5479,9 +5479,9 @@ __metadata: linkType: hard "@types/node@npm:^20.0.0": - version: 20.5.7 - resolution: "@types/node@npm:20.5.7" - checksum: fc284c8e16ddc04569730d58e87eae349eb1c3dd9020cb79a1862d9d9add6f04e7367a236f3252db8db2572f90278e250f4cd43d27d264972b54394eaba1ed76 + version: 20.5.9 + resolution: "@types/node@npm:20.5.9" + checksum: 717490e94131722144878b4ca1a963ede1673bb8f2ef78c2f5b50b918df6dc9b35e7f8283e5c2a7a9f137730f7c08dc6228e53d4494a94c9ee16881e6ce6caed languageName: node linkType: hard From d2973cca391eeb763d72c5ef2f49cdafe4ffc216 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 5 Sep 2023 10:54:51 +0930 Subject: [PATCH 02/18] chore(deps): update dependency tsx to v3.12.8 (#7598) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 204 +++++++++++++++++++++++++++--------------------------- 1 file changed, 102 insertions(+), 102 deletions(-) diff --git a/yarn.lock b/yarn.lock index 3744b6120b4d..eb2de39e62f1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2921,13 +2921,13 @@ __metadata: languageName: node linkType: hard -"@esbuild-kit/core-utils@npm:^3.0.0": - version: 3.1.0 - resolution: "@esbuild-kit/core-utils@npm:3.1.0" +"@esbuild-kit/core-utils@npm:^3.0.0, @esbuild-kit/core-utils@npm:^3.2.2": + version: 3.2.2 + resolution: "@esbuild-kit/core-utils@npm:3.2.2" dependencies: - esbuild: ~0.17.6 + esbuild: ~0.18.20 source-map-support: ^0.5.21 - checksum: d54fd5adb3ce6784d84bb025ad54ddcfbab99267071a7f65298e547f56696f0b9d0dba96c535f9678a30d4887ec71cd445fdd277d65fbec1f3b504f6808f693e + checksum: c2822ff9953475ab55f4c0b2e84721c4ddfe835c5cd9f58adf74bfc2d3f71ea8414b661ddd590815d284330a436e966586916a0e41501e730d11877e5c07d2c8 languageName: node linkType: hard @@ -2941,9 +2941,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/android-arm64@npm:0.17.19" +"@esbuild/android-arm64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/android-arm64@npm:0.18.20" conditions: os=android & cpu=arm64 languageName: node linkType: hard @@ -2955,9 +2955,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/android-arm@npm:0.17.19" +"@esbuild/android-arm@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/android-arm@npm:0.18.20" conditions: os=android & cpu=arm languageName: node linkType: hard @@ -2969,9 +2969,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-x64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/android-x64@npm:0.17.19" +"@esbuild/android-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/android-x64@npm:0.18.20" conditions: os=android & cpu=x64 languageName: node linkType: hard @@ -2983,9 +2983,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-arm64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/darwin-arm64@npm:0.17.19" +"@esbuild/darwin-arm64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/darwin-arm64@npm:0.18.20" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard @@ -2997,9 +2997,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-x64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/darwin-x64@npm:0.17.19" +"@esbuild/darwin-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/darwin-x64@npm:0.18.20" conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -3011,9 +3011,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-arm64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/freebsd-arm64@npm:0.17.19" +"@esbuild/freebsd-arm64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/freebsd-arm64@npm:0.18.20" conditions: os=freebsd & cpu=arm64 languageName: node linkType: hard @@ -3025,9 +3025,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-x64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/freebsd-x64@npm:0.17.19" +"@esbuild/freebsd-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/freebsd-x64@npm:0.18.20" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard @@ -3039,9 +3039,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/linux-arm64@npm:0.17.19" +"@esbuild/linux-arm64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-arm64@npm:0.18.20" conditions: os=linux & cpu=arm64 languageName: node linkType: hard @@ -3053,9 +3053,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/linux-arm@npm:0.17.19" +"@esbuild/linux-arm@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-arm@npm:0.18.20" conditions: os=linux & cpu=arm languageName: node linkType: hard @@ -3067,9 +3067,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ia32@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/linux-ia32@npm:0.17.19" +"@esbuild/linux-ia32@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-ia32@npm:0.18.20" conditions: os=linux & cpu=ia32 languageName: node linkType: hard @@ -3081,9 +3081,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/linux-loong64@npm:0.17.19" +"@esbuild/linux-loong64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-loong64@npm:0.18.20" conditions: os=linux & cpu=loong64 languageName: node linkType: hard @@ -3095,9 +3095,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-mips64el@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/linux-mips64el@npm:0.17.19" +"@esbuild/linux-mips64el@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-mips64el@npm:0.18.20" conditions: os=linux & cpu=mips64el languageName: node linkType: hard @@ -3109,9 +3109,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ppc64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/linux-ppc64@npm:0.17.19" +"@esbuild/linux-ppc64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-ppc64@npm:0.18.20" conditions: os=linux & cpu=ppc64 languageName: node linkType: hard @@ -3123,9 +3123,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-riscv64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/linux-riscv64@npm:0.17.19" +"@esbuild/linux-riscv64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-riscv64@npm:0.18.20" conditions: os=linux & cpu=riscv64 languageName: node linkType: hard @@ -3137,9 +3137,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-s390x@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/linux-s390x@npm:0.17.19" +"@esbuild/linux-s390x@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-s390x@npm:0.18.20" conditions: os=linux & cpu=s390x languageName: node linkType: hard @@ -3151,9 +3151,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-x64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/linux-x64@npm:0.17.19" +"@esbuild/linux-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-x64@npm:0.18.20" conditions: os=linux & cpu=x64 languageName: node linkType: hard @@ -3165,9 +3165,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/netbsd-x64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/netbsd-x64@npm:0.17.19" +"@esbuild/netbsd-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/netbsd-x64@npm:0.18.20" conditions: os=netbsd & cpu=x64 languageName: node linkType: hard @@ -3179,9 +3179,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/openbsd-x64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/openbsd-x64@npm:0.17.19" +"@esbuild/openbsd-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/openbsd-x64@npm:0.18.20" conditions: os=openbsd & cpu=x64 languageName: node linkType: hard @@ -3193,9 +3193,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/sunos-x64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/sunos-x64@npm:0.17.19" +"@esbuild/sunos-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/sunos-x64@npm:0.18.20" conditions: os=sunos & cpu=x64 languageName: node linkType: hard @@ -3207,9 +3207,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-arm64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/win32-arm64@npm:0.17.19" +"@esbuild/win32-arm64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/win32-arm64@npm:0.18.20" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard @@ -3221,9 +3221,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-ia32@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/win32-ia32@npm:0.17.19" +"@esbuild/win32-ia32@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/win32-ia32@npm:0.18.20" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard @@ -3235,9 +3235,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-x64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/win32-x64@npm:0.17.19" +"@esbuild/win32-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/win32-x64@npm:0.18.20" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -9708,32 +9708,32 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:~0.17.6": - version: 0.17.19 - resolution: "esbuild@npm:0.17.19" - dependencies: - "@esbuild/android-arm": 0.17.19 - "@esbuild/android-arm64": 0.17.19 - "@esbuild/android-x64": 0.17.19 - "@esbuild/darwin-arm64": 0.17.19 - "@esbuild/darwin-x64": 0.17.19 - "@esbuild/freebsd-arm64": 0.17.19 - "@esbuild/freebsd-x64": 0.17.19 - "@esbuild/linux-arm": 0.17.19 - "@esbuild/linux-arm64": 0.17.19 - "@esbuild/linux-ia32": 0.17.19 - "@esbuild/linux-loong64": 0.17.19 - "@esbuild/linux-mips64el": 0.17.19 - "@esbuild/linux-ppc64": 0.17.19 - "@esbuild/linux-riscv64": 0.17.19 - "@esbuild/linux-s390x": 0.17.19 - "@esbuild/linux-x64": 0.17.19 - "@esbuild/netbsd-x64": 0.17.19 - "@esbuild/openbsd-x64": 0.17.19 - "@esbuild/sunos-x64": 0.17.19 - "@esbuild/win32-arm64": 0.17.19 - "@esbuild/win32-ia32": 0.17.19 - "@esbuild/win32-x64": 0.17.19 +"esbuild@npm:~0.18.20": + version: 0.18.20 + resolution: "esbuild@npm:0.18.20" + dependencies: + "@esbuild/android-arm": 0.18.20 + "@esbuild/android-arm64": 0.18.20 + "@esbuild/android-x64": 0.18.20 + "@esbuild/darwin-arm64": 0.18.20 + "@esbuild/darwin-x64": 0.18.20 + "@esbuild/freebsd-arm64": 0.18.20 + "@esbuild/freebsd-x64": 0.18.20 + "@esbuild/linux-arm": 0.18.20 + "@esbuild/linux-arm64": 0.18.20 + "@esbuild/linux-ia32": 0.18.20 + "@esbuild/linux-loong64": 0.18.20 + "@esbuild/linux-mips64el": 0.18.20 + "@esbuild/linux-ppc64": 0.18.20 + "@esbuild/linux-riscv64": 0.18.20 + "@esbuild/linux-s390x": 0.18.20 + "@esbuild/linux-x64": 0.18.20 + "@esbuild/netbsd-x64": 0.18.20 + "@esbuild/openbsd-x64": 0.18.20 + "@esbuild/sunos-x64": 0.18.20 + "@esbuild/win32-arm64": 0.18.20 + "@esbuild/win32-ia32": 0.18.20 + "@esbuild/win32-x64": 0.18.20 dependenciesMeta: "@esbuild/android-arm": optional: true @@ -9781,7 +9781,7 @@ __metadata: optional: true bin: esbuild: bin/esbuild - checksum: ac11b1a5a6008e4e37ccffbd6c2c054746fc58d0ed4a2f9ee643bd030cfcea9a33a235087bc777def8420f2eaafb3486e76adb7bdb7241a9143b43a69a10afd8 + checksum: 5d253614e50cdb6ec22095afd0c414f15688e7278a7eb4f3720a6dd1306b0909cf431e7b9437a90d065a31b1c57be60130f63fe3e8d0083b588571f31ee6ec7b languageName: node linkType: hard @@ -19833,11 +19833,11 @@ __metadata: linkType: hard "tsx@npm:^3.12.7": - version: 3.12.7 - resolution: "tsx@npm:3.12.7" + version: 3.12.8 + resolution: "tsx@npm:3.12.8" dependencies: "@esbuild-kit/cjs-loader": ^2.4.2 - "@esbuild-kit/core-utils": ^3.0.0 + "@esbuild-kit/core-utils": ^3.2.2 "@esbuild-kit/esm-loader": ^2.5.5 fsevents: ~2.3.2 dependenciesMeta: @@ -19845,7 +19845,7 @@ __metadata: optional: true bin: tsx: dist/cli.js - checksum: ddec149ad263e5c75fc8fde5c6ba7ec2ee390934c0a2e2c23897bacab83bc8c665955a23b608a19c42f49c14a7362cf74ad793b52cc94eda684be5c2c13fdb4d + checksum: b27575672693e648106c0230587b5d4d901f0c714517b173e6b220d9907971f465c46cccfbf59ef68dcc0cdf7b30867b0d08aa1995d28b9ed0a580afe0e22cec languageName: node linkType: hard From 8175224c46f562720e9ef9b1efbe54b33d4a423e Mon Sep 17 00:00:00 2001 From: Sylvia Favello <90116354+sfavello@users.noreply.github.com> Date: Tue, 5 Sep 2023 14:09:32 -0700 Subject: [PATCH 03/18] docs: add in the pull request file to not comment in closed prs (#7592) * update pull_requests.mdx * update docs/contributing/Pull_Requests.mdx * update docs/contributing/Pull_Requests.mdx Co-authored-by: Joshua Chen * update docs/contributing/Pull_Requests.mdx Co-authored-by: Joshua Chen * Update docs/contributing/Pull_Requests.mdx Co-authored-by: Joshua Chen --------- Co-authored-by: Joshua Chen --- docs/contributing/Pull_Requests.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/contributing/Pull_Requests.mdx b/docs/contributing/Pull_Requests.mdx index 6a65284aaa6c..4a6194c64a03 100644 --- a/docs/contributing/Pull_Requests.mdx +++ b/docs/contributing/Pull_Requests.mdx @@ -22,6 +22,8 @@ Please don't: - Comment on an existing PR asking for updates - Reasoning: Your PR hasn't been forgotten! The volunteer maintainers have limited time to work on the project, and they will get to it as soon as they are able. - One exception: if a PR has been blocked on a question to a maintainer for 3 or more months, please ping us - we probably lost track of it. +- Comment on a closed PR + - Reasoning: It is much easier for maintainers to not lose track of things if they are posted as issues. If you think there's a bug in typescript-eslint, the right way to ask is to [file a new issue](https://github.com/typescript-eslint/typescript-eslint/issues/new/choose). The issue templates include helpful & necessary practices such as making sure you're on the latest version of all our packages. You can provide the link to the relevant PR to add more context. ### Raising a PR From 1ed0733c7fea0dcb4f10dc0a54a4dafde57511df Mon Sep 17 00:00:00 2001 From: Brad Zacher Date: Thu, 7 Sep 2023 10:11:52 +0930 Subject: [PATCH 04/18] chore: fix cyclic dependency in repo caused by generate-lib script changes (#7603) --- .github/actions/prepare-install/action.yml | 1 - .github/workflows/ci.yml | 2 +- ...act-split-pane-npm-0.1.92-93dbf51dff.patch | 8 +- .../typescript-npm-5.2.2-01717e9f84.patch | 84 +++++++++++ netlify.toml | 2 +- package.json | 6 +- packages/repo-tools/package.json | 7 +- .../tools => repo-tools/src}/generate-lib.ts | 34 ++++- packages/repo-tools/src/postinstall.mts | 3 - .../typings/typescript.d.ts | 0 .../rule-tester/src/utils/config-validator.ts | 2 +- packages/scope-manager/package.json | 2 - packages/scope-manager/project.json | 4 +- packages/scope-manager/src/lib/base-config.ts | 2 +- .../src/lib/decorators.legacy.ts | 2 +- packages/scope-manager/src/lib/decorators.ts | 2 +- .../scope-manager/src/lib/dom.iterable.ts | 2 +- packages/scope-manager/src/lib/dom.ts | 2 +- .../src/lib/es2015.collection.ts | 2 +- packages/scope-manager/src/lib/es2015.core.ts | 2 +- .../scope-manager/src/lib/es2015.generator.ts | 2 +- .../scope-manager/src/lib/es2015.iterable.ts | 2 +- .../scope-manager/src/lib/es2015.promise.ts | 2 +- .../scope-manager/src/lib/es2015.proxy.ts | 2 +- .../scope-manager/src/lib/es2015.reflect.ts | 2 +- .../scope-manager/src/lib/es2015.symbol.ts | 2 +- .../src/lib/es2015.symbol.wellknown.ts | 2 +- packages/scope-manager/src/lib/es2015.ts | 2 +- .../src/lib/es2016.array.include.ts | 2 +- packages/scope-manager/src/lib/es2016.full.ts | 2 +- packages/scope-manager/src/lib/es2016.ts | 2 +- packages/scope-manager/src/lib/es2017.date.ts | 2 +- packages/scope-manager/src/lib/es2017.full.ts | 2 +- packages/scope-manager/src/lib/es2017.intl.ts | 2 +- .../scope-manager/src/lib/es2017.object.ts | 2 +- .../src/lib/es2017.sharedmemory.ts | 2 +- .../scope-manager/src/lib/es2017.string.ts | 2 +- packages/scope-manager/src/lib/es2017.ts | 2 +- .../src/lib/es2017.typedarrays.ts | 2 +- .../src/lib/es2018.asyncgenerator.ts | 2 +- .../src/lib/es2018.asynciterable.ts | 2 +- packages/scope-manager/src/lib/es2018.full.ts | 2 +- packages/scope-manager/src/lib/es2018.intl.ts | 2 +- .../scope-manager/src/lib/es2018.promise.ts | 2 +- .../scope-manager/src/lib/es2018.regexp.ts | 2 +- packages/scope-manager/src/lib/es2018.ts | 2 +- .../scope-manager/src/lib/es2019.array.ts | 2 +- packages/scope-manager/src/lib/es2019.full.ts | 2 +- packages/scope-manager/src/lib/es2019.intl.ts | 2 +- .../scope-manager/src/lib/es2019.object.ts | 2 +- .../scope-manager/src/lib/es2019.string.ts | 2 +- .../scope-manager/src/lib/es2019.symbol.ts | 2 +- packages/scope-manager/src/lib/es2019.ts | 2 +- .../scope-manager/src/lib/es2020.bigint.ts | 2 +- packages/scope-manager/src/lib/es2020.date.ts | 2 +- packages/scope-manager/src/lib/es2020.full.ts | 2 +- packages/scope-manager/src/lib/es2020.intl.ts | 2 +- .../scope-manager/src/lib/es2020.number.ts | 2 +- .../scope-manager/src/lib/es2020.promise.ts | 2 +- .../src/lib/es2020.sharedmemory.ts | 2 +- .../scope-manager/src/lib/es2020.string.ts | 2 +- .../src/lib/es2020.symbol.wellknown.ts | 2 +- packages/scope-manager/src/lib/es2020.ts | 2 +- packages/scope-manager/src/lib/es2021.full.ts | 2 +- packages/scope-manager/src/lib/es2021.intl.ts | 2 +- .../scope-manager/src/lib/es2021.promise.ts | 2 +- .../scope-manager/src/lib/es2021.string.ts | 2 +- packages/scope-manager/src/lib/es2021.ts | 2 +- .../scope-manager/src/lib/es2021.weakref.ts | 2 +- .../scope-manager/src/lib/es2022.array.ts | 2 +- .../scope-manager/src/lib/es2022.error.ts | 2 +- packages/scope-manager/src/lib/es2022.full.ts | 2 +- packages/scope-manager/src/lib/es2022.intl.ts | 2 +- .../scope-manager/src/lib/es2022.object.ts | 2 +- .../scope-manager/src/lib/es2022.regexp.ts | 2 +- .../src/lib/es2022.sharedmemory.ts | 2 +- .../scope-manager/src/lib/es2022.string.ts | 2 +- packages/scope-manager/src/lib/es2022.ts | 2 +- .../scope-manager/src/lib/es2023.array.ts | 2 +- .../src/lib/es2023.collection.ts | 2 +- packages/scope-manager/src/lib/es2023.full.ts | 2 +- packages/scope-manager/src/lib/es2023.ts | 2 +- packages/scope-manager/src/lib/es5.ts | 2 +- packages/scope-manager/src/lib/es6.ts | 2 +- packages/scope-manager/src/lib/es7.ts | 2 +- .../scope-manager/src/lib/esnext.array.ts | 2 +- .../src/lib/esnext.asynciterable.ts | 2 +- .../scope-manager/src/lib/esnext.bigint.ts | 2 +- .../src/lib/esnext.collection.ts | 2 +- .../src/lib/esnext.decorators.ts | 2 +- .../src/lib/esnext.disposable.ts | 2 +- packages/scope-manager/src/lib/esnext.full.ts | 2 +- packages/scope-manager/src/lib/esnext.intl.ts | 2 +- .../scope-manager/src/lib/esnext.promise.ts | 2 +- .../scope-manager/src/lib/esnext.string.ts | 2 +- .../scope-manager/src/lib/esnext.symbol.ts | 2 +- packages/scope-manager/src/lib/esnext.ts | 2 +- .../scope-manager/src/lib/esnext.weakref.ts | 2 +- packages/scope-manager/src/lib/index.ts | 2 +- packages/scope-manager/src/lib/lib.ts | 2 +- packages/scope-manager/src/lib/scripthost.ts | 2 +- .../src/lib/webworker.importscripts.ts | 2 +- .../src/lib/webworker.iterable.ts | 2 +- packages/scope-manager/src/lib/webworker.ts | 2 +- packages/types/src/lib.ts | 2 +- patches/@microsoft+api-extractor+7.36.1.patch | 13 -- patches/ajv+6.12.6.patch | 13 -- patches/eslint-visitor-keys+3.4.1.patch | 33 ----- yarn.lock | 130 +++++------------- 109 files changed, 256 insertions(+), 272 deletions(-) rename patches/react-split-pane+0.1.92.patch => .yarn/patches/react-split-pane-npm-0.1.92-93dbf51dff.patch (50%) create mode 100644 .yarn/patches/typescript-npm-5.2.2-01717e9f84.patch rename packages/{scope-manager/tools => repo-tools/src}/generate-lib.ts (90%) rename packages/{scope-manager => repo-tools}/typings/typescript.d.ts (100%) delete mode 100644 patches/@microsoft+api-extractor+7.36.1.patch delete mode 100644 patches/ajv+6.12.6.patch delete mode 100644 patches/eslint-visitor-keys+3.4.1.patch diff --git a/.github/actions/prepare-install/action.yml b/.github/actions/prepare-install/action.yml index 4a06baf5a920..4f701841d79e 100644 --- a/.github/actions/prepare-install/action.yml +++ b/.github/actions/prepare-install/action.yml @@ -69,7 +69,6 @@ runs: run: | yarn install --immutable --inline-builds yarn check-clean-workspace-after-install - yarn patch-package env: # CI optimizations. Overrides yarnrc.yml options (or their defaults) in the CI action. YARN_ENABLE_GLOBAL_CACHE: 'false' # Use local cache folder to keep downloaded archives diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 439329472874..faa035748e9f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -263,7 +263,7 @@ jobs: - name: Build website if: github.repository != 'typescript-eslint/typescript-eslint' || github.ref != 'refs/heads/main' - run: NX_VERBOSE_LOGGING=true yarn patch-package && yarn nx build website + run: NX_VERBOSE_LOGGING=true yarn nx build website - name: Install Playwright Browsers run: npx playwright install --with-deps chromium diff --git a/patches/react-split-pane+0.1.92.patch b/.yarn/patches/react-split-pane-npm-0.1.92-93dbf51dff.patch similarity index 50% rename from patches/react-split-pane+0.1.92.patch rename to .yarn/patches/react-split-pane-npm-0.1.92-93dbf51dff.patch index bd6141c8b121..33aeafadbde9 100644 --- a/patches/react-split-pane+0.1.92.patch +++ b/.yarn/patches/react-split-pane-npm-0.1.92-93dbf51dff.patch @@ -1,7 +1,7 @@ -diff --git a/node_modules/react-split-pane/index.d.ts b/node_modules/react-split-pane/index.d.ts -index d116f54..20a132e 100644 ---- a/node_modules/react-split-pane/index.d.ts -+++ b/node_modules/react-split-pane/index.d.ts +diff --git a/index.d.ts b/index.d.ts +index d116f54d6da12d24b48e24ff3636c9066059aa58..20a132e2a8a2bf0b023af87699d6b0703c9b1a1a 100644 +--- a/index.d.ts ++++ b/index.d.ts @@ -6,6 +6,7 @@ export type Split = 'vertical' | 'horizontal'; export type SplitPaneProps = { diff --git a/.yarn/patches/typescript-npm-5.2.2-01717e9f84.patch b/.yarn/patches/typescript-npm-5.2.2-01717e9f84.patch new file mode 100644 index 000000000000..1dda4af6420d --- /dev/null +++ b/.yarn/patches/typescript-npm-5.2.2-01717e9f84.patch @@ -0,0 +1,84 @@ +diff --git a/lib/typescript.d.ts b/lib/typescript.d.ts +index ead6d07d8fb2af6aa74b790c9fd947f1062f6df4..f8dad7f06e74d7cfccfcd8fc9c5c7038a7fe4164 100644 +--- a/lib/typescript.d.ts ++++ b/lib/typescript.d.ts +@@ -371,8 +371,8 @@ declare namespace ts { + JSDocFunctionType = 324, + JSDocVariadicType = 325, + JSDocNamepathType = 326, ++ /** @deprecated This was only added in 4.7 */ + JSDoc = 327, +- /** @deprecated Use SyntaxKind.JSDoc */ + JSDocComment = 327, + JSDocText = 328, + JSDocTypeLiteral = 329, +@@ -738,6 +738,8 @@ declare namespace ts { + readonly name: PropertyName; + readonly questionToken?: QuestionToken; + readonly type?: TypeNode; ++ /** @deprecated removed in 5.0 but we want to keep it for backwards compatibility checks! */ ++ readonly initializer?: Expression | undefined; + } + interface PropertyDeclaration extends ClassElement, JSDocContainer { + readonly kind: SyntaxKind.PropertyDeclaration; +@@ -763,6 +765,10 @@ declare namespace ts { + readonly parent: ObjectLiteralExpression; + readonly name: PropertyName; + readonly initializer: Expression; ++ /** @deprecated removed in 5.0 but we want to keep it for backwards compatibility checks! */ ++ readonly questionToken?: QuestionToken | undefined; ++ /** @deprecated removed in 5.0 but we want to keep it for backwards compatibility checks! */ ++ readonly exclamationToken?: ExclamationToken | undefined; + } + interface ShorthandPropertyAssignment extends ObjectLiteralElement, JSDocContainer { + readonly kind: SyntaxKind.ShorthandPropertyAssignment; +@@ -770,6 +776,12 @@ declare namespace ts { + readonly name: Identifier; + readonly equalsToken?: EqualsToken; + readonly objectAssignmentInitializer?: Expression; ++ /** @deprecated removed in 5.0 but we want to keep it for backwards compatibility checks! */ ++ readonly modifiers?: NodeArray | undefined; ++ /** @deprecated removed in 5.0 but we want to keep it for backwards compatibility checks! */ ++ readonly questionToken?: QuestionToken | undefined; ++ /** @deprecated removed in 5.0 but we want to keep it for backwards compatibility checks! */ ++ readonly exclamationToken?: ExclamationToken | undefined; + } + interface SpreadAssignment extends ObjectLiteralElement, JSDocContainer { + readonly kind: SyntaxKind.SpreadAssignment; +@@ -892,6 +904,8 @@ declare namespace ts { + } + interface FunctionTypeNode extends FunctionOrConstructorTypeNodeBase, LocalsContainer { + readonly kind: SyntaxKind.FunctionType; ++ /** @deprecated removed in 5.0 but we want to keep it for backwards compatibility checks! */ ++ readonly modifiers?: NodeArray | undefined; + } + interface ConstructorTypeNode extends FunctionOrConstructorTypeNodeBase, LocalsContainer { + readonly kind: SyntaxKind.ConstructorType; +@@ -4584,7 +4598,13 @@ declare namespace ts { + function symbolName(symbol: Symbol): string; + function getNameOfJSDocTypedef(declaration: JSDocTypedefTag): Identifier | PrivateIdentifier | undefined; + function getNameOfDeclaration(declaration: Declaration | Expression | undefined): DeclarationName | undefined; ++ /** ++ * @deprecated don't use this directly as it does not exist pre-4.8; instead use getDecorators from `@typescript-eslint/type-utils`. ++ */ + function getDecorators(node: HasDecorators): readonly Decorator[] | undefined; ++ /** ++ * @deprecated don't use this directly as it does not exist pre-4.8; instead use getModifiers from `@typescript-eslint/type-utils`. ++ */ + function getModifiers(node: HasModifiers): readonly Modifier[] | undefined; + /** + * Gets the JSDoc parameter tags for the node if present. +@@ -5110,7 +5130,13 @@ declare namespace ts { + function isModuleName(node: Node): node is ModuleName; + function isBinaryOperatorToken(node: Node): node is BinaryOperatorToken; + function setTextRange(range: T, location: TextRange | undefined): T; ++ /** ++ * @deprecated don't use this directly as it does not exist pre-4.8; instead use getModifiers from `@typescript-eslint/type-utils`. ++ */ + function canHaveModifiers(node: Node): node is HasModifiers; ++ /** ++ * @deprecated don't use this directly as it does not exist pre-4.8; instead use getDecorators from `@typescript-eslint/type-utils`. ++ */ + function canHaveDecorators(node: Node): node is HasDecorators; + /** + * Invokes a callback for each child of the given node. The 'cbNode' callback is invoked for all child nodes diff --git a/netlify.toml b/netlify.toml index 453c97691f9d..c3bbdc311302 100644 --- a/netlify.toml +++ b/netlify.toml @@ -2,7 +2,7 @@ [build] base = "" publish = "packages/website/build" - command = "NX_VERBOSE_LOGGING=true yarn patch-package && yarn nx build website" + command = "NX_VERBOSE_LOGGING=true yarn nx build website" [build.environment] NETLIFY_USE_YARN = "true" # TODO: adjust these once https://github.com/netlify/build-image/issues/612 is resolved diff --git a/package.json b/package.json index 8d4a60a1b1d7..759b61f89f39 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "generate-contributors": "nx run repo-tools:generate-contributors", "generate-sponsors": "nx run repo-tools:generate-sponsors", "generate-website-dts": "nx run website:generate-website-dts", - "generate-lib": "nx run scope-manager:generate-lib", + "generate-lib": "nx run repo-tools:generate-lib", "lint-fix": "yarn lint --fix", "lint-markdown-fix": "yarn lint-markdown --fix", "lint-markdown": "markdownlint \"**/*.md\" --config=.markdownlint.json --ignore-path=.markdownlintignore", @@ -108,7 +108,6 @@ "netlify": "^13.1.9", "nx": "16.7.2", "nx-cloud": "16.4.0-beta.1", - "patch-package": "^8.0.0", "prettier": "^2.8.4", "pretty-format": "^29.6.2", "raw-loader": "^4.0.2", @@ -141,8 +140,9 @@ "jest-resolve": "^29", "jest-util": "^29", "pretty-format": "^29", + "react-split-pane@^0.1.92": "patch:react-split-pane@npm%3A0.1.92#./.yarn/patches/react-split-pane-npm-0.1.92-93dbf51dff.patch", "tsx": "^3.12.7", - "typescript": "5.2.2" + "typescript": "patch:typescript@npm%3A5.2.2#./.yarn/patches/typescript-npm-5.2.2-01717e9f84.patch" }, "packageManager": "yarn@3.6.3" } diff --git a/packages/repo-tools/package.json b/packages/repo-tools/package.json index 2816cd84bb87..811ad1a8fea1 100644 --- a/packages/repo-tools/package.json +++ b/packages/repo-tools/package.json @@ -3,10 +3,11 @@ "version": "6.6.0", "private": true, "scripts": { - "build": "tsc -b tsconfig.build.json", + "//": "NOTE: intentionally no build step in this package", "format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore", "generate-contributors": "tsx ./src/generate-contributors.ts", "generate-sponsors": "tsx ./src/generate-sponsors.ts", + "generate-lib": "tsx ./src/generate-lib.ts", "lint": "nx lint", "postinstall-script": "tsx ./src/postinstall.mts", "test": "jest --coverage", @@ -17,6 +18,8 @@ "cross-fetch": "*", "execa": "*", "prettier": "^2.8.4", - "tmp": "*" + "rimraf": "*", + "tmp": "*", + "typescript": "*" } } diff --git a/packages/scope-manager/tools/generate-lib.ts b/packages/repo-tools/src/generate-lib.ts similarity index 90% rename from packages/scope-manager/tools/generate-lib.ts rename to packages/repo-tools/src/generate-lib.ts index d4572f24d3f7..29cf0536f975 100644 --- a/packages/scope-manager/tools/generate-lib.ts +++ b/packages/repo-tools/src/generate-lib.ts @@ -1,5 +1,13 @@ +import type { + AnalyzeOptions, + ScopeManager, + Variable, +} from '@typescript-eslint/scope-manager'; +import { analyze } from '@typescript-eslint/scope-manager'; import type { TSESTree } from '@typescript-eslint/types'; import { AST_TOKEN_TYPES } from '@typescript-eslint/types'; +import type { TSESTreeOptions } from '@typescript-eslint/typescript-estree'; +import { parse } from '@typescript-eslint/typescript-estree'; import { ESLint } from '@typescript-eslint/utils/ts-eslint'; import * as fs from 'fs'; import * as path from 'path'; @@ -7,8 +15,19 @@ import { format, resolveConfig } from 'prettier'; import { rimraf } from 'rimraf'; import * as ts from 'typescript'; -import type { ScopeManager, Variable } from '../src'; -import { parseAndAnalyze } from '../tests/util/parse'; +function parseAndAnalyze( + code: string, + analyzeOptions: AnalyzeOptions, + parserOptions: TSESTreeOptions, +): { + ast: ReturnType; + scopeManager: ReturnType; +} { + const ast = parse(code, { ...parserOptions }); + const scopeManager = analyze(ast, analyzeOptions); + + return { ast, scopeManager }; +} const libMap = new Map(ts.libMap); // add the "full" libs as well - these are used by the default config resolution system @@ -29,7 +48,7 @@ function addAutoGeneratedComment(code: string[]): string { '// THIS CODE WAS AUTOMATICALLY GENERATED', '// DO NOT EDIT THIS CODE BY HAND', '// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:', - '// npx nx generate-lib @typescript-eslint/scope-manager', + '// npx nx generate-lib @typescript-eslint/repo-tools', '', ...code, ].join('\n'); @@ -45,7 +64,14 @@ const TS_LIB_FOLDER = path.resolve( 'typescript', 'lib', ); -const OUTPUT_FOLDER = path.resolve(__dirname, '..', 'src', 'lib'); +const OUTPUT_FOLDER = path.resolve( + __dirname, + '..', + '..', + 'scope-manager', + 'src', + 'lib', +); const TYPES_FILE = path.resolve( __dirname, '..', diff --git a/packages/repo-tools/src/postinstall.mts b/packages/repo-tools/src/postinstall.mts index 0f54ffe953bd..5facbf0defc9 100644 --- a/packages/repo-tools/src/postinstall.mts +++ b/packages/repo-tools/src/postinstall.mts @@ -27,9 +27,6 @@ void (async function (): Promise { } = await import('@nx/devkit'); process.chdir(workspaceRoot); - // Apply patches to installed node_modules - await $`yarn patch-package`; - // Install git hooks await $`yarn husky install`; diff --git a/packages/scope-manager/typings/typescript.d.ts b/packages/repo-tools/typings/typescript.d.ts similarity index 100% rename from packages/scope-manager/typings/typescript.d.ts rename to packages/repo-tools/typings/typescript.d.ts diff --git a/packages/rule-tester/src/utils/config-validator.ts b/packages/rule-tester/src/utils/config-validator.ts index 3177b91b2a50..34b65987444c 100644 --- a/packages/rule-tester/src/utils/config-validator.ts +++ b/packages/rule-tester/src/utils/config-validator.ts @@ -76,7 +76,7 @@ function validateRuleSchema( const validateRule = ruleValidators.get(rule); if (validateRule) { - validateRule(localOptions); + void validateRule(localOptions); if (validateRule.errors) { throw new Error( validateRule.errors diff --git a/packages/scope-manager/package.json b/packages/scope-manager/package.json index 0136e6a26604..53f8794a4c55 100644 --- a/packages/scope-manager/package.json +++ b/packages/scope-manager/package.json @@ -53,9 +53,7 @@ "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", - "prettier": "^2.8.4", "pretty-format": "*", - "rimraf": "*", "typescript": "*" }, "funding": { diff --git a/packages/scope-manager/project.json b/packages/scope-manager/project.json index 70170c34455d..241fc7de38dc 100644 --- a/packages/scope-manager/project.json +++ b/packages/scope-manager/project.json @@ -69,8 +69,8 @@ "executor": "nx:run-commands", "options": { "parallel": false, - "cwd": "packages/scope-manager", - "commands": ["yarn tsx tools/generate-lib.ts"] + "cwd": "packages/repo-tools", + "commands": ["yarn generate-lib"] } } }, diff --git a/packages/scope-manager/src/lib/base-config.ts b/packages/scope-manager/src/lib/base-config.ts index fc07e10ae739..5cddcc63ef2c 100644 --- a/packages/scope-manager/src/lib/base-config.ts +++ b/packages/scope-manager/src/lib/base-config.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools export const TYPE = Object.freeze({ eslintImplicitGlobalSetting: 'readonly', diff --git a/packages/scope-manager/src/lib/decorators.legacy.ts b/packages/scope-manager/src/lib/decorators.legacy.ts index 8a02028b68e9..7de62cc0306c 100644 --- a/packages/scope-manager/src/lib/decorators.legacy.ts +++ b/packages/scope-manager/src/lib/decorators.legacy.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/decorators.ts b/packages/scope-manager/src/lib/decorators.ts index 958281bea4c2..39f6e340f587 100644 --- a/packages/scope-manager/src/lib/decorators.ts +++ b/packages/scope-manager/src/lib/decorators.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/dom.iterable.ts b/packages/scope-manager/src/lib/dom.iterable.ts index 594de3c38f14..bc90eb72ae37 100644 --- a/packages/scope-manager/src/lib/dom.iterable.ts +++ b/packages/scope-manager/src/lib/dom.iterable.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/dom.ts b/packages/scope-manager/src/lib/dom.ts index 462c92498668..9de284e8bb5a 100644 --- a/packages/scope-manager/src/lib/dom.ts +++ b/packages/scope-manager/src/lib/dom.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE, TYPE_VALUE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2015.collection.ts b/packages/scope-manager/src/lib/es2015.collection.ts index 51386ebcc748..7cf2f9c88265 100644 --- a/packages/scope-manager/src/lib/es2015.collection.ts +++ b/packages/scope-manager/src/lib/es2015.collection.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE, TYPE_VALUE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2015.core.ts b/packages/scope-manager/src/lib/es2015.core.ts index f9475d7db1d6..00b082e01bac 100644 --- a/packages/scope-manager/src/lib/es2015.core.ts +++ b/packages/scope-manager/src/lib/es2015.core.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2015.generator.ts b/packages/scope-manager/src/lib/es2015.generator.ts index 90d26e1ea0de..c0cf6987e229 100644 --- a/packages/scope-manager/src/lib/es2015.generator.ts +++ b/packages/scope-manager/src/lib/es2015.generator.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2015.iterable.ts b/packages/scope-manager/src/lib/es2015.iterable.ts index 2ab60a44b842..bcd5ff9c020a 100644 --- a/packages/scope-manager/src/lib/es2015.iterable.ts +++ b/packages/scope-manager/src/lib/es2015.iterable.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2015.promise.ts b/packages/scope-manager/src/lib/es2015.promise.ts index a3896e0f46f6..c1fbfec94e58 100644 --- a/packages/scope-manager/src/lib/es2015.promise.ts +++ b/packages/scope-manager/src/lib/es2015.promise.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2015.proxy.ts b/packages/scope-manager/src/lib/es2015.proxy.ts index 2dbc6e222639..9028a3338a3d 100644 --- a/packages/scope-manager/src/lib/es2015.proxy.ts +++ b/packages/scope-manager/src/lib/es2015.proxy.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2015.reflect.ts b/packages/scope-manager/src/lib/es2015.reflect.ts index dcc2a5d910bf..0e3ec565ac26 100644 --- a/packages/scope-manager/src/lib/es2015.reflect.ts +++ b/packages/scope-manager/src/lib/es2015.reflect.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE_VALUE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2015.symbol.ts b/packages/scope-manager/src/lib/es2015.symbol.ts index eef09036f87d..57ca35e8136d 100644 --- a/packages/scope-manager/src/lib/es2015.symbol.ts +++ b/packages/scope-manager/src/lib/es2015.symbol.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2015.symbol.wellknown.ts b/packages/scope-manager/src/lib/es2015.symbol.wellknown.ts index 94e522cfe03d..0ec4b24828b2 100644 --- a/packages/scope-manager/src/lib/es2015.symbol.wellknown.ts +++ b/packages/scope-manager/src/lib/es2015.symbol.wellknown.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2015.ts b/packages/scope-manager/src/lib/es2015.ts index f6a8aa8ab73e..2dadc8068869 100644 --- a/packages/scope-manager/src/lib/es2015.ts +++ b/packages/scope-manager/src/lib/es2015.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { es5 } from './es5'; diff --git a/packages/scope-manager/src/lib/es2016.array.include.ts b/packages/scope-manager/src/lib/es2016.array.include.ts index 17c927bd467c..cc80203e0166 100644 --- a/packages/scope-manager/src/lib/es2016.array.include.ts +++ b/packages/scope-manager/src/lib/es2016.array.include.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2016.full.ts b/packages/scope-manager/src/lib/es2016.full.ts index e7fb9802cb76..2e581c468efd 100644 --- a/packages/scope-manager/src/lib/es2016.full.ts +++ b/packages/scope-manager/src/lib/es2016.full.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { dom } from './dom'; diff --git a/packages/scope-manager/src/lib/es2016.ts b/packages/scope-manager/src/lib/es2016.ts index f00abac6c4f3..f7c1e70b49f3 100644 --- a/packages/scope-manager/src/lib/es2016.ts +++ b/packages/scope-manager/src/lib/es2016.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { es2015 } from './es2015'; diff --git a/packages/scope-manager/src/lib/es2017.date.ts b/packages/scope-manager/src/lib/es2017.date.ts index 031a79e51fcb..57909fab226c 100644 --- a/packages/scope-manager/src/lib/es2017.date.ts +++ b/packages/scope-manager/src/lib/es2017.date.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2017.full.ts b/packages/scope-manager/src/lib/es2017.full.ts index a1d8c386bb42..b1acbdb490bb 100644 --- a/packages/scope-manager/src/lib/es2017.full.ts +++ b/packages/scope-manager/src/lib/es2017.full.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { dom } from './dom'; diff --git a/packages/scope-manager/src/lib/es2017.intl.ts b/packages/scope-manager/src/lib/es2017.intl.ts index b8f1325672e9..07aac07da88b 100644 --- a/packages/scope-manager/src/lib/es2017.intl.ts +++ b/packages/scope-manager/src/lib/es2017.intl.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE_VALUE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2017.object.ts b/packages/scope-manager/src/lib/es2017.object.ts index 66bea4e7d3f6..f03fec51867a 100644 --- a/packages/scope-manager/src/lib/es2017.object.ts +++ b/packages/scope-manager/src/lib/es2017.object.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2017.sharedmemory.ts b/packages/scope-manager/src/lib/es2017.sharedmemory.ts index 998d41493fd5..a15d17f2d0c2 100644 --- a/packages/scope-manager/src/lib/es2017.sharedmemory.ts +++ b/packages/scope-manager/src/lib/es2017.sharedmemory.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE, TYPE_VALUE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2017.string.ts b/packages/scope-manager/src/lib/es2017.string.ts index 64ec52f30745..7801a5b8cb8b 100644 --- a/packages/scope-manager/src/lib/es2017.string.ts +++ b/packages/scope-manager/src/lib/es2017.string.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2017.ts b/packages/scope-manager/src/lib/es2017.ts index ec07b52c5a44..4cb54ccedab7 100644 --- a/packages/scope-manager/src/lib/es2017.ts +++ b/packages/scope-manager/src/lib/es2017.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { es2016 } from './es2016'; diff --git a/packages/scope-manager/src/lib/es2017.typedarrays.ts b/packages/scope-manager/src/lib/es2017.typedarrays.ts index 8fdb9a962812..28676745c72b 100644 --- a/packages/scope-manager/src/lib/es2017.typedarrays.ts +++ b/packages/scope-manager/src/lib/es2017.typedarrays.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2018.asyncgenerator.ts b/packages/scope-manager/src/lib/es2018.asyncgenerator.ts index 5af8bd0a6630..49a46583ba16 100644 --- a/packages/scope-manager/src/lib/es2018.asyncgenerator.ts +++ b/packages/scope-manager/src/lib/es2018.asyncgenerator.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2018.asynciterable.ts b/packages/scope-manager/src/lib/es2018.asynciterable.ts index 5d4e373ef768..0e848a0667c0 100644 --- a/packages/scope-manager/src/lib/es2018.asynciterable.ts +++ b/packages/scope-manager/src/lib/es2018.asynciterable.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2018.full.ts b/packages/scope-manager/src/lib/es2018.full.ts index 802e30c6659e..e6fd98900cd0 100644 --- a/packages/scope-manager/src/lib/es2018.full.ts +++ b/packages/scope-manager/src/lib/es2018.full.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { dom } from './dom'; diff --git a/packages/scope-manager/src/lib/es2018.intl.ts b/packages/scope-manager/src/lib/es2018.intl.ts index 9736c0ba48a0..4e754f6e50ad 100644 --- a/packages/scope-manager/src/lib/es2018.intl.ts +++ b/packages/scope-manager/src/lib/es2018.intl.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE_VALUE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2018.promise.ts b/packages/scope-manager/src/lib/es2018.promise.ts index ac1e02d8a053..e11969624fe2 100644 --- a/packages/scope-manager/src/lib/es2018.promise.ts +++ b/packages/scope-manager/src/lib/es2018.promise.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2018.regexp.ts b/packages/scope-manager/src/lib/es2018.regexp.ts index 0fdf10f793a3..a857713ac3fd 100644 --- a/packages/scope-manager/src/lib/es2018.regexp.ts +++ b/packages/scope-manager/src/lib/es2018.regexp.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2018.ts b/packages/scope-manager/src/lib/es2018.ts index d79390a3b87a..a66c11b7c1be 100644 --- a/packages/scope-manager/src/lib/es2018.ts +++ b/packages/scope-manager/src/lib/es2018.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { es2017 } from './es2017'; diff --git a/packages/scope-manager/src/lib/es2019.array.ts b/packages/scope-manager/src/lib/es2019.array.ts index b682bb044575..81892263b91c 100644 --- a/packages/scope-manager/src/lib/es2019.array.ts +++ b/packages/scope-manager/src/lib/es2019.array.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2019.full.ts b/packages/scope-manager/src/lib/es2019.full.ts index 8cee3178bc68..6e1221c8c99c 100644 --- a/packages/scope-manager/src/lib/es2019.full.ts +++ b/packages/scope-manager/src/lib/es2019.full.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { dom } from './dom'; diff --git a/packages/scope-manager/src/lib/es2019.intl.ts b/packages/scope-manager/src/lib/es2019.intl.ts index 64b46f40ebbc..b57367b283ef 100644 --- a/packages/scope-manager/src/lib/es2019.intl.ts +++ b/packages/scope-manager/src/lib/es2019.intl.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE_VALUE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2019.object.ts b/packages/scope-manager/src/lib/es2019.object.ts index f1f113ed54d5..554856745231 100644 --- a/packages/scope-manager/src/lib/es2019.object.ts +++ b/packages/scope-manager/src/lib/es2019.object.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2019.string.ts b/packages/scope-manager/src/lib/es2019.string.ts index eae2a44d3761..9db6724bf67d 100644 --- a/packages/scope-manager/src/lib/es2019.string.ts +++ b/packages/scope-manager/src/lib/es2019.string.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2019.symbol.ts b/packages/scope-manager/src/lib/es2019.symbol.ts index b39b41add7a1..409a183ac6ea 100644 --- a/packages/scope-manager/src/lib/es2019.symbol.ts +++ b/packages/scope-manager/src/lib/es2019.symbol.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2019.ts b/packages/scope-manager/src/lib/es2019.ts index cd6d33c1f5d7..c73934f6a615 100644 --- a/packages/scope-manager/src/lib/es2019.ts +++ b/packages/scope-manager/src/lib/es2019.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { es2018 } from './es2018'; diff --git a/packages/scope-manager/src/lib/es2020.bigint.ts b/packages/scope-manager/src/lib/es2020.bigint.ts index 52fbba1ca2ea..74c0d9a026fb 100644 --- a/packages/scope-manager/src/lib/es2020.bigint.ts +++ b/packages/scope-manager/src/lib/es2020.bigint.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE, TYPE_VALUE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2020.date.ts b/packages/scope-manager/src/lib/es2020.date.ts index b4c3d319deb3..ec3fab0a332f 100644 --- a/packages/scope-manager/src/lib/es2020.date.ts +++ b/packages/scope-manager/src/lib/es2020.date.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2020.full.ts b/packages/scope-manager/src/lib/es2020.full.ts index 1de20eaecc4e..3a981daa631b 100644 --- a/packages/scope-manager/src/lib/es2020.full.ts +++ b/packages/scope-manager/src/lib/es2020.full.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { dom } from './dom'; diff --git a/packages/scope-manager/src/lib/es2020.intl.ts b/packages/scope-manager/src/lib/es2020.intl.ts index 2866dde791e8..6798ddc65198 100644 --- a/packages/scope-manager/src/lib/es2020.intl.ts +++ b/packages/scope-manager/src/lib/es2020.intl.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE_VALUE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2020.number.ts b/packages/scope-manager/src/lib/es2020.number.ts index 445b60733640..60f268223ab7 100644 --- a/packages/scope-manager/src/lib/es2020.number.ts +++ b/packages/scope-manager/src/lib/es2020.number.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2020.promise.ts b/packages/scope-manager/src/lib/es2020.promise.ts index 0352586806d4..90797af05e2b 100644 --- a/packages/scope-manager/src/lib/es2020.promise.ts +++ b/packages/scope-manager/src/lib/es2020.promise.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2020.sharedmemory.ts b/packages/scope-manager/src/lib/es2020.sharedmemory.ts index 180e291c0cc2..11ea68fc80ef 100644 --- a/packages/scope-manager/src/lib/es2020.sharedmemory.ts +++ b/packages/scope-manager/src/lib/es2020.sharedmemory.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2020.string.ts b/packages/scope-manager/src/lib/es2020.string.ts index ef0a81e1ca87..f1859aea8092 100644 --- a/packages/scope-manager/src/lib/es2020.string.ts +++ b/packages/scope-manager/src/lib/es2020.string.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2020.symbol.wellknown.ts b/packages/scope-manager/src/lib/es2020.symbol.wellknown.ts index 1e1047000322..ad44cc116b96 100644 --- a/packages/scope-manager/src/lib/es2020.symbol.wellknown.ts +++ b/packages/scope-manager/src/lib/es2020.symbol.wellknown.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2020.ts b/packages/scope-manager/src/lib/es2020.ts index c6b1140596ba..afbe337e7034 100644 --- a/packages/scope-manager/src/lib/es2020.ts +++ b/packages/scope-manager/src/lib/es2020.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { es2019 } from './es2019'; diff --git a/packages/scope-manager/src/lib/es2021.full.ts b/packages/scope-manager/src/lib/es2021.full.ts index e45a862ff2bd..2124a9e4b2e4 100644 --- a/packages/scope-manager/src/lib/es2021.full.ts +++ b/packages/scope-manager/src/lib/es2021.full.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { dom } from './dom'; diff --git a/packages/scope-manager/src/lib/es2021.intl.ts b/packages/scope-manager/src/lib/es2021.intl.ts index e8cebf8ed078..75ffddfb3b66 100644 --- a/packages/scope-manager/src/lib/es2021.intl.ts +++ b/packages/scope-manager/src/lib/es2021.intl.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE_VALUE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2021.promise.ts b/packages/scope-manager/src/lib/es2021.promise.ts index 20d1f1b313cc..864075c0a7c4 100644 --- a/packages/scope-manager/src/lib/es2021.promise.ts +++ b/packages/scope-manager/src/lib/es2021.promise.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE, TYPE_VALUE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2021.string.ts b/packages/scope-manager/src/lib/es2021.string.ts index 8b7aa25c5a5c..f070080635bc 100644 --- a/packages/scope-manager/src/lib/es2021.string.ts +++ b/packages/scope-manager/src/lib/es2021.string.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2021.ts b/packages/scope-manager/src/lib/es2021.ts index c54cfc31ccbd..3b78422f2b49 100644 --- a/packages/scope-manager/src/lib/es2021.ts +++ b/packages/scope-manager/src/lib/es2021.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { es2020 } from './es2020'; diff --git a/packages/scope-manager/src/lib/es2021.weakref.ts b/packages/scope-manager/src/lib/es2021.weakref.ts index a65c90a8058b..629448a80e79 100644 --- a/packages/scope-manager/src/lib/es2021.weakref.ts +++ b/packages/scope-manager/src/lib/es2021.weakref.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE, TYPE_VALUE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2022.array.ts b/packages/scope-manager/src/lib/es2022.array.ts index 3927f26851e2..bb43815361a5 100644 --- a/packages/scope-manager/src/lib/es2022.array.ts +++ b/packages/scope-manager/src/lib/es2022.array.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2022.error.ts b/packages/scope-manager/src/lib/es2022.error.ts index 282f66648bb4..5d51cfa1285b 100644 --- a/packages/scope-manager/src/lib/es2022.error.ts +++ b/packages/scope-manager/src/lib/es2022.error.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2022.full.ts b/packages/scope-manager/src/lib/es2022.full.ts index 1cf84cd17eb7..c057d7a7a6d4 100644 --- a/packages/scope-manager/src/lib/es2022.full.ts +++ b/packages/scope-manager/src/lib/es2022.full.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { dom } from './dom'; diff --git a/packages/scope-manager/src/lib/es2022.intl.ts b/packages/scope-manager/src/lib/es2022.intl.ts index 22c7fc5694df..b29caf36535c 100644 --- a/packages/scope-manager/src/lib/es2022.intl.ts +++ b/packages/scope-manager/src/lib/es2022.intl.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE_VALUE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2022.object.ts b/packages/scope-manager/src/lib/es2022.object.ts index ea209894d13d..2d8e8dfc74a8 100644 --- a/packages/scope-manager/src/lib/es2022.object.ts +++ b/packages/scope-manager/src/lib/es2022.object.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2022.regexp.ts b/packages/scope-manager/src/lib/es2022.regexp.ts index 85998ffe3682..3fe5cd6a7b4b 100644 --- a/packages/scope-manager/src/lib/es2022.regexp.ts +++ b/packages/scope-manager/src/lib/es2022.regexp.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2022.sharedmemory.ts b/packages/scope-manager/src/lib/es2022.sharedmemory.ts index 24d82d609120..629e02df2f1f 100644 --- a/packages/scope-manager/src/lib/es2022.sharedmemory.ts +++ b/packages/scope-manager/src/lib/es2022.sharedmemory.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2022.string.ts b/packages/scope-manager/src/lib/es2022.string.ts index 8cd490c9bc54..6b4fca10e2af 100644 --- a/packages/scope-manager/src/lib/es2022.string.ts +++ b/packages/scope-manager/src/lib/es2022.string.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2022.ts b/packages/scope-manager/src/lib/es2022.ts index 1e5eb867a2b6..867829a868ee 100644 --- a/packages/scope-manager/src/lib/es2022.ts +++ b/packages/scope-manager/src/lib/es2022.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { es2021 } from './es2021'; diff --git a/packages/scope-manager/src/lib/es2023.array.ts b/packages/scope-manager/src/lib/es2023.array.ts index 029b058a8cdd..1b56c01f62f1 100644 --- a/packages/scope-manager/src/lib/es2023.array.ts +++ b/packages/scope-manager/src/lib/es2023.array.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2023.collection.ts b/packages/scope-manager/src/lib/es2023.collection.ts index 12ef36c331b9..722e022a03d5 100644 --- a/packages/scope-manager/src/lib/es2023.collection.ts +++ b/packages/scope-manager/src/lib/es2023.collection.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es2023.full.ts b/packages/scope-manager/src/lib/es2023.full.ts index b8a3c9310b6e..deb8ffda3034 100644 --- a/packages/scope-manager/src/lib/es2023.full.ts +++ b/packages/scope-manager/src/lib/es2023.full.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { dom } from './dom'; diff --git a/packages/scope-manager/src/lib/es2023.ts b/packages/scope-manager/src/lib/es2023.ts index a3da668dd598..23716a9f6932 100644 --- a/packages/scope-manager/src/lib/es2023.ts +++ b/packages/scope-manager/src/lib/es2023.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { es2022 } from './es2022'; diff --git a/packages/scope-manager/src/lib/es5.ts b/packages/scope-manager/src/lib/es5.ts index 9be707e1ff03..9a3ba7093f11 100644 --- a/packages/scope-manager/src/lib/es5.ts +++ b/packages/scope-manager/src/lib/es5.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE, TYPE_VALUE } from './base-config'; diff --git a/packages/scope-manager/src/lib/es6.ts b/packages/scope-manager/src/lib/es6.ts index 12bf80e84c90..456bdf502833 100644 --- a/packages/scope-manager/src/lib/es6.ts +++ b/packages/scope-manager/src/lib/es6.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { es5 } from './es5'; diff --git a/packages/scope-manager/src/lib/es7.ts b/packages/scope-manager/src/lib/es7.ts index e79a1dd39c78..fc847fbc1bc2 100644 --- a/packages/scope-manager/src/lib/es7.ts +++ b/packages/scope-manager/src/lib/es7.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { es2015 } from './es2015'; diff --git a/packages/scope-manager/src/lib/esnext.array.ts b/packages/scope-manager/src/lib/esnext.array.ts index e7d9824cf8c4..bf35c5046ad9 100644 --- a/packages/scope-manager/src/lib/esnext.array.ts +++ b/packages/scope-manager/src/lib/esnext.array.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/esnext.asynciterable.ts b/packages/scope-manager/src/lib/esnext.asynciterable.ts index 2479b1509049..01a2e0a91b16 100644 --- a/packages/scope-manager/src/lib/esnext.asynciterable.ts +++ b/packages/scope-manager/src/lib/esnext.asynciterable.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/esnext.bigint.ts b/packages/scope-manager/src/lib/esnext.bigint.ts index ccd2ae93293d..242cca6f184c 100644 --- a/packages/scope-manager/src/lib/esnext.bigint.ts +++ b/packages/scope-manager/src/lib/esnext.bigint.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE, TYPE_VALUE } from './base-config'; diff --git a/packages/scope-manager/src/lib/esnext.collection.ts b/packages/scope-manager/src/lib/esnext.collection.ts index 2b5c49b7aebb..653ce9aa47b5 100644 --- a/packages/scope-manager/src/lib/esnext.collection.ts +++ b/packages/scope-manager/src/lib/esnext.collection.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/esnext.decorators.ts b/packages/scope-manager/src/lib/esnext.decorators.ts index 5a5a5f93bc22..32cc0bc87f12 100644 --- a/packages/scope-manager/src/lib/esnext.decorators.ts +++ b/packages/scope-manager/src/lib/esnext.decorators.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/esnext.disposable.ts b/packages/scope-manager/src/lib/esnext.disposable.ts index 9bcaa62ec525..c09156e8fd73 100644 --- a/packages/scope-manager/src/lib/esnext.disposable.ts +++ b/packages/scope-manager/src/lib/esnext.disposable.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE, TYPE_VALUE } from './base-config'; diff --git a/packages/scope-manager/src/lib/esnext.full.ts b/packages/scope-manager/src/lib/esnext.full.ts index 2bae36c386e6..82bb2b9a2d42 100644 --- a/packages/scope-manager/src/lib/esnext.full.ts +++ b/packages/scope-manager/src/lib/esnext.full.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { dom } from './dom'; diff --git a/packages/scope-manager/src/lib/esnext.intl.ts b/packages/scope-manager/src/lib/esnext.intl.ts index 35c7ef82ddb1..f3cdf620159b 100644 --- a/packages/scope-manager/src/lib/esnext.intl.ts +++ b/packages/scope-manager/src/lib/esnext.intl.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE_VALUE } from './base-config'; diff --git a/packages/scope-manager/src/lib/esnext.promise.ts b/packages/scope-manager/src/lib/esnext.promise.ts index 08c9e142841e..b7a24fe95a96 100644 --- a/packages/scope-manager/src/lib/esnext.promise.ts +++ b/packages/scope-manager/src/lib/esnext.promise.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE, TYPE_VALUE } from './base-config'; diff --git a/packages/scope-manager/src/lib/esnext.string.ts b/packages/scope-manager/src/lib/esnext.string.ts index d0bacb659a4d..4e2f6456fe6e 100644 --- a/packages/scope-manager/src/lib/esnext.string.ts +++ b/packages/scope-manager/src/lib/esnext.string.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/esnext.symbol.ts b/packages/scope-manager/src/lib/esnext.symbol.ts index fb16e1cb55a2..e8cf2498aa53 100644 --- a/packages/scope-manager/src/lib/esnext.symbol.ts +++ b/packages/scope-manager/src/lib/esnext.symbol.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/esnext.ts b/packages/scope-manager/src/lib/esnext.ts index a2498b34c5a6..127ed8f614f3 100644 --- a/packages/scope-manager/src/lib/esnext.ts +++ b/packages/scope-manager/src/lib/esnext.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { es2023 } from './es2023'; diff --git a/packages/scope-manager/src/lib/esnext.weakref.ts b/packages/scope-manager/src/lib/esnext.weakref.ts index 9a7df1c6d58c..62f715b59520 100644 --- a/packages/scope-manager/src/lib/esnext.weakref.ts +++ b/packages/scope-manager/src/lib/esnext.weakref.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE, TYPE_VALUE } from './base-config'; diff --git a/packages/scope-manager/src/lib/index.ts b/packages/scope-manager/src/lib/index.ts index b3d4ab1a78f3..334ea45f4d35 100644 --- a/packages/scope-manager/src/lib/index.ts +++ b/packages/scope-manager/src/lib/index.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import { decorators } from './decorators'; import { decorators_legacy } from './decorators.legacy'; diff --git a/packages/scope-manager/src/lib/lib.ts b/packages/scope-manager/src/lib/lib.ts index 4ec72e9e80bc..72f28e2cf1a3 100644 --- a/packages/scope-manager/src/lib/lib.ts +++ b/packages/scope-manager/src/lib/lib.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { dom } from './dom'; diff --git a/packages/scope-manager/src/lib/scripthost.ts b/packages/scope-manager/src/lib/scripthost.ts index cf802a3abad2..79eeb558a3cc 100644 --- a/packages/scope-manager/src/lib/scripthost.ts +++ b/packages/scope-manager/src/lib/scripthost.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE, TYPE_VALUE } from './base-config'; diff --git a/packages/scope-manager/src/lib/webworker.importscripts.ts b/packages/scope-manager/src/lib/webworker.importscripts.ts index f7f1cb026bce..73ac6c068e5b 100644 --- a/packages/scope-manager/src/lib/webworker.importscripts.ts +++ b/packages/scope-manager/src/lib/webworker.importscripts.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; diff --git a/packages/scope-manager/src/lib/webworker.iterable.ts b/packages/scope-manager/src/lib/webworker.iterable.ts index 7bdb8cf82a20..d3eebd1a92c6 100644 --- a/packages/scope-manager/src/lib/webworker.iterable.ts +++ b/packages/scope-manager/src/lib/webworker.iterable.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE } from './base-config'; diff --git a/packages/scope-manager/src/lib/webworker.ts b/packages/scope-manager/src/lib/webworker.ts index bec9a0f3f3bc..3877f8645ca9 100644 --- a/packages/scope-manager/src/lib/webworker.ts +++ b/packages/scope-manager/src/lib/webworker.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools import type { ImplicitLibVariableOptions } from '../variable'; import { TYPE, TYPE_VALUE } from './base-config'; diff --git a/packages/types/src/lib.ts b/packages/types/src/lib.ts index 6589a6b1a6e9..52cd5a108fbd 100644 --- a/packages/types/src/lib.ts +++ b/packages/types/src/lib.ts @@ -1,7 +1,7 @@ // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE: -// npx nx generate-lib @typescript-eslint/scope-manager +// npx nx generate-lib @typescript-eslint/repo-tools type Lib = | 'es5' diff --git a/patches/@microsoft+api-extractor+7.36.1.patch b/patches/@microsoft+api-extractor+7.36.1.patch deleted file mode 100644 index b1a7e6055a6a..000000000000 --- a/patches/@microsoft+api-extractor+7.36.1.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/node_modules/@microsoft/api-extractor/lib/api/ExtractorConfig.js b/node_modules/@microsoft/api-extractor/lib/api/ExtractorConfig.js -index 31b46f8..e7081c6 100644 ---- a/node_modules/@microsoft/api-extractor/lib/api/ExtractorConfig.js -+++ b/node_modules/@microsoft/api-extractor/lib/api/ExtractorConfig.js -@@ -668,6 +668,6 @@ ExtractorConfig.FILENAME = 'api-extractor.json'; - */ - ExtractorConfig._tsdocBaseFilePath = path.resolve(__dirname, '../../extends/tsdoc-base.json'); - ExtractorConfig._defaultConfig = node_core_library_1.JsonFile.load(path.join(__dirname, '../schemas/api-extractor-defaults.json')); --ExtractorConfig._declarationFileExtensionRegExp = /\.d\.ts$/i; -+ExtractorConfig._declarationFileExtensionRegExp = /\.d\.(c|m)?ts$/i; - exports.ExtractorConfig = ExtractorConfig; - //# sourceMappingURL=ExtractorConfig.js.map -\ No newline at end of file diff --git a/patches/ajv+6.12.6.patch b/patches/ajv+6.12.6.patch deleted file mode 100644 index 43b89b3f40a1..000000000000 --- a/patches/ajv+6.12.6.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/node_modules/ajv/lib/ajv.d.ts b/node_modules/ajv/lib/ajv.d.ts -index 078364d..21cf7bf 100644 ---- a/node_modules/ajv/lib/ajv.d.ts -+++ b/node_modules/ajv/lib/ajv.d.ts -@@ -153,7 +153,7 @@ declare namespace ajv { - parentData?: object | Array, - parentDataProperty?: string | number, - rootData?: object | Array -- ): boolean | PromiseLike; -+ ): boolean; - schema?: object | boolean; - errors?: null | Array; - refs?: object; diff --git a/patches/eslint-visitor-keys+3.4.1.patch b/patches/eslint-visitor-keys+3.4.1.patch deleted file mode 100644 index c4bcaea3173a..000000000000 --- a/patches/eslint-visitor-keys+3.4.1.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff --git a/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.d.cts b/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.d.cts -new file mode 100644 -index 0000000..5295c19 ---- /dev/null -+++ b/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.d.cts -@@ -0,0 +1,27 @@ -+type VisitorKeys$1 = { -+ readonly [type: string]: readonly string[]; -+}; -+/** -+* @typedef {{ readonly [type: string]: ReadonlyArray }} VisitorKeys -+*/ -+/** -+* @type {VisitorKeys} -+*/ -+declare const KEYS: VisitorKeys$1; -+ -+/** -+* Get visitor keys of a given node. -+* @param {object} node The AST node to get keys. -+* @returns {readonly string[]} Visitor keys of the node. -+*/ -+declare function getKeys(node: object): readonly string[]; -+/** -+* Make the union set with `KEYS` and given keys. -+* @param {VisitorKeys} additionalKeys The additional keys. -+* @returns {VisitorKeys} The union set. -+*/ -+declare function unionWith(additionalKeys: VisitorKeys): VisitorKeys; -+ -+type VisitorKeys = VisitorKeys$1; -+ -+export { KEYS, VisitorKeys, getKeys, unionWith }; diff --git a/yarn.lock b/yarn.lock index eb2de39e62f1..e9c40d7fa082 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5854,7 +5854,9 @@ __metadata: cross-fetch: "*" execa: "*" prettier: ^2.8.4 + rimraf: "*" tmp: "*" + typescript: "*" languageName: unknown linkType: soft @@ -5901,9 +5903,7 @@ __metadata: glob: "*" jest-specific-snapshot: "*" make-dir: "*" - prettier: ^2.8.4 pretty-format: "*" - rimraf: "*" typescript: "*" languageName: unknown linkType: soft @@ -6019,7 +6019,6 @@ __metadata: netlify: ^13.1.9 nx: 16.7.2 nx-cloud: 16.4.0-beta.1 - patch-package: ^8.0.0 prettier: ^2.8.4 pretty-format: ^29.6.2 raw-loader: ^4.0.2 @@ -7740,7 +7739,7 @@ __metadata: languageName: node linkType: hard -"ci-info@npm:^3.2.0, ci-info@npm:^3.6.1, ci-info@npm:^3.7.0, ci-info@npm:^3.8.0": +"ci-info@npm:^3.2.0, ci-info@npm:^3.6.1, ci-info@npm:^3.8.0": version: 3.8.0 resolution: "ci-info@npm:3.8.0" checksum: d0a4d3160497cae54294974a7246202244fff031b0a6ea20dd57b10ec510aa17399c41a1b0982142c105f3255aff2173e5c0dd7302ee1b2f28ba3debda375098 @@ -10746,15 +10745,6 @@ __metadata: languageName: node linkType: hard -"find-yarn-workspace-root@npm:^2.0.0": - version: 2.0.0 - resolution: "find-yarn-workspace-root@npm:2.0.0" - dependencies: - micromatch: ^4.0.2 - checksum: fa5ca8f9d08fe7a54ce7c0a5931ff9b7e36f9ee7b9475fb13752bcea80ec6b5f180fa5102d60b376d5526ce924ea3fc6b19301262efa0a5d248dd710f3644242 - languageName: node - linkType: hard - "flat-cache@npm:^3.0.4": version: 3.0.4 resolution: "flat-cache@npm:3.0.4" @@ -12822,7 +12812,7 @@ __metadata: languageName: node linkType: hard -"is-wsl@npm:^2.1.1, is-wsl@npm:^2.2.0": +"is-wsl@npm:^2.2.0": version: 2.2.0 resolution: "is-wsl@npm:2.2.0" dependencies: @@ -13584,15 +13574,6 @@ __metadata: languageName: node linkType: hard -"json-stable-stringify@npm:^1.0.2": - version: 1.0.2 - resolution: "json-stable-stringify@npm:1.0.2" - dependencies: - jsonify: ^0.0.1 - checksum: ec10863493fb728481ed7576551382768a173d5b884758db530def00523b862083a3fd70fee24b39e2f47f5f502e22f9a1489dd66da3535b63bf6241dbfca800 - languageName: node - linkType: hard - "json-stringify-safe@npm:^5.0.1": version: 5.0.1 resolution: "json-stringify-safe@npm:5.0.1" @@ -13652,13 +13633,6 @@ __metadata: languageName: node linkType: hard -"jsonify@npm:^0.0.1": - version: 0.0.1 - resolution: "jsonify@npm:0.0.1" - checksum: 027287e1c0294fce15f18c0ff990cfc2318e7f01fb76515f784d5cd0784abfec6fc5c2355c3a2f2cb0ad7f4aa2f5b74ebbfe4e80476c35b2d13cabdb572e1134 - languageName: node - linkType: hard - "jsonparse@npm:^1.2.0, jsonparse@npm:^1.3.1": version: 1.3.1 resolution: "jsonparse@npm:1.3.1" @@ -13708,15 +13682,6 @@ __metadata: languageName: node linkType: hard -"klaw-sync@npm:^6.0.0": - version: 6.0.0 - resolution: "klaw-sync@npm:6.0.0" - dependencies: - graceful-fs: ^4.1.11 - checksum: 0da397f8961313c3ef8f79fb63af9002cde5a8fb2aeb1a37351feff0dd6006129c790400c3f5c3b4e757bedcabb13d21ec0a5eaef5a593d59515d4f2c291e475 - languageName: node - linkType: hard - "kleur@npm:^3.0.3": version: 3.0.3 resolution: "kleur@npm:3.0.3" @@ -15742,16 +15707,6 @@ __metadata: languageName: node linkType: hard -"open@npm:^7.4.2": - version: 7.4.2 - resolution: "open@npm:7.4.2" - dependencies: - is-docker: ^2.0.0 - is-wsl: ^2.1.1 - checksum: 3333900ec0e420d64c23b831bc3467e57031461d843c801f569b2204a1acc3cd7b3ec3c7897afc9dde86491dfa289708eb92bba164093d8bd88fb2c231843c91 - languageName: node - linkType: hard - "open@npm:^8.0.9, open@npm:^8.4.0, open@npm:~8.4.0": version: 8.4.2 resolution: "open@npm:8.4.2" @@ -16175,31 +16130,6 @@ __metadata: languageName: node linkType: hard -"patch-package@npm:^8.0.0": - version: 8.0.0 - resolution: "patch-package@npm:8.0.0" - dependencies: - "@yarnpkg/lockfile": ^1.1.0 - chalk: ^4.1.2 - ci-info: ^3.7.0 - cross-spawn: ^7.0.3 - find-yarn-workspace-root: ^2.0.0 - fs-extra: ^9.0.0 - json-stable-stringify: ^1.0.2 - klaw-sync: ^6.0.0 - minimist: ^1.2.6 - open: ^7.4.2 - rimraf: ^2.6.3 - semver: ^7.5.3 - slash: ^2.0.0 - tmp: ^0.0.33 - yaml: ^2.2.2 - bin: - patch-package: index.js - checksum: d23cddc4d1622e2d8c7ca31b145c6eddb24bd271f69905e766de5e1f199f0b9a5479a6a6939ea857288399d4ed249285639d539a2c00fbddb7daa39934b007a2 - languageName: node - linkType: hard - "path-exists@npm:^3.0.0": version: 3.0.0 resolution: "path-exists@npm:3.0.0" @@ -17390,7 +17320,7 @@ __metadata: languageName: node linkType: hard -"react-split-pane@npm:^0.1.92": +"react-split-pane@npm:0.1.92": version: 0.1.92 resolution: "react-split-pane@npm:0.1.92" dependencies: @@ -17404,6 +17334,20 @@ __metadata: languageName: node linkType: hard +"react-split-pane@patch:react-split-pane@npm%3A0.1.92#./.yarn/patches/react-split-pane-npm-0.1.92-93dbf51dff.patch::locator=%40typescript-eslint%2Ftypescript-eslint%40workspace%3A.": + version: 0.1.92 + resolution: "react-split-pane@patch:react-split-pane@npm%3A0.1.92#./.yarn/patches/react-split-pane-npm-0.1.92-93dbf51dff.patch::version=0.1.92&hash=9eba81&locator=%40typescript-eslint%2Ftypescript-eslint%40workspace%3A." + dependencies: + prop-types: ^15.7.2 + react-lifecycles-compat: ^3.0.4 + react-style-proptype: ^3.2.2 + peerDependencies: + react: ^16.0.0-0 + react-dom: ^16.0.0-0 + checksum: e05f6773bb687e6f3fffdb4bac48bc655b41b825ff8eb6ee8a39346d48fa8044be6f8d5832b1353700db65311712e561253cdeb822a074779afbd0754b3703ae + languageName: node + linkType: hard + "react-style-proptype@npm:^3.2.2": version: 3.2.2 resolution: "react-style-proptype@npm:3.2.2" @@ -18063,17 +18007,6 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:^2.6.3": - version: 2.7.1 - resolution: "rimraf@npm:2.7.1" - dependencies: - glob: ^7.1.3 - bin: - rimraf: ./bin.js - checksum: cdc7f6eacb17927f2a075117a823e1c5951792c6498ebcce81ca8203454a811d4cf8900314154d3259bb8f0b42ab17f67396a8694a54cae3283326e57ad250cd - languageName: node - linkType: hard - "rimraf@npm:^3.0.0, rimraf@npm:^3.0.2": version: 3.0.2 resolution: "rimraf@npm:3.0.2" @@ -18627,13 +18560,6 @@ __metadata: languageName: node linkType: hard -"slash@npm:^2.0.0": - version: 2.0.0 - resolution: "slash@npm:2.0.0" - checksum: 512d4350735375bd11647233cb0e2f93beca6f53441015eea241fe784d8068281c3987fbaa93e7ef1c38df68d9c60013045c92837423c69115297d6169aa85e6 - languageName: node - linkType: hard - "slash@npm:^4.0.0": version: 4.0.0 resolution: "slash@npm:4.0.0" @@ -20028,13 +19954,23 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A5.2.2#~builtin": +"typescript@patch:typescript@npm%3A5.2.2#./.yarn/patches/typescript-npm-5.2.2-01717e9f84.patch::locator=%40typescript-eslint%2Ftypescript-eslint%40workspace%3A.": + version: 5.2.2 + resolution: "typescript@patch:typescript@npm%3A5.2.2#./.yarn/patches/typescript-npm-5.2.2-01717e9f84.patch::version=5.2.2&hash=c1c928&locator=%40typescript-eslint%2Ftypescript-eslint%40workspace%3A." + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 68f0d660e40a032ed507e2dea44a2729f522a2d1a9b0597aa5459cf7401e244245856241189313087453f705b6bdc11639fcb9266425ddb0c4404233f4669b5c + languageName: node + linkType: hard + +"typescript@patch:typescript@patch%3Atypescript@npm%253A5.2.2%23./.yarn/patches/typescript-npm-5.2.2-01717e9f84.patch%3A%3Alocator=%2540typescript-eslint%252Ftypescript-eslint%2540workspace%253A.#~builtin": version: 5.2.2 - resolution: "typescript@patch:typescript@npm%3A5.2.2#~builtin::version=5.2.2&hash=f3b441" + resolution: "typescript@patch:typescript@patch%3Atypescript@npm%253A5.2.2%23./.yarn/patches/typescript-npm-5.2.2-01717e9f84.patch%3A%3Aversion=5.2.2&hash=c1c928&locator=%2540typescript-eslint%252Ftypescript-eslint%2540workspace%253A.#~builtin::version=5.2.2&hash=f3b441" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 0f4da2f15e6f1245e49db15801dbee52f2bbfb267e1c39225afdab5afee1a72839cd86000e65ee9d7e4dfaff12239d28beaf5ee431357fcced15fb08583d72ca + checksum: 44eead0a64bb01bc40b0a8ba44f56ae0caf7c7afe3d6ef723bcb2259a7b8aa98d24096e478ba0bcd4fe9295b686d9324e79d1636c16b08caedfec14e9dead065 languageName: node linkType: hard @@ -21403,7 +21339,7 @@ __metadata: languageName: node linkType: hard -"yaml@npm:2.3.1, yaml@npm:^2.2.2": +"yaml@npm:2.3.1": version: 2.3.1 resolution: "yaml@npm:2.3.1" checksum: 2c7bc9a7cd4c9f40d3b0b0a98e370781b68b8b7c4515720869aced2b00d92f5da1762b4ffa947f9e795d6cd6b19f410bd4d15fdd38aca7bd96df59bd9486fb54 From 63d6bb051a6b2d90a337909f79d6d755e8701ca5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 7 Sep 2023 23:51:07 +0930 Subject: [PATCH 05/18] chore(deps): update babel to v7.22.15 (#7617) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 158 +++++++++++++++++++++++++++--------------------------- 1 file changed, 79 insertions(+), 79 deletions(-) diff --git a/yarn.lock b/yarn.lock index e9c40d7fa082..6ada169e7b51 100644 --- a/yarn.lock +++ b/yarn.lock @@ -244,7 +244,7 @@ __metadata: languageName: node linkType: hard -"@babel/code-frame@npm:*, @babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.0, @babel/code-frame@npm:^7.22.10, @babel/code-frame@npm:^7.22.5, @babel/code-frame@npm:^7.8.3": +"@babel/code-frame@npm:*, @babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.0, @babel/code-frame@npm:^7.22.13, @babel/code-frame@npm:^7.22.5, @babel/code-frame@npm:^7.8.3": version: 7.22.13 resolution: "@babel/code-frame@npm:7.22.13" dependencies: @@ -262,25 +262,25 @@ __metadata: linkType: hard "@babel/core@npm:*, @babel/core@npm:^7.11.1, @babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.15.5, @babel/core@npm:^7.18.6, @babel/core@npm:^7.22.8, @babel/core@npm:^7.22.9": - version: 7.22.11 - resolution: "@babel/core@npm:7.22.11" + version: 7.22.15 + resolution: "@babel/core@npm:7.22.15" dependencies: "@ampproject/remapping": ^2.2.0 - "@babel/code-frame": ^7.22.10 - "@babel/generator": ^7.22.10 - "@babel/helper-compilation-targets": ^7.22.10 - "@babel/helper-module-transforms": ^7.22.9 - "@babel/helpers": ^7.22.11 - "@babel/parser": ^7.22.11 - "@babel/template": ^7.22.5 - "@babel/traverse": ^7.22.11 - "@babel/types": ^7.22.11 + "@babel/code-frame": ^7.22.13 + "@babel/generator": ^7.22.15 + "@babel/helper-compilation-targets": ^7.22.15 + "@babel/helper-module-transforms": ^7.22.15 + "@babel/helpers": ^7.22.15 + "@babel/parser": ^7.22.15 + "@babel/template": ^7.22.15 + "@babel/traverse": ^7.22.15 + "@babel/types": ^7.22.15 convert-source-map: ^1.7.0 debug: ^4.1.0 gensync: ^1.0.0-beta.2 json5: ^2.2.3 semver: ^6.3.1 - checksum: f258b2539ea2e5bfe55a708c2f3e1093a1b4744f12becc35abeb896037b66210de9a8ad6296a706046d5dc3a24e564362b73a9b814e5bfe500c8baab60c22d2e + checksum: 80b3705f2f809f024ac065d73b9bcde991ac5789c38320e00890862200b1603b68035cba7b13ecd827479c7d9ea9b5998ac0a1b7fd28940bcf587fb1301e994a languageName: node linkType: hard @@ -309,8 +309,8 @@ __metadata: linkType: hard "@babel/eslint-parser@npm:*, @babel/eslint-parser@npm:^7.22.7": - version: 7.22.11 - resolution: "@babel/eslint-parser@npm:7.22.11" + version: 7.22.15 + resolution: "@babel/eslint-parser@npm:7.22.15" dependencies: "@nicolo-ribaudo/eslint-scope-5-internals": 5.1.1-v1 eslint-visitor-keys: ^2.1.0 @@ -318,19 +318,19 @@ __metadata: peerDependencies: "@babel/core": ^7.11.0 eslint: ^7.5.0 || ^8.0.0 - checksum: a7d4406ac021a192c8e2d2dd5a9ebe6352dc4c0c842c0971080e5ac1bcb81eb6dceb72899ec611b82ab4356c658649a0a4f85815f6245ab1674cd329dde06369 + checksum: efdc749164a40de1b68e3ed395f441dfb7864c85d0a2ee3e4bc4f06dd0b7f675acb9be97cdc9025b88b3e80d38749a2b30e392ce7f6a79313c3aaf82ba8ccd68 languageName: node linkType: hard -"@babel/generator@npm:^7.12.5, @babel/generator@npm:^7.18.7, @babel/generator@npm:^7.22.10, @babel/generator@npm:^7.7.2": - version: 7.22.10 - resolution: "@babel/generator@npm:7.22.10" +"@babel/generator@npm:^7.12.5, @babel/generator@npm:^7.18.7, @babel/generator@npm:^7.22.15, @babel/generator@npm:^7.7.2": + version: 7.22.15 + resolution: "@babel/generator@npm:7.22.15" dependencies: - "@babel/types": ^7.22.10 + "@babel/types": ^7.22.15 "@jridgewell/gen-mapping": ^0.3.2 "@jridgewell/trace-mapping": ^0.3.17 jsesc: ^2.5.1 - checksum: 59a79730abdff9070692834bd3af179e7a9413fa2ff7f83dff3eb888765aeaeb2bfc7b0238a49613ed56e1af05956eff303cc139f2407eda8df974813e486074 + checksum: 5b2a3ccdc3634f6ea86e0a442722bcd430238369432d31f15b428a4ee8013c2f4f917b5b135bf4fc1d0a3e2f87f10fd4ce5d07955ecc2d3b9400a05c2a481374 languageName: node linkType: hard @@ -352,16 +352,16 @@ __metadata: languageName: node linkType: hard -"@babel/helper-compilation-targets@npm:^7.22.10, @babel/helper-compilation-targets@npm:^7.22.5, @babel/helper-compilation-targets@npm:^7.22.6": - version: 7.22.10 - resolution: "@babel/helper-compilation-targets@npm:7.22.10" +"@babel/helper-compilation-targets@npm:^7.22.10, @babel/helper-compilation-targets@npm:^7.22.15, @babel/helper-compilation-targets@npm:^7.22.5, @babel/helper-compilation-targets@npm:^7.22.6": + version: 7.22.15 + resolution: "@babel/helper-compilation-targets@npm:7.22.15" dependencies: "@babel/compat-data": ^7.22.9 - "@babel/helper-validator-option": ^7.22.5 + "@babel/helper-validator-option": ^7.22.15 browserslist: ^4.21.9 lru-cache: ^5.1.1 semver: ^6.3.1 - checksum: f6f1896816392bcff671bbe6e277307729aee53befb4a66ea126e2a91eda78d819a70d06fa384c74ef46c1595544b94dca50bef6c78438d9ffd31776dafbd435 + checksum: ce85196769e091ae54dd39e4a80c2a9df1793da8588e335c383d536d54f06baf648d0a08fc873044f226398c4ded15c4ae9120ee18e7dfd7c639a68e3cdc9980 languageName: node linkType: hard @@ -447,27 +447,27 @@ __metadata: languageName: node linkType: hard -"@babel/helper-module-imports@npm:^7.10.4, @babel/helper-module-imports@npm:^7.18.6, @babel/helper-module-imports@npm:^7.22.5": - version: 7.22.5 - resolution: "@babel/helper-module-imports@npm:7.22.5" +"@babel/helper-module-imports@npm:^7.10.4, @babel/helper-module-imports@npm:^7.18.6, @babel/helper-module-imports@npm:^7.22.15, @babel/helper-module-imports@npm:^7.22.5": + version: 7.22.15 + resolution: "@babel/helper-module-imports@npm:7.22.15" dependencies: - "@babel/types": ^7.22.5 - checksum: 9ac2b0404fa38b80bdf2653fbeaf8e8a43ccb41bd505f9741d820ed95d3c4e037c62a1bcdcb6c9527d7798d2e595924c4d025daed73283badc180ada2c9c49ad + "@babel/types": ^7.22.15 + checksum: ecd7e457df0a46f889228f943ef9b4a47d485d82e030676767e6a2fdcbdaa63594d8124d4b55fd160b41c201025aec01fc27580352b1c87a37c9c6f33d116702 languageName: node linkType: hard -"@babel/helper-module-transforms@npm:^7.12.1, @babel/helper-module-transforms@npm:^7.22.5, @babel/helper-module-transforms@npm:^7.22.9": - version: 7.22.9 - resolution: "@babel/helper-module-transforms@npm:7.22.9" +"@babel/helper-module-transforms@npm:^7.12.1, @babel/helper-module-transforms@npm:^7.22.15, @babel/helper-module-transforms@npm:^7.22.5": + version: 7.22.15 + resolution: "@babel/helper-module-transforms@npm:7.22.15" dependencies: "@babel/helper-environment-visitor": ^7.22.5 - "@babel/helper-module-imports": ^7.22.5 + "@babel/helper-module-imports": ^7.22.15 "@babel/helper-simple-access": ^7.22.5 "@babel/helper-split-export-declaration": ^7.22.6 - "@babel/helper-validator-identifier": ^7.22.5 + "@babel/helper-validator-identifier": ^7.22.15 peerDependencies: "@babel/core": ^7.0.0 - checksum: 2751f77660518cf4ff027514d6f4794f04598c6393be7b04b8e46c6e21606e11c19f3f57ab6129a9c21bacdf8b3ffe3af87bb401d972f34af2d0ffde02ac3001 + checksum: de571fa352331bb5d5d56e95239c2e5dd79a1454e5167f3d80820d4975ee95052f8198e9fc1310015c55a0407b7566f8ca9d86cf262046884847aa24f8139bca languageName: node linkType: hard @@ -554,17 +554,17 @@ __metadata: languageName: node linkType: hard -"@babel/helper-validator-identifier@npm:^7.22.5": - version: 7.22.5 - resolution: "@babel/helper-validator-identifier@npm:7.22.5" - checksum: 7f0f30113474a28298c12161763b49de5018732290ca4de13cdaefd4fd0d635a6fe3f6686c37a02905fb1e64f21a5ee2b55140cf7b070e729f1bd66866506aea +"@babel/helper-validator-identifier@npm:^7.22.15, @babel/helper-validator-identifier@npm:^7.22.5": + version: 7.22.15 + resolution: "@babel/helper-validator-identifier@npm:7.22.15" + checksum: eb0bee4bda664c0959924bc1ad5611eacfce806f46612202dd164fef1df8fef1a11682a1e7615288987100e9fb304982b6e2a4ff07ffe842ab8765b95ed1118c languageName: node linkType: hard -"@babel/helper-validator-option@npm:^7.18.6, @babel/helper-validator-option@npm:^7.22.5": - version: 7.22.5 - resolution: "@babel/helper-validator-option@npm:7.22.5" - checksum: bbeca8a85ee86990215c0424997438b388b8d642d69b9f86c375a174d3cdeb270efafd1ff128bc7a1d370923d13b6e45829ba8581c027620e83e3a80c5c414b3 +"@babel/helper-validator-option@npm:^7.18.6, @babel/helper-validator-option@npm:^7.22.15, @babel/helper-validator-option@npm:^7.22.5": + version: 7.22.15 + resolution: "@babel/helper-validator-option@npm:7.22.15" + checksum: 68da52b1e10002a543161494c4bc0f4d0398c8fdf361d5f7f4272e95c45d5b32d974896d44f6a0ea7378c9204988879d73613ca683e13bd1304e46d25ff67a8d languageName: node linkType: hard @@ -579,14 +579,14 @@ __metadata: languageName: node linkType: hard -"@babel/helpers@npm:^7.12.5, @babel/helpers@npm:^7.22.11": - version: 7.22.11 - resolution: "@babel/helpers@npm:7.22.11" +"@babel/helpers@npm:^7.12.5, @babel/helpers@npm:^7.22.15": + version: 7.22.15 + resolution: "@babel/helpers@npm:7.22.15" dependencies: - "@babel/template": ^7.22.5 - "@babel/traverse": ^7.22.11 - "@babel/types": ^7.22.11 - checksum: 93186544228b5e371486466ec3b86a77cce91beeff24a5670ca8ec46d50328f7700dab82d532351286e9d68624dc51d6d71589b051dd9535e44be077a43ec013 + "@babel/template": ^7.22.15 + "@babel/traverse": ^7.22.15 + "@babel/types": ^7.22.15 + checksum: 49f61a93cbae4df3328bda67af5db743fead659ae4242571226c3596b7df78546189cdf991fed1eca33b559de8abf396a90a001f474a1bab351418f07b7ae6ef languageName: node linkType: hard @@ -601,12 +601,12 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:*, @babel/parser@npm:^7.1.0, @babel/parser@npm:^7.12.7, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.18.8, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.22.11, @babel/parser@npm:^7.22.5, @babel/parser@npm:^7.22.7": - version: 7.22.14 - resolution: "@babel/parser@npm:7.22.14" +"@babel/parser@npm:*, @babel/parser@npm:^7.1.0, @babel/parser@npm:^7.12.7, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.18.8, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.22.15, @babel/parser@npm:^7.22.7": + version: 7.22.16 + resolution: "@babel/parser@npm:7.22.16" bin: parser: ./bin/babel-parser.js - checksum: a2293971f0889726a3d5a35fcceedc71d2fa4c8d97f438fc348fe0cf7e739affc6e2665e4c6ddd4900714772e19bfd5d6feb967ca1f623b894c0099ecb148b52 + checksum: 944c756b5bdeb07b9fec16ecef6b3c61aff9d4c4b924abadcf01afa1840a740b8e2357ae00482b5b37daad6d2bfd848c947f27ad65138d687b6fdc924bc59edd languageName: node linkType: hard @@ -1759,51 +1759,51 @@ __metadata: linkType: hard "@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.10.3, @babel/runtime@npm:^7.11.2, @babel/runtime@npm:^7.12.1, @babel/runtime@npm:^7.12.13, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.18.6, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.22.6, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.8.4": - version: 7.22.11 - resolution: "@babel/runtime@npm:7.22.11" + version: 7.22.15 + resolution: "@babel/runtime@npm:7.22.15" dependencies: regenerator-runtime: ^0.14.0 - checksum: a5cd6683a8fcdb8065cb1677f221e22f6c67ec8f15ad1d273b180b93ab3bd86c66da2c48f500d4e72d8d2cfa85ff4872a3f350e5aa3855630036af5da765c001 + checksum: 793296df1e41599a935a3d77ec01eb6088410d3fd4dbe4e92f06c6b7bb2f8355024e6d78621a3a35f44e0e23b0b59107f23d585384df4f3123256a1e1492040e languageName: node linkType: hard -"@babel/template@npm:^7.12.7, @babel/template@npm:^7.22.5, @babel/template@npm:^7.3.3": - version: 7.22.5 - resolution: "@babel/template@npm:7.22.5" +"@babel/template@npm:^7.12.7, @babel/template@npm:^7.22.15, @babel/template@npm:^7.22.5, @babel/template@npm:^7.3.3": + version: 7.22.15 + resolution: "@babel/template@npm:7.22.15" dependencies: - "@babel/code-frame": ^7.22.5 - "@babel/parser": ^7.22.5 - "@babel/types": ^7.22.5 - checksum: c5746410164039aca61829cdb42e9a55410f43cace6f51ca443313f3d0bdfa9a5a330d0b0df73dc17ef885c72104234ae05efede37c1cc8a72dc9f93425977a3 + "@babel/code-frame": ^7.22.13 + "@babel/parser": ^7.22.15 + "@babel/types": ^7.22.15 + checksum: 1f3e7dcd6c44f5904c184b3f7fe280394b191f2fed819919ffa1e529c259d5b197da8981b6ca491c235aee8dbad4a50b7e31304aa531271cb823a4a24a0dd8fd languageName: node linkType: hard -"@babel/traverse@npm:^7.12.9, @babel/traverse@npm:^7.16.0, @babel/traverse@npm:^7.18.8, @babel/traverse@npm:^7.22.11": - version: 7.22.11 - resolution: "@babel/traverse@npm:7.22.11" +"@babel/traverse@npm:^7.12.9, @babel/traverse@npm:^7.16.0, @babel/traverse@npm:^7.18.8, @babel/traverse@npm:^7.22.15": + version: 7.22.15 + resolution: "@babel/traverse@npm:7.22.15" dependencies: - "@babel/code-frame": ^7.22.10 - "@babel/generator": ^7.22.10 + "@babel/code-frame": ^7.22.13 + "@babel/generator": ^7.22.15 "@babel/helper-environment-visitor": ^7.22.5 "@babel/helper-function-name": ^7.22.5 "@babel/helper-hoist-variables": ^7.22.5 "@babel/helper-split-export-declaration": ^7.22.6 - "@babel/parser": ^7.22.11 - "@babel/types": ^7.22.11 + "@babel/parser": ^7.22.15 + "@babel/types": ^7.22.15 debug: ^4.1.0 globals: ^11.1.0 - checksum: 4ad62d548ca8b95dbf45bae16cc167428f174f3c837d55a5878b1f17bdbc8b384d6df741dc7c461b62c04d881cf25644d3ab885909ba46e3ac43224e2b15b504 + checksum: 12aba7da6fd6109905d5086e1a9d1aea2cdbb0b80533d2d235d5dad2ff97f0315173c063023e601e96086dfeaaeb97f9d3cbaf38a10f04820e47e2848607cef4 languageName: node linkType: hard -"@babel/types@npm:^7.0.0, @babel/types@npm:^7.12.7, @babel/types@npm:^7.15.6, @babel/types@npm:^7.18.6, @babel/types@npm:^7.20.7, @babel/types@npm:^7.22.10, @babel/types@npm:^7.22.11, @babel/types@npm:^7.22.5, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3": - version: 7.22.11 - resolution: "@babel/types@npm:7.22.11" +"@babel/types@npm:^7.0.0, @babel/types@npm:^7.12.7, @babel/types@npm:^7.15.6, @babel/types@npm:^7.18.6, @babel/types@npm:^7.20.7, @babel/types@npm:^7.22.10, @babel/types@npm:^7.22.15, @babel/types@npm:^7.22.5, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3": + version: 7.22.15 + resolution: "@babel/types@npm:7.22.15" dependencies: "@babel/helper-string-parser": ^7.22.5 - "@babel/helper-validator-identifier": ^7.22.5 + "@babel/helper-validator-identifier": ^7.22.15 to-fast-properties: ^2.0.0 - checksum: 431a6446896adb62c876d0fe75263835735d3c974aae05356a87eb55f087c20a777028cf08eadcace7993e058bbafe3b21ce2119363222c6cef9eedd7a204810 + checksum: a2aa59746dc8500c358a3a9afca2adff49dbade009d616aa8308714485064f2218da04e1823f1243a4992f1424ec6d6719e76a7af9a0ac3647227dca3015eea4 languageName: node linkType: hard From 3d8ce95e14f40d079af2a4bd06330c5e7e3e67df Mon Sep 17 00:00:00 2001 From: Lenz Weber-Tronic Date: Thu, 7 Sep 2023 22:17:26 +0200 Subject: [PATCH 06/18] docs: `ts-api-tools` -> `ts-api-utils` (#7618) `ts-api-tools` -> `ts-api-utils` package has been renamed --- docs/developers/Custom_Rules.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developers/Custom_Rules.mdx b/docs/developers/Custom_Rules.mdx index 610e3acee93f..e64156d1ff4e 100644 --- a/docs/developers/Custom_Rules.mdx +++ b/docs/developers/Custom_Rules.mdx @@ -229,7 +229,7 @@ This rule bans for-of looping over an enum by using the TypeScript type checker ```ts import { ESLintUtils } from '@typescript-eslint/utils'; -import * as tsutils from 'ts-api-tools'; +import * as tsutils from 'ts-api-utils'; import * as ts from 'typescript'; export const rule = createRule({ From cf486463dacc32564283edf6d1b6cacd739aef4e Mon Sep 17 00:00:00 2001 From: Armano Date: Fri, 8 Sep 2023 01:59:40 +0200 Subject: [PATCH 07/18] chore(website): reuse svgs from docusaurus (#7518) --- .../src/components/OptionsSelector.tsx | 17 ++++++++--- .../src/components/inputs/CopyButton.tsx | 8 ++--- .../src/components/inputs/Text.module.css | 30 ++++++++++++------- .../website/src/components/inputs/Text.tsx | 27 ++++++++++------- packages/website/src/icons/check.svg | 9 ------ packages/website/src/icons/close.svg | 9 ------ packages/website/src/icons/copy.svg | 9 ------ packages/website/src/icons/delete.svg | 9 ------ packages/website/src/icons/search.svg | 14 +++++++++ 9 files changed, 66 insertions(+), 66 deletions(-) delete mode 100644 packages/website/src/icons/check.svg delete mode 100644 packages/website/src/icons/close.svg delete mode 100644 packages/website/src/icons/copy.svg delete mode 100644 packages/website/src/icons/delete.svg create mode 100644 packages/website/src/icons/search.svg diff --git a/packages/website/src/components/OptionsSelector.tsx b/packages/website/src/components/OptionsSelector.tsx index 0233d83f75ee..00870a850c35 100644 --- a/packages/website/src/components/OptionsSelector.tsx +++ b/packages/website/src/components/OptionsSelector.tsx @@ -2,12 +2,13 @@ import { NavbarSecondaryMenuFiller, useWindowSize, } from '@docusaurus/theme-common'; -import Checkbox from '@site/src/components/inputs/Checkbox'; -import CopyIcon from '@site/src/icons/copy.svg'; +import CopyIcon from '@theme/Icon/Copy'; import IconExternalLink from '@theme/Icon/ExternalLink'; +import SuccessIcon from '@theme/Icon/Success'; import React, { useCallback } from 'react'; import { useClipboard } from '../hooks/useClipboard'; +import Checkbox from './inputs/Checkbox'; import Dropdown from './inputs/Dropdown'; import Tooltip from './inputs/Tooltip'; import ActionLabel from './layout/ActionLabel'; @@ -97,12 +98,20 @@ function OptionsSelectorContent({ - + {copyLink ? ( + + ) : ( + + )} - + {copyMarkdown ? ( + + ) : ( + + )} diff --git a/packages/website/src/components/inputs/CopyButton.tsx b/packages/website/src/components/inputs/CopyButton.tsx index e4879f14be97..79716fe09b37 100644 --- a/packages/website/src/components/inputs/CopyButton.tsx +++ b/packages/website/src/components/inputs/CopyButton.tsx @@ -1,5 +1,5 @@ -import CheckIcon from '@site/src/icons/check.svg'; -import CopyIcon from '@site/src/icons/copy.svg'; +import CopyIcon from '@theme/Icon/Copy'; +import CheckIcon from '@theme/Icon/Success'; import clsx from 'clsx'; import React from 'react'; @@ -41,8 +41,8 @@ function CopyButton({ value, className }: CopyButtonProps): React.JSX.Element { aria-label={!on ? 'Copy code to clipboard' : 'Copied'} className={clsx(styles.copyButton, className, 'button')} > - - + + diff --git a/packages/website/src/components/inputs/Text.module.css b/packages/website/src/components/inputs/Text.module.css index 31f898294aa4..7c1a03e0bb82 100644 --- a/packages/website/src/components/inputs/Text.module.css +++ b/packages/website/src/components/inputs/Text.module.css @@ -1,28 +1,36 @@ .textInput { + display: flex; + align-items: center; background-color: var(--ifm-color-emphasis-200); border: 1px solid var(--ifm-color-emphasis-100); + padding: 0 0.5rem; + cursor: text; + flex: 1; +} + +.textInput:focus-within { + border-color: var(--ifm-color-primary); +} + +.textInput input { + outline: none; + background-color: var(--ifm-color-emphasis-200); + border: transparent; color: var(--ifm-font-color-secondary); transition: border 0.3s ease; cursor: text; display: inline-block; height: 2rem; - padding: 0 0.5rem; + padding: 0; font-size: 0.9rem; border-radius: 0.2rem; flex: 1; } -.textInput[type='search'] { - padding-left: 2.25rem; - background: var(--ifm-color-emphasis-200) var(--ifm-navbar-search-input-icon) - no-repeat 0.75rem center / 1rem 1rem; -} - -.textInput::placeholder { +.textInput input::placeholder { color: var(--ifm-color-emphasis-700); } -.textInput:focus { - outline: none; - border-color: var(--ifm-color-primary); +.textInput svg { + padding-right: 0.5rem; } diff --git a/packages/website/src/components/inputs/Text.tsx b/packages/website/src/components/inputs/Text.tsx index 11d7b744b8a7..71f921fc67ec 100644 --- a/packages/website/src/components/inputs/Text.tsx +++ b/packages/website/src/components/inputs/Text.tsx @@ -1,4 +1,4 @@ -import clsx from 'clsx'; +import SearchIcon from '@site/src/icons/search.svg'; import React from 'react'; import styles from './Text.module.css'; @@ -16,16 +16,21 @@ export interface DropdownProps { const Text = React.forwardRef( (props, ref): React.JSX.Element => { return ( - props.onChange(e.target.value)} - name={props.name} - className={clsx(styles.textInput, props.className)} - type={props.type ?? 'text'} - autoComplete="off" - placeholder={props.placeholder} - ref={ref} - /> + <> + + ); }, ); diff --git a/packages/website/src/icons/check.svg b/packages/website/src/icons/check.svg deleted file mode 100644 index 7835588c4785..000000000000 --- a/packages/website/src/icons/check.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/packages/website/src/icons/close.svg b/packages/website/src/icons/close.svg deleted file mode 100644 index 1a411b11748e..000000000000 --- a/packages/website/src/icons/close.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/packages/website/src/icons/copy.svg b/packages/website/src/icons/copy.svg deleted file mode 100644 index 6625354aa3fe..000000000000 --- a/packages/website/src/icons/copy.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/packages/website/src/icons/delete.svg b/packages/website/src/icons/delete.svg deleted file mode 100644 index fa2ca3423140..000000000000 --- a/packages/website/src/icons/delete.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/packages/website/src/icons/search.svg b/packages/website/src/icons/search.svg new file mode 100644 index 000000000000..1942fb4edec4 --- /dev/null +++ b/packages/website/src/icons/search.svg @@ -0,0 +1,14 @@ + + + From 18d9e436c43f782770a428bef03570947cd7390f Mon Sep 17 00:00:00 2001 From: Armano Date: Fri, 8 Sep 2023 02:21:15 +0200 Subject: [PATCH 08/18] chore(ast-spec): exclude tsx fixtures from type-check (#7602) --- .../fixtures/component-dashed/fixture.tsx | 2 - .../snapshots/1-TSESTree-AST.shot | 88 +++++++------- .../snapshots/2-TSESTree-Tokens.shot | 108 +++++++++--------- .../snapshots/3-Babel-AST.shot | 88 +++++++------- .../snapshots/4-Babel-Tokens.shot | 108 +++++++++--------- .../snapshots/5-AST-Alignment-AST.shot | 88 +++++++------- .../snapshots/6-AST-Alignment-Tokens.shot | 108 +++++++++--------- packages/ast-spec/tests/fixtures.test.ts | 2 +- packages/ast-spec/tsconfig.json | 2 +- 9 files changed, 296 insertions(+), 298 deletions(-) diff --git a/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/fixture.tsx b/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/fixture.tsx index 2bb647ef3406..1341258f49ac 100644 --- a/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/fixture.tsx +++ b/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/fixture.tsx @@ -5,7 +5,5 @@ declare namespace JSX { } } -// @ts-expect-error -- https://github.com/typescript-eslint/typescript-eslint/issues/7166 const componentBasic = ; -// @ts-expect-error -- https://github.com/typescript-eslint/typescript-eslint/issues/7166 const componentDashed = ; diff --git a/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/1-TSESTree-AST.shot b/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/1-TSESTree-AST.shot index ba010bda2df2..cd1e77be9083 100644 --- a/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/1-TSESTree-AST.shot +++ b/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/1-TSESTree-AST.shot @@ -170,10 +170,10 @@ Program { name: "componentBasic", optional: false, - range: [201, 215], + range: [111, 125], loc: { - start: { column: 6, line: 9 }, - end: { column: 20, line: 9 }, + start: { column: 6, line: 8 }, + end: { column: 20, line: 8 }, }, }, init: JSXElement { @@ -187,42 +187,42 @@ Program { type: "JSXIdentifier", name: "foo", - range: [219, 222], + range: [129, 132], loc: { - start: { column: 24, line: 9 }, - end: { column: 27, line: 9 }, + start: { column: 24, line: 8 }, + end: { column: 27, line: 8 }, }, }, selfClosing: true, - range: [218, 225], + range: [128, 135], loc: { - start: { column: 23, line: 9 }, - end: { column: 30, line: 9 }, + start: { column: 23, line: 8 }, + end: { column: 30, line: 8 }, }, }, - range: [218, 225], + range: [128, 135], loc: { - start: { column: 23, line: 9 }, - end: { column: 30, line: 9 }, + start: { column: 23, line: 8 }, + end: { column: 30, line: 8 }, }, }, - range: [201, 225], + range: [111, 135], loc: { - start: { column: 6, line: 9 }, - end: { column: 30, line: 9 }, + start: { column: 6, line: 8 }, + end: { column: 30, line: 8 }, }, }, ], declare: false, kind: "const", - range: [195, 226], + range: [105, 136], loc: { - start: { column: 0, line: 9 }, - end: { column: 31, line: 9 }, + start: { column: 0, line: 8 }, + end: { column: 31, line: 8 }, }, }, VariableDeclaration { @@ -237,10 +237,10 @@ Program { name: "componentDashed", optional: false, - range: [323, 338], + range: [143, 158], loc: { - start: { column: 6, line: 11 }, - end: { column: 21, line: 11 }, + start: { column: 6, line: 9 }, + end: { column: 21, line: 9 }, }, }, init: JSXElement { @@ -256,68 +256,68 @@ Program { type: "JSXIdentifier", name: "baz-bam", - range: [350, 357], + range: [170, 177], loc: { - start: { column: 33, line: 11 }, - end: { column: 40, line: 11 }, + start: { column: 33, line: 9 }, + end: { column: 40, line: 9 }, }, }, namespace: JSXIdentifier { type: "JSXIdentifier", name: "foo-bar", - range: [342, 349], + range: [162, 169], loc: { - start: { column: 25, line: 11 }, - end: { column: 32, line: 11 }, + start: { column: 25, line: 9 }, + end: { column: 32, line: 9 }, }, }, - range: [342, 357], + range: [162, 177], loc: { - start: { column: 25, line: 11 }, - end: { column: 40, line: 11 }, + start: { column: 25, line: 9 }, + end: { column: 40, line: 9 }, }, }, selfClosing: true, - range: [341, 360], + range: [161, 180], loc: { - start: { column: 24, line: 11 }, - end: { column: 43, line: 11 }, + start: { column: 24, line: 9 }, + end: { column: 43, line: 9 }, }, }, - range: [341, 360], + range: [161, 180], loc: { - start: { column: 24, line: 11 }, - end: { column: 43, line: 11 }, + start: { column: 24, line: 9 }, + end: { column: 43, line: 9 }, }, }, - range: [323, 360], + range: [143, 180], loc: { - start: { column: 6, line: 11 }, - end: { column: 43, line: 11 }, + start: { column: 6, line: 9 }, + end: { column: 43, line: 9 }, }, }, ], declare: false, kind: "const", - range: [317, 361], + range: [137, 181], loc: { - start: { column: 0, line: 11 }, - end: { column: 44, line: 11 }, + start: { column: 0, line: 9 }, + end: { column: 44, line: 9 }, }, }, ], sourceType: "script", - range: [0, 362], + range: [0, 182], loc: { start: { column: 0, line: 1 }, - end: { column: 0, line: 12 }, + end: { column: 0, line: 10 }, }, } `; diff --git a/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/2-TSESTree-Tokens.shot b/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/2-TSESTree-Tokens.shot index 7d73f939d7a9..541a41a833b9 100644 --- a/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/2-TSESTree-Tokens.shot +++ b/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/2-TSESTree-Tokens.shot @@ -176,180 +176,180 @@ exports[`AST Fixtures jsx JSXNamespacedName component-dashed TSESTree - Tokens 1 type: "Keyword", value: "const", - range: [195, 200], + range: [105, 110], loc: { - start: { column: 0, line: 9 }, - end: { column: 5, line: 9 }, + start: { column: 0, line: 8 }, + end: { column: 5, line: 8 }, }, }, Identifier { type: "Identifier", value: "componentBasic", - range: [201, 215], + range: [111, 125], loc: { - start: { column: 6, line: 9 }, - end: { column: 20, line: 9 }, + start: { column: 6, line: 8 }, + end: { column: 20, line: 8 }, }, }, Punctuator { type: "Punctuator", value: "=", - range: [216, 217], + range: [126, 127], loc: { - start: { column: 21, line: 9 }, - end: { column: 22, line: 9 }, + start: { column: 21, line: 8 }, + end: { column: 22, line: 8 }, }, }, Punctuator { type: "Punctuator", value: "<", - range: [218, 219], + range: [128, 129], loc: { - start: { column: 23, line: 9 }, - end: { column: 24, line: 9 }, + start: { column: 23, line: 8 }, + end: { column: 24, line: 8 }, }, }, JSXIdentifier { type: "JSXIdentifier", value: "foo", - range: [219, 222], + range: [129, 132], loc: { - start: { column: 24, line: 9 }, - end: { column: 27, line: 9 }, + start: { column: 24, line: 8 }, + end: { column: 27, line: 8 }, }, }, Punctuator { type: "Punctuator", value: "/", - range: [223, 224], + range: [133, 134], loc: { - start: { column: 28, line: 9 }, - end: { column: 29, line: 9 }, + start: { column: 28, line: 8 }, + end: { column: 29, line: 8 }, }, }, Punctuator { type: "Punctuator", value: ">", - range: [224, 225], + range: [134, 135], loc: { - start: { column: 29, line: 9 }, - end: { column: 30, line: 9 }, + start: { column: 29, line: 8 }, + end: { column: 30, line: 8 }, }, }, Punctuator { type: "Punctuator", value: ";", - range: [225, 226], + range: [135, 136], loc: { - start: { column: 30, line: 9 }, - end: { column: 31, line: 9 }, + start: { column: 30, line: 8 }, + end: { column: 31, line: 8 }, }, }, Keyword { type: "Keyword", value: "const", - range: [317, 322], + range: [137, 142], loc: { - start: { column: 0, line: 11 }, - end: { column: 5, line: 11 }, + start: { column: 0, line: 9 }, + end: { column: 5, line: 9 }, }, }, Identifier { type: "Identifier", value: "componentDashed", - range: [323, 338], + range: [143, 158], loc: { - start: { column: 6, line: 11 }, - end: { column: 21, line: 11 }, + start: { column: 6, line: 9 }, + end: { column: 21, line: 9 }, }, }, Punctuator { type: "Punctuator", value: "=", - range: [339, 340], + range: [159, 160], loc: { - start: { column: 22, line: 11 }, - end: { column: 23, line: 11 }, + start: { column: 22, line: 9 }, + end: { column: 23, line: 9 }, }, }, Punctuator { type: "Punctuator", value: "<", - range: [341, 342], + range: [161, 162], loc: { - start: { column: 24, line: 11 }, - end: { column: 25, line: 11 }, + start: { column: 24, line: 9 }, + end: { column: 25, line: 9 }, }, }, Identifier { type: "Identifier", value: "foo-bar", - range: [342, 349], + range: [162, 169], loc: { - start: { column: 25, line: 11 }, - end: { column: 32, line: 11 }, + start: { column: 25, line: 9 }, + end: { column: 32, line: 9 }, }, }, Punctuator { type: "Punctuator", value: ":", - range: [349, 350], + range: [169, 170], loc: { - start: { column: 32, line: 11 }, - end: { column: 33, line: 11 }, + start: { column: 32, line: 9 }, + end: { column: 33, line: 9 }, }, }, Identifier { type: "Identifier", value: "baz-bam", - range: [350, 357], + range: [170, 177], loc: { - start: { column: 33, line: 11 }, - end: { column: 40, line: 11 }, + start: { column: 33, line: 9 }, + end: { column: 40, line: 9 }, }, }, Punctuator { type: "Punctuator", value: "/", - range: [358, 359], + range: [178, 179], loc: { - start: { column: 41, line: 11 }, - end: { column: 42, line: 11 }, + start: { column: 41, line: 9 }, + end: { column: 42, line: 9 }, }, }, Punctuator { type: "Punctuator", value: ">", - range: [359, 360], + range: [179, 180], loc: { - start: { column: 42, line: 11 }, - end: { column: 43, line: 11 }, + start: { column: 42, line: 9 }, + end: { column: 43, line: 9 }, }, }, Punctuator { type: "Punctuator", value: ";", - range: [360, 361], + range: [180, 181], loc: { - start: { column: 43, line: 11 }, - end: { column: 44, line: 11 }, + start: { column: 43, line: 9 }, + end: { column: 44, line: 9 }, }, }, ] diff --git a/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/3-Babel-AST.shot b/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/3-Babel-AST.shot index e065c2a0f7fa..c8b25095ce1f 100644 --- a/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/3-Babel-AST.shot +++ b/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/3-Babel-AST.shot @@ -151,10 +151,10 @@ Program { type: "Identifier", name: "componentBasic", - range: [201, 215], + range: [111, 125], loc: { - start: { column: 6, line: 9 }, - end: { column: 20, line: 9 }, + start: { column: 6, line: 8 }, + end: { column: 20, line: 8 }, }, }, init: JSXElement { @@ -168,41 +168,41 @@ Program { type: "JSXIdentifier", name: "foo", - range: [219, 222], + range: [129, 132], loc: { - start: { column: 24, line: 9 }, - end: { column: 27, line: 9 }, + start: { column: 24, line: 8 }, + end: { column: 27, line: 8 }, }, }, selfClosing: true, - range: [218, 225], + range: [128, 135], loc: { - start: { column: 23, line: 9 }, - end: { column: 30, line: 9 }, + start: { column: 23, line: 8 }, + end: { column: 30, line: 8 }, }, }, - range: [218, 225], + range: [128, 135], loc: { - start: { column: 23, line: 9 }, - end: { column: 30, line: 9 }, + start: { column: 23, line: 8 }, + end: { column: 30, line: 8 }, }, }, - range: [201, 225], + range: [111, 135], loc: { - start: { column: 6, line: 9 }, - end: { column: 30, line: 9 }, + start: { column: 6, line: 8 }, + end: { column: 30, line: 8 }, }, }, ], kind: "const", - range: [195, 226], + range: [105, 136], loc: { - start: { column: 0, line: 9 }, - end: { column: 31, line: 9 }, + start: { column: 0, line: 8 }, + end: { column: 31, line: 8 }, }, }, VariableDeclaration { @@ -214,10 +214,10 @@ Program { type: "Identifier", name: "componentDashed", - range: [323, 338], + range: [143, 158], loc: { - start: { column: 6, line: 11 }, - end: { column: 21, line: 11 }, + start: { column: 6, line: 9 }, + end: { column: 21, line: 9 }, }, }, init: JSXElement { @@ -233,67 +233,67 @@ Program { type: "JSXIdentifier", name: "baz-bam", - range: [350, 357], + range: [170, 177], loc: { - start: { column: 33, line: 11 }, - end: { column: 40, line: 11 }, + start: { column: 33, line: 9 }, + end: { column: 40, line: 9 }, }, }, namespace: JSXIdentifier { type: "JSXIdentifier", name: "foo-bar", - range: [342, 349], + range: [162, 169], loc: { - start: { column: 25, line: 11 }, - end: { column: 32, line: 11 }, + start: { column: 25, line: 9 }, + end: { column: 32, line: 9 }, }, }, - range: [342, 357], + range: [162, 177], loc: { - start: { column: 25, line: 11 }, - end: { column: 40, line: 11 }, + start: { column: 25, line: 9 }, + end: { column: 40, line: 9 }, }, }, selfClosing: true, - range: [341, 360], + range: [161, 180], loc: { - start: { column: 24, line: 11 }, - end: { column: 43, line: 11 }, + start: { column: 24, line: 9 }, + end: { column: 43, line: 9 }, }, }, - range: [341, 360], + range: [161, 180], loc: { - start: { column: 24, line: 11 }, - end: { column: 43, line: 11 }, + start: { column: 24, line: 9 }, + end: { column: 43, line: 9 }, }, }, - range: [323, 360], + range: [143, 180], loc: { - start: { column: 6, line: 11 }, - end: { column: 43, line: 11 }, + start: { column: 6, line: 9 }, + end: { column: 43, line: 9 }, }, }, ], kind: "const", - range: [317, 361], + range: [137, 181], loc: { - start: { column: 0, line: 11 }, - end: { column: 44, line: 11 }, + start: { column: 0, line: 9 }, + end: { column: 44, line: 9 }, }, }, ], sourceType: "script", - range: [0, 362], + range: [0, 182], loc: { start: { column: 0, line: 1 }, - end: { column: 0, line: 12 }, + end: { column: 0, line: 10 }, }, } `; diff --git a/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/4-Babel-Tokens.shot b/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/4-Babel-Tokens.shot index 80a517390c0e..e88ea45155a8 100644 --- a/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/4-Babel-Tokens.shot +++ b/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/4-Babel-Tokens.shot @@ -176,180 +176,180 @@ exports[`AST Fixtures jsx JSXNamespacedName component-dashed Babel - Tokens 1`] type: "Keyword", value: "const", - range: [195, 200], + range: [105, 110], loc: { - start: { column: 0, line: 9 }, - end: { column: 5, line: 9 }, + start: { column: 0, line: 8 }, + end: { column: 5, line: 8 }, }, }, Identifier { type: "Identifier", value: "componentBasic", - range: [201, 215], + range: [111, 125], loc: { - start: { column: 6, line: 9 }, - end: { column: 20, line: 9 }, + start: { column: 6, line: 8 }, + end: { column: 20, line: 8 }, }, }, Punctuator { type: "Punctuator", value: "=", - range: [216, 217], + range: [126, 127], loc: { - start: { column: 21, line: 9 }, - end: { column: 22, line: 9 }, + start: { column: 21, line: 8 }, + end: { column: 22, line: 8 }, }, }, Punctuator { type: "Punctuator", value: "<", - range: [218, 219], + range: [128, 129], loc: { - start: { column: 23, line: 9 }, - end: { column: 24, line: 9 }, + start: { column: 23, line: 8 }, + end: { column: 24, line: 8 }, }, }, JSXIdentifier { type: "JSXIdentifier", value: "foo", - range: [219, 222], + range: [129, 132], loc: { - start: { column: 24, line: 9 }, - end: { column: 27, line: 9 }, + start: { column: 24, line: 8 }, + end: { column: 27, line: 8 }, }, }, Punctuator { type: "Punctuator", value: "/", - range: [223, 224], + range: [133, 134], loc: { - start: { column: 28, line: 9 }, - end: { column: 29, line: 9 }, + start: { column: 28, line: 8 }, + end: { column: 29, line: 8 }, }, }, Punctuator { type: "Punctuator", value: ">", - range: [224, 225], + range: [134, 135], loc: { - start: { column: 29, line: 9 }, - end: { column: 30, line: 9 }, + start: { column: 29, line: 8 }, + end: { column: 30, line: 8 }, }, }, Punctuator { type: "Punctuator", value: ";", - range: [225, 226], + range: [135, 136], loc: { - start: { column: 30, line: 9 }, - end: { column: 31, line: 9 }, + start: { column: 30, line: 8 }, + end: { column: 31, line: 8 }, }, }, Keyword { type: "Keyword", value: "const", - range: [317, 322], + range: [137, 142], loc: { - start: { column: 0, line: 11 }, - end: { column: 5, line: 11 }, + start: { column: 0, line: 9 }, + end: { column: 5, line: 9 }, }, }, Identifier { type: "Identifier", value: "componentDashed", - range: [323, 338], + range: [143, 158], loc: { - start: { column: 6, line: 11 }, - end: { column: 21, line: 11 }, + start: { column: 6, line: 9 }, + end: { column: 21, line: 9 }, }, }, Punctuator { type: "Punctuator", value: "=", - range: [339, 340], + range: [159, 160], loc: { - start: { column: 22, line: 11 }, - end: { column: 23, line: 11 }, + start: { column: 22, line: 9 }, + end: { column: 23, line: 9 }, }, }, Punctuator { type: "Punctuator", value: "<", - range: [341, 342], + range: [161, 162], loc: { - start: { column: 24, line: 11 }, - end: { column: 25, line: 11 }, + start: { column: 24, line: 9 }, + end: { column: 25, line: 9 }, }, }, JSXIdentifier { type: "JSXIdentifier", value: "foo-bar", - range: [342, 349], + range: [162, 169], loc: { - start: { column: 25, line: 11 }, - end: { column: 32, line: 11 }, + start: { column: 25, line: 9 }, + end: { column: 32, line: 9 }, }, }, Punctuator { type: "Punctuator", value: ":", - range: [349, 350], + range: [169, 170], loc: { - start: { column: 32, line: 11 }, - end: { column: 33, line: 11 }, + start: { column: 32, line: 9 }, + end: { column: 33, line: 9 }, }, }, JSXIdentifier { type: "JSXIdentifier", value: "baz-bam", - range: [350, 357], + range: [170, 177], loc: { - start: { column: 33, line: 11 }, - end: { column: 40, line: 11 }, + start: { column: 33, line: 9 }, + end: { column: 40, line: 9 }, }, }, Punctuator { type: "Punctuator", value: "/", - range: [358, 359], + range: [178, 179], loc: { - start: { column: 41, line: 11 }, - end: { column: 42, line: 11 }, + start: { column: 41, line: 9 }, + end: { column: 42, line: 9 }, }, }, Punctuator { type: "Punctuator", value: ">", - range: [359, 360], + range: [179, 180], loc: { - start: { column: 42, line: 11 }, - end: { column: 43, line: 11 }, + start: { column: 42, line: 9 }, + end: { column: 43, line: 9 }, }, }, Punctuator { type: "Punctuator", value: ";", - range: [360, 361], + range: [180, 181], loc: { - start: { column: 43, line: 11 }, - end: { column: 44, line: 11 }, + start: { column: 43, line: 9 }, + end: { column: 44, line: 9 }, }, }, ] diff --git a/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/5-AST-Alignment-AST.shot b/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/5-AST-Alignment-AST.shot index eb7b0cfaf14e..5091074f4125 100644 --- a/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/5-AST-Alignment-AST.shot +++ b/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/5-AST-Alignment-AST.shot @@ -174,10 +174,10 @@ exports[`AST Fixtures jsx JSXNamespacedName component-dashed AST Alignment - AST name: 'componentBasic', - optional: false, - range: [201, 215], + range: [111, 125], loc: { - start: { column: 6, line: 9 }, - end: { column: 20, line: 9 }, + start: { column: 6, line: 8 }, + end: { column: 20, line: 8 }, }, }, init: JSXElement { @@ -191,42 +191,42 @@ exports[`AST Fixtures jsx JSXNamespacedName component-dashed AST Alignment - AST type: 'JSXIdentifier', name: 'foo', - range: [219, 222], + range: [129, 132], loc: { - start: { column: 24, line: 9 }, - end: { column: 27, line: 9 }, + start: { column: 24, line: 8 }, + end: { column: 27, line: 8 }, }, }, selfClosing: true, - range: [218, 225], + range: [128, 135], loc: { - start: { column: 23, line: 9 }, - end: { column: 30, line: 9 }, + start: { column: 23, line: 8 }, + end: { column: 30, line: 8 }, }, }, - range: [218, 225], + range: [128, 135], loc: { - start: { column: 23, line: 9 }, - end: { column: 30, line: 9 }, + start: { column: 23, line: 8 }, + end: { column: 30, line: 8 }, }, }, - range: [201, 225], + range: [111, 135], loc: { - start: { column: 6, line: 9 }, - end: { column: 30, line: 9 }, + start: { column: 6, line: 8 }, + end: { column: 30, line: 8 }, }, }, ], - declare: false, kind: 'const', - range: [195, 226], + range: [105, 136], loc: { - start: { column: 0, line: 9 }, - end: { column: 31, line: 9 }, + start: { column: 0, line: 8 }, + end: { column: 31, line: 8 }, }, }, VariableDeclaration { @@ -241,10 +241,10 @@ exports[`AST Fixtures jsx JSXNamespacedName component-dashed AST Alignment - AST name: 'componentDashed', - optional: false, - range: [323, 338], + range: [143, 158], loc: { - start: { column: 6, line: 11 }, - end: { column: 21, line: 11 }, + start: { column: 6, line: 9 }, + end: { column: 21, line: 9 }, }, }, init: JSXElement { @@ -260,68 +260,68 @@ exports[`AST Fixtures jsx JSXNamespacedName component-dashed AST Alignment - AST type: 'JSXIdentifier', name: 'baz-bam', - range: [350, 357], + range: [170, 177], loc: { - start: { column: 33, line: 11 }, - end: { column: 40, line: 11 }, + start: { column: 33, line: 9 }, + end: { column: 40, line: 9 }, }, }, namespace: JSXIdentifier { type: 'JSXIdentifier', name: 'foo-bar', - range: [342, 349], + range: [162, 169], loc: { - start: { column: 25, line: 11 }, - end: { column: 32, line: 11 }, + start: { column: 25, line: 9 }, + end: { column: 32, line: 9 }, }, }, - range: [342, 357], + range: [162, 177], loc: { - start: { column: 25, line: 11 }, - end: { column: 40, line: 11 }, + start: { column: 25, line: 9 }, + end: { column: 40, line: 9 }, }, }, selfClosing: true, - range: [341, 360], + range: [161, 180], loc: { - start: { column: 24, line: 11 }, - end: { column: 43, line: 11 }, + start: { column: 24, line: 9 }, + end: { column: 43, line: 9 }, }, }, - range: [341, 360], + range: [161, 180], loc: { - start: { column: 24, line: 11 }, - end: { column: 43, line: 11 }, + start: { column: 24, line: 9 }, + end: { column: 43, line: 9 }, }, }, - range: [323, 360], + range: [143, 180], loc: { - start: { column: 6, line: 11 }, - end: { column: 43, line: 11 }, + start: { column: 6, line: 9 }, + end: { column: 43, line: 9 }, }, }, ], - declare: false, kind: 'const', - range: [317, 361], + range: [137, 181], loc: { - start: { column: 0, line: 11 }, - end: { column: 44, line: 11 }, + start: { column: 0, line: 9 }, + end: { column: 44, line: 9 }, }, }, ], sourceType: 'script', - range: [0, 362], + range: [0, 182], loc: { start: { column: 0, line: 1 }, - end: { column: 0, line: 12 }, + end: { column: 0, line: 10 }, }, }" `; diff --git a/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/6-AST-Alignment-Tokens.shot b/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/6-AST-Alignment-Tokens.shot index bae78f1bc5ca..a4db97af3d59 100644 --- a/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/6-AST-Alignment-Tokens.shot +++ b/packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/6-AST-Alignment-Tokens.shot @@ -182,120 +182,120 @@ exports[`AST Fixtures jsx JSXNamespacedName component-dashed AST Alignment - Tok type: 'Keyword', value: 'const', - range: [195, 200], + range: [105, 110], loc: { - start: { column: 0, line: 9 }, - end: { column: 5, line: 9 }, + start: { column: 0, line: 8 }, + end: { column: 5, line: 8 }, }, }, Identifier { type: 'Identifier', value: 'componentBasic', - range: [201, 215], + range: [111, 125], loc: { - start: { column: 6, line: 9 }, - end: { column: 20, line: 9 }, + start: { column: 6, line: 8 }, + end: { column: 20, line: 8 }, }, }, Punctuator { type: 'Punctuator', value: '=', - range: [216, 217], + range: [126, 127], loc: { - start: { column: 21, line: 9 }, - end: { column: 22, line: 9 }, + start: { column: 21, line: 8 }, + end: { column: 22, line: 8 }, }, }, Punctuator { type: 'Punctuator', value: '<', - range: [218, 219], + range: [128, 129], loc: { - start: { column: 23, line: 9 }, - end: { column: 24, line: 9 }, + start: { column: 23, line: 8 }, + end: { column: 24, line: 8 }, }, }, JSXIdentifier { type: 'JSXIdentifier', value: 'foo', - range: [219, 222], + range: [129, 132], loc: { - start: { column: 24, line: 9 }, - end: { column: 27, line: 9 }, + start: { column: 24, line: 8 }, + end: { column: 27, line: 8 }, }, }, Punctuator { type: 'Punctuator', value: '/', - range: [223, 224], + range: [133, 134], loc: { - start: { column: 28, line: 9 }, - end: { column: 29, line: 9 }, + start: { column: 28, line: 8 }, + end: { column: 29, line: 8 }, }, }, Punctuator { type: 'Punctuator', value: '>', - range: [224, 225], + range: [134, 135], loc: { - start: { column: 29, line: 9 }, - end: { column: 30, line: 9 }, + start: { column: 29, line: 8 }, + end: { column: 30, line: 8 }, }, }, Punctuator { type: 'Punctuator', value: ';', - range: [225, 226], + range: [135, 136], loc: { - start: { column: 30, line: 9 }, - end: { column: 31, line: 9 }, + start: { column: 30, line: 8 }, + end: { column: 31, line: 8 }, }, }, Keyword { type: 'Keyword', value: 'const', - range: [317, 322], + range: [137, 142], loc: { - start: { column: 0, line: 11 }, - end: { column: 5, line: 11 }, + start: { column: 0, line: 9 }, + end: { column: 5, line: 9 }, }, }, Identifier { type: 'Identifier', value: 'componentDashed', - range: [323, 338], + range: [143, 158], loc: { - start: { column: 6, line: 11 }, - end: { column: 21, line: 11 }, + start: { column: 6, line: 9 }, + end: { column: 21, line: 9 }, }, }, Punctuator { type: 'Punctuator', value: '=', - range: [339, 340], + range: [159, 160], loc: { - start: { column: 22, line: 11 }, - end: { column: 23, line: 11 }, + start: { column: 22, line: 9 }, + end: { column: 23, line: 9 }, }, }, Punctuator { type: 'Punctuator', value: '<', - range: [341, 342], + range: [161, 162], loc: { - start: { column: 24, line: 11 }, - end: { column: 25, line: 11 }, + start: { column: 24, line: 9 }, + end: { column: 25, line: 9 }, }, }, - Identifier { @@ -304,20 +304,20 @@ exports[`AST Fixtures jsx JSXNamespacedName component-dashed AST Alignment - Tok + type: 'JSXIdentifier', value: 'foo-bar', - range: [342, 349], + range: [162, 169], loc: { - start: { column: 25, line: 11 }, - end: { column: 32, line: 11 }, + start: { column: 25, line: 9 }, + end: { column: 32, line: 9 }, }, }, Punctuator { type: 'Punctuator', value: ':', - range: [349, 350], + range: [169, 170], loc: { - start: { column: 32, line: 11 }, - end: { column: 33, line: 11 }, + start: { column: 32, line: 9 }, + end: { column: 33, line: 9 }, }, }, - Identifier { @@ -326,40 +326,40 @@ exports[`AST Fixtures jsx JSXNamespacedName component-dashed AST Alignment - Tok + type: 'JSXIdentifier', value: 'baz-bam', - range: [350, 357], + range: [170, 177], loc: { - start: { column: 33, line: 11 }, - end: { column: 40, line: 11 }, + start: { column: 33, line: 9 }, + end: { column: 40, line: 9 }, }, }, Punctuator { type: 'Punctuator', value: '/', - range: [358, 359], + range: [178, 179], loc: { - start: { column: 41, line: 11 }, - end: { column: 42, line: 11 }, + start: { column: 41, line: 9 }, + end: { column: 42, line: 9 }, }, }, Punctuator { type: 'Punctuator', value: '>', - range: [359, 360], + range: [179, 180], loc: { - start: { column: 42, line: 11 }, - end: { column: 43, line: 11 }, + start: { column: 42, line: 9 }, + end: { column: 43, line: 9 }, }, }, Punctuator { type: 'Punctuator', value: ';', - range: [360, 361], + range: [180, 181], loc: { - start: { column: 43, line: 11 }, - end: { column: 44, line: 11 }, + start: { column: 43, line: 9 }, + end: { column: 44, line: 9 }, }, }, ]" diff --git a/packages/ast-spec/tests/fixtures.test.ts b/packages/ast-spec/tests/fixtures.test.ts index 55fcebf61041..d107cc320255 100644 --- a/packages/ast-spec/tests/fixtures.test.ts +++ b/packages/ast-spec/tests/fixtures.test.ts @@ -72,7 +72,7 @@ const FIXTURES: readonly Fixture[] = [...VALID_FIXTURES, ...ERROR_FIXTURES].map( } })(), ext, - isError: absolute.includes('/_error_/'), + isError: /[\\/]_error_[\\/]/.test(absolute), isJSX: ext.endsWith('x'), name, relative: path.relative(SRC_DIR, absolute).replace(/\\/g, '/'), diff --git a/packages/ast-spec/tsconfig.json b/packages/ast-spec/tsconfig.json index e9ea868f11bf..f1eefac4eb93 100644 --- a/packages/ast-spec/tsconfig.json +++ b/packages/ast-spec/tsconfig.json @@ -5,6 +5,6 @@ "rootDir": "." }, "include": ["src", "typings", "tests", "tools", "**/fixtures/**/config.ts"], - "exclude": ["**/fixtures/**/fixture.ts"], + "exclude": ["**/fixtures/**/fixture.ts", "**/fixtures/**/fixture.tsx"], "references": [{ "path": "../typescript-estree/tsconfig.build.json" }] } From c15daf95e31d3742e12270bacadec4fc9b1d9519 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josh=20Goldberg=20=E2=9C=A8?= Date: Thu, 7 Sep 2023 20:21:36 -0400 Subject: [PATCH 09/18] docs: explain globals in `RuleTester` for Mocha and Vitest (#7606) --- docs/packages/Rule_Tester.mdx | 40 +++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/docs/packages/Rule_Tester.mdx b/docs/packages/Rule_Tester.mdx index 47589dde9330..de9d2ce7a33b 100644 --- a/docs/packages/Rule_Tester.mdx +++ b/docs/packages/Rule_Tester.mdx @@ -193,6 +193,46 @@ ruleTester.run('my-rule', rule, { All dependencies provided in the `dependencyConstraints` object must match their given ranges in order for a test to not be skipped. +### With Specific Frameworks + +ESLint's `RuleTester` relies on some global hooks for tests. +If they aren't available globally, your tests will fail with an error like: + +> ```plaintext +> Error: Missing definition for `afterAll` - you must set one using `RuleTester.afterAll` or there must be one defined globally as `afterAll`. +> ``` + +:::tip +Be sure to set `RuleTester`'s static properties _before_ calling `new RuleTester(...)` for the first time. +::: + +#### Mocha + +Consider setting up `RuleTester`'s static properties in a [`mochaGlobalSetup` fixture](https://mochajs.org/#global-setup-fixtures): + +```ts +import * as mocha from 'mocha'; +import { RuleTester } from '@typescript-eslint/rule-tester'; + +RuleTester.afterAll = mocha.after; +``` + +#### Vitest + +Consider setting up `RuleTester`'s static properties in a [`globalSetup` script](https://vitest.dev/config/#globalsetup): + +```ts +import * as vitest from 'vitest'; +import { RuleTester } from '@typescript-eslint/rule-tester'; + +RuleTester.afterAll = vitest.afterAll; + +// If you are not using vitest with globals: true (https://vitest.dev/config/#globals): +RuleTester.it = vitest.it; +RuleTester.itOnly = vitest.it.only; +RuleTester.describe = vitest.describe; +``` + ## Options ### `RuleTester` constructor options From ec6a62ea31689ea0a5bc0a1d4c4f1e7a7a19a2db Mon Sep 17 00:00:00 2001 From: Armano Date: Fri, 8 Sep 2023 02:23:05 +0200 Subject: [PATCH 10/18] chore(website): correct schema autocompletion in playground (#7557) --- packages/website/src/components/lib/jsonSchema.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/website/src/components/lib/jsonSchema.ts b/packages/website/src/components/lib/jsonSchema.ts index cc68b440163c..6ea3d4bbc2a5 100644 --- a/packages/website/src/components/lib/jsonSchema.ts +++ b/packages/website/src/components/lib/jsonSchema.ts @@ -37,11 +37,12 @@ export function getRuleJsonSchemaWithErrorLevel( additionalItems: false, }; } - if (ruleSchema.type === 'array') { + if ('items' in ruleSchema) { // example: explicit-member-accessibility if (isArray(ruleSchema.items)) { return { ...ruleSchema, + type: 'array', items: [defaultRuleSchema, ...ruleSchema.items], maxItems: ruleSchema.maxItems ? ruleSchema.maxItems + 1 : undefined, minItems: ruleSchema.minItems ? ruleSchema.minItems + 1 : 1, @@ -52,7 +53,10 @@ export function getRuleJsonSchemaWithErrorLevel( if (typeof ruleSchema.items === 'object' && ruleSchema.items) { return { ...ruleSchema, + type: 'array', items: [defaultRuleSchema], + maxItems: ruleSchema.maxItems ? ruleSchema.maxItems + 1 : undefined, + minItems: ruleSchema.minItems ? ruleSchema.minItems + 1 : 1, additionalItems: ruleSchema.items, }; } @@ -114,7 +118,7 @@ export function getEslintJsonSchema( { type: 'string' }, { type: 'array', - items: { type: 'string', enum: Object.keys(linter.configs) }, + items: { type: 'string', enum: linter.configs }, uniqueItems: true, }, ], From 4908905e4ee2b533504fcba0c671aa869668df25 Mon Sep 17 00:00:00 2001 From: Josh Kelley Date: Thu, 7 Sep 2023 21:18:46 -0400 Subject: [PATCH 11/18] fix(eslint-plugin): [no-restricted-imports] disallow side effect imports when allowTypeImports is enabled (#7560) Co-authored-by: Brad Zacher --- .../src/rules/no-restricted-imports.ts | 14 ++++--- .../tests/rules/no-restricted-imports.test.ts | 42 +++++++++++++++++++ 2 files changed, 50 insertions(+), 6 deletions(-) diff --git a/packages/eslint-plugin/src/rules/no-restricted-imports.ts b/packages/eslint-plugin/src/rules/no-restricted-imports.ts index 71da6fe6c14d..c629a4095d13 100644 --- a/packages/eslint-plugin/src/rules/no-restricted-imports.ts +++ b/packages/eslint-plugin/src/rules/no-restricted-imports.ts @@ -273,11 +273,12 @@ export default createRule({ ImportDeclaration(node: TSESTree.ImportDeclaration): void { if ( node.importKind === 'type' || - node.specifiers.every( - specifier => - specifier.type === AST_NODE_TYPES.ImportSpecifier && - specifier.importKind === 'type', - ) + (node.specifiers.length > 0 && + node.specifiers.every( + specifier => + specifier.type === AST_NODE_TYPES.ImportSpecifier && + specifier.importKind === 'type', + )) ) { const importSource = node.source.value.trim(); if ( @@ -297,7 +298,8 @@ export default createRule({ ): void { if ( node.exportKind === 'type' || - node.specifiers.every(specifier => specifier.exportKind === 'type') + (node.specifiers.length > 0 && + node.specifiers.every(specifier => specifier.exportKind === 'type')) ) { const importSource = node.source.value.trim(); if ( diff --git a/packages/eslint-plugin/tests/rules/no-restricted-imports.test.ts b/packages/eslint-plugin/tests/rules/no-restricted-imports.test.ts index da3e78884914..2113ad11601e 100644 --- a/packages/eslint-plugin/tests/rules/no-restricted-imports.test.ts +++ b/packages/eslint-plugin/tests/rules/no-restricted-imports.test.ts @@ -10,6 +10,7 @@ const ruleTester = new RuleTester({ ruleTester.run('no-restricted-imports', rule, { valid: [ "import foo from 'foo';", + "import 'foo';", { code: "import foo from 'foo';", options: ['import1', 'import2'], @@ -26,6 +27,10 @@ ruleTester.run('no-restricted-imports', rule, { code: "export { foo } from 'foo';", options: [{ paths: ['import1', 'import2'] }], }, + { + code: "import 'foo';", + options: ['import1', 'import2'], + }, { code: "import foo from 'foo';", options: [ @@ -490,6 +495,43 @@ import type { foo } from 'import2/private/bar'; }, ], }, + { + code: "import 'import-foo';", + options: [ + { + paths: [ + { + name: 'import-foo', + }, + ], + }, + ], + errors: [ + { + messageId: 'path', + type: AST_NODE_TYPES.ImportDeclaration, + }, + ], + }, + { + code: "import 'import-foo';", + options: [ + { + paths: [ + { + name: 'import-foo', + allowTypeImports: true, + }, + ], + }, + ], + errors: [ + { + messageId: 'path', + type: AST_NODE_TYPES.ImportDeclaration, + }, + ], + }, { code: "import foo from 'import-foo';", options: [ From b284370e1e95493764d2806cd45975201e02f374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josh=20Goldberg=20=E2=9C=A8?= Date: Fri, 8 Sep 2023 13:54:34 +0200 Subject: [PATCH 12/18] feat(eslint-plugin): [await-thenable] added suggestion fixer (#7437) * feat(eslint-plugin): added suggestion fixer to await-thenable * Aha, getFirstToken --- .../eslint-plugin/src/rules/await-thenable.ts | 20 ++ .../tests/rules/await-thenable.test.ts | 182 +++++++++++++----- 2 files changed, 149 insertions(+), 53 deletions(-) diff --git a/packages/eslint-plugin/src/rules/await-thenable.ts b/packages/eslint-plugin/src/rules/await-thenable.ts index fca9fd83de00..f5932dd7f259 100644 --- a/packages/eslint-plugin/src/rules/await-thenable.ts +++ b/packages/eslint-plugin/src/rules/await-thenable.ts @@ -1,3 +1,4 @@ +import type { TSESLint } from '@typescript-eslint/utils'; import * as tsutils from 'ts-api-utils'; import * as util from '../util'; @@ -10,8 +11,10 @@ export default util.createRule({ recommended: 'recommended', requiresTypeChecking: true, }, + hasSuggestions: true, messages: { await: 'Unexpected `await` of a non-Promise (non-"Thenable") value.', + removeAwait: 'Remove unnecessary `await`.', }, schema: [], type: 'problem', @@ -35,6 +38,23 @@ export default util.createRule({ context.report({ messageId: 'await', node, + suggest: [ + { + messageId: 'removeAwait', + fix(fixer): TSESLint.RuleFix { + const sourceCode = context.getSourceCode(); + const awaitKeyword = util.nullThrows( + sourceCode.getFirstToken(node, util.isAwaitKeyword), + util.NullThrowsReasons.MissingToken( + 'await', + 'await expression', + ), + ); + + return fixer.remove(awaitKeyword); + }, + }, + ], }); } }, diff --git a/packages/eslint-plugin/tests/rules/await-thenable.test.ts b/packages/eslint-plugin/tests/rules/await-thenable.test.ts index 4b51a75ac8bb..27e4309092e8 100644 --- a/packages/eslint-plugin/tests/rules/await-thenable.test.ts +++ b/packages/eslint-plugin/tests/rules/await-thenable.test.ts @@ -1,4 +1,4 @@ -import { RuleTester } from '@typescript-eslint/rule-tester'; +import { noFormat, RuleTester } from '@typescript-eslint/rule-tester'; import rule from '../../src/rules/await-thenable'; import { getFixturesRootDir } from '../RuleTester'; @@ -202,33 +202,83 @@ const doSomething = async ( invalid: [ { - code: ` -async function test() { - await 0; - await 'value'; - - await (Math.random() > 0.5 ? '' : 0); - - class NonPromise extends Array {} - await new NonPromise(); -} - `, + code: 'await 0;', errors: [ { - line: 3, + line: 1, + messageId, + suggestions: [ + { + messageId: 'removeAwait', + output: ' 0;', + }, + ], + }, + ], + }, + { + code: "await 'value';", + errors: [ + { + line: 1, messageId, + suggestions: [ + { + messageId: 'removeAwait', + output: " 'value';", + }, + ], }, + ], + }, + { + code: "async () => await (Math.random() > 0.5 ? '' : 0);", + errors: [ { - line: 4, + line: 1, messageId, + suggestions: [ + { + messageId: 'removeAwait', + output: "async () => (Math.random() > 0.5 ? '' : 0);", + }, + ], }, + ], + }, + { + code: noFormat`async () => await(Math.random() > 0.5 ? '' : 0);`, + errors: [ { - line: 6, + line: 1, messageId, + suggestions: [ + { + messageId: 'removeAwait', + output: "async () => (Math.random() > 0.5 ? '' : 0);", + }, + ], }, + ], + }, + { + code: ` +class NonPromise extends Array {} +await new NonPromise(); + `, + errors: [ { - line: 9, + line: 3, messageId, + suggestions: [ + { + messageId: 'removeAwait', + output: ` +class NonPromise extends Array {} + new NonPromise(); + `, + }, + ], }, ], }, @@ -247,58 +297,84 @@ async function test() { { line: 8, messageId, + suggestions: [ + { + messageId: 'removeAwait', + output: ` +async function test() { + class IncorrectThenable { + then() {} + } + const thenable = new IncorrectThenable(); + + thenable; +} + `, + }, + ], }, ], }, { code: ` -const doSomething = async ( - obj1: { a?: { b?: { c?: () => void } } }, - obj2: { a?: { b?: { c: () => void } } }, - obj3: { a?: { b: { c?: () => void } } }, - obj4: { a: { b: { c?: () => void } } }, - obj5: { a?: () => { b?: { c?: () => void } } }, - obj6?: { a: { b: { c?: () => void } } }, - callback?: () => void, -): Promise => { - await obj1.a?.b?.c?.(); - await obj2.a?.b?.c(); - await obj3.a?.b.c?.(); - await obj4.a.b.c?.(); - await obj5.a?.().b?.c?.(); - await obj6?.a.b.c?.(); - - await callback?.(); -}; +declare const callback: (() => void) | undefined; +await callback?.(); `, errors: [ { - line: 11, - messageId, - }, - { - line: 12, - messageId, - }, - { - line: 13, - messageId, - }, - { - line: 14, - messageId, - }, - { - line: 15, + line: 3, messageId, + suggestions: [ + { + messageId: 'removeAwait', + output: ` +declare const callback: (() => void) | undefined; + callback?.(); + `, + }, + ], }, + ], + }, + { + code: ` +declare const obj: { a?: { b?: () => void } }; +await obj.a?.b?.(); + `, + errors: [ { - line: 16, + line: 3, messageId, + suggestions: [ + { + messageId: 'removeAwait', + output: ` +declare const obj: { a?: { b?: () => void } }; + obj.a?.b?.(); + `, + }, + ], }, + ], + }, + { + code: ` +declare const obj: { a: { b: { c?: () => void } } } | undefined; +await obj?.a.b.c?.(); + `, + errors: [ { - line: 18, + line: 3, messageId, + suggestions: [ + { + messageId: 'removeAwait', + output: ` +declare const obj: { a: { b: { c?: () => void } } } | undefined; + obj?.a.b.c?.(); + `, + }, + ], }, ], }, From 1bad83258dcb16d188da3c1a5015e903922c2109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josh=20Goldberg=20=E2=9C=A8?= Date: Fri, 8 Sep 2023 14:34:13 +0200 Subject: [PATCH 13/18] docs: added Babel to Dependency Version Upgrades (#7415) --- docs/maintenance/Dependency_Version_Upgrades.mdx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/maintenance/Dependency_Version_Upgrades.mdx b/docs/maintenance/Dependency_Version_Upgrades.mdx index 25903f3f5352..2da6e3d6dab6 100644 --- a/docs/maintenance/Dependency_Version_Upgrades.mdx +++ b/docs/maintenance/Dependency_Version_Upgrades.mdx @@ -3,6 +3,16 @@ id: dependency-version-upgrades title: Dependency Version Upgrades --- +## Babel + +Our published packages only depend on `@babel/*` packages as devDependencies. +You can generally upgrade those dependencies with: + +1. `yarn add -DW @babel/code-frame @babel/core @babel/eslint-parser @babel/parser @babel/types` +2. `npx nx run ast-spec:test -u` + +The fixtures under `packages/ast-spec/` describe how the files are parsed under both Babel and our (TSESTree) parser. + ## ESLint The typescript-eslint repository contains four kinds of version ranges for the `eslint` package: From 6ed0ca43b1fea58522f1135e224ddc3fe788b40c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 8 Sep 2023 20:00:09 -0700 Subject: [PATCH 14/18] chore(deps): update dependency @types/lodash to v4.14.198 (#7620) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 6ada169e7b51..525792122df5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5405,9 +5405,9 @@ __metadata: linkType: hard "@types/lodash@npm:*": - version: 4.14.197 - resolution: "@types/lodash@npm:4.14.197" - checksum: 53d7567d1704de76cf33266c78062e0fd722d4b846e5b1417d0b6ef0ee41c0d9c451b92bc34f73d5f1fcc45c7d36511e92f6f47a9279b48157ba60a92ddaa078 + version: 4.14.198 + resolution: "@types/lodash@npm:4.14.198" + checksum: b290e4480707151bcec738bca40527915defe52a0d8e26c83685c674163a265e1a88cb2ee56b0fb587a89819d0cd5df86ada836aec3e9c2e4bf516e7d348d524 languageName: node linkType: hard From 8ca73dd8fef9aa7e03b4ac373681d2208befb5b7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 10 Sep 2023 18:34:11 +0400 Subject: [PATCH 15/18] chore(deps): update nx to v16.8.1 (#7567) --- .github/workflows/ci.yml | 2 +- .github/workflows/nx-migrate.yml | 12 +- package.json | 10 +- packages/types/package.json | 2 +- yarn.lock | 460 ++++++++++++++++++++++--------- 5 files changed, 339 insertions(+), 147 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index faa035748e9f..51cbca79ec7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ on: merge_group: env: - PRIMARY_NODE_VERSION: 20 + PRIMARY_NODE_VERSION: '>=20.6.1' # Only set the read-write token if we are on the main branch NX_CLOUD_ACCESS_TOKEN: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') && secrets.NX_CLOUD_ACCESS_TOKEN || '' }} diff --git a/.github/workflows/nx-migrate.yml b/.github/workflows/nx-migrate.yml index 77f23bae33bb..42550164bbec 100644 --- a/.github/workflows/nx-migrate.yml +++ b/.github/workflows/nx-migrate.yml @@ -55,25 +55,25 @@ jobs: # Revert renovate's changes to package.json and yarn.lock so that it is a clean migrate from the status quo git checkout HEAD~1 -- package.json yarn.lock - yarn + YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn - npx nx migrate @nx/workspace@$NX_VERSION + yarn nx migrate @nx/workspace@$NX_VERSION # Sometimes Nx can require config formatting changes after a migrate command - yarn - npx nx format + YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn + yarn nx format # migrations.json may or may not exist after running nx migrate if [ -f migrations.json ]; then # This will also invoke yarn automatically - npx nx migrate --run-migrations=migrations.json + yarn nx migrate --run-migrations=migrations.json # After we have run its migrations, we no longer need the migrations.json file rm migrations.json fi # Run the special nx repair command to ensure config matches latest and greatest - npx nx repair + yarn nx repair # Ensure all the changed files are formatted appropriately yarn format diff --git a/package.json b/package.json index 759b61f89f39..6957da711b8e 100644 --- a/package.json +++ b/package.json @@ -60,9 +60,9 @@ "@babel/eslint-parser": "^7.22.7", "@babel/parser": "^7.22.7", "@babel/types": "^7.22.5", - "@nx/jest": "16.7.2", - "@nx/linter": "16.7.2", - "@nx/workspace": "16.7.2", + "@nx/jest": "16.8.1", + "@nx/linter": "16.8.1", + "@nx/workspace": "16.8.1", "@swc/core": "^1.3.68", "@swc/jest": "^0.2.26", "@types/babel__code-frame": "^7.0.3", @@ -106,8 +106,8 @@ "markdownlint-cli": "^0.36.0", "ncp": "^2.0.0", "netlify": "^13.1.9", - "nx": "16.7.2", - "nx-cloud": "16.4.0-beta.1", + "nx": "16.8.1", + "nx-cloud": "16.4.0", "prettier": "^2.8.4", "pretty-format": "^29.6.2", "raw-loader": "^4.0.2", diff --git a/packages/types/package.json b/packages/types/package.json index ac1ac00d83ea..f8753067994e 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -55,7 +55,7 @@ } ], "outputs": [ - "packages/types/src/generated" + "{projectRoot}/src/generated" ] }, "build": { diff --git a/yarn.lock b/yarn.lock index 525792122df5..4d107d85c9d5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3976,77 +3976,115 @@ __metadata: languageName: node linkType: hard -"@nrwl/devkit@npm:16.7.2": - version: 16.7.2 - resolution: "@nrwl/devkit@npm:16.7.2" +"@nrwl/devkit@npm:16.8.0": + version: 16.8.0 + resolution: "@nrwl/devkit@npm:16.8.0" dependencies: - "@nx/devkit": 16.7.2 - checksum: bc1a0e98e454d87ae4a4cc5bb034534687e01d3a1bff4bdad16b757096e95414d216f7f8becfcd49e44b2f5b4e05ba3fa2a8828099e59507c560f6ee7225577c + "@nx/devkit": 16.8.0 + checksum: 760f2f5b4cace1b4dd23e990d1f49cc0441d40686024b446d0b46b650afc3a786d6328916c87df77f423541f7fa7cee4913ddb5b5c553f994ce0f8c42142a5c2 languageName: node linkType: hard -"@nrwl/jest@npm:16.7.2": - version: 16.7.2 - resolution: "@nrwl/jest@npm:16.7.2" +"@nrwl/devkit@npm:16.8.1": + version: 16.8.1 + resolution: "@nrwl/devkit@npm:16.8.1" dependencies: - "@nx/jest": 16.7.2 - checksum: 0cae44ea5d935eaa41461601558d699a463061cd873ae91bdfe1cf3ed753a8129bc79d1a7ec4797597c200ba178fba425b3e0810fd3cd18a8a695049ffca57de + "@nx/devkit": 16.8.1 + checksum: c721b33853db99d6456d5539d601c2121ee1268e434c0ef37130be38f4a3d060b1fca47980f559338072442e4be3bb9c69c0ff4cc0756a0dfae248f91004125f languageName: node linkType: hard -"@nrwl/js@npm:16.7.2": - version: 16.7.2 - resolution: "@nrwl/js@npm:16.7.2" +"@nrwl/jest@npm:16.8.1": + version: 16.8.1 + resolution: "@nrwl/jest@npm:16.8.1" dependencies: - "@nx/js": 16.7.2 - checksum: f192a80ba7f07bad51d43eb370d32ace8485117d99856dff5bb00adfb7de5ad66d9ee9093305403b7f081e8217c662f720b2f7ca8ee541e26cd1e154bbc31ebd + "@nx/jest": 16.8.1 + checksum: b57f054d46f7607281bcee4e05d897515567fe4405d48de1d4e2d014b438678d2647234dd296243d5afc48e3093899abe2a6db27a97c4a9cda8cecebc61ca9ca languageName: node linkType: hard -"@nrwl/linter@npm:16.7.2": - version: 16.7.2 - resolution: "@nrwl/linter@npm:16.7.2" +"@nrwl/js@npm:16.8.1": + version: 16.8.1 + resolution: "@nrwl/js@npm:16.8.1" dependencies: - "@nx/linter": 16.7.2 - checksum: 67b457c1ebd7e99dd999a56aa6708d356e6d6679397f6a1b1635a02147662900d1a9ac69c1b7d0954700062c7aabe67e29d44d7a07f1233f0c9aceef46df1371 + "@nx/js": 16.8.1 + checksum: d088ad4c2876d9348848de3999323fc61ac42f8902eb201a4a47ae6228f4d755c5481890ebb9a2f076e02d331f5d109a91d068d9a7dd3b1d11a7960c15fc924c languageName: node linkType: hard -"@nrwl/nx-cloud@npm:16.4.0-beta.1": - version: 16.4.0-beta.1 - resolution: "@nrwl/nx-cloud@npm:16.4.0-beta.1" +"@nrwl/linter@npm:16.8.1": + version: 16.8.1 + resolution: "@nrwl/linter@npm:16.8.1" dependencies: - nx-cloud: 16.4.0-beta.1 - checksum: c06f320806f6f63071d8c989f01cc58f43aa15d9a5c29e5c9126e13e81d1db7b030dc9655bbe2adef4e186828e7fd3c2a5edba55c7fc466d4a61592266bf6cdc + "@nx/linter": 16.8.1 + checksum: de2230db37a36c864bbeb5be8d078b22e451d57aff6ab3cf84157a3e67ca7b4ddd6a5cb03c6dbb5e3d6306b6e1cdc299846621490f737ee0f51371fe60416186 languageName: node linkType: hard -"@nrwl/tao@npm:16.7.2": - version: 16.7.2 - resolution: "@nrwl/tao@npm:16.7.2" +"@nrwl/nx-cloud@npm:16.4.0": + version: 16.4.0 + resolution: "@nrwl/nx-cloud@npm:16.4.0" dependencies: - nx: 16.7.2 + nx-cloud: 16.4.0 + checksum: d72db82bcc0fa07547fc8388069ca012d974803922600885088ef5321f5f92d3944c6b4c005f98d540a414a8c2a53a57a0e365a33df3e0656c6b4ac7d2f1cf64 + languageName: node + linkType: hard + +"@nrwl/tao@npm:16.8.0": + version: 16.8.0 + resolution: "@nrwl/tao@npm:16.8.0" + dependencies: + nx: 16.8.0 + tslib: ^2.3.0 + bin: + tao: index.js + checksum: 47ec5bc2e8ff1ac96da3791d7c0df08d129e841048918b5124c377dcd3d4b5b56d5f884d65623113a3f8b468262da43e81d2574b09b62e4584a70e822653c2f3 + languageName: node + linkType: hard + +"@nrwl/tao@npm:16.8.1": + version: 16.8.1 + resolution: "@nrwl/tao@npm:16.8.1" + dependencies: + nx: 16.8.1 tslib: ^2.3.0 bin: tao: index.js - checksum: ecab238e47fc1069cf051ec8d0618df1fb10e5025bda0a355ccf002804cbfe07463ed2ece744bf6920c34923ecd6a1bb37a27fcb90f51249ebdea328b940f669 + checksum: 3026a7c66a7567a79fa0f4e73d5c51c0e272bf787a27356468c93fb244176f9d6fa27170c592ffd4fdbc5aa166853d92d01e11808639ed8c87e3f4095508e22f languageName: node linkType: hard -"@nrwl/workspace@npm:16.7.2": - version: 16.7.2 - resolution: "@nrwl/workspace@npm:16.7.2" +"@nrwl/workspace@npm:16.8.1": + version: 16.8.1 + resolution: "@nrwl/workspace@npm:16.8.1" dependencies: - "@nx/workspace": 16.7.2 - checksum: 4667b8db80a0f725f1925d06cacc12c47e78fba7ab48ae7c6f83ee1b68351cafde6eb631325226c907061470492efcd20ff8fc775a35c544248bccee06e482a0 + "@nx/workspace": 16.8.1 + checksum: 138a1449cf7b36c92db9db8667cd8bab8f31622185eae8ec0dd7acdba971fc43e9228a9adccb1014a764485cc22f171811eac0ce5a341cb0cde93551178cde49 + languageName: node + linkType: hard + +"@nx/devkit@npm:*, @nx/devkit@npm:16.8.0, @nx/devkit@npm:>=16.5.1 < 17": + version: 16.8.0 + resolution: "@nx/devkit@npm:16.8.0" + dependencies: + "@nrwl/devkit": 16.8.0 + ejs: ^3.1.7 + enquirer: ~2.3.6 + ignore: ^5.0.4 + semver: 7.5.3 + tmp: ~0.2.1 + tslib: ^2.3.0 + peerDependencies: + nx: ">= 15 <= 17" + checksum: 3d098fc3740a802e519a418cfa70fad8fe2a423e2e5b5be15f6af146e349d1572aa07f75efcd586bab206395b47e451c554ed30993d1e796bc66fb2a43800a8f languageName: node linkType: hard -"@nx/devkit@npm:*, @nx/devkit@npm:16.7.2, @nx/devkit@npm:>=16.5.1 < 17": - version: 16.7.2 - resolution: "@nx/devkit@npm:16.7.2" +"@nx/devkit@npm:16.8.1": + version: 16.8.1 + resolution: "@nx/devkit@npm:16.8.1" dependencies: - "@nrwl/devkit": 16.7.2 + "@nrwl/devkit": 16.8.1 ejs: ^3.1.7 enquirer: ~2.3.6 ignore: ^5.0.4 @@ -4055,35 +4093,34 @@ __metadata: tslib: ^2.3.0 peerDependencies: nx: ">= 15 <= 17" - checksum: 7b31d50abc02ae3286ef297786e668f2a4880938b6b738e206f151499788d397550eb8e9ec3bdd2b468a008dac6280076e8aa5e59ed6b3dfb459ac4f6053308c + checksum: 92579ccc3f3cc7bdc0f23a26c2a1f358cadb4a06e7c166c6cca569f63e0715f74748e3657c40c252fded89786f870d88127211fc4c1158a58e5c528d39214d30 languageName: node linkType: hard -"@nx/jest@npm:16.7.2": - version: 16.7.2 - resolution: "@nx/jest@npm:16.7.2" +"@nx/jest@npm:16.8.1": + version: 16.8.1 + resolution: "@nx/jest@npm:16.8.1" dependencies: "@jest/reporters": ^29.4.1 "@jest/test-result": ^29.4.1 - "@nrwl/jest": 16.7.2 - "@nx/devkit": 16.7.2 - "@nx/js": 16.7.2 + "@nrwl/jest": 16.8.1 + "@nx/devkit": 16.8.1 + "@nx/js": 16.8.1 "@phenomnomnominal/tsquery": ~5.0.1 chalk: ^4.1.0 - dotenv: ~16.3.1 identity-obj-proxy: 3.0.0 jest-config: ^29.4.1 jest-resolve: ^29.4.1 jest-util: ^29.4.1 resolve.exports: 1.1.0 tslib: ^2.3.0 - checksum: 00076fea34b2968f5eee036cb3472c1164626bdb4745fe2bbfb6fd316778d09ac6f033c3d82da283ae05b1b6a47b58dc2ad143c4130703e723a068ae2d9c74fd + checksum: 9877e0edf3f6f48070700d26eb7bba441d9c020cd2109dc0a41df78bba4132a9128638cf8a98444bd5ec23fe0caa962691f430587263c641fcd1a3020630e2c9 languageName: node linkType: hard -"@nx/js@npm:16.7.2": - version: 16.7.2 - resolution: "@nx/js@npm:16.7.2" +"@nx/js@npm:16.8.1": + version: 16.8.1 + resolution: "@nx/js@npm:16.8.1" dependencies: "@babel/core": ^7.22.9 "@babel/plugin-proposal-class-properties": ^7.18.6 @@ -4092,9 +4129,9 @@ __metadata: "@babel/preset-env": ^7.22.9 "@babel/preset-typescript": ^7.22.5 "@babel/runtime": ^7.22.6 - "@nrwl/js": 16.7.2 - "@nx/devkit": 16.7.2 - "@nx/workspace": 16.7.2 + "@nrwl/js": 16.8.1 + "@nx/devkit": 16.8.1 + "@nx/workspace": 16.8.1 "@phenomnomnominal/tsquery": ~5.0.1 babel-plugin-const-enum: ^1.0.1 babel-plugin-macros: ^2.8.0 @@ -4116,112 +4153,184 @@ __metadata: peerDependenciesMeta: verdaccio: optional: true - checksum: 6ec1f60a07ebab9d3cb93718a3b6d98250a77ebe9d06b1fc7160c97b77e6cbccfe7ee64d276a8bf45b6d47e7a3f1cce3fdb4eb498d24488ebc56484a4584575a + checksum: 22dd6a27578b9f302af6c0903e87aac4086cdbd96fae0e7924062f3b37624a99e373df5637de5a54f83221206f15c2678656d3eccc897a1c021af052ad0232da languageName: node linkType: hard -"@nx/linter@npm:16.7.2": - version: 16.7.2 - resolution: "@nx/linter@npm:16.7.2" +"@nx/linter@npm:16.8.1": + version: 16.8.1 + resolution: "@nx/linter@npm:16.8.1" dependencies: - "@nrwl/linter": 16.7.2 - "@nx/devkit": 16.7.2 - "@nx/js": 16.7.2 + "@nrwl/linter": 16.8.1 + "@nx/devkit": 16.8.1 + "@nx/js": 16.8.1 "@phenomnomnominal/tsquery": ~5.0.1 tmp: ~0.2.1 tslib: ^2.3.0 + typescript: ~5.1.3 peerDependencies: eslint: ^8.0.0 peerDependenciesMeta: eslint: optional: true - checksum: 14d010f845999bbc0feda901b7bb67f8c0960ae68fba9f7cee0f509fa7669949cb69cdff9d55cdeec8f5b71a4ff8d209546fdea02811b82bfa3e03b5d320f71f + checksum: 0f75ba97d11eb1d4b45348c65bfc1023529c64d9fca8f20d4680d409b16f9682870bea93d603216561c619b6455523b10f47ca8250fe0a45ea5db98fd0ac536b + languageName: node + linkType: hard + +"@nx/nx-darwin-arm64@npm:16.8.0": + version: 16.8.0 + resolution: "@nx/nx-darwin-arm64@npm:16.8.0" + conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@nx/nx-darwin-arm64@npm:16.7.2": - version: 16.7.2 - resolution: "@nx/nx-darwin-arm64@npm:16.7.2" +"@nx/nx-darwin-arm64@npm:16.8.1": + version: 16.8.1 + resolution: "@nx/nx-darwin-arm64@npm:16.8.1" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@nx/nx-darwin-x64@npm:16.7.2": - version: 16.7.2 - resolution: "@nx/nx-darwin-x64@npm:16.7.2" +"@nx/nx-darwin-x64@npm:16.8.0": + version: 16.8.0 + resolution: "@nx/nx-darwin-x64@npm:16.8.0" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@nx/nx-darwin-x64@npm:16.8.1": + version: 16.8.1 + resolution: "@nx/nx-darwin-x64@npm:16.8.1" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@nx/nx-freebsd-x64@npm:16.7.2": - version: 16.7.2 - resolution: "@nx/nx-freebsd-x64@npm:16.7.2" +"@nx/nx-freebsd-x64@npm:16.8.0": + version: 16.8.0 + resolution: "@nx/nx-freebsd-x64@npm:16.8.0" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@nx/nx-freebsd-x64@npm:16.8.1": + version: 16.8.1 + resolution: "@nx/nx-freebsd-x64@npm:16.8.1" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@nx/nx-linux-arm-gnueabihf@npm:16.7.2": - version: 16.7.2 - resolution: "@nx/nx-linux-arm-gnueabihf@npm:16.7.2" +"@nx/nx-linux-arm-gnueabihf@npm:16.8.0": + version: 16.8.0 + resolution: "@nx/nx-linux-arm-gnueabihf@npm:16.8.0" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@nx/nx-linux-arm64-gnu@npm:16.7.2": - version: 16.7.2 - resolution: "@nx/nx-linux-arm64-gnu@npm:16.7.2" +"@nx/nx-linux-arm-gnueabihf@npm:16.8.1": + version: 16.8.1 + resolution: "@nx/nx-linux-arm-gnueabihf@npm:16.8.1" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@nx/nx-linux-arm64-gnu@npm:16.8.0": + version: 16.8.0 + resolution: "@nx/nx-linux-arm64-gnu@npm:16.8.0" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@nx/nx-linux-arm64-musl@npm:16.7.2": - version: 16.7.2 - resolution: "@nx/nx-linux-arm64-musl@npm:16.7.2" +"@nx/nx-linux-arm64-gnu@npm:16.8.1": + version: 16.8.1 + resolution: "@nx/nx-linux-arm64-gnu@npm:16.8.1" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@nx/nx-linux-arm64-musl@npm:16.8.0": + version: 16.8.0 + resolution: "@nx/nx-linux-arm64-musl@npm:16.8.0" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@nx/nx-linux-arm64-musl@npm:16.8.1": + version: 16.8.1 + resolution: "@nx/nx-linux-arm64-musl@npm:16.8.1" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@nx/nx-linux-x64-gnu@npm:16.7.2": - version: 16.7.2 - resolution: "@nx/nx-linux-x64-gnu@npm:16.7.2" +"@nx/nx-linux-x64-gnu@npm:16.8.0": + version: 16.8.0 + resolution: "@nx/nx-linux-x64-gnu@npm:16.8.0" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@nx/nx-linux-x64-musl@npm:16.7.2": - version: 16.7.2 - resolution: "@nx/nx-linux-x64-musl@npm:16.7.2" +"@nx/nx-linux-x64-gnu@npm:16.8.1": + version: 16.8.1 + resolution: "@nx/nx-linux-x64-gnu@npm:16.8.1" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@nx/nx-linux-x64-musl@npm:16.8.0": + version: 16.8.0 + resolution: "@nx/nx-linux-x64-musl@npm:16.8.0" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@nx/nx-linux-x64-musl@npm:16.8.1": + version: 16.8.1 + resolution: "@nx/nx-linux-x64-musl@npm:16.8.1" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@nx/nx-win32-arm64-msvc@npm:16.7.2": - version: 16.7.2 - resolution: "@nx/nx-win32-arm64-msvc@npm:16.7.2" +"@nx/nx-win32-arm64-msvc@npm:16.8.0": + version: 16.8.0 + resolution: "@nx/nx-win32-arm64-msvc@npm:16.8.0" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@nx/nx-win32-x64-msvc@npm:16.7.2": - version: 16.7.2 - resolution: "@nx/nx-win32-x64-msvc@npm:16.7.2" +"@nx/nx-win32-arm64-msvc@npm:16.8.1": + version: 16.8.1 + resolution: "@nx/nx-win32-arm64-msvc@npm:16.8.1" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@nx/nx-win32-x64-msvc@npm:16.8.0": + version: 16.8.0 + resolution: "@nx/nx-win32-x64-msvc@npm:16.8.0" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@nx/nx-win32-x64-msvc@npm:16.8.1": + version: 16.8.1 + resolution: "@nx/nx-win32-x64-msvc@npm:16.8.1" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@nx/workspace@npm:16.7.2": - version: 16.7.2 - resolution: "@nx/workspace@npm:16.7.2" +"@nx/workspace@npm:16.8.1": + version: 16.8.1 + resolution: "@nx/workspace@npm:16.8.1" dependencies: - "@nrwl/workspace": 16.7.2 - "@nx/devkit": 16.7.2 + "@nrwl/workspace": 16.8.1 + "@nx/devkit": 16.8.1 chalk: ^4.1.0 + enquirer: ~2.3.6 ignore: ^5.0.4 - nx: 16.7.2 + nx: 16.8.1 rxjs: ^7.8.0 tslib: ^2.3.0 yargs-parser: 21.1.1 - checksum: 58513aa9720efce9bca128f932b18dcbc501aec6356ea311eebece3d2e7d91577aa859add7221b65de696f132c77a3ecfc82582578c096de845d3c30058bf969 + checksum: 78a1f0b435450338b7331d2847fd96374ece22d39d4095f2d1a39c238b7739ea7de5d98dab8419e2aefa00a38031adbaf0e63d6a036fc04726807d6acc56d4bd languageName: node linkType: hard @@ -5028,15 +5137,6 @@ __metadata: languageName: node linkType: hard -"@swc/helpers@npm:0.5.1": - version: 0.5.1 - resolution: "@swc/helpers@npm:0.5.1" - dependencies: - tslib: ^2.4.0 - checksum: 71e0e27234590435e4c62b97ef5e796f88e786841a38c7116a5e27a3eafa7b9ead7cdec5249b32165902076de78446945311c973e59bddf77c1e24f33a8f272a - languageName: node - linkType: hard - "@swc/jest@npm:^0.2.26": version: 0.2.29 resolution: "@swc/jest@npm:0.2.29" @@ -5971,9 +6071,9 @@ __metadata: "@babel/eslint-parser": ^7.22.7 "@babel/parser": ^7.22.7 "@babel/types": ^7.22.5 - "@nx/jest": 16.7.2 - "@nx/linter": 16.7.2 - "@nx/workspace": 16.7.2 + "@nx/jest": 16.8.1 + "@nx/linter": 16.8.1 + "@nx/workspace": 16.8.1 "@swc/core": ^1.3.68 "@swc/jest": ^0.2.26 "@types/babel__code-frame": ^7.0.3 @@ -6017,8 +6117,8 @@ __metadata: markdownlint-cli: ^0.36.0 ncp: ^2.0.0 netlify: ^13.1.9 - nx: 16.7.2 - nx-cloud: 16.4.0-beta.1 + nx: 16.8.1 + nx-cloud: 16.4.0 prettier: ^2.8.4 pretty-format: ^29.6.2 raw-loader: ^4.0.2 @@ -9371,6 +9471,13 @@ __metadata: languageName: node linkType: hard +"dotenv-expand@npm:~10.0.0": + version: 10.0.0 + resolution: "dotenv-expand@npm:10.0.0" + checksum: 2a38b470efe0abcb1ac8490421a55e1d764dc9440fd220942bce40965074f3fb00b585f4346020cb0f0f219966ee6b4ee5023458b3e2953fe5b3214de1b314ee + languageName: node + linkType: hard + "dotenv@npm:~10.0.0": version: 10.0.0 resolution: "dotenv@npm:10.0.0" @@ -15447,12 +15554,11 @@ __metadata: languageName: node linkType: hard -"nx-cloud@npm:16.4.0-beta.1": - version: 16.4.0-beta.1 - resolution: "nx-cloud@npm:16.4.0-beta.1" +"nx-cloud@npm:16.4.0": + version: 16.4.0 + resolution: "nx-cloud@npm:16.4.0" dependencies: - "@nrwl/nx-cloud": 16.4.0-beta.1 - "@swc/helpers": 0.5.1 + "@nrwl/nx-cloud": 16.4.0 axios: 1.1.3 chalk: ^4.1.0 dotenv: ~10.0.0 @@ -15464,25 +15570,110 @@ __metadata: yargs-parser: ">=21.1.1" bin: nx-cloud: bin/nx-cloud.js - checksum: 5a7d02578b51f31369e8b32b541a88e3493c6ad3d3214edc1751ece543b0c283fbb568c94fc6bfeeb26e5c1ccd1173f283de392d26b242d2283d47fb3027804d + checksum: 41319b77ea3c2a9a80610d50eb52a43f6d86fe84233373697930a6aa887350295785739c9b68cb56f5be60928d67549fa5ec8af3a8091c68851c2758ed5f4dfe + languageName: node + linkType: hard + +"nx@npm:16.8.0, nx@npm:>=16.5.1 < 17": + version: 16.8.0 + resolution: "nx@npm:16.8.0" + dependencies: + "@nrwl/tao": 16.8.0 + "@nx/nx-darwin-arm64": 16.8.0 + "@nx/nx-darwin-x64": 16.8.0 + "@nx/nx-freebsd-x64": 16.8.0 + "@nx/nx-linux-arm-gnueabihf": 16.8.0 + "@nx/nx-linux-arm64-gnu": 16.8.0 + "@nx/nx-linux-arm64-musl": 16.8.0 + "@nx/nx-linux-x64-gnu": 16.8.0 + "@nx/nx-linux-x64-musl": 16.8.0 + "@nx/nx-win32-arm64-msvc": 16.8.0 + "@nx/nx-win32-x64-msvc": 16.8.0 + "@parcel/watcher": 2.0.4 + "@yarnpkg/lockfile": ^1.1.0 + "@yarnpkg/parsers": 3.0.0-rc.46 + "@zkochan/js-yaml": 0.0.6 + axios: ^1.0.0 + chalk: ^4.1.0 + cli-cursor: 3.1.0 + cli-spinners: 2.6.1 + cliui: ^7.0.2 + dotenv: ~16.3.1 + dotenv-expand: ~10.0.0 + enquirer: ~2.3.6 + fast-glob: 3.2.7 + figures: 3.2.0 + flat: ^5.0.2 + fs-extra: ^11.1.0 + glob: 7.1.4 + ignore: ^5.0.4 + js-yaml: 4.1.0 + jsonc-parser: 3.2.0 + lines-and-columns: ~2.0.3 + minimatch: 3.0.5 + node-machine-id: 1.1.12 + npm-run-path: ^4.0.1 + open: ^8.4.0 + semver: 7.5.3 + string-width: ^4.2.3 + strong-log-transformer: ^2.1.0 + tar-stream: ~2.2.0 + tmp: ~0.2.1 + tsconfig-paths: ^4.1.2 + tslib: ^2.3.0 + v8-compile-cache: 2.3.0 + yargs: ^17.6.2 + yargs-parser: 21.1.1 + peerDependencies: + "@swc-node/register": ^1.4.2 + "@swc/core": ^1.2.173 + dependenciesMeta: + "@nx/nx-darwin-arm64": + optional: true + "@nx/nx-darwin-x64": + optional: true + "@nx/nx-freebsd-x64": + optional: true + "@nx/nx-linux-arm-gnueabihf": + optional: true + "@nx/nx-linux-arm64-gnu": + optional: true + "@nx/nx-linux-arm64-musl": + optional: true + "@nx/nx-linux-x64-gnu": + optional: true + "@nx/nx-linux-x64-musl": + optional: true + "@nx/nx-win32-arm64-msvc": + optional: true + "@nx/nx-win32-x64-msvc": + optional: true + peerDependenciesMeta: + "@swc-node/register": + optional: true + "@swc/core": + optional: true + bin: + nx: bin/nx.js + checksum: fdfa6e0c15362e54019917d16ba380f974d186d54bd443ddfd2c452d6012b1a955aa021559d3ca02044bb7c8ba17c1cd5a64a6b864a430b2e93c965ac0605962 languageName: node linkType: hard -"nx@npm:16.7.2, nx@npm:>=16.5.1 < 17": - version: 16.7.2 - resolution: "nx@npm:16.7.2" +"nx@npm:16.8.1": + version: 16.8.1 + resolution: "nx@npm:16.8.1" dependencies: - "@nrwl/tao": 16.7.2 - "@nx/nx-darwin-arm64": 16.7.2 - "@nx/nx-darwin-x64": 16.7.2 - "@nx/nx-freebsd-x64": 16.7.2 - "@nx/nx-linux-arm-gnueabihf": 16.7.2 - "@nx/nx-linux-arm64-gnu": 16.7.2 - "@nx/nx-linux-arm64-musl": 16.7.2 - "@nx/nx-linux-x64-gnu": 16.7.2 - "@nx/nx-linux-x64-musl": 16.7.2 - "@nx/nx-win32-arm64-msvc": 16.7.2 - "@nx/nx-win32-x64-msvc": 16.7.2 + "@nrwl/tao": 16.8.1 + "@nx/nx-darwin-arm64": 16.8.1 + "@nx/nx-darwin-x64": 16.8.1 + "@nx/nx-freebsd-x64": 16.8.1 + "@nx/nx-linux-arm-gnueabihf": 16.8.1 + "@nx/nx-linux-arm64-gnu": 16.8.1 + "@nx/nx-linux-arm64-musl": 16.8.1 + "@nx/nx-linux-x64-gnu": 16.8.1 + "@nx/nx-linux-x64-musl": 16.8.1 + "@nx/nx-win32-arm64-msvc": 16.8.1 + "@nx/nx-win32-x64-msvc": 16.8.1 "@parcel/watcher": 2.0.4 "@yarnpkg/lockfile": ^1.1.0 "@yarnpkg/parsers": 3.0.0-rc.46 @@ -15493,6 +15684,7 @@ __metadata: cli-spinners: 2.6.1 cliui: ^7.0.2 dotenv: ~16.3.1 + dotenv-expand: ~10.0.0 enquirer: ~2.3.6 fast-glob: 3.2.7 figures: 3.2.0 @@ -15548,7 +15740,7 @@ __metadata: optional: true bin: nx: bin/nx.js - checksum: 8507fe0b5f842e7b4454631b4bd6a4a7e7a9664b477ffa8e40c15bee2c3cbcc74ffb353a3b04496e67e4185d26db8465b67ffc11bb2da8e6a97fef984b55a599 + checksum: a880cbcd331eb45f81c7fbcc5e4567faf7663f5ae4dde6cb50afdb56c2f644d9ed22f0f429819bae456e97dad3bb4be6137c7cf0782ed23e020d7b4703f5984e languageName: node linkType: hard From a5f10ff244b2d4f33b21617d631e5fc40fb24c2e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 11 Sep 2023 08:20:19 +0930 Subject: [PATCH 16/18] chore(deps): update dependency @swc/core to v1.3.83 (#7623) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 58 +++++++++++++++++++++++++++---------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/yarn.lock b/yarn.lock index 4d107d85c9d5..bc73906a0ae3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5027,16 +5027,16 @@ __metadata: languageName: node linkType: hard -"@swc/core-darwin-arm64@npm:1.3.82": - version: 1.3.82 - resolution: "@swc/core-darwin-arm64@npm:1.3.82" +"@swc/core-darwin-arm64@npm:1.3.83": + version: 1.3.83 + resolution: "@swc/core-darwin-arm64@npm:1.3.83" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@swc/core-darwin-x64@npm:1.3.82": - version: 1.3.82 - resolution: "@swc/core-darwin-x64@npm:1.3.82" +"@swc/core-darwin-x64@npm:1.3.83": + version: 1.3.83 + resolution: "@swc/core-darwin-x64@npm:1.3.83" conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -5059,16 +5059,16 @@ __metadata: languageName: node linkType: soft -"@swc/core-linux-x64-gnu@npm:1.3.82": - version: 1.3.82 - resolution: "@swc/core-linux-x64-gnu@npm:1.3.82" +"@swc/core-linux-x64-gnu@npm:1.3.83": + version: 1.3.83 + resolution: "@swc/core-linux-x64-gnu@npm:1.3.83" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-x64-musl@npm:1.3.82": - version: 1.3.82 - resolution: "@swc/core-linux-x64-musl@npm:1.3.82" +"@swc/core-linux-x64-musl@npm:1.3.83": + version: 1.3.83 + resolution: "@swc/core-linux-x64-musl@npm:1.3.83" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard @@ -5085,27 +5085,27 @@ __metadata: languageName: node linkType: soft -"@swc/core-win32-x64-msvc@npm:1.3.82": - version: 1.3.82 - resolution: "@swc/core-win32-x64-msvc@npm:1.3.82" +"@swc/core-win32-x64-msvc@npm:1.3.83": + version: 1.3.83 + resolution: "@swc/core-win32-x64-msvc@npm:1.3.83" conditions: os=win32 & cpu=x64 languageName: node linkType: hard "@swc/core@npm:^1.3.68": - version: 1.3.82 - resolution: "@swc/core@npm:1.3.82" - dependencies: - "@swc/core-darwin-arm64": 1.3.82 - "@swc/core-darwin-x64": 1.3.82 - "@swc/core-linux-arm-gnueabihf": 1.3.82 - "@swc/core-linux-arm64-gnu": 1.3.82 - "@swc/core-linux-arm64-musl": 1.3.82 - "@swc/core-linux-x64-gnu": 1.3.82 - "@swc/core-linux-x64-musl": 1.3.82 - "@swc/core-win32-arm64-msvc": 1.3.82 - "@swc/core-win32-ia32-msvc": 1.3.82 - "@swc/core-win32-x64-msvc": 1.3.82 + version: 1.3.83 + resolution: "@swc/core@npm:1.3.83" + dependencies: + "@swc/core-darwin-arm64": 1.3.83 + "@swc/core-darwin-x64": 1.3.83 + "@swc/core-linux-arm-gnueabihf": 1.3.83 + "@swc/core-linux-arm64-gnu": 1.3.83 + "@swc/core-linux-arm64-musl": 1.3.83 + "@swc/core-linux-x64-gnu": 1.3.83 + "@swc/core-linux-x64-musl": 1.3.83 + "@swc/core-win32-arm64-msvc": 1.3.83 + "@swc/core-win32-ia32-msvc": 1.3.83 + "@swc/core-win32-x64-msvc": 1.3.83 "@swc/types": ^0.1.4 peerDependencies: "@swc/helpers": ^0.5.0 @@ -5133,7 +5133,7 @@ __metadata: peerDependenciesMeta: "@swc/helpers": optional: true - checksum: 4c4adbed22071c0af935129a6fe7cc35d1688a5c1a069efdd8c97740930fa7eaf324e75dc88634a4ea0520330f6c88101d5aa5cf7ed6e02d336cc46ee7131ea3 + checksum: 39849d78f16e0aab168d3563245a0995164c07b195626f124651af00c922d166fc714467f85eed1e111377d68078fc726dbb13002516f64fecb729437538911b languageName: node linkType: hard From 7c3475c2d29f9f40ac2ab56777563c5875bf1385 Mon Sep 17 00:00:00 2001 From: Armano Date: Mon, 11 Sep 2023 12:32:26 +0200 Subject: [PATCH 17/18] chore(website): [playground] add types tab to playground (#6843) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(website): [playground] add types tab to playground * chore(website): [playground] add missing styles * fix: remove unnecessary code after merge * fix: correct package file * fix: apply changes after merge * fix: unify playgroundInfoContainer with tabCode * Update packages/website/src/components/typeDetails/TypeInfo.tsx Co-authored-by: Josh Goldberg ✨ --------- Co-authored-by: Josh Goldberg ✨ --- .../src/components/Playground.module.css | 1 + .../website/src/components/Playground.tsx | 41 ++--- .../src/components/editor/LoadedEditor.tsx | 10 +- .../website/src/components/editor/types.ts | 8 +- .../src/components/hooks/useHashState.ts | 1 + .../website/src/components/linter/types.ts | 2 +- packages/website/src/components/options.ts | 1 + .../typeDetails/SimplifiedTreeView.tsx | 77 ++++++++++ .../src/components/typeDetails/TypeInfo.tsx | 141 ++++++++++++++++++ .../components/typeDetails/TypesDetails.tsx | 62 ++++++++ packages/website/src/components/types.ts | 2 +- 11 files changed, 312 insertions(+), 34 deletions(-) create mode 100644 packages/website/src/components/typeDetails/SimplifiedTreeView.tsx create mode 100644 packages/website/src/components/typeDetails/TypeInfo.tsx create mode 100644 packages/website/src/components/typeDetails/TypesDetails.tsx diff --git a/packages/website/src/components/Playground.module.css b/packages/website/src/components/Playground.module.css index e61a35bad03c..b824d441fafc 100644 --- a/packages/website/src/components/Playground.module.css +++ b/packages/website/src/components/Playground.module.css @@ -52,6 +52,7 @@ .tabCode { height: calc(100% - 41px); + overflow: auto; } .hidden { diff --git a/packages/website/src/components/Playground.tsx b/packages/website/src/components/Playground.tsx index 4f3a74bd5255..ef45fecab317 100644 --- a/packages/website/src/components/Playground.tsx +++ b/packages/website/src/components/Playground.tsx @@ -1,8 +1,6 @@ -import type { TSESTree } from '@typescript-eslint/utils'; import clsx from 'clsx'; import type * as ESQuery from 'esquery'; import React, { useCallback, useState } from 'react'; -import type { SourceFile } from 'typescript'; import ASTViewer from './ast/ASTViewer'; import ConfigEslint from './config/ConfigEslint'; @@ -14,17 +12,17 @@ import { ESQueryFilter } from './ESQueryFilter'; import useHashState from './hooks/useHashState'; import EditorTabs from './layout/EditorTabs'; import Loader from './layout/Loader'; +import type { UpdateModel } from './linter/types'; import { defaultConfig, detailTabs } from './options'; import OptionsSelector from './OptionsSelector'; import styles from './Playground.module.css'; import ConditionalSplitPane from './SplitPane/ConditionalSplitPane'; +import { TypesDetails } from './typeDetails/TypesDetails'; import type { ErrorGroup, RuleDetails, SelectedRange, TabType } from './types'; function Playground(): React.JSX.Element { const [state, setState] = useHashState(defaultConfig); - const [esAst, setEsAst] = useState(); - const [tsAst, setTsAST] = useState(); - const [scope, setScope] = useState | null>(); + const [astModel, setAstModel] = useState(); const [markers, setMarkers] = useState(); const [ruleNames, setRuleNames] = useState([]); const [isLoading, setIsLoading] = useState(true); @@ -62,15 +60,6 @@ function Playground(): React.JSX.Element { } }, []); - const astToShow = - state.showAST === 'ts' - ? tsAst - : state.showAST === 'scope' - ? scope - : state.showAST === 'es' - ? esAst - : undefined; - return (
@@ -137,9 +126,7 @@ function Playground(): React.JSX.Element { eslintrc={state.eslintrc} sourceType={state.sourceType} showAST={state.showAST} - onEsASTChange={setEsAst} - onTsASTChange={setTsAST} - onScopeChange={setScope} + onASTChange={setAstModel} onMarkersChange={setMarkers} selectedRange={selectedRange} onChange={setState} @@ -169,11 +156,27 @@ function Playground(): React.JSX.Element { value={esQueryError} /> )) || - (state.showAST && astToShow && ( + (state.showAST === 'types' && astModel?.storedTsAST && ( + + )) || + (state.showAST && astModel && ( = ({ eslintrc, selectedRange, fileType, - onEsASTChange, - onScopeChange, - onTsASTChange, + onASTChange, onMarkersChange, onChange, onSelect, @@ -140,12 +138,10 @@ export const LoadedEditor: React.FC = ({ useEffect(() => { const disposable = webLinter.onParse((uri, model) => { - onEsASTChange(model.storedAST); - onScopeChange(model.storedScope as Record | undefined); - onTsASTChange(model.storedTsAST); + onASTChange(model); }); return () => disposable(); - }, [webLinter, onEsASTChange, onScopeChange, onTsASTChange]); + }, [webLinter, onASTChange]); useEffect(() => { const createRuleUri = (name: string): string => diff --git a/packages/website/src/components/editor/types.ts b/packages/website/src/components/editor/types.ts index bc7b886f535f..e8933ce19f42 100644 --- a/packages/website/src/components/editor/types.ts +++ b/packages/website/src/components/editor/types.ts @@ -1,15 +1,11 @@ -import type { TSESTree } from '@typescript-eslint/utils'; -import type { SourceFile } from 'typescript'; - +import type { UpdateModel } from '../linter/types'; import type { ConfigModel, ErrorGroup, SelectedRange, TabType } from '../types'; export interface CommonEditorProps extends ConfigModel { readonly activeTab: TabType; readonly selectedRange?: SelectedRange; readonly onChange: (cfg: Partial) => void; - readonly onTsASTChange: (value: SourceFile | undefined) => void; - readonly onEsASTChange: (value: TSESTree.Program | undefined) => void; - readonly onScopeChange: (value: Record | undefined) => void; + readonly onASTChange: (value: undefined | UpdateModel) => void; readonly onMarkersChange: (value: ErrorGroup[]) => void; readonly onSelect: (position?: number) => void; } diff --git a/packages/website/src/components/hooks/useHashState.ts b/packages/website/src/components/hooks/useHashState.ts index 70293527f188..95573ba375b4 100644 --- a/packages/website/src/components/hooks/useHashState.ts +++ b/packages/website/src/components/hooks/useHashState.ts @@ -21,6 +21,7 @@ function readShowAST(value: string | null): ConfigShowAst { case 'es': case 'ts': case 'scope': + case 'types': return value; } return value ? 'es' : false; diff --git a/packages/website/src/components/linter/types.ts b/packages/website/src/components/linter/types.ts index 540ad0e45218..12e4c9654d41 100644 --- a/packages/website/src/components/linter/types.ts +++ b/packages/website/src/components/linter/types.ts @@ -8,7 +8,7 @@ export type { ParseSettings } from '@typescript-eslint/typescript-estree/use-at- export interface UpdateModel { storedAST?: TSESTree.Program; - storedTsAST?: ts.SourceFile; + storedTsAST?: ts.Node; storedScope?: ScopeManager; typeChecker?: ts.TypeChecker; } diff --git a/packages/website/src/components/options.ts b/packages/website/src/components/options.ts index 07e50240fb3d..f52e7784bc37 100644 --- a/packages/website/src/components/options.ts +++ b/packages/website/src/components/options.ts @@ -6,6 +6,7 @@ export const detailTabs: { value: ConfigShowAst; label: string }[] = [ { value: 'es', label: 'ESTree' }, { value: 'ts', label: 'TypeScript' }, { value: 'scope', label: 'Scope' }, + { value: 'types', label: 'Types' }, ]; /** diff --git a/packages/website/src/components/typeDetails/SimplifiedTreeView.tsx b/packages/website/src/components/typeDetails/SimplifiedTreeView.tsx new file mode 100644 index 000000000000..c5dc1b37926d --- /dev/null +++ b/packages/website/src/components/typeDetails/SimplifiedTreeView.tsx @@ -0,0 +1,77 @@ +import clsx from 'clsx'; +import React, { useCallback, useMemo } from 'react'; +import type * as ts from 'typescript'; + +import styles from '../ast/ASTViewer.module.css'; +import PropertyName from '../ast/PropertyName'; +import { tsEnumToString } from '../ast/tsUtils'; +import type { OnHoverNodeFn } from '../ast/types'; +import { getRange, isTSNode } from '../ast/utils'; + +export interface SimplifiedTreeViewProps { + readonly value: ts.Node; + readonly selectedNode: ts.Node | undefined; + readonly onSelect: (value: ts.Node) => void; + readonly onHoverNode?: OnHoverNodeFn; +} + +function SimplifiedItem({ + value, + onSelect, + selectedNode, + onHoverNode, +}: SimplifiedTreeViewProps): React.JSX.Element { + const items = useMemo(() => { + const result: ts.Node[] = []; + value.forEachChild(child => { + result.push(child); + }); + return result; + }, [value]); + + const onHover = useCallback( + (v: boolean) => { + if (isTSNode(value) && onHoverNode) { + return onHoverNode(v ? getRange(value, 'tsNode') : undefined); + } + }, + [onHoverNode, value], + ); + + return ( +
+ + { + onSelect(value); + }} + /> + + +
+ {items.map((item, index) => ( + + ))} +
+
+ ); +} + +export function SimplifiedTreeView( + params: SimplifiedTreeViewProps, +): React.JSX.Element { + return ( +
+ +
+ ); +} diff --git a/packages/website/src/components/typeDetails/TypeInfo.tsx b/packages/website/src/components/typeDetails/TypeInfo.tsx new file mode 100644 index 000000000000..87084650d124 --- /dev/null +++ b/packages/website/src/components/typeDetails/TypeInfo.tsx @@ -0,0 +1,141 @@ +import React, { useMemo } from 'react'; +import type * as ts from 'typescript'; + +import ASTViewer from '../ast/ASTViewer'; +import astStyles from '../ast/ASTViewer.module.css'; +import type { OnHoverNodeFn } from '../ast/types'; + +export interface TypeInfoProps { + readonly value: ts.Node; + readonly typeChecker?: ts.TypeChecker; + readonly onHoverNode?: OnHoverNodeFn; +} + +interface InfoModel { + type?: unknown; + typeString?: string; + contextualType?: unknown; + contextualTypeString?: string; + symbol?: unknown; + signature?: unknown; + flowNode?: unknown; +} + +interface SimpleFieldProps { + readonly value: string | undefined; + readonly label: string; +} + +interface TypeGroupProps { + readonly label: string; + readonly type?: unknown; + readonly string?: string; + readonly onHoverNode?: OnHoverNodeFn; +} + +function SimpleField(props: SimpleFieldProps): React.JSX.Element { + return ( +
+ {props.label} + : + {String(props.value)} +
+ ); +} + +function TypeGroup(props: TypeGroupProps): React.JSX.Element { + return ( + <> +

{props.label}

+ {props.type ? ( + <> + {props.string && ( + + )} + + + ) : ( +
None
+ )} + + ); +} + +export function TypeInfo({ + value, + typeChecker, + onHoverNode, +}: TypeInfoProps): React.JSX.Element { + const computed = useMemo(() => { + if (!typeChecker || !value) { + return undefined; + } + const info: InfoModel = {}; + try { + const type = typeChecker.getTypeAtLocation(value); + info.type = type; + info.typeString = typeChecker.typeToString(type); + info.symbol = type.getSymbol(); + let signature = type.getCallSignatures(); + if (signature.length === 0) { + signature = type.getConstructSignatures(); + } + info.signature = signature.length > 0 ? signature : undefined; + // @ts-expect-error not part of public api + info.flowNode = value.flowNode ?? value.endFlowNode ?? undefined; + } catch (e: unknown) { + info.type = e; + } + try { + // @ts-expect-error just fail if a node type is not correct + const contextualType = typeChecker.getContextualType(value); + info.contextualType = contextualType; + if (contextualType) { + info.contextualTypeString = typeChecker.typeToString(contextualType); + } + } catch { + info.contextualType = undefined; + } + return info; + }, [value, typeChecker]); + + if (!typeChecker || !computed) { + return
TypeChecker not available
; + } + + return ( +
+ <> +

Node

+ + + + + + + +
+ ); +} diff --git a/packages/website/src/components/typeDetails/TypesDetails.tsx b/packages/website/src/components/typeDetails/TypesDetails.tsx new file mode 100644 index 000000000000..28dd2f824deb --- /dev/null +++ b/packages/website/src/components/typeDetails/TypesDetails.tsx @@ -0,0 +1,62 @@ +import React, { useEffect, useState } from 'react'; +import type * as ts from 'typescript'; + +import { findSelectionPath } from '../ast/selectedRange'; +import type { OnHoverNodeFn } from '../ast/types'; +import { isTSNode } from '../ast/utils'; +import styles from '../Playground.module.css'; +import ConditionalSplitPane from '../SplitPane/ConditionalSplitPane'; +import { SimplifiedTreeView } from './SimplifiedTreeView'; +import { TypeInfo } from './TypeInfo'; + +export interface TypesDetailsProps { + readonly value: ts.Node; + readonly typeChecker?: ts.TypeChecker; + readonly cursorPosition?: number; + readonly onHoverNode?: OnHoverNodeFn; +} + +export function TypesDetails({ + cursorPosition, + value, + typeChecker, + onHoverNode, +}: TypesDetailsProps): React.JSX.Element { + const [selectedNode, setSelectedNode] = useState(value); + + useEffect(() => { + if (cursorPosition) { + const item = findSelectionPath(value, cursorPosition); + if (item.node && isTSNode(item.node)) { + setSelectedNode(item.node); + } + } + }, [cursorPosition, value]); + + return ( + +
+ +
+ {selectedNode && ( +
+ +
+ )} +
+ ); +} diff --git a/packages/website/src/components/types.ts b/packages/website/src/components/types.ts index 219443b6b952..4b99af65c887 100644 --- a/packages/website/src/components/types.ts +++ b/packages/website/src/components/types.ts @@ -17,7 +17,7 @@ export type TabType = 'code' | 'eslintrc' | 'tsconfig'; export type ConfigFileType = `${ts.Extension}`; -export type ConfigShowAst = 'es' | 'scope' | 'ts' | false; +export type ConfigShowAst = 'es' | 'scope' | 'ts' | 'types' | false; export interface ConfigModel { fileType?: ConfigFileType; From 79ffff05dbf21796565eef0076ba0bf4fc55e7ed Mon Sep 17 00:00:00 2001 From: "typescript-eslint[bot]" Date: Mon, 11 Sep 2023 17:15:03 +0000 Subject: [PATCH 18/18] chore: publish v6.7.0 --- CHANGELOG.md | 18 +++ lerna.json | 2 +- packages/ast-spec/CHANGELOG.md | 10 ++ packages/ast-spec/package.json | 2 +- packages/eslint-plugin-internal/CHANGELOG.md | 10 ++ packages/eslint-plugin-internal/package.json | 10 +- packages/eslint-plugin-tslint/CHANGELOG.md | 10 ++ packages/eslint-plugin-tslint/package.json | 6 +- packages/eslint-plugin/CHANGELOG.md | 18 +++ packages/eslint-plugin/package.json | 14 +-- packages/integration-tests/CHANGELOG.md | 10 ++ packages/integration-tests/package.json | 2 +- packages/parser/CHANGELOG.md | 10 ++ packages/parser/package.json | 10 +- packages/repo-tools/CHANGELOG.md | 10 ++ packages/repo-tools/package.json | 2 +- .../CHANGELOG.md | 10 ++ .../package.json | 6 +- packages/rule-tester/CHANGELOG.md | 10 ++ packages/rule-tester/package.json | 8 +- packages/scope-manager/CHANGELOG.md | 10 ++ packages/scope-manager/package.json | 8 +- packages/type-utils/CHANGELOG.md | 10 ++ packages/type-utils/package.json | 8 +- packages/types/CHANGELOG.md | 10 ++ packages/types/package.json | 2 +- packages/typescript-estree/CHANGELOG.md | 10 ++ packages/typescript-estree/package.json | 6 +- packages/utils/CHANGELOG.md | 10 ++ packages/utils/package.json | 10 +- packages/visitor-keys/CHANGELOG.md | 10 ++ packages/visitor-keys/package.json | 4 +- packages/website-eslint/CHANGELOG.md | 10 ++ packages/website-eslint/package.json | 16 +-- packages/website/CHANGELOG.md | 10 ++ packages/website/package.json | 12 +- yarn.lock | 114 +++++++++--------- 37 files changed, 317 insertions(+), 121 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf51b50abf9e..834acc5172f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,24 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [6.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.6.0...v6.7.0) (2023-09-11) + + +### Bug Fixes + +* **eslint-plugin:** [no-restricted-imports] disallow side effect imports when allowTypeImports is enabled ([#7560](https://github.com/typescript-eslint/typescript-eslint/issues/7560)) ([4908905](https://github.com/typescript-eslint/typescript-eslint/commit/4908905e4ee2b533504fcba0c671aa869668df25)) + + +### Features + +* **eslint-plugin:** [await-thenable] added suggestion fixer ([#7437](https://github.com/typescript-eslint/typescript-eslint/issues/7437)) ([b284370](https://github.com/typescript-eslint/typescript-eslint/commit/b284370e1e95493764d2806cd45975201e02f374)) + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + + + + + # [6.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0) (2023-09-04) diff --git a/lerna.json b/lerna.json index c25febc3774c..1a1c7fc0993a 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "version": "6.6.0", + "version": "6.7.0", "npmClient": "yarn", "stream": true, "command": { diff --git a/packages/ast-spec/CHANGELOG.md b/packages/ast-spec/CHANGELOG.md index 29018c2eafbc..6c515541d928 100644 --- a/packages/ast-spec/CHANGELOG.md +++ b/packages/ast-spec/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [6.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.6.0...v6.7.0) (2023-09-11) + +**Note:** Version bump only for package @typescript-eslint/ast-spec + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + + + + + # [6.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0) (2023-09-04) **Note:** Version bump only for package @typescript-eslint/ast-spec diff --git a/packages/ast-spec/package.json b/packages/ast-spec/package.json index af0f76e0e0ec..707b41485805 100644 --- a/packages/ast-spec/package.json +++ b/packages/ast-spec/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/ast-spec", - "version": "6.6.0", + "version": "6.7.0", "description": "Complete specification for the TypeScript-ESTree AST", "private": true, "keywords": [ diff --git a/packages/eslint-plugin-internal/CHANGELOG.md b/packages/eslint-plugin-internal/CHANGELOG.md index 3abc9aa3d0bf..28d8be165de5 100644 --- a/packages/eslint-plugin-internal/CHANGELOG.md +++ b/packages/eslint-plugin-internal/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [6.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.6.0...v6.7.0) (2023-09-11) + +**Note:** Version bump only for package @typescript-eslint/eslint-plugin-internal + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + + + + + # [6.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0) (2023-09-04) **Note:** Version bump only for package @typescript-eslint/eslint-plugin-internal diff --git a/packages/eslint-plugin-internal/package.json b/packages/eslint-plugin-internal/package.json index 71d0e1690c09..8beb64b1dfcb 100644 --- a/packages/eslint-plugin-internal/package.json +++ b/packages/eslint-plugin-internal/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/eslint-plugin-internal", - "version": "6.6.0", + "version": "6.7.0", "private": true, "main": "dist/index.js", "scripts": { @@ -14,10 +14,10 @@ }, "dependencies": { "@types/prettier": "*", - "@typescript-eslint/rule-tester": "6.6.0", - "@typescript-eslint/scope-manager": "6.6.0", - "@typescript-eslint/type-utils": "6.6.0", - "@typescript-eslint/utils": "6.6.0", + "@typescript-eslint/rule-tester": "6.7.0", + "@typescript-eslint/scope-manager": "6.7.0", + "@typescript-eslint/type-utils": "6.7.0", + "@typescript-eslint/utils": "6.7.0", "prettier": "^2.8.4" }, "devDependencies": { diff --git a/packages/eslint-plugin-tslint/CHANGELOG.md b/packages/eslint-plugin-tslint/CHANGELOG.md index bcc382bd9992..3a882d1fc5b1 100644 --- a/packages/eslint-plugin-tslint/CHANGELOG.md +++ b/packages/eslint-plugin-tslint/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [6.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.6.0...v6.7.0) (2023-09-11) + +**Note:** Version bump only for package @typescript-eslint/eslint-plugin-tslint + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + + + + + # [6.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0) (2023-09-04) **Note:** Version bump only for package @typescript-eslint/eslint-plugin-tslint diff --git a/packages/eslint-plugin-tslint/package.json b/packages/eslint-plugin-tslint/package.json index 49e9bfc322df..ff1afe3d71cb 100644 --- a/packages/eslint-plugin-tslint/package.json +++ b/packages/eslint-plugin-tslint/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/eslint-plugin-tslint", - "version": "6.6.0", + "version": "6.7.0", "main": "dist/index.js", "typings": "src/index.ts", "description": "ESLint plugin that wraps a TSLint configuration and lints the whole source using TSLint", @@ -46,7 +46,7 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@typescript-eslint/utils": "6.6.0" + "@typescript-eslint/utils": "6.7.0" }, "peerDependencies": { "eslint": "^7.0.0 || ^8.0.0", @@ -55,7 +55,7 @@ }, "devDependencies": { "@types/lodash": "*", - "@typescript-eslint/parser": "6.6.0", + "@typescript-eslint/parser": "6.7.0", "jest": "29.6.4", "prettier": "^2.8.4", "rimraf": "*" diff --git a/packages/eslint-plugin/CHANGELOG.md b/packages/eslint-plugin/CHANGELOG.md index 2e140951934f..309980a51cf1 100644 --- a/packages/eslint-plugin/CHANGELOG.md +++ b/packages/eslint-plugin/CHANGELOG.md @@ -3,6 +3,24 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [6.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.6.0...v6.7.0) (2023-09-11) + + +### Bug Fixes + +* **eslint-plugin:** [no-restricted-imports] disallow side effect imports when allowTypeImports is enabled ([#7560](https://github.com/typescript-eslint/typescript-eslint/issues/7560)) ([4908905](https://github.com/typescript-eslint/typescript-eslint/commit/4908905e4ee2b533504fcba0c671aa869668df25)) + + +### Features + +* **eslint-plugin:** [await-thenable] added suggestion fixer ([#7437](https://github.com/typescript-eslint/typescript-eslint/issues/7437)) ([b284370](https://github.com/typescript-eslint/typescript-eslint/commit/b284370e1e95493764d2806cd45975201e02f374)) + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + + + + + # [6.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0) (2023-09-04) diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json index 918ed35dc2f7..442a66929b5e 100644 --- a/packages/eslint-plugin/package.json +++ b/packages/eslint-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/eslint-plugin", - "version": "6.6.0", + "version": "6.7.0", "description": "TypeScript plugin for ESLint", "files": [ "dist", @@ -57,10 +57,10 @@ }, "dependencies": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.6.0", - "@typescript-eslint/type-utils": "6.6.0", - "@typescript-eslint/utils": "6.6.0", - "@typescript-eslint/visitor-keys": "6.6.0", + "@typescript-eslint/scope-manager": "6.7.0", + "@typescript-eslint/type-utils": "6.7.0", + "@typescript-eslint/utils": "6.7.0", + "@typescript-eslint/visitor-keys": "6.7.0", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -73,8 +73,8 @@ "@types/marked": "*", "@types/natural-compare": "*", "@types/prettier": "*", - "@typescript-eslint/rule-schema-to-typescript-types": "6.6.0", - "@typescript-eslint/rule-tester": "6.6.0", + "@typescript-eslint/rule-schema-to-typescript-types": "6.7.0", + "@typescript-eslint/rule-tester": "6.7.0", "ajv": "^6.12.6", "chalk": "^5.3.0", "cross-fetch": "*", diff --git a/packages/integration-tests/CHANGELOG.md b/packages/integration-tests/CHANGELOG.md index 1a9c8d1c2e07..8088b6c58b4a 100644 --- a/packages/integration-tests/CHANGELOG.md +++ b/packages/integration-tests/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [6.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.6.0...v6.7.0) (2023-09-11) + +**Note:** Version bump only for package @typescript-eslint/integration-tests + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + + + + + # [6.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0) (2023-09-04) **Note:** Version bump only for package @typescript-eslint/integration-tests diff --git a/packages/integration-tests/package.json b/packages/integration-tests/package.json index 132fb485eee1..2376326f1881 100644 --- a/packages/integration-tests/package.json +++ b/packages/integration-tests/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/integration-tests", - "version": "6.6.0", + "version": "6.7.0", "private": true, "scripts": { "format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore", diff --git a/packages/parser/CHANGELOG.md b/packages/parser/CHANGELOG.md index 841792faf479..75b8cccf6935 100644 --- a/packages/parser/CHANGELOG.md +++ b/packages/parser/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [6.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.6.0...v6.7.0) (2023-09-11) + +**Note:** Version bump only for package @typescript-eslint/parser + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + + + + + # [6.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0) (2023-09-04) **Note:** Version bump only for package @typescript-eslint/parser diff --git a/packages/parser/package.json b/packages/parser/package.json index 5c65abf21cf0..e4c5fb96d9cb 100644 --- a/packages/parser/package.json +++ b/packages/parser/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/parser", - "version": "6.6.0", + "version": "6.7.0", "description": "An ESLint custom parser which leverages TypeScript ESTree", "files": [ "dist", @@ -51,10 +51,10 @@ "eslint": "^7.0.0 || ^8.0.0" }, "dependencies": { - "@typescript-eslint/scope-manager": "6.6.0", - "@typescript-eslint/types": "6.6.0", - "@typescript-eslint/typescript-estree": "6.6.0", - "@typescript-eslint/visitor-keys": "6.6.0", + "@typescript-eslint/scope-manager": "6.7.0", + "@typescript-eslint/types": "6.7.0", + "@typescript-eslint/typescript-estree": "6.7.0", + "@typescript-eslint/visitor-keys": "6.7.0", "debug": "^4.3.4" }, "devDependencies": { diff --git a/packages/repo-tools/CHANGELOG.md b/packages/repo-tools/CHANGELOG.md index 08dd87875682..fbf0ed141a77 100644 --- a/packages/repo-tools/CHANGELOG.md +++ b/packages/repo-tools/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [6.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.6.0...v6.7.0) (2023-09-11) + +**Note:** Version bump only for package @typescript-eslint/repo-tools + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + + + + + # [6.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0) (2023-09-04) **Note:** Version bump only for package @typescript-eslint/repo-tools diff --git a/packages/repo-tools/package.json b/packages/repo-tools/package.json index 811ad1a8fea1..355f468c3bec 100644 --- a/packages/repo-tools/package.json +++ b/packages/repo-tools/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/repo-tools", - "version": "6.6.0", + "version": "6.7.0", "private": true, "scripts": { "//": "NOTE: intentionally no build step in this package", diff --git a/packages/rule-schema-to-typescript-types/CHANGELOG.md b/packages/rule-schema-to-typescript-types/CHANGELOG.md index eea23c964b68..96faa8e87181 100644 --- a/packages/rule-schema-to-typescript-types/CHANGELOG.md +++ b/packages/rule-schema-to-typescript-types/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [6.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.6.0...v6.7.0) (2023-09-11) + +**Note:** Version bump only for package @typescript-eslint/rule-schema-to-typescript-types + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + + + + + # [6.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0) (2023-09-04) **Note:** Version bump only for package @typescript-eslint/rule-schema-to-typescript-types diff --git a/packages/rule-schema-to-typescript-types/package.json b/packages/rule-schema-to-typescript-types/package.json index 3f5caa27187d..954372592e0e 100644 --- a/packages/rule-schema-to-typescript-types/package.json +++ b/packages/rule-schema-to-typescript-types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/rule-schema-to-typescript-types", - "version": "6.6.0", + "version": "6.7.0", "private": true, "type": "commonjs", "exports": { @@ -33,8 +33,8 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@typescript-eslint/type-utils": "6.6.0", - "@typescript-eslint/utils": "6.6.0", + "@typescript-eslint/type-utils": "6.7.0", + "@typescript-eslint/utils": "6.7.0", "natural-compare": "^1.4.0", "prettier": "^2.8.4" }, diff --git a/packages/rule-tester/CHANGELOG.md b/packages/rule-tester/CHANGELOG.md index 26376dac36ee..246e8e0c9396 100644 --- a/packages/rule-tester/CHANGELOG.md +++ b/packages/rule-tester/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [6.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.6.0...v6.7.0) (2023-09-11) + +**Note:** Version bump only for package @typescript-eslint/rule-tester + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + + + + + # [6.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0) (2023-09-04) diff --git a/packages/rule-tester/package.json b/packages/rule-tester/package.json index 99951eba35e1..e32af14be723 100644 --- a/packages/rule-tester/package.json +++ b/packages/rule-tester/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/rule-tester", - "version": "6.6.0", + "version": "6.7.0", "description": "Tooling to test ESLint rules", "files": [ "dist", @@ -47,8 +47,8 @@ }, "//": "NOTE - AJV is out-of-date, but it's intentionally synced with ESLint - https://github.com/eslint/eslint/blob/ad9dd6a933fd098a0d99c6a9aa059850535c23ee/package.json#L70", "dependencies": { - "@typescript-eslint/typescript-estree": "6.6.0", - "@typescript-eslint/utils": "6.6.0", + "@typescript-eslint/typescript-estree": "6.7.0", + "@typescript-eslint/utils": "6.7.0", "ajv": "^6.10.0", "lodash.merge": "4.6.2", "semver": "^7.5.4" @@ -59,7 +59,7 @@ }, "devDependencies": { "@types/lodash.merge": "4.6.7", - "@typescript-eslint/parser": "6.6.0", + "@typescript-eslint/parser": "6.7.0", "chai": "^4.3.7", "mocha": "^10.0.0", "sinon": "^15.0.0", diff --git a/packages/scope-manager/CHANGELOG.md b/packages/scope-manager/CHANGELOG.md index 8cd2ad209ea7..77ae914d0007 100644 --- a/packages/scope-manager/CHANGELOG.md +++ b/packages/scope-manager/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [6.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.6.0...v6.7.0) (2023-09-11) + +**Note:** Version bump only for package @typescript-eslint/scope-manager + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + + + + + # [6.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0) (2023-09-04) **Note:** Version bump only for package @typescript-eslint/scope-manager diff --git a/packages/scope-manager/package.json b/packages/scope-manager/package.json index 53f8794a4c55..1ac6082d45ae 100644 --- a/packages/scope-manager/package.json +++ b/packages/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "6.6.0", + "version": "6.7.0", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -44,12 +44,12 @@ "typecheck": "nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "6.6.0", - "@typescript-eslint/visitor-keys": "6.6.0" + "@typescript-eslint/types": "6.7.0", + "@typescript-eslint/visitor-keys": "6.7.0" }, "devDependencies": { "@types/glob": "*", - "@typescript-eslint/typescript-estree": "6.6.0", + "@typescript-eslint/typescript-estree": "6.7.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/packages/type-utils/CHANGELOG.md b/packages/type-utils/CHANGELOG.md index 67d5e0799edc..28162483ed0e 100644 --- a/packages/type-utils/CHANGELOG.md +++ b/packages/type-utils/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [6.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.6.0...v6.7.0) (2023-09-11) + +**Note:** Version bump only for package @typescript-eslint/type-utils + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + + + + + # [6.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0) (2023-09-04) **Note:** Version bump only for package @typescript-eslint/type-utils diff --git a/packages/type-utils/package.json b/packages/type-utils/package.json index b275d854fce3..41d47c007341 100644 --- a/packages/type-utils/package.json +++ b/packages/type-utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/type-utils", - "version": "6.6.0", + "version": "6.7.0", "description": "Type utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -45,13 +45,13 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@typescript-eslint/typescript-estree": "6.6.0", - "@typescript-eslint/utils": "6.6.0", + "@typescript-eslint/typescript-estree": "6.7.0", + "@typescript-eslint/utils": "6.7.0", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, "devDependencies": { - "@typescript-eslint/parser": "6.6.0", + "@typescript-eslint/parser": "6.7.0", "ajv": "^6.10.0", "downlevel-dts": "*", "jest": "29.6.4", diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index a99196f3e88a..a807241e2c30 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [6.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.6.0...v6.7.0) (2023-09-11) + +**Note:** Version bump only for package @typescript-eslint/types + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + + + + + # [6.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0) (2023-09-04) **Note:** Version bump only for package @typescript-eslint/types diff --git a/packages/types/package.json b/packages/types/package.json index f8753067994e..f35b764a0cd6 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "6.6.0", + "version": "6.7.0", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", diff --git a/packages/typescript-estree/CHANGELOG.md b/packages/typescript-estree/CHANGELOG.md index 5a2a5265f55a..2fea980a21fd 100644 --- a/packages/typescript-estree/CHANGELOG.md +++ b/packages/typescript-estree/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [6.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.6.0...v6.7.0) (2023-09-11) + +**Note:** Version bump only for package @typescript-eslint/typescript-estree + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + + + + + # [6.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0) (2023-09-04) **Note:** Version bump only for package @typescript-eslint/typescript-estree diff --git a/packages/typescript-estree/package.json b/packages/typescript-estree/package.json index 25ddf6426ae8..d8fd5a26f2d1 100644 --- a/packages/typescript-estree/package.json +++ b/packages/typescript-estree/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/typescript-estree", - "version": "6.6.0", + "version": "6.7.0", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "files": [ "dist", @@ -52,8 +52,8 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@typescript-eslint/types": "6.6.0", - "@typescript-eslint/visitor-keys": "6.6.0", + "@typescript-eslint/types": "6.7.0", + "@typescript-eslint/visitor-keys": "6.7.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index d682c75754f4..4943804ec017 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [6.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.6.0...v6.7.0) (2023-09-11) + +**Note:** Version bump only for package @typescript-eslint/utils + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + + + + + # [6.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0) (2023-09-04) **Note:** Version bump only for package @typescript-eslint/utils diff --git a/packages/utils/package.json b/packages/utils/package.json index 54f0eb91e738..4dbf7701965e 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/utils", - "version": "6.6.0", + "version": "6.7.0", "description": "Utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -68,16 +68,16 @@ "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.6.0", - "@typescript-eslint/types": "6.6.0", - "@typescript-eslint/typescript-estree": "6.6.0", + "@typescript-eslint/scope-manager": "6.7.0", + "@typescript-eslint/types": "6.7.0", + "@typescript-eslint/typescript-estree": "6.7.0", "semver": "^7.5.4" }, "peerDependencies": { "eslint": "^7.0.0 || ^8.0.0" }, "devDependencies": { - "@typescript-eslint/parser": "6.6.0", + "@typescript-eslint/parser": "6.7.0", "downlevel-dts": "*", "jest": "29.6.4", "prettier": "^2.8.4", diff --git a/packages/visitor-keys/CHANGELOG.md b/packages/visitor-keys/CHANGELOG.md index 678ea763ab47..2c489b25137e 100644 --- a/packages/visitor-keys/CHANGELOG.md +++ b/packages/visitor-keys/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [6.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.6.0...v6.7.0) (2023-09-11) + +**Note:** Version bump only for package @typescript-eslint/visitor-keys + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + + + + + # [6.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0) (2023-09-04) **Note:** Version bump only for package @typescript-eslint/visitor-keys diff --git a/packages/visitor-keys/package.json b/packages/visitor-keys/package.json index bfe9e74b63f0..3c97dd40873c 100644 --- a/packages/visitor-keys/package.json +++ b/packages/visitor-keys/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/visitor-keys", - "version": "6.6.0", + "version": "6.7.0", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "files": [ "dist", @@ -45,7 +45,7 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@typescript-eslint/types": "6.6.0", + "@typescript-eslint/types": "6.7.0", "eslint-visitor-keys": "^3.4.1" }, "devDependencies": { diff --git a/packages/website-eslint/CHANGELOG.md b/packages/website-eslint/CHANGELOG.md index 9527a0cd3ad0..153cf46f3ed9 100644 --- a/packages/website-eslint/CHANGELOG.md +++ b/packages/website-eslint/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [6.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.6.0...v6.7.0) (2023-09-11) + +**Note:** Version bump only for package @typescript-eslint/website-eslint + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + + + + + # [6.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0) (2023-09-04) **Note:** Version bump only for package @typescript-eslint/website-eslint diff --git a/packages/website-eslint/package.json b/packages/website-eslint/package.json index 8bdae78722d5..1c27112a925c 100644 --- a/packages/website-eslint/package.json +++ b/packages/website-eslint/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/website-eslint", - "version": "6.6.0", + "version": "6.7.0", "private": true, "description": "ESLint which works in browsers.", "files": [ @@ -23,16 +23,16 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "6.6.0", - "@typescript-eslint/utils": "6.6.0" + "@typescript-eslint/types": "6.7.0", + "@typescript-eslint/utils": "6.7.0" }, "devDependencies": { "@eslint/js": "8.48.0", - "@typescript-eslint/eslint-plugin": "6.6.0", - "@typescript-eslint/parser": "6.6.0", - "@typescript-eslint/scope-manager": "6.6.0", - "@typescript-eslint/typescript-estree": "6.6.0", - "@typescript-eslint/visitor-keys": "6.6.0", + "@typescript-eslint/eslint-plugin": "6.7.0", + "@typescript-eslint/parser": "6.7.0", + "@typescript-eslint/scope-manager": "6.7.0", + "@typescript-eslint/typescript-estree": "6.7.0", + "@typescript-eslint/visitor-keys": "6.7.0", "esbuild": "~0.19.0", "eslint": "*", "esquery": "*", diff --git a/packages/website/CHANGELOG.md b/packages/website/CHANGELOG.md index 8635eda3d4de..a994d2d3b853 100644 --- a/packages/website/CHANGELOG.md +++ b/packages/website/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [6.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.6.0...v6.7.0) (2023-09-11) + +**Note:** Version bump only for package website + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + + + + + # [6.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0) (2023-09-04) **Note:** Version bump only for package website diff --git a/packages/website/package.json b/packages/website/package.json index bdc8b1b4abc5..6c1c6628e8d8 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -1,6 +1,6 @@ { "name": "website", - "version": "6.6.0", + "version": "6.7.0", "private": true, "scripts": { "build": "docusaurus build", @@ -24,8 +24,8 @@ "@docusaurus/remark-plugin-npm2yarn": "~2.4.1", "@docusaurus/theme-common": "~2.4.1", "@mdx-js/react": "1.6.22", - "@typescript-eslint/parser": "6.6.0", - "@typescript-eslint/website-eslint": "6.6.0", + "@typescript-eslint/parser": "6.7.0", + "@typescript-eslint/website-eslint": "6.7.0", "clsx": "^2.0.0", "eslint": "*", "json-schema": "^0.4.0", @@ -52,9 +52,9 @@ "@types/react": "*", "@types/react-helmet": "^6.1.6", "@types/react-router-dom": "^5.3.3", - "@typescript-eslint/eslint-plugin": "6.6.0", - "@typescript-eslint/rule-schema-to-typescript-types": "6.6.0", - "@typescript-eslint/types": "6.6.0", + "@typescript-eslint/eslint-plugin": "6.7.0", + "@typescript-eslint/rule-schema-to-typescript-types": "6.7.0", + "@typescript-eslint/types": "6.7.0", "copy-webpack-plugin": "^11.0.0", "cross-fetch": "*", "globby": "^11.1.0", diff --git a/yarn.lock b/yarn.lock index bc73906a0ae3..0d7d1d4c1444 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5842,10 +5842,10 @@ __metadata: resolution: "@typescript-eslint/eslint-plugin-internal@workspace:packages/eslint-plugin-internal" dependencies: "@types/prettier": "*" - "@typescript-eslint/rule-tester": 6.6.0 - "@typescript-eslint/scope-manager": 6.6.0 - "@typescript-eslint/type-utils": 6.6.0 - "@typescript-eslint/utils": 6.6.0 + "@typescript-eslint/rule-tester": 6.7.0 + "@typescript-eslint/scope-manager": 6.7.0 + "@typescript-eslint/type-utils": 6.7.0 + "@typescript-eslint/utils": 6.7.0 jest: 29.6.4 prettier: ^2.8.4 rimraf: "*" @@ -5857,8 +5857,8 @@ __metadata: resolution: "@typescript-eslint/eslint-plugin-tslint@workspace:packages/eslint-plugin-tslint" dependencies: "@types/lodash": "*" - "@typescript-eslint/parser": 6.6.0 - "@typescript-eslint/utils": 6.6.0 + "@typescript-eslint/parser": 6.7.0 + "@typescript-eslint/utils": 6.7.0 jest: 29.6.4 prettier: ^2.8.4 rimraf: "*" @@ -5869,7 +5869,7 @@ __metadata: languageName: unknown linkType: soft -"@typescript-eslint/eslint-plugin@6.6.0, @typescript-eslint/eslint-plugin@workspace:packages/eslint-plugin": +"@typescript-eslint/eslint-plugin@6.7.0, @typescript-eslint/eslint-plugin@workspace:packages/eslint-plugin": version: 0.0.0-use.local resolution: "@typescript-eslint/eslint-plugin@workspace:packages/eslint-plugin" dependencies: @@ -5878,12 +5878,12 @@ __metadata: "@types/marked": "*" "@types/natural-compare": "*" "@types/prettier": "*" - "@typescript-eslint/rule-schema-to-typescript-types": 6.6.0 - "@typescript-eslint/rule-tester": 6.6.0 - "@typescript-eslint/scope-manager": 6.6.0 - "@typescript-eslint/type-utils": 6.6.0 - "@typescript-eslint/utils": 6.6.0 - "@typescript-eslint/visitor-keys": 6.6.0 + "@typescript-eslint/rule-schema-to-typescript-types": 6.7.0 + "@typescript-eslint/rule-tester": 6.7.0 + "@typescript-eslint/scope-manager": 6.7.0 + "@typescript-eslint/type-utils": 6.7.0 + "@typescript-eslint/utils": 6.7.0 + "@typescript-eslint/visitor-keys": 6.7.0 ajv: ^6.12.6 chalk: ^5.3.0 cross-fetch: "*" @@ -5922,15 +5922,15 @@ __metadata: languageName: unknown linkType: soft -"@typescript-eslint/parser@6.6.0, @typescript-eslint/parser@workspace:packages/parser": +"@typescript-eslint/parser@6.7.0, @typescript-eslint/parser@workspace:packages/parser": version: 0.0.0-use.local resolution: "@typescript-eslint/parser@workspace:packages/parser" dependencies: "@types/glob": "*" - "@typescript-eslint/scope-manager": 6.6.0 - "@typescript-eslint/types": 6.6.0 - "@typescript-eslint/typescript-estree": 6.6.0 - "@typescript-eslint/visitor-keys": 6.6.0 + "@typescript-eslint/scope-manager": 6.7.0 + "@typescript-eslint/types": 6.7.0 + "@typescript-eslint/typescript-estree": 6.7.0 + "@typescript-eslint/visitor-keys": 6.7.0 debug: ^4.3.4 downlevel-dts: "*" glob: "*" @@ -5960,25 +5960,25 @@ __metadata: languageName: unknown linkType: soft -"@typescript-eslint/rule-schema-to-typescript-types@6.6.0, @typescript-eslint/rule-schema-to-typescript-types@workspace:packages/rule-schema-to-typescript-types": +"@typescript-eslint/rule-schema-to-typescript-types@6.7.0, @typescript-eslint/rule-schema-to-typescript-types@workspace:packages/rule-schema-to-typescript-types": version: 0.0.0-use.local resolution: "@typescript-eslint/rule-schema-to-typescript-types@workspace:packages/rule-schema-to-typescript-types" dependencies: - "@typescript-eslint/type-utils": 6.6.0 - "@typescript-eslint/utils": 6.6.0 + "@typescript-eslint/type-utils": 6.7.0 + "@typescript-eslint/utils": 6.7.0 natural-compare: ^1.4.0 prettier: ^2.8.4 languageName: unknown linkType: soft -"@typescript-eslint/rule-tester@6.6.0, @typescript-eslint/rule-tester@workspace:packages/rule-tester": +"@typescript-eslint/rule-tester@6.7.0, @typescript-eslint/rule-tester@workspace:packages/rule-tester": version: 0.0.0-use.local resolution: "@typescript-eslint/rule-tester@workspace:packages/rule-tester" dependencies: "@types/lodash.merge": 4.6.7 - "@typescript-eslint/parser": 6.6.0 - "@typescript-eslint/typescript-estree": 6.6.0 - "@typescript-eslint/utils": 6.6.0 + "@typescript-eslint/parser": 6.7.0 + "@typescript-eslint/typescript-estree": 6.7.0 + "@typescript-eslint/utils": 6.7.0 ajv: ^6.10.0 chai: ^4.3.7 lodash.merge: 4.6.2 @@ -5992,14 +5992,14 @@ __metadata: languageName: unknown linkType: soft -"@typescript-eslint/scope-manager@6.6.0, @typescript-eslint/scope-manager@workspace:packages/scope-manager": +"@typescript-eslint/scope-manager@6.7.0, @typescript-eslint/scope-manager@workspace:packages/scope-manager": version: 0.0.0-use.local resolution: "@typescript-eslint/scope-manager@workspace:packages/scope-manager" dependencies: "@types/glob": "*" - "@typescript-eslint/types": 6.6.0 - "@typescript-eslint/typescript-estree": 6.6.0 - "@typescript-eslint/visitor-keys": 6.6.0 + "@typescript-eslint/types": 6.7.0 + "@typescript-eslint/typescript-estree": 6.7.0 + "@typescript-eslint/visitor-keys": 6.7.0 glob: "*" jest-specific-snapshot: "*" make-dir: "*" @@ -6018,13 +6018,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/type-utils@6.6.0, @typescript-eslint/type-utils@workspace:packages/type-utils": +"@typescript-eslint/type-utils@6.7.0, @typescript-eslint/type-utils@workspace:packages/type-utils": version: 0.0.0-use.local resolution: "@typescript-eslint/type-utils@workspace:packages/type-utils" dependencies: - "@typescript-eslint/parser": 6.6.0 - "@typescript-eslint/typescript-estree": 6.6.0 - "@typescript-eslint/utils": 6.6.0 + "@typescript-eslint/parser": 6.7.0 + "@typescript-eslint/typescript-estree": 6.7.0 + "@typescript-eslint/utils": 6.7.0 ajv: ^6.10.0 debug: ^4.3.4 downlevel-dts: "*" @@ -6041,7 +6041,7 @@ __metadata: languageName: unknown linkType: soft -"@typescript-eslint/types@6.6.0, @typescript-eslint/types@workspace:packages/types": +"@typescript-eslint/types@6.7.0, @typescript-eslint/types@workspace:packages/types": version: 0.0.0-use.local resolution: "@typescript-eslint/types@workspace:packages/types" dependencies: @@ -6131,14 +6131,14 @@ __metadata: languageName: unknown linkType: soft -"@typescript-eslint/typescript-estree@6.6.0, @typescript-eslint/typescript-estree@workspace:packages/typescript-estree": +"@typescript-eslint/typescript-estree@6.7.0, @typescript-eslint/typescript-estree@workspace:packages/typescript-estree": version: 0.0.0-use.local resolution: "@typescript-eslint/typescript-estree@workspace:packages/typescript-estree" dependencies: "@babel/code-frame": "*" "@babel/parser": "*" - "@typescript-eslint/types": 6.6.0 - "@typescript-eslint/visitor-keys": 6.6.0 + "@typescript-eslint/types": 6.7.0 + "@typescript-eslint/visitor-keys": 6.7.0 debug: ^4.3.4 glob: "*" globby: ^11.1.0 @@ -6176,17 +6176,17 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@6.6.0, @typescript-eslint/utils@workspace:packages/utils": +"@typescript-eslint/utils@6.7.0, @typescript-eslint/utils@workspace:packages/utils": version: 0.0.0-use.local resolution: "@typescript-eslint/utils@workspace:packages/utils" dependencies: "@eslint-community/eslint-utils": ^4.4.0 "@types/json-schema": ^7.0.12 "@types/semver": ^7.5.0 - "@typescript-eslint/parser": 6.6.0 - "@typescript-eslint/scope-manager": 6.6.0 - "@typescript-eslint/types": 6.6.0 - "@typescript-eslint/typescript-estree": 6.6.0 + "@typescript-eslint/parser": 6.7.0 + "@typescript-eslint/scope-manager": 6.7.0 + "@typescript-eslint/types": 6.7.0 + "@typescript-eslint/typescript-estree": 6.7.0 downlevel-dts: "*" jest: 29.6.4 prettier: ^2.8.4 @@ -6216,12 +6216,12 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@6.6.0, @typescript-eslint/visitor-keys@workspace:packages/visitor-keys": +"@typescript-eslint/visitor-keys@6.7.0, @typescript-eslint/visitor-keys@workspace:packages/visitor-keys": version: 0.0.0-use.local resolution: "@typescript-eslint/visitor-keys@workspace:packages/visitor-keys" dependencies: "@types/eslint-visitor-keys": "*" - "@typescript-eslint/types": 6.6.0 + "@typescript-eslint/types": 6.7.0 downlevel-dts: "*" eslint-visitor-keys: ^3.4.1 jest: 29.6.4 @@ -6241,18 +6241,18 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/website-eslint@6.6.0, @typescript-eslint/website-eslint@workspace:packages/website-eslint": +"@typescript-eslint/website-eslint@6.7.0, @typescript-eslint/website-eslint@workspace:packages/website-eslint": version: 0.0.0-use.local resolution: "@typescript-eslint/website-eslint@workspace:packages/website-eslint" dependencies: "@eslint/js": 8.48.0 - "@typescript-eslint/eslint-plugin": 6.6.0 - "@typescript-eslint/parser": 6.6.0 - "@typescript-eslint/scope-manager": 6.6.0 - "@typescript-eslint/types": 6.6.0 - "@typescript-eslint/typescript-estree": 6.6.0 - "@typescript-eslint/utils": 6.6.0 - "@typescript-eslint/visitor-keys": 6.6.0 + "@typescript-eslint/eslint-plugin": 6.7.0 + "@typescript-eslint/parser": 6.7.0 + "@typescript-eslint/scope-manager": 6.7.0 + "@typescript-eslint/types": 6.7.0 + "@typescript-eslint/typescript-estree": 6.7.0 + "@typescript-eslint/utils": 6.7.0 + "@typescript-eslint/visitor-keys": 6.7.0 esbuild: ~0.19.0 eslint: "*" esquery: "*" @@ -20947,11 +20947,11 @@ __metadata: "@types/react": "*" "@types/react-helmet": ^6.1.6 "@types/react-router-dom": ^5.3.3 - "@typescript-eslint/eslint-plugin": 6.6.0 - "@typescript-eslint/parser": 6.6.0 - "@typescript-eslint/rule-schema-to-typescript-types": 6.6.0 - "@typescript-eslint/types": 6.6.0 - "@typescript-eslint/website-eslint": 6.6.0 + "@typescript-eslint/eslint-plugin": 6.7.0 + "@typescript-eslint/parser": 6.7.0 + "@typescript-eslint/rule-schema-to-typescript-types": 6.7.0 + "@typescript-eslint/types": 6.7.0 + "@typescript-eslint/website-eslint": 6.7.0 clsx: ^2.0.0 copy-webpack-plugin: ^11.0.0 cross-fetch: "*" pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy