https://github.com/angular/angular
Raw File
Tip revision: 600a8cd59a47c58a9169bd717bd9f036a49bae84 authored by Alex Rickabaugh on 22 February 2024, 01:49:33 UTC
release: cut the v17.2.2 release
Tip revision: 600a8cd
BUILD.bazel
load("//tools:defaults.bzl", "esbuild", "ts_library")

package(
    default_visibility = [
        "//packages/core/schematics:__pkg__",
        "//packages/core/schematics/migrations/google3:__pkg__",
        "//packages/core/schematics/test:__pkg__",
    ],
)

filegroup(
    name = "static_files",
    srcs = ["schema.json"],
)

ts_library(
    name = "standalone-migration",
    srcs = glob(["**/*.ts"]),
    tsconfig = "//packages/core/schematics:tsconfig.json",
    deps = [
        "//packages/compiler-cli",
        "//packages/compiler-cli/private",
        "//packages/core/schematics/utils",
        "@npm//@angular-devkit/schematics",
        "@npm//@types/node",
        "@npm//typescript",
    ],
)

esbuild(
    name = "bundle",
    entry_point = ":index.ts",
    external = [
        "@angular-devkit/*",
        "typescript",
    ],
    format = "cjs",
    platform = "node",
    deps = [":standalone-migration"],
)
back to top