fix(linter): restore package update group for @typescript-eslint/eslint-plugin requirement (#30204)

Restores a package update group with a `requires` entry to handle
workspaces using `@typescript-eslint/eslint-plugin` and not
`typescript-eslint`.

## Current Behavior

## Expected Behavior

## Related Issue(s)

Fixes #
This commit is contained in:
Leosvel Pérez Espinosa 2025-02-27 15:48:56 +01:00 committed by GitHub
parent 811bac5cf7
commit 7a73e8a006
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 82 additions and 0 deletions

View File

@ -1718,6 +1718,16 @@
"path": "/nx-api/eslint/migrations/20.4.0-typescript-eslint-package-updates",
"type": "migration"
},
"/nx-api/eslint/migrations/20.4.0-@typescript-eslint-package-updates": {
"description": "",
"file": "generated/packages/eslint/migrations/20.4.0-@typescript-eslint-package-updates.json",
"hidden": false,
"name": "20.4.0-@typescript-eslint-package-updates",
"version": "20.4.0-beta.1",
"originalFilePath": "/packages/eslint",
"path": "/nx-api/eslint/migrations/20.4.0-@typescript-eslint-package-updates",
"type": "migration"
},
"/nx-api/eslint/migrations/add-file-extensions-to-overrides": {
"description": "Update ESLint flat config to include .cjs, .mjs, .cts, and .mts files in overrides (if needed)",
"file": "generated/packages/eslint/migrations/add-file-extensions-to-overrides.json",

View File

@ -1706,6 +1706,16 @@
"path": "eslint/migrations/20.4.0-typescript-eslint-package-updates",
"type": "migration"
},
{
"description": "",
"file": "generated/packages/eslint/migrations/20.4.0-@typescript-eslint-package-updates.json",
"hidden": false,
"name": "20.4.0-@typescript-eslint-package-updates",
"version": "20.4.0-beta.1",
"originalFilePath": "/packages/eslint",
"path": "eslint/migrations/20.4.0-@typescript-eslint-package-updates",
"type": "migration"
},
{
"description": "Update ESLint flat config to include .cjs, .mjs, .cts, and .mts files in overrides (if needed)",
"file": "generated/packages/eslint/migrations/add-file-extensions-to-overrides.json",

View File

@ -0,0 +1,30 @@
{
"name": "20.4.0-@typescript-eslint-package-updates",
"version": "20.4.0-beta.1",
"requires": { "@typescript-eslint/eslint-plugin": ">8.0.0 <8.19.0" },
"packages": {
"typescript-eslint": { "version": "^8.19.0" },
"@typescript-eslint/eslint-plugin": { "version": "^8.19.0" },
"@typescript-eslint/parser": { "version": "^8.19.0" },
"@typescript-eslint/utils": { "version": "^8.19.0" },
"@typescript-eslint/rule-tester": {
"version": "^8.19.0",
"alwaysAddToPackageJson": false
},
"@typescript-eslint/scope-manager": {
"version": "^8.19.0",
"alwaysAddToPackageJson": false
},
"@typescript-eslint/typescript-estree": {
"version": "^8.19.0",
"alwaysAddToPackageJson": false
}
},
"aliases": [],
"description": "",
"hidden": false,
"implementation": "",
"path": "/packages/eslint",
"schema": null,
"type": "migration"
}

View File

@ -150,6 +150,38 @@
"alwaysAddToPackageJson": false
}
}
},
"20.4.0-@typescript-eslint": {
"version": "20.4.0-beta.1",
"requires": {
"@typescript-eslint/eslint-plugin": ">8.0.0 <8.19.0"
},
"packages": {
"typescript-eslint": {
"version": "^8.19.0"
},
"@typescript-eslint/eslint-plugin": {
"version": "^8.19.0"
},
"@typescript-eslint/parser": {
"version": "^8.19.0"
},
"@typescript-eslint/utils": {
"version": "^8.19.0"
},
"@typescript-eslint/rule-tester": {
"version": "^8.19.0",
"alwaysAddToPackageJson": false
},
"@typescript-eslint/scope-manager": {
"version": "^8.19.0",
"alwaysAddToPackageJson": false
},
"@typescript-eslint/typescript-estree": {
"version": "^8.19.0",
"alwaysAddToPackageJson": false
}
}
}
}
}