forked from angular/angular-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD.bazel
More file actions
36 lines (31 loc) · 774 Bytes
/
BUILD.bazel
File metadata and controls
36 lines (31 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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
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",
tags = ["release-package"],
visibility = ["//visibility:public"],
deps = [
":README.md",
":create",
":license",
],
)