@angular-eslint/schematics 16.2.1-alpha.7 → 17.0.0-alpha.0

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.
@@ -39,9 +39,8 @@
39
39
  },
40
40
  "routing": {
41
41
  "type": "boolean",
42
- "description": "Create a routing NgModule.",
43
- "default": false,
44
- "x-prompt": "Would you like to add Angular routing?",
42
+ "description": "Creates an application with routing enabled.",
43
+ "default": true,
45
44
  "x-user-analytics": "ep.ng_routing"
46
45
  },
47
46
  "prefix": {
@@ -109,9 +108,16 @@
109
108
  "standalone": {
110
109
  "description": "Creates an application based upon the standalone API, without NgModules.",
111
110
  "type": "boolean",
112
- "default": false,
111
+ "default": true,
113
112
  "x-user-analytics": "ep.ng_standalone"
114
113
  },
114
+ "ssr": {
115
+ "description": "Creates an application with Server-Side Rendering (SSR) and Static Site Generation (SSG/Prerendering) enabled.",
116
+ "x-prompt": "Do you want to enable Server-Side Rendering (SSR) and Static Site Generation (SSG/Prerendering)?",
117
+ "type": "boolean",
118
+ "default": false,
119
+ "x-user-analytics": "ep.ng_ssr"
120
+ },
115
121
  "setParserOptionsProject": {
116
122
  "type": "boolean",
117
123
  "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
package/dist/index.js CHANGED
@@ -1 +1,2 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -51,7 +51,7 @@
51
51
  "standalone": {
52
52
  "description": "Creates a library based upon the standalone API, without NgModules.",
53
53
  "type": "boolean",
54
- "default": false,
54
+ "default": true,
55
55
  "x-user-analytics": "ep.ng_standalone"
56
56
  },
57
57
  "setParserOptionsProject": {
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const schematics_1 = require("@angular-devkit/schematics");
4
+ const dependencies_1 = require("../utils/dependencies");
5
+ const updatedTypeScriptESLintVersion = '6.10.0';
6
+ const updatedESLintVersion = '8.53.0';
7
+ function migration() {
8
+ return (0, schematics_1.chain)([
9
+ (0, dependencies_1.updateDependencies)([
10
+ {
11
+ packageName: '@typescript-eslint/eslint-plugin',
12
+ version: `^${updatedTypeScriptESLintVersion}`,
13
+ },
14
+ {
15
+ packageName: '@typescript-eslint/utils',
16
+ version: `^${updatedTypeScriptESLintVersion}`,
17
+ },
18
+ {
19
+ packageName: '@typescript-eslint/parser',
20
+ version: `^${updatedTypeScriptESLintVersion}`,
21
+ },
22
+ {
23
+ packageName: 'eslint',
24
+ version: `^${updatedESLintVersion}`,
25
+ },
26
+ ]),
27
+ ]);
28
+ }
29
+ exports.default = migration;
@@ -40,6 +40,11 @@
40
40
  "version": "16.0.0-alpha.0",
41
41
  "description": "Updates @angular-eslint to v16",
42
42
  "factory": "./migrations/update-16-0-0/update-16-0-0"
43
+ },
44
+ "update-17-0-0": {
45
+ "version": "17.0.0-alpha.0",
46
+ "description": "Updates @angular-eslint to v17",
47
+ "factory": "./migrations/update-17-0-0/update-17-0-0"
43
48
  }
44
49
  }
45
50
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-eslint/schematics",
3
- "version": "16.2.1-alpha.7+354d394",
3
+ "version": "17.0.0-alpha.0",
4
4
  "description": "Angular Schematics for angular-eslint",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -33,21 +33,21 @@
33
33
  "save": "devDependencies"
34
34
  },
35
35
  "dependencies": {
36
- "@angular-eslint/eslint-plugin": "16.2.1-alpha.7+354d394",
37
- "@angular-eslint/eslint-plugin-template": "16.2.1-alpha.7+354d394",
38
- "@nx/devkit": "16.5.1",
36
+ "@angular-eslint/eslint-plugin": "17.0.0-alpha.0",
37
+ "@angular-eslint/eslint-plugin-template": "17.0.0-alpha.0",
38
+ "@nx/devkit": "17.0.3",
39
39
  "ignore": "5.2.4",
40
- "nx": "16.5.1",
40
+ "nx": "17.0.3",
41
41
  "strip-json-comments": "3.1.1",
42
42
  "tmp": "0.2.1"
43
43
  },
44
44
  "devDependencies": {
45
- "@types/tmp": "0.2.4",
46
- "@typescript-eslint/utils": "5.62.0",
47
- "eslint": "8.50.0"
45
+ "@types/tmp": "0.2.5",
46
+ "@typescript-eslint/utils": "6.10.0",
47
+ "eslint": "8.53.0"
48
48
  },
49
49
  "peerDependencies": {
50
- "@angular/cli": ">= 16.0.0 < 17.0.0"
50
+ "@angular/cli": ">= 17.0.0-rc.3 < 18.0.0"
51
51
  },
52
- "gitHead": "354d394d2ea866b4f21cbbad84d84b2e102066f5"
52
+ "gitHead": "e0478be1ae5b9010ad1d74eac4d06511250bf13f"
53
53
  }