30 files changed +169
-101
lines changed Original file line number Diff line number Diff line change 1
1
load ("//src/e2e-app:test_suite.bzl" , "e2e_test_suite" )
2
- load ("//tools:defaults.bzl" , "markdown_to_html" , "ng_web_test_suite" , "ts_library" )
2
+ load ("//tools:defaults.bzl" , "markdown_to_html" , "ng_web_test_suite" )
3
3
load ("//src/cdk/testing/tests:webdriver-test.bzl" , "webdriver_test" )
4
+ load ("//tools:defaults2.bzl" , "ts_project" )
4
5
5
6
package (default_visibility = ["//visibility:public" ])
6
7
7
- ts_library (
8
+ ts_project (
8
9
name = "testing" ,
9
10
srcs = glob (
10
11
["**/*.ts" ],
@@ -13,7 +14,7 @@ ts_library(
13
14
],
14
15
),
15
16
deps = [
16
- "@npm/ /rxjs" ,
17
+ "//:node_modules /rxjs" ,
17
18
],
18
19
)
19
20
Original file line number Diff line number Diff line change 4
4
"MATERIAL_EXPERIMENTAL_TARGETS" ,
5
5
"MATERIAL_EXPERIMENTAL_TESTING_TARGETS" ,
6
6
)
7
- load ("//tools:defaults.bzl" , "ng_package" , "sass_library" , "ts_library" )
7
+ load ("//tools:defaults.bzl" , "ng_package" , "sass_library" )
8
+ load ("//tools:defaults2.bzl" , "ts_project" )
8
9
9
10
package (default_visibility = ["//visibility:public" ])
10
11
11
- ts_library (
12
+ ts_project (
12
13
name = "material-experimental" ,
13
14
srcs = glob (
14
15
["*.ts" ],
15
16
exclude = ["**/*.spec.ts" ],
16
17
),
17
- deps = ["@npm/ /@angular/core" ],
18
+ deps = ["//:node_modules /@angular/core" ],
18
19
)
19
20
20
21
sass_library (
Original file line number Diff line number Diff line change 1
- load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" , "ts_library" )
1
+ load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" )
2
+ load ("//tools:defaults2.bzl" , "ts_project" )
2
3
3
4
package (default_visibility = ["//visibility:public" ])
4
5
5
- ts_library (
6
+ ts_project (
6
7
name = "testing" ,
7
8
srcs = glob (
8
9
["**/*.ts" ],
9
10
exclude = ["**/*.spec.ts" ],
10
11
),
11
- deps = [
12
+ interop_deps = [
12
13
"//src/cdk/testing" ,
13
14
"//src/material/bottom-sheet" ,
14
15
],
Original file line number Diff line number Diff line change 1
- load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" , "ts_library" )
1
+ load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" )
2
+ load ("//tools:defaults2.bzl" , "ts_project" )
2
3
3
4
package (default_visibility = ["//visibility:public" ])
4
5
5
- ts_library (
6
+ ts_project (
6
7
name = "testing" ,
7
8
srcs = glob (
8
9
["**/*.ts" ],
9
10
exclude = ["**/*.spec.ts" ],
10
11
),
11
- deps = [
12
+ interop_deps = [
12
13
"//src/cdk/coercion" ,
13
14
"//src/cdk/testing" ,
14
15
"//src/material/button-toggle" ,
Original file line number Diff line number Diff line change 1
- load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" , "ts_library" )
1
+ load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" )
2
+ load ("//tools:defaults2.bzl" , "ts_project" )
2
3
3
4
package (default_visibility = ["//visibility:public" ])
4
5
5
- ts_library (
6
+ ts_project (
6
7
name = "testing" ,
7
8
srcs = glob (
8
9
["**/*.ts" ],
9
10
exclude = ["**/*.spec.ts" ],
10
11
),
11
12
deps = [
12
- "//src/cdk/testing " ,
13
- "@npm//@angular/core " ,
13
+ "//:node_modules/@angular/core " ,
14
+ "//src/cdk/testing:testing_rjs " ,
14
15
],
15
16
)
16
17
Original file line number Diff line number Diff line change 1
- load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" , "ts_library" )
1
+ load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" )
2
+ load ("//tools:defaults2.bzl" , "ts_project" )
2
3
3
4
package (default_visibility = ["//visibility:public" ])
4
5
5
- ts_library (
6
+ ts_project (
6
7
name = "testing" ,
7
8
srcs = glob (
8
9
["**/*.ts" ],
9
10
exclude = ["**/*.spec.ts" ],
10
11
),
11
12
deps = [
12
- "//src/cdk/testing" ,
13
+ "//src/cdk/testing:testing_rjs " ,
13
14
],
14
15
)
15
16
Original file line number Diff line number Diff line change 1
- load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" , "ts_library" )
1
+ load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" )
2
+ load ("//tools:defaults2.bzl" , "ts_project" )
2
3
3
4
package (default_visibility = ["//visibility:public" ])
4
5
5
- ts_library (
6
+ ts_project (
6
7
name = "testing" ,
7
8
srcs = glob (
8
9
["**/*.ts" ],
9
10
exclude = ["**/*.spec.ts" ],
10
11
),
11
- deps = [
12
+ interop_deps = [
12
13
"//src/cdk/coercion" ,
13
14
"//src/cdk/testing" ,
14
15
],
Original file line number Diff line number Diff line change 1
- load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" , "ts_library" )
1
+ load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" )
2
+ load ("//tools:defaults2.bzl" , "ts_project" )
2
3
3
4
package (default_visibility = ["//visibility:public" ])
4
5
5
- ts_library (
6
+ ts_project (
6
7
name = "testing" ,
7
8
srcs = glob (
8
9
["**/*.ts" ],
9
10
exclude = ["**/*.spec.ts" ],
10
11
),
11
12
deps = [
12
- "//src/cdk/testing" ,
13
+ "//src/cdk/testing:testing_rjs " ,
13
14
],
14
15
)
15
16
Original file line number Diff line number Diff line change 1
- load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" , "ts_library" )
1
+ load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" )
2
+ load ("//tools:defaults2.bzl" , "ts_project" )
2
3
3
4
package (default_visibility = ["//visibility:public" ])
4
5
5
- ts_library (
6
+ ts_project (
6
7
name = "testing" ,
7
8
srcs = glob (
8
9
["**/*.ts" ],
9
10
exclude = ["**/*.spec.ts" ],
10
11
),
11
12
deps = [
12
- "//src/cdk/testing" ,
13
+ "//src/cdk/testing:testing_rjs " ,
13
14
],
14
15
)
15
16
Original file line number Diff line number Diff line change 1
- load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" , "ts_library" )
1
+ load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" )
2
+ load ("//tools:defaults2.bzl" , "ts_project" )
2
3
3
4
package (default_visibility = ["//visibility:public" ])
4
5
5
- ts_library (
6
+ ts_project (
6
7
name = "testing" ,
7
8
srcs = glob (
8
9
["**/*.ts" ],
9
10
exclude = ["**/*.spec.ts" ],
10
11
),
11
- deps = [
12
+ interop_deps = [
12
13
"//src/cdk/coercion" ,
13
14
"//src/cdk/testing" ,
14
15
"//src/material/form-field/testing/control" ,
Original file line number Diff line number Diff line change 1
- load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" , "ts_library" )
1
+ load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" )
2
+ load ("//tools:defaults2.bzl" , "ts_project" )
2
3
3
4
package (default_visibility = ["//visibility:public" ])
4
5
5
- ts_library (
6
+ ts_project (
6
7
name = "testing" ,
7
8
srcs = glob (
8
9
["**/*.ts" ],
9
10
exclude = ["**/*.spec.ts" ],
10
11
),
11
- deps = [
12
+ interop_deps = [
12
13
"//src/cdk/coercion" ,
13
14
"//src/cdk/testing" ,
14
15
],
Original file line number Diff line number Diff line change 1
- load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" , "ts_library" )
1
+ load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" )
2
+ load ("//tools:defaults2.bzl" , "ts_project" )
2
3
3
4
package (default_visibility = ["//visibility:public" ])
4
5
5
- ts_library (
6
+ ts_project (
6
7
name = "testing" ,
7
8
srcs = glob (
8
9
["**/*.ts" ],
9
10
exclude = ["**/*.spec.ts" ],
10
11
),
11
- deps = [
12
+ interop_deps = [
12
13
"//src/cdk/coercion" ,
13
14
"//src/cdk/testing" ,
14
15
"//src/material/select/testing" ,
Original file line number Diff line number Diff line change 1
- load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" , "ts_library" )
1
+ load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" )
2
+ load ("//tools:defaults2.bzl" , "ts_project" )
2
3
3
4
package (default_visibility = ["//visibility:public" ])
4
5
5
- ts_library (
6
+ ts_project (
6
7
name = "testing" ,
7
8
srcs = glob (
8
9
["**/*.ts" ],
9
10
exclude = ["**/*.spec.ts" ],
10
11
),
11
- deps = [
12
+ interop_deps = [
12
13
"//src/cdk/coercion" ,
13
14
"//src/cdk/testing" ,
14
15
],
Original file line number Diff line number Diff line change 1
- load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" , "ts_library" )
1
+ load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" )
2
+ load ("//tools:defaults2.bzl" , "ts_project" )
2
3
3
4
package (default_visibility = ["//visibility:public" ])
4
5
5
- ts_library (
6
+ ts_project (
6
7
name = "testing" ,
7
8
srcs = glob (
8
9
["**/*.ts" ],
9
10
exclude = ["**/*.spec.ts" ],
10
11
),
11
- deps = [
12
+ interop_deps = [
12
13
"//src/cdk/testing" ,
13
14
"//src/material/core/testing" ,
14
15
"//src/material/form-field/testing/control" ,
Original file line number Diff line number Diff line change 1
- load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" , "ts_library" )
1
+ load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" )
2
+ load ("//tools:defaults2.bzl" , "ts_project" )
2
3
3
4
package (default_visibility = ["//visibility:public" ])
4
5
5
- ts_library (
6
+ ts_project (
6
7
name = "testing" ,
7
8
srcs = glob (
8
9
["**/*.ts" ],
9
10
exclude = ["**/*.spec.ts" ],
10
11
),
11
- deps = [
12
+ interop_deps = [
12
13
"//src/cdk/coercion" ,
13
14
"//src/cdk/testing" ,
14
15
],
Original file line number Diff line number Diff line change 1
- load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" , "ts_library" )
1
+ load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" )
2
+ load ("//tools:defaults2.bzl" , "ts_project" )
2
3
3
4
package (default_visibility = ["//visibility:public" ])
4
5
@@ -7,15 +8,17 @@ filegroup(
7
8
srcs = glob (["**/*.ts" ]),
8
9
)
9
10
10
- ts_library (
11
+ ts_project (
11
12
name = "testing" ,
12
13
srcs = glob (
13
14
["**/*.ts" ],
14
15
exclude = ["**/*.spec.ts" ],
15
16
),
16
- deps = [
17
+ interop_deps = [
17
18
"//src/cdk/coercion" ,
18
- "//src/cdk/testing" ,
19
+ ],
20
+ deps = [
21
+ "//src/cdk/testing:testing_rjs" ,
19
22
],
20
23
)
21
24
Original file line number Diff line number Diff line change 1
- load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" , "ts_library" )
1
+ load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" )
2
+ load ("//tools:defaults2.bzl" , "ts_project" )
2
3
3
4
package (default_visibility = ["//visibility:public" ])
4
5
5
- ts_library (
6
+ ts_project (
6
7
name = "testing" ,
7
8
srcs = glob (
8
9
["**/*.ts" ],
9
10
exclude = ["**/*.spec.ts" ],
10
11
),
11
- deps = [
12
+ interop_deps = [
12
13
"//src/cdk/coercion" ,
13
- "//src/cdk/testing" ,
14
14
"//src/material/slider" ,
15
15
],
16
+ deps = [
17
+ "//src/cdk/testing:testing_rjs" ,
18
+ ],
16
19
)
17
20
18
21
ng_test_library (
Original file line number Diff line number Diff line change 1
- load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" , "ts_library" )
1
+ load ("//tools:defaults.bzl" , "ng_test_library" , "ng_web_test_suite" )
2
+ load ("//tools:defaults2.bzl" , "ts_project" )
2
3
3
4
package (default_visibility = ["//visibility:public" ])
4
5
5
- ts_library (
6
+ ts_project (
6
7
name = "testing" ,
7
8
srcs = glob (
8
9
["**/*.ts" ],
9
10
exclude = ["**/*.spec.ts" ],
10
11
),
11
- deps = [
12
+ interop_deps = [
12
13
"//src/cdk/a11y" ,
13
- "//src/cdk/testing" ,
14
+ ],
15
+ deps = [
16
+ "//src/cdk/testing:testing_rjs" ,
14
17
],
15
18
)
16
19
0 commit comments