mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
4fae4dbba8
Use the packaged versions of the packages instead of the local ts_project dependencies to prevent multiple versions of the deps to enter test bundles PR Close #62413
44 lines
919 B
Python
44 lines
919 B
Python
load("//adev/shared-docs:defaults.bzl", "ts_project")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
ts_project(
|
|
name = "stackblitz",
|
|
srcs = glob(
|
|
[
|
|
"*.mts",
|
|
],
|
|
exclude = [
|
|
"index.mts",
|
|
],
|
|
),
|
|
enable_runtime_rnjs_interop = True,
|
|
deps = [
|
|
"//:node_modules/@types/jsdom",
|
|
"//:node_modules/@types/node",
|
|
"//:node_modules/jsdom",
|
|
"//:node_modules/tinyglobby",
|
|
"//adev/shared-docs/pipeline/examples/shared:shared_rjs",
|
|
"//adev/shared-docs/pipeline/guides:guides_lib_rjs",
|
|
],
|
|
)
|
|
|
|
ts_project(
|
|
name = "index",
|
|
srcs = [
|
|
"index.mts",
|
|
],
|
|
enable_runtime_rnjs_interop = True,
|
|
visibility = [
|
|
"//adev/shared-docs:__subpackages__",
|
|
],
|
|
deps = [
|
|
":stackblitz_rjs",
|
|
"//:node_modules/@types/node",
|
|
],
|
|
)
|
|
|
|
exports_files([
|
|
"index.mts",
|
|
])
|