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 66 "sass_binary" ,
77 "ts_project" ,
88)
9+ load ("//tools/adev-api-extraction:extract_api_to_json.bzl" , "extract_api_to_json" )
910
1011package (default_visibility = ["//visibility:public" ])
1112
@@ -68,5 +69,20 @@ markdown_to_html(
6869
6970filegroup (
7071 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" ,
7288)
Original file line number Diff line number Diff line change @@ -25,7 +25,10 @@ markdown_to_html(
2525
2626filegroup (
2727 name = "source-files" ,
28- srcs = glob (["**/*.ts" ]),
28+ srcs = glob (
29+ ["**/*.ts" ],
30+ exclude = ["**/*.spec.ts" ],
31+ ),
2932)
3033
3134ng_web_test_suite (
Original file line number Diff line number Diff line change @@ -19,7 +19,10 @@ ts_project(
1919
2020filegroup (
2121 name = "source-files" ,
22- srcs = glob (["**/*.ts" ]),
22+ srcs = glob (
23+ ["**/*.ts" ],
24+ exclude = ["**/*.spec.ts" ],
25+ ),
2326)
2427
2528extract_api_to_json (
Original file line number Diff line number Diff line change @@ -18,7 +18,10 @@ ts_project(
1818
1919filegroup (
2020 name = "source-files" ,
21- srcs = glob (["**/*.ts" ]),
21+ srcs = glob (
22+ ["**/*.ts" ],
23+ exclude = ["**/*.spec.ts" ],
24+ ),
2225)
2326
2427extract_api_to_json (
Original file line number Diff line number Diff line change @@ -19,7 +19,10 @@ ts_project(
1919
2020filegroup (
2121 name = "source-files" ,
22- srcs = glob (["**/*.ts" ]),
22+ srcs = glob (
23+ ["**/*.ts" ],
24+ exclude = ["**/*.spec.ts" ],
25+ ),
2326)
2427
2528ts_project (
You can’t perform that action at this time.
0 commit comments