mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
cc5d3b75e2
* Adjusts tests to no longer rely on CommonJS features. Switches them to ESM * Updates test initialization files to not double-initialize Jasmine now that bootstrap files are loaded after Jasmine. The `jasmine.boot` setup was hacky from `rules_nodejs` and will break in the future regardless if we e.g. use `rules_js` with actual unmodified `jasmine`. PR Close #48521
32 lines
550 B
Python
32 lines
550 B
Python
load("//tools:defaults.bzl", "ts_library")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
exports_files(glob([
|
|
"**/*",
|
|
]))
|
|
|
|
ts_library(
|
|
name = "zone_d_ts",
|
|
srcs = [":zone.ts"],
|
|
deps = [
|
|
"@npm//@types/node",
|
|
],
|
|
)
|
|
|
|
ts_library(
|
|
name = "lib",
|
|
package_name = "zone.js/lib",
|
|
srcs = glob(
|
|
["**/*.ts"],
|
|
exclude = ["zone.ts"],
|
|
),
|
|
module_name = "zone.js/lib",
|
|
deps = [
|
|
":zone_d_ts",
|
|
"@npm//@types/jasmine",
|
|
"@npm//@types/node",
|
|
"@npm//rxjs",
|
|
],
|
|
)
|