@angular-eslint/schematics 20.5.0 → 20.5.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.
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/package.json +3 -3
package/dist/utils.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare function readJsonInTree<T = any>(host: Tree, path: string): T;
|
|
|
12
12
|
* This method is specifically for updating JSON in a Tree
|
|
13
13
|
* @param path Path of JSON file in the Tree
|
|
14
14
|
* @param callback Manipulation of the JSON data
|
|
15
|
-
* @returns A rule which updates a JSON file
|
|
15
|
+
* @returns A rule which updates a JSON file in a Tree
|
|
16
16
|
*/
|
|
17
17
|
export declare function updateJsonInTree<T = any, O = T>(path: string, callback: (json: T, context: SchematicContext) => O): Rule;
|
|
18
18
|
type TargetsConfig = Record<string, {
|
package/dist/utils.js
CHANGED
|
@@ -56,7 +56,7 @@ function readJsonInTree(host, path) {
|
|
|
56
56
|
* This method is specifically for updating JSON in a Tree
|
|
57
57
|
* @param path Path of JSON file in the Tree
|
|
58
58
|
* @param callback Manipulation of the JSON data
|
|
59
|
-
* @returns A rule which updates a JSON file
|
|
59
|
+
* @returns A rule which updates a JSON file in a Tree
|
|
60
60
|
*/
|
|
61
61
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
62
62
|
function updateJsonInTree(path, callback) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-eslint/schematics",
|
|
3
|
-
"version": "20.5.
|
|
3
|
+
"version": "20.5.1-alpha.1",
|
|
4
4
|
"description": "Angular Schematics for angular-eslint",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"ignore": "7.0.5",
|
|
42
42
|
"semver": "7.7.3",
|
|
43
43
|
"strip-json-comments": "3.1.1",
|
|
44
|
-
"@angular-eslint/eslint-plugin": "20.5.
|
|
45
|
-
"@angular-eslint/eslint-plugin-template": "20.5.
|
|
44
|
+
"@angular-eslint/eslint-plugin": "20.5.1-alpha.1",
|
|
45
|
+
"@angular-eslint/eslint-plugin-template": "20.5.1-alpha.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@typescript-eslint/utils": "8.46.1",
|