Add enough BUILD files to make it possible to `bazel build packages/core/test` Also re-format BUILD.bazel files with Buildifier. Add a CI lint check that they stay formatted. PR Close #20768
		
			
				
	
	
		
			22 lines
		
	
	
		
			392 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			392 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| package(default_visibility = ["//visibility:public"])
 | |
| 
 | |
| load("@build_bazel_rules_typescript//:defs.bzl", "ts_library")
 | |
| 
 | |
| ts_library(
 | |
|     name = "worker",
 | |
|     srcs = glob(
 | |
|         [
 | |
|             "*.ts",
 | |
|             "src/**/*.ts",
 | |
|         ],
 | |
|         exclude = ["main.ts"],
 | |
|     ),
 | |
|     tsconfig = ":tsconfig.json",
 | |
| )
 | |
| 
 | |
| ts_library(
 | |
|     name = "main",
 | |
|     srcs = ["main.ts"],
 | |
|     deps = [":worker"],
 | |
| )
 |