Charles Lyding 11e0a51b17 build: minor cleanup of bazel build rules
BUILD files for each package have had outdated glob excludes removed.
Additionally, some src args have been reduced to a single file where possible.
The root bazel ignore file has also been expanded to include all node module
directories in each package. The ignore file does not appear to currently support
globs so each path has been individually specified.
2023-05-22 09:36:44 -04:00

33 lines
848 B
Python

load("//tools:defaults.bzl", "ts_library")
# Copyright Google Inc. All Rights Reserved.
#
# Use of this source code is governed by an MIT-style license that can be
# found in the LICENSE file at https://angular.io/license
licenses(["notice"])
package(default_visibility = ["//visibility:public"])
ts_library(
name = "tasks",
srcs = glob(
include = ["**/*.ts"],
exclude = [
"node/**/*.ts",
"**/*_spec.ts",
],
),
data = ["package.json"],
module_name = "@angular-devkit/schematics/tasks",
module_root = "index.d.ts",
deps = [
"//packages/angular_devkit/core",
"//packages/angular_devkit/core/node",
"//packages/angular_devkit/schematics",
"@npm//@types/node",
"@npm//ora",
"@npm//rxjs",
"@npm//typescript",
],
)