File tree Expand file tree Collapse file tree 5 files changed +33
-5
lines changed Expand file tree Collapse file tree 5 files changed +33
-5
lines changed Original file line number Diff line number Diff line change 6
6
"sass_binary" ,
7
7
"ts_project" ,
8
8
)
9
+ load ("//tools/adev-api-extraction:extract_api_to_json.bzl" , "extract_api_to_json" )
9
10
10
11
package (default_visibility = ["//visibility:public" ])
11
12
@@ -68,5 +69,20 @@ markdown_to_html(
68
69
69
70
filegroup (
70
71
name = "source-files" ,
71
- srcs = glob (["**/*.ts" ]),
72
+ srcs = glob (
73
+ ["**/*.ts" ],
74
+ exclude = ["**/*.spec.ts" ],
75
+ ),
76
+ )
77
+
78
+ extract_api_to_json (
79
+ name = "json_api" ,
80
+ srcs = [
81
+ ":source-files" ,
82
+ ],
83
+ entry_point = ":index.ts" ,
84
+ module_name = "@angular/cdk/drag-drop" ,
85
+ output_name = "cdk_drag_drop.json" ,
86
+ private_modules = ["" ],
87
+ repo = "angular/components" ,
72
88
)
Original file line number Diff line number Diff line change @@ -25,7 +25,10 @@ markdown_to_html(
25
25
26
26
filegroup (
27
27
name = "source-files" ,
28
- srcs = glob (["**/*.ts" ]),
28
+ srcs = glob (
29
+ ["**/*.ts" ],
30
+ exclude = ["**/*.spec.ts" ],
31
+ ),
29
32
)
30
33
31
34
ng_web_test_suite (
Original file line number Diff line number Diff line change @@ -19,7 +19,10 @@ ts_project(
19
19
20
20
filegroup (
21
21
name = "source-files" ,
22
- srcs = glob (["**/*.ts" ]),
22
+ srcs = glob (
23
+ ["**/*.ts" ],
24
+ exclude = ["**/*.spec.ts" ],
25
+ ),
23
26
)
24
27
25
28
extract_api_to_json (
Original file line number Diff line number Diff line change @@ -18,7 +18,10 @@ ts_project(
18
18
19
19
filegroup (
20
20
name = "source-files" ,
21
- srcs = glob (["**/*.ts" ]),
21
+ srcs = glob (
22
+ ["**/*.ts" ],
23
+ exclude = ["**/*.spec.ts" ],
24
+ ),
22
25
)
23
26
24
27
extract_api_to_json (
Original file line number Diff line number Diff line change @@ -19,7 +19,10 @@ ts_project(
19
19
20
20
filegroup (
21
21
name = "source-files" ,
22
- srcs = glob (["**/*.ts" ]),
22
+ srcs = glob (
23
+ ["**/*.ts" ],
24
+ exclude = ["**/*.spec.ts" ],
25
+ ),
23
26
)
24
27
25
28
ts_project (
You can’t perform that action at this time.
0 commit comments