Alan Agius 650aeec286 build: add missing pkg_deps for @angular/create
Included missing `@angular/cli` in `pkg_deps`.
2024-08-14 16:42:42 +02:00

40 lines
846 B
Python

# 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
load("//tools:defaults.bzl", "pkg_npm", "ts_library")
licenses(["notice"])
ts_library(
name = "create",
package_name = "@angular/create",
srcs = ["src/index.ts"],
deps = [
"//packages/angular/cli:angular-cli",
"@npm//@types/node",
],
)
genrule(
name = "license",
srcs = ["//:LICENSE"],
outs = ["LICENSE"],
cmd = "cp $(execpath //:LICENSE) $@",
)
pkg_npm(
name = "npm_package",
pkg_deps = [
"//packages/angular/cli:package.json",
],
tags = ["release-package"],
visibility = ["//visibility:public"],
deps = [
":README.md",
":create",
":license",
],
)