@angular-eslint/schematics 14.3.1-alpha.0 → 15.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.
- package/dist/application/schema.json +11 -16
- package/dist/library/schema.json +4 -0
- package/package.json +5 -5
|
@@ -7,12 +7,11 @@
|
|
|
7
7
|
"additionalProperties": false,
|
|
8
8
|
"properties": {
|
|
9
9
|
"projectRoot": {
|
|
10
|
-
"description": "The root directory of the new
|
|
11
|
-
"type": "string"
|
|
12
|
-
"visible": false
|
|
10
|
+
"description": "The root directory of the new application.",
|
|
11
|
+
"type": "string"
|
|
13
12
|
},
|
|
14
13
|
"name": {
|
|
15
|
-
"description": "The name of the new
|
|
14
|
+
"description": "The name of the new application.",
|
|
16
15
|
"type": "string",
|
|
17
16
|
"pattern": "^(?:@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*/)?[a-zA-Z0-9-~][a-zA-Z0-9-._~]*$",
|
|
18
17
|
"$default": {
|
|
@@ -25,26 +24,25 @@
|
|
|
25
24
|
"description": "Include styles inline in the root component.ts file. Only CSS styles can be included inline. Default is false, meaning that an external styles file is created and referenced in the root component.ts file.",
|
|
26
25
|
"type": "boolean",
|
|
27
26
|
"alias": "s",
|
|
28
|
-
"x-user-analytics":
|
|
27
|
+
"x-user-analytics": "ep.ng_inline_style"
|
|
29
28
|
},
|
|
30
29
|
"inlineTemplate": {
|
|
31
30
|
"description": "Include template inline in the root component.ts file. Default is false, meaning that an external template file is created and referenced in the root component.ts file. ",
|
|
32
31
|
"type": "boolean",
|
|
33
32
|
"alias": "t",
|
|
34
|
-
"x-user-analytics":
|
|
33
|
+
"x-user-analytics": "ep.ng_inline_template"
|
|
35
34
|
},
|
|
36
35
|
"viewEncapsulation": {
|
|
37
36
|
"description": "The view encapsulation strategy to use in the new application.",
|
|
38
37
|
"enum": ["Emulated", "None", "ShadowDom"],
|
|
39
|
-
"type": "string"
|
|
40
|
-
"x-user-analytics": 11
|
|
38
|
+
"type": "string"
|
|
41
39
|
},
|
|
42
40
|
"routing": {
|
|
43
41
|
"type": "boolean",
|
|
44
42
|
"description": "Create a routing NgModule.",
|
|
45
43
|
"default": false,
|
|
46
44
|
"x-prompt": "Would you like to add Angular routing?",
|
|
47
|
-
"x-user-analytics":
|
|
45
|
+
"x-user-analytics": "ep.ng_routing"
|
|
48
46
|
},
|
|
49
47
|
"prefix": {
|
|
50
48
|
"type": "string",
|
|
@@ -77,14 +75,13 @@
|
|
|
77
75
|
}
|
|
78
76
|
]
|
|
79
77
|
},
|
|
80
|
-
"x-user-analytics":
|
|
78
|
+
"x-user-analytics": "ep.ng_style"
|
|
81
79
|
},
|
|
82
80
|
"skipTests": {
|
|
83
81
|
"description": "Do not create \"spec.ts\" test files for the application.",
|
|
84
82
|
"type": "boolean",
|
|
85
83
|
"default": false,
|
|
86
|
-
"alias": "S"
|
|
87
|
-
"x-user-analytics": 12
|
|
84
|
+
"alias": "S"
|
|
88
85
|
},
|
|
89
86
|
"skipPackageJson": {
|
|
90
87
|
"type": "boolean",
|
|
@@ -94,8 +91,7 @@
|
|
|
94
91
|
"minimal": {
|
|
95
92
|
"description": "Create a bare-bones project without any testing frameworks. (Use for learning purposes only.)",
|
|
96
93
|
"type": "boolean",
|
|
97
|
-
"default": false
|
|
98
|
-
"x-user-analytics": 14
|
|
94
|
+
"default": false
|
|
99
95
|
},
|
|
100
96
|
"skipInstall": {
|
|
101
97
|
"description": "Skip installing dependency packages.",
|
|
@@ -105,8 +101,7 @@
|
|
|
105
101
|
"strict": {
|
|
106
102
|
"description": "Creates an application with stricter bundle budgets settings.",
|
|
107
103
|
"type": "boolean",
|
|
108
|
-
"default": true
|
|
109
|
-
"x-user-analytics": 7
|
|
104
|
+
"default": true
|
|
110
105
|
}
|
|
111
106
|
},
|
|
112
107
|
"required": ["name"]
|
package/dist/library/schema.json
CHANGED
|
@@ -43,6 +43,10 @@
|
|
|
43
43
|
"type": "boolean",
|
|
44
44
|
"default": false,
|
|
45
45
|
"description": "Do not update \"tsconfig.json\" to add a path mapping for the new library. The path mapping is needed to use the library in an app, but can be disabled here to simplify development."
|
|
46
|
+
},
|
|
47
|
+
"projectRoot": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"description": "The root directory of the new library."
|
|
46
50
|
}
|
|
47
51
|
},
|
|
48
52
|
"required": ["name"]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-eslint/schematics",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.0.0-alpha.0",
|
|
4
4
|
"description": "Angular Schematics for angular-eslint",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"save": "devDependencies"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@angular-eslint/eslint-plugin": "
|
|
37
|
-
"@angular-eslint/eslint-plugin-template": "
|
|
36
|
+
"@angular-eslint/eslint-plugin": "15.0.0-alpha.0",
|
|
37
|
+
"@angular-eslint/eslint-plugin-template": "15.0.0-alpha.0",
|
|
38
38
|
"ignore": "5.2.0",
|
|
39
39
|
"strip-json-comments": "3.1.1",
|
|
40
40
|
"tmp": "0.2.1"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"tslint-to-eslint-config": "2.4.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@angular/cli": ">=
|
|
49
|
+
"@angular/cli": ">= 15.0.0 < 16.0.0"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "333fe1b4c189a5f4ecee216bd5360f428853f50d"
|
|
52
52
|
}
|