mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
* 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
31 lines
550 B
Text
31 lines
550 B
Text
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",
|
|
],
|
|
)
|