mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-15 18:13:38 +08:00
This is necessary as `rules_js` requires this "common name" when dealing with Yarn workspaces, linking first party dependencies automatically. In the future, we may be able to send a PR to `rules_js` to support a custom name somehow.
29 lines
831 B
Python
29 lines
831 B
Python
load("//tools:interop.bzl", "ts_project")
|
|
|
|
# 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.dev/license
|
|
licenses(["notice"])
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
ts_project(
|
|
name = "node",
|
|
srcs = glob(
|
|
include = ["**/*.ts"],
|
|
exclude = [
|
|
"**/*_spec.ts",
|
|
],
|
|
),
|
|
module_name = "@angular-devkit/schematics/tasks/node",
|
|
deps = [
|
|
"//:node_modules/@types/node",
|
|
"//:node_modules/rxjs",
|
|
"//packages/angular_devkit/core:core_rjs",
|
|
"//packages/angular_devkit/core/node:node_rjs",
|
|
"//packages/angular_devkit/schematics:schematics_rjs",
|
|
"//packages/angular_devkit/schematics/tasks:tasks_rjs",
|
|
],
|
|
)
|