diff --git a/package.json b/package.json index a6ac0b61b42ddc..e61f7b6cf28c77 100644 --- a/package.json +++ b/package.json @@ -29,9 +29,9 @@ "@angular-devkit/build-angular": "~18.0.0", "@angular-devkit/core": "~18.0.0", "@angular-devkit/schematics": "~18.0.0", - "@angular-eslint/eslint-plugin": "~17.3.0", - "@angular-eslint/eslint-plugin-template": "~17.3.0", - "@angular-eslint/template-parser": "~17.3.0", + "@angular-eslint/eslint-plugin": "~18.0.0-alpha.1", + "@angular-eslint/eslint-plugin-template": "~18.0.0-alpha.1", + "@angular-eslint/template-parser": "~18.0.0-alpha.1", "@angular/cli": "~18.0.0", "@angular/common": "~18.0.0", "@angular/compiler": "~18.0.0", diff --git a/packages/angular/migrations.json b/packages/angular/migrations.json index 7912c542a27b93..efd26da2c3f321 100644 --- a/packages/angular/migrations.json +++ b/packages/angular/migrations.json @@ -1887,6 +1887,27 @@ "alwaysAddToPackageJson": false } } + }, + "19.1.0-angular-eslint": { + "version": "19.1.0-beta.2", + "requires": { + "eslint": "^8.57.0 || ^9.0.0", + "@angular/core": ">= 18.0.0 < 19.0.0" + }, + "packages": { + "@angular-eslint/eslint-plugin": { + "version": "~18.0.0-alpha.1", + "alwaysAddToPackageJson": false + }, + "@angular-eslint/eslint-plugin-template": { + "version": "~18.0.0-alpha.1", + "alwaysAddToPackageJson": false + }, + "@angular-eslint/template-parser": { + "version": "~18.0.0-alpha.1", + "alwaysAddToPackageJson": false + } + } } } } diff --git a/packages/angular/src/utils/versions.ts b/packages/angular/src/utils/versions.ts index 98fa0d05263844..1f54fb56a27906 100644 --- a/packages/angular/src/utils/versions.ts +++ b/packages/angular/src/utils/versions.ts @@ -16,7 +16,7 @@ export const typesExpressVersion = '4.17.14'; export const browserSyncVersion = '^3.0.0'; export const moduleFederationNodeVersion = '~1.0.5'; -export const angularEslintVersion = '~17.3.0'; +export const angularEslintVersion = '~18.0.0-alpha.1'; export const tailwindVersion = '^3.0.2'; export const postcssVersion = '^8.4.5'; export const postcssUrlVersion = '~10.1.3'; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7ca7bcd91d289e..9feda59659a616 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -162,14 +162,14 @@ devDependencies: specifier: ~18.0.0 version: 18.0.0 '@angular-eslint/eslint-plugin': - specifier: ~17.3.0 - version: 17.3.0(eslint@8.57.0)(typescript@5.4.2) + specifier: ~18.0.0-alpha.1 + version: 18.0.0-alpha.1(eslint@8.57.0)(typescript@5.4.2) '@angular-eslint/eslint-plugin-template': - specifier: ~17.3.0 - version: 17.3.0(eslint@8.57.0)(typescript@5.4.2) + specifier: ~18.0.0-alpha.1 + version: 18.0.0-alpha.1(eslint@8.57.0)(typescript@5.4.2) '@angular-eslint/template-parser': - specifier: ~17.3.0 - version: 17.3.0(eslint@8.57.0)(typescript@5.4.2) + specifier: ~18.0.0-alpha.1 + version: 18.0.0-alpha.1(eslint@8.57.0)(typescript@5.4.2) '@angular/cli': specifier: ~18.0.0 version: 18.0.0 @@ -1408,20 +1408,20 @@ packages: - chokidar dev: true - /@angular-eslint/bundled-angular-compiler@17.3.0: - resolution: {integrity: sha512-ejfNzRuBeHUV8m2fkgs+M809rj5STuCuQo4fdfc6ccQpzXDI6Ha7BKpTznWfg5g529q/wrkoGSGgFxU9Yc2/dQ==} + /@angular-eslint/bundled-angular-compiler@18.0.0-alpha.1: + resolution: {integrity: sha512-kxYqJznO8r8mEj+Mj07gO7B7Os2V8O06SDgXJXGDKm6I+K4XDH8gzr1+tzTV/BlL6XKN7nPS7qXdxtkYfL5Dmg==} dev: true - /@angular-eslint/eslint-plugin-template@17.3.0(eslint@8.57.0)(typescript@5.4.2): - resolution: {integrity: sha512-9l/aRfpE9MCRVDWRb+rSB9Zei0paep1vqV6M/87VUnzBnzqeMRnVuPvQowilh2zweVSGKBF25Vp4HkwOL6ExDQ==} + /@angular-eslint/eslint-plugin-template@18.0.0-alpha.1(eslint@8.57.0)(typescript@5.4.2): + resolution: {integrity: sha512-w7j3O4AB4apnvgxbFEh2+PFP0TQyvV5Qgsj3GSCgvS/NC3JuVDdAkPuhMS0IxruPWkY7zxGd2Es8yo1zaaf5mA==} peerDependencies: - eslint: ^7.20.0 || ^8.0.0 + eslint: ^8.57.0|| ^9.0.0 typescript: '*' dependencies: - '@angular-eslint/bundled-angular-compiler': 17.3.0 - '@angular-eslint/utils': 17.3.0(eslint@8.57.0)(typescript@5.4.2) - '@typescript-eslint/type-utils': 7.2.0(eslint@8.57.0)(typescript@5.4.2) - '@typescript-eslint/utils': 7.2.0(eslint@8.57.0)(typescript@5.4.2) + '@angular-eslint/bundled-angular-compiler': 18.0.0-alpha.1 + '@angular-eslint/utils': 18.0.0-alpha.1(eslint@8.57.0)(typescript@5.4.2) + '@typescript-eslint/type-utils': 7.10.0(eslint@8.57.0)(typescript@5.4.2) + '@typescript-eslint/utils': 7.10.0(eslint@8.57.0)(typescript@5.4.2) aria-query: 5.3.0 axobject-query: 4.0.0 eslint: 8.57.0 @@ -1430,40 +1430,41 @@ packages: - supports-color dev: true - /@angular-eslint/eslint-plugin@17.3.0(eslint@8.57.0)(typescript@5.4.2): - resolution: {integrity: sha512-81cQbOEPoQupFX8WmpqZn+y8VA7JdVRGBtt+uJNKBXcJknTpPWdLBZRFlgVakmC24iEZ0Fint/N3NBBQI3mz2A==} + /@angular-eslint/eslint-plugin@18.0.0-alpha.1(eslint@8.57.0)(typescript@5.4.2): + resolution: {integrity: sha512-t9ZFQsNUW0uiGPiTI+hw/r28gwCDQT6L838dm0YDQxbvvYEc8JpXPIlT+rc7IcQB/1gIFe/q858nzPjJq1NPXA==} peerDependencies: - eslint: ^7.20.0 || ^8.0.0 + eslint: ^8.57.0 || ^9.0.0 typescript: '*' dependencies: - '@angular-eslint/utils': 17.3.0(eslint@8.57.0)(typescript@5.4.2) - '@typescript-eslint/utils': 7.2.0(eslint@8.57.0)(typescript@5.4.2) + '@angular-eslint/bundled-angular-compiler': 18.0.0-alpha.1 + '@angular-eslint/utils': 18.0.0-alpha.1(eslint@8.57.0)(typescript@5.4.2) + '@typescript-eslint/utils': 7.10.0(eslint@8.57.0)(typescript@5.4.2) eslint: 8.57.0 typescript: 5.4.2 transitivePeerDependencies: - supports-color dev: true - /@angular-eslint/template-parser@17.3.0(eslint@8.57.0)(typescript@5.4.2): - resolution: {integrity: sha512-m+UzAnWgtjeS0x6skSmR0eXltD/p7HZA+c8pPyAkiHQzkxE7ohhfyZc03yWGuYJvWQUqQAKKdO/nQop14TP0bg==} + /@angular-eslint/template-parser@18.0.0-alpha.1(eslint@8.57.0)(typescript@5.4.2): + resolution: {integrity: sha512-TcJ73j7vvZWxjy4jyKp+MvyLSpY/lA76q2lSGsUL8HYwaVmyYyrLvf99bFp9v+1To5dHmV2LsaDKbYTeAUaz0A==} peerDependencies: - eslint: ^7.20.0 || ^8.0.0 + eslint: ^8.57.0 || ^9.0.0 typescript: '*' dependencies: - '@angular-eslint/bundled-angular-compiler': 17.3.0 + '@angular-eslint/bundled-angular-compiler': 18.0.0-alpha.1 eslint: 8.57.0 eslint-scope: 8.0.0 typescript: 5.4.2 dev: true - /@angular-eslint/utils@17.3.0(eslint@8.57.0)(typescript@5.4.2): - resolution: {integrity: sha512-PJT9pxWqpvI9OXO+7L5SIVhvMW+RFjeafC7PYjtvSbNFpz+kF644BiAcfMJ0YqBnkrw3JXt+RAX25CT4mXIoXw==} + /@angular-eslint/utils@18.0.0-alpha.1(eslint@8.57.0)(typescript@5.4.2): + resolution: {integrity: sha512-eFeZ15tfY028elnTBxth4tBVWjKewQmD6e6EIctFUsZUCdsyAQdMdHK2iSBo6PuAqMuY4t+OTNiI78xkNbL8Pg==} peerDependencies: - eslint: ^7.20.0 || ^8.0.0 + eslint: ^8.57.0 || ^9.0.0 typescript: '*' dependencies: - '@angular-eslint/bundled-angular-compiler': 17.3.0 - '@typescript-eslint/utils': 7.2.0(eslint@8.57.0)(typescript@5.4.2) + '@angular-eslint/bundled-angular-compiler': 18.0.0-alpha.1 + '@typescript-eslint/utils': 7.10.0(eslint@8.57.0)(typescript@5.4.2) eslint: 8.57.0 typescript: 5.4.2 transitivePeerDependencies: @@ -9244,7 +9245,7 @@ packages: json-parse-even-better-errors: 3.0.0 normalize-package-data: 5.0.0 proc-log: 3.0.0 - semver: 7.6.0 + semver: 7.6.2 transitivePeerDependencies: - bluebird dev: true @@ -13433,7 +13434,7 @@ packages: memoizerific: 1.11.3 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - semver: 7.6.0 + semver: 7.6.2 store2: 2.14.2 telejson: 7.2.0 ts-dedent: 2.2.0 @@ -15133,12 +15134,12 @@ packages: '@typescript-eslint/visitor-keys': 6.18.1 dev: true - /@typescript-eslint/scope-manager@7.2.0: - resolution: {integrity: sha512-Qh976RbQM/fYtjx9hs4XkayYujB/aPwglw2choHmf3zBjB4qOywWSdt9+KLRdHubGcoSwBnXUH2sR3hkyaERRg==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/scope-manager@7.10.0: + resolution: {integrity: sha512-7L01/K8W/VGl7noe2mgH0K7BE29Sq6KAbVmxurj8GGaPDZXPr8EEQ2seOeAS+mEV9DnzxBQB6ax6qQQ5C6P4xg==} + engines: {node: ^18.18.0 || >=20.0.0} dependencies: - '@typescript-eslint/types': 7.2.0 - '@typescript-eslint/visitor-keys': 7.2.0 + '@typescript-eslint/types': 7.10.0 + '@typescript-eslint/visitor-keys': 7.10.0 dev: true /@typescript-eslint/scope-manager@7.3.1: @@ -15157,9 +15158,9 @@ packages: '@typescript-eslint/visitor-keys': 7.4.0 dev: true - /@typescript-eslint/type-utils@7.2.0(eslint@8.57.0)(typescript@5.4.2): - resolution: {integrity: sha512-xHi51adBHo9O9330J8GQYQwrKBqbIPJGZZVQTHHmy200hvkLZFWJIFtAG/7IYTWUyun6DE6w5InDReePJYJlJA==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/type-utils@7.10.0(eslint@8.57.0)(typescript@5.4.2): + resolution: {integrity: sha512-D7tS4WDkJWrVkuzgm90qYw9RdgBcrWmbbRkrLA4d7Pg3w0ttVGDsvYGV19SH8gPR5L7OtcN5J1hTtyenO9xE9g==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 typescript: '*' @@ -15167,11 +15168,11 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 7.2.0(typescript@5.4.2) - '@typescript-eslint/utils': 7.2.0(eslint@8.57.0)(typescript@5.4.2) + '@typescript-eslint/typescript-estree': 7.10.0(typescript@5.4.2) + '@typescript-eslint/utils': 7.10.0(eslint@8.57.0)(typescript@5.4.2) debug: 4.3.4(supports-color@8.1.1) eslint: 8.57.0 - ts-api-utils: 1.0.3(typescript@5.4.2) + ts-api-utils: 1.3.0(typescript@5.4.2) typescript: 5.4.2 transitivePeerDependencies: - supports-color @@ -15227,9 +15228,9 @@ packages: engines: {node: ^16.0.0 || >=18.0.0} dev: true - /@typescript-eslint/types@7.2.0: - resolution: {integrity: sha512-XFtUHPI/abFhm4cbCDc5Ykc8npOKBSJePY3a3s+lwumt7XWJuzP5cZcfZ610MIPHjQjNsOLlYK8ASPaNG8UiyA==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/types@7.10.0: + resolution: {integrity: sha512-7fNj+Ya35aNyhuqrA1E/VayQX9Elwr8NKZ4WueClR3KwJ7Xx9jcCdOrLW04h51de/+gNbyFMs+IDxh5xIwfbNg==} + engines: {node: ^18.18.0 || >=20.0.0} dev: true /@typescript-eslint/types@7.3.1: @@ -15285,23 +15286,23 @@ packages: - supports-color dev: true - /@typescript-eslint/typescript-estree@7.2.0(typescript@5.4.2): - resolution: {integrity: sha512-cyxS5WQQCoBwSakpMrvMXuMDEbhOo9bNHHrNcEWis6XHx6KF518tkF1wBvKIn/tpq5ZpUYK7Bdklu8qY0MsFIA==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/typescript-estree@7.10.0(typescript@5.4.2): + resolution: {integrity: sha512-LXFnQJjL9XIcxeVfqmNj60YhatpRLt6UhdlFwAkjNc6jSUlK8zQOl1oktAP8PlWFzPQC1jny/8Bai3/HPuvN5g==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@typescript-eslint/types': 7.2.0 - '@typescript-eslint/visitor-keys': 7.2.0 + '@typescript-eslint/types': 7.10.0 + '@typescript-eslint/visitor-keys': 7.10.0 debug: 4.3.4(supports-color@8.1.1) globby: 11.1.0 is-glob: 4.0.3 - minimatch: 9.0.3 + minimatch: 9.0.4 semver: 7.6.2 - ts-api-utils: 1.0.3(typescript@5.4.2) + ts-api-utils: 1.3.0(typescript@5.4.2) typescript: 5.4.2 transitivePeerDependencies: - supports-color @@ -15371,20 +15372,17 @@ packages: - typescript dev: true - /@typescript-eslint/utils@7.2.0(eslint@8.57.0)(typescript@5.4.2): - resolution: {integrity: sha512-YfHpnMAGb1Eekpm3XRK8hcMwGLGsnT6L+7b2XyRv6ouDuJU1tZir1GS2i0+VXRatMwSI1/UfcyPe53ADkU+IuA==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/utils@7.10.0(eslint@8.57.0)(typescript@5.4.2): + resolution: {integrity: sha512-olzif1Fuo8R8m/qKkzJqT7qwy16CzPRWBvERS0uvyc+DHd8AKbO4Jb7kpAvVzMmZm8TrHnI7hvjN4I05zow+tg==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) - '@types/json-schema': 7.0.12 - '@types/semver': 7.5.2 - '@typescript-eslint/scope-manager': 7.2.0 - '@typescript-eslint/types': 7.2.0 - '@typescript-eslint/typescript-estree': 7.2.0(typescript@5.4.2) + '@typescript-eslint/scope-manager': 7.10.0 + '@typescript-eslint/types': 7.10.0 + '@typescript-eslint/typescript-estree': 7.10.0(typescript@5.4.2) eslint: 8.57.0 - semver: 7.6.2 transitivePeerDependencies: - supports-color - typescript @@ -15444,11 +15442,11 @@ packages: eslint-visitor-keys: 3.4.3 dev: true - /@typescript-eslint/visitor-keys@7.2.0: - resolution: {integrity: sha512-c6EIQRHhcpl6+tO8EMR+kjkkV+ugUNXOmeASA1rlzkd8EPIriavpWoiEz1HR/VLhbVIdhqnV6E7JZm00cBDx2A==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/visitor-keys@7.10.0: + resolution: {integrity: sha512-9ntIVgsi6gg6FIq9xjEO4VQJvwOqA3jaBFQJ/6TK5AvEup2+cECI6Fh7QiBxmfMHXU0V0J4RyPeOU1VDNzl9cg==} + engines: {node: ^18.18.0 || >=20.0.0} dependencies: - '@typescript-eslint/types': 7.2.0 + '@typescript-eslint/types': 7.10.0 eslint-visitor-keys: 3.4.3 dev: true @@ -26659,6 +26657,13 @@ packages: dependencies: brace-expansion: 2.0.1 + /minimatch@9.0.4: + resolution: {integrity: sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==} + engines: {node: '>=16 || 14 >=14.17'} + dependencies: + brace-expansion: 2.0.1 + dev: true + /minimist-options@4.1.0: resolution: {integrity: sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==} engines: {node: '>= 6'} @@ -33052,7 +33057,7 @@ packages: estree-walker: 3.0.3 is-reference: 3.0.2 locate-character: 3.0.0 - magic-string: 0.30.8 + magic-string: 0.30.10 periscopic: 3.1.0 dev: true @@ -33708,6 +33713,15 @@ packages: typescript: 5.4.2 dev: true + /ts-api-utils@1.3.0(typescript@5.4.2): + resolution: {integrity: sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==} + engines: {node: '>=16'} + peerDependencies: + typescript: '>=4.2.0' + dependencies: + typescript: 5.4.2 + dev: true + /ts-dedent@2.2.0: resolution: {integrity: sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==} engines: {node: '>=6.10'}