mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-20 05:24:57 +08:00
rules_nodejs 4 requires that a package_name property be specified within a ts_library rule for the output to be linked into the package repository. Failing to add the property can cause test failures due to unresolved packages.
30 lines
878 B
Python
30 lines
878 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"]) # MIT
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
ts_library(
|
|
name = "architect_cli",
|
|
package_name = "@angular-devkit/architect-cli",
|
|
srcs = [
|
|
"bin/architect.ts",
|
|
] + glob(["src/**/*.ts"]),
|
|
module_name = "@angular-devkit/architect-cli",
|
|
deps = [
|
|
"//packages/angular_devkit/architect",
|
|
"//packages/angular_devkit/architect/node",
|
|
"//packages/angular_devkit/core",
|
|
"//packages/angular_devkit/core/node",
|
|
"@npm//@types/minimist",
|
|
"@npm//@types/node",
|
|
"@npm//@types/progress",
|
|
"@npm//ansi-colors",
|
|
"@npm//rxjs",
|
|
],
|
|
)
|