File tree Expand file tree Collapse file tree 5 files changed +24
-17
lines changed
schematics/angular/third_party/github.com/Microsoft/TypeScript Expand file tree Collapse file tree 5 files changed +24
-17
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,19 @@ exports_files([
18
18
19
19
npm_link_all_packages ()
20
20
21
+ rules_js_tsconfig (
22
+ name = "tsconfig" ,
23
+ src = "tsconfig.json" ,
24
+ visibility = [
25
+ "//:__pkg__" ,
26
+ ],
27
+ )
28
+
21
29
rules_js_tsconfig (
22
30
name = "build-tsconfig" ,
23
31
src = "tsconfig-build.json" ,
24
32
deps = [
25
- "tsconfig.json " ,
33
+ ": tsconfig" ,
26
34
"//:node_modules/@types/node" ,
27
35
],
28
36
)
@@ -31,7 +39,7 @@ rules_js_tsconfig(
31
39
name = "test-tsconfig" ,
32
40
src = "tsconfig-test.json" ,
33
41
deps = [
34
- "tsconfig.json " ,
42
+ ": tsconfig" ,
35
43
"//:node_modules/@types/jasmine" ,
36
44
"//:node_modules/@types/node" ,
37
45
],
@@ -41,7 +49,7 @@ rules_js_tsconfig(
41
49
name = "build-tsconfig-esm" ,
42
50
src = "tsconfig-build-esm.json" ,
43
51
deps = [
44
- "tsconfig.json " ,
52
+ ": tsconfig" ,
45
53
],
46
54
)
47
55
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ git_override(
39
39
bazel_dep (name = "devinfra" )
40
40
git_override (
41
41
module_name = "devinfra" ,
42
- commit = "1ef1e98c528b9e9d0d636d1d768b6ebca195ce5d " ,
42
+ commit = "acce054082b688da9a5a3d12c6550184eb9f7725 " ,
43
43
remote = "https://github.com/angular/dev-infra.git" ,
44
44
)
45
45
Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ ts_project(
14
14
"--types" ,
15
15
"node" ,
16
16
],
17
- # TODO: Fix strict_deps failure
18
- ignore_strict_deps = True ,
19
17
source_map = True ,
20
18
tsconfig = "//:build-tsconfig-esm" ,
21
19
deps = [
Original file line number Diff line number Diff line change 1
- load ("//tools:defaults .bzl" , "ts_project " )
1
+ load ("@aspect_rules_js//js:defs .bzl" , "js_library " )
2
2
3
3
# files fetched on 2025-08-01
4
4
@@ -14,8 +14,10 @@ exports_files([
14
14
"LICENSE" ,
15
15
])
16
16
17
- ts_project (
17
+ js_library (
18
18
name = "TypeScript" ,
19
- srcs = ["lib/typescript.d.ts" ],
20
- data = ["lib/typescript.js" ],
19
+ srcs = [
20
+ "lib/typescript.d.ts" ,
21
+ "lib/typescript.js" ,
22
+ ],
21
23
)
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ def ts_project(
13
13
tsconfig = None ,
14
14
testonly = False ,
15
15
visibility = None ,
16
- ignore_strict_deps = False ,
17
16
** kwargs ):
18
17
if tsconfig == None :
19
18
tsconfig = "//:test-tsconfig" if testonly else "//:build-tsconfig"
@@ -28,12 +27,12 @@ def ts_project(
28
27
** kwargs
29
28
)
30
29
31
- if not ignore_strict_deps :
32
- strict_deps_test (
33
- name = "%s_strict_deps_test" % name ,
34
- srcs = kwargs . get ( "srcs" , []) ,
35
- deps = deps ,
36
- )
30
+ strict_deps_test (
31
+ name = "%s_strict_deps_test" % name ,
32
+ srcs = kwargs . get ( "srcs" , []) ,
33
+ tsconfig = tsconfig ,
34
+ deps = deps ,
35
+ )
37
36
38
37
def npm_package (** kwargs ):
39
38
_npm_package (** kwargs )
You can’t perform that action at this time.
0 commit comments