@angular-eslint/schematics 19.8.1-alpha.0 → 19.8.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -118,12 +118,9 @@
118
118
  "default": false,
119
119
  "x-user-analytics": "ep.ng_ssr"
120
120
  },
121
- "serverRouting": {
122
- "description": "Set up a server application using the Server Routing and App Engine APIs (Developer Preview).",
123
- "type": "boolean"
124
- },
125
- "experimentalZoneless": {
121
+ "zoneless": {
126
122
  "description": "Generate an application that does not use `zone.js`.",
123
+ "x-prompt": "Do you want to create a 'zoneless' application without zone.js (Developer Preview)?",
127
124
  "type": "boolean",
128
125
  "default": false
129
126
  },
@@ -0,0 +1,3 @@
1
+ import type { Rule } from '@angular-devkit/schematics';
2
+ export default function migration(): Rule;
3
+ //# sourceMappingURL=update-20-0-0.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-20-0-0.d.ts","sourceRoot":"","sources":["../../../src/migrations/update-20-0-0/update-20-0-0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAOvD,MAAM,CAAC,OAAO,UAAU,SAAS,IAAI,IAAI,CAkDxC"}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = migration;
4
+ const schematics_1 = require("@angular-devkit/schematics");
5
+ const dependencies_1 = require("../utils/dependencies");
6
+ const updatedTypeScriptESLintVersion = '8.33.1';
7
+ const updatedESLintVersion = '9.28.0';
8
+ function migration() {
9
+ return (0, schematics_1.chain)([
10
+ (host) => {
11
+ const packageJson = JSON.parse(host.read('package.json').toString());
12
+ if (packageJson.devDependencies['typescript-eslint'] ||
13
+ packageJson.devDependencies['@typescript-eslint/parser'].startsWith('8.') ||
14
+ packageJson.devDependencies['@typescript-eslint/parser'].startsWith('^8.') ||
15
+ packageJson.devDependencies['@typescript-eslint/parser'].startsWith('~8.')) {
16
+ return (0, dependencies_1.updateDependencies)([
17
+ {
18
+ packageName: '@typescript-eslint/eslint-plugin',
19
+ version: `^${updatedTypeScriptESLintVersion}`,
20
+ },
21
+ {
22
+ packageName: '@typescript-eslint/utils',
23
+ version: `^${updatedTypeScriptESLintVersion}`,
24
+ },
25
+ {
26
+ packageName: '@typescript-eslint/type-utils',
27
+ version: `^${updatedTypeScriptESLintVersion}`,
28
+ },
29
+ {
30
+ packageName: '@typescript-eslint/parser',
31
+ version: `^${updatedTypeScriptESLintVersion}`,
32
+ },
33
+ {
34
+ packageName: '@typescript-eslint/rule-tester',
35
+ version: `^${updatedTypeScriptESLintVersion}`,
36
+ },
37
+ {
38
+ packageName: 'typescript-eslint',
39
+ version: `^${updatedTypeScriptESLintVersion}`,
40
+ },
41
+ {
42
+ packageName: 'eslint',
43
+ version: `^${updatedESLintVersion}`,
44
+ },
45
+ ]);
46
+ }
47
+ return undefined;
48
+ },
49
+ ]);
50
+ }
@@ -55,6 +55,11 @@
55
55
  "version": "18.1.1-alpha.0",
56
56
  "description": "Updates @angular-eslint to v18.2",
57
57
  "factory": "./migrations/update-18-2-0/update-18-2-0"
58
+ },
59
+ "update-20-0-0": {
60
+ "version": "20.0.0-alpha.0",
61
+ "description": "Updates @angular-eslint to v20",
62
+ "factory": "./migrations/update-20-0-0/update-20-0-0"
58
63
  }
59
64
  }
60
65
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-eslint/schematics",
3
- "version": "19.8.1-alpha.0",
3
+ "version": "19.8.1-alpha.1",
4
4
  "description": "Angular Schematics for angular-eslint",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -36,13 +36,13 @@
36
36
  "save": "devDependencies"
37
37
  },
38
38
  "dependencies": {
39
- "@angular-devkit/core": ">= 19.0.0 < 20.0.0",
40
- "@angular-devkit/schematics": ">= 19.0.0 < 20.0.0",
39
+ "@angular-devkit/core": ">= 20.0.0 < 21.0.0",
40
+ "@angular-devkit/schematics": ">= 20.0.0 < 21.0.0",
41
41
  "ignore": "7.0.5",
42
42
  "semver": "7.7.2",
43
43
  "strip-json-comments": "3.1.1",
44
- "@angular-eslint/eslint-plugin": "19.8.1-alpha.0",
45
- "@angular-eslint/eslint-plugin-template": "19.8.1-alpha.0"
44
+ "@angular-eslint/eslint-plugin-template": "19.8.1-alpha.1",
45
+ "@angular-eslint/eslint-plugin": "19.8.1-alpha.1"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@typescript-eslint/utils": "8.33.1",