This PR updates `migrations.json` for `@nx/eslint` and `@nx/angular` so that `@typescript-eslint/*` and `@angular-eslint/*` packages that are installed in the workspaces are updated to the same version. I've updated it for v20 and v19, but if we need to go back further we could. This will also require patch versions for each major that we want to fix. **Note:** Previously there were two entries for `@nx/esilnt@20.4.0` that handles cases where one of `typescript-eslint` or `@typescript-eslint/eslint-plugin` are > 8. The packages in both entries overlap, so I collapsed them down to one entry that checks `typescript-eslint > 8`. ## Current Behavior If user has `@typescript-eslint/rule-tester` or `@angular-eslint/test-utils` installed, our migrations do not update these versions. This makes them out of sync with `@typescript-eslint/utils`, etc. which can lead to problems. ## Expected Behavior Packages in the same `@typescript-eslint/*` and `@angular-eslint/*` are updated together. If they are not installed, we don't add them to the workspace. ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
50 lines
1.2 KiB
JSON
50 lines
1.2 KiB
JSON
{
|
|
"name": "19.1.2-package-updates",
|
|
"version": "19.1.2-beta.1",
|
|
"requires": {
|
|
"eslint": "^8.57.0 || ^9.0.0",
|
|
"@angular/core": ">= 18.0.0 < 19.0.0"
|
|
},
|
|
"packages": {
|
|
"@angular-eslint/eslint-plugin": {
|
|
"version": "^18.0.1",
|
|
"alwaysAddToPackageJson": false
|
|
},
|
|
"@angular-eslint/eslint-plugin-template": {
|
|
"version": "^18.0.1",
|
|
"alwaysAddToPackageJson": false
|
|
},
|
|
"@angular-eslint/template-parser": {
|
|
"version": "^18.0.1",
|
|
"alwaysAddToPackageJson": false
|
|
},
|
|
"@angular-eslint/utils": {
|
|
"version": "^18.0.1",
|
|
"alwaysAddToPackageJson": false
|
|
},
|
|
"@angular-eslint/schematics": {
|
|
"version": "^18.0.1",
|
|
"alwaysAddToPackageJson": false
|
|
},
|
|
"@angular-eslint/test-utils": {
|
|
"version": "^18.0.1",
|
|
"alwaysAddToPackageJson": false
|
|
},
|
|
"@angular-eslint/builder": {
|
|
"version": "^18.0.1",
|
|
"alwaysAddToPackageJson": false
|
|
},
|
|
"@angular-eslint/bundled-angular-compiler": {
|
|
"version": "^18.0.1",
|
|
"alwaysAddToPackageJson": false
|
|
}
|
|
},
|
|
"aliases": [],
|
|
"description": "",
|
|
"hidden": false,
|
|
"implementation": "",
|
|
"path": "/packages/angular",
|
|
"schema": null,
|
|
"type": "migration"
|
|
}
|