File tree Expand file tree Collapse file tree
vendor/tsickle/test/ts_migration_exports_shim Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33module (
44 name = "rules_tsickle" ,
5- version = "0.1 .0" ,
5+ version = "0.0 .0" ,
66 compatibility_level = 1 ,
77)
88
Original file line number Diff line number Diff line change @@ -4,3 +4,10 @@ closure_ts_compile(
44 name = "lib" ,
55 srcs = ["index.ts" ],
66)
7+
8+ # bazel run //examples/helloworld:files.update
9+ # bazel test //examples/helloworld:files.test
10+ # golden_filegroup(
11+ # name = "files",
12+ # srcs = [":index.ts"],
13+ # )
Original file line number Diff line number Diff line change 1- load ("//javascript/typescript:build_defs.bzl" , "ts_library" )
2- load ("//tools/build_defs/js:rules.bzl" , "js_library" )
3- load ("//tools/build_rules:build_test.bzl" , "build_test" )
4-
5- licenses (["notice" ])
6-
7- build_test (
8- name = "integration_test" ,
9- targets = [
10- ":goog_module_ref" ,
11- ":goog_colon_and_clutz_ref" ,
12- ],
13- )
14-
15- ts_library (
16- name = "goog_colon_and_clutz_ref" ,
17- srcs = ["goog_colon_and_clutz_ref.ts" ],
18- deps = [
19- ":goog_module_ref" ,
20- ":migrated" ,
21- ],
22- )
23-
24- js_library (
25- name = "goog_module_ref" ,
26- srcs = [
27- "goog_module_ref.js" ,
28- ],
29- deps = [
30- ":migrated" ,
31- "//javascript/closure:base" ,
32- ],
33- )
34-
35- ts_library (
36- name = "migrated" ,
37- srcs = [
38- "migrated_default_shorthand.ts" ,
39- "migrated_default_type.ts" ,
40- "migrated_default_value.ts" ,
41- "migrated_named.ts" ,
42- "migrated_named_shorthand.ts" ,
43- ],
44- generate_ts_migration_exports_shim = True ,
45- )
You can’t perform that action at this time.
0 commit comments