File tree 5 files changed +35
-0
lines changed
5 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 21
21
"url" : " https://github.com/testing-library/angular-testing-library/issues"
22
22
},
23
23
"homepage" : " https://github.com/testing-library/angular-testing-library#readme" ,
24
+ "schematics" : " ./schematics/collection.json" ,
25
+ "ng-add" : {
26
+ "save" : " devDependencies"
27
+ },
24
28
"ng-update" : {
25
29
"migrations" : " ./schematics/migrations/migration.json"
26
30
},
32
36
"@angular/core" : " >= 10.0.0"
33
37
},
34
38
"dependencies" : {
39
+ "@angular-devkit/schematics" : " ^12.0.2" ,
35
40
"@testing-library/dom" : " 7.29.4" ,
36
41
"tslib" : " ^2.0.0"
37
42
},
Original file line number Diff line number Diff line change
1
+ {
2
+ "schematics" : {
3
+ "ng-add" : {
4
+ "aliases" : [" init" ],
5
+ "factory" : " ./ng-add" ,
6
+ "schema" : " ./ng-add/schema.json" ,
7
+ "description" : " Add @testing-library/angular to your application"
8
+ }
9
+ }
10
+ }
Original file line number Diff line number Diff line change
1
+ import { Rule , SchematicContext , Tree } from '@angular-devkit/schematics' ;
2
+
3
+ export default function ( ) : Rule {
4
+ return ( _host : Tree , context : SchematicContext ) => {
5
+ context . logger . info (
6
+ `Correctly installed @testing-library/angular.
7
+ See our docs at https://testing-library.com/docs/angular-testing-library/intro/ to get started.` ,
8
+ ) ;
9
+ } ;
10
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "$schema" : " http://json-schema.org/schema" ,
3
+ "$id" : " SchematicsEslintPluginNgRx" ,
4
+ "title" : " eslint-plugin-ngrx schema" ,
5
+ "type" : " object" ,
6
+ "properties" : {},
7
+ "required" : []
8
+ }
Original file line number Diff line number Diff line change
1
+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
2
+ export interface Schema { }
You can’t perform that action at this time.
0 commit comments