forked from angular/bazel-builds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
executable file
·39 lines (38 loc) · 1.17 KB
/
BUILD.bazel
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
37
38
39
load("//tools:defaults.bzl", "npm_package")
npm_package(
name = "npm_package",
srcs = glob(
["*"],
exclude = ["yarn.lock"],
) + [
"//src:package_assets",
"//src/api-extractor:package_assets",
"//src/builders:package_assets",
"//src/ng_package:package_assets",
"//src/ngc-wrapped:package_assets",
"//src/protractor:package_assets",
"//src/schematics:package_assets",
"//third_party/github.com/bazelbuild/bazel/src/main/protobuf:package_assets",
],
packages = [
"//docs",
],
replacements = {
"(#|\/\/)\\s+BEGIN-DEV-ONLY[\\w\W]+?(#|\/\/)\\s+END-DEV-ONLY": "",
"//": "//",
"npm_angular_bazel/": "npm_angular_bazel/",
},
tags = ["release-with-framework"],
# Do not add more to this list.
# Dependencies on the full npm_package cause long re-builds.
visibility = ["//visibility:private"],
deps = [
"//src/api-extractor:lib",
"//src/builders",
"//src/ng_package:lib",
"//src/ngc-wrapped:ngc_lib",
"//src/protractor/utils",
"//src/schematics/ng-add",
"//src/schematics/ng-new",
],
)