-
Notifications
You must be signed in to change notification settings - Fork 2
/
BUILD.bazel
99 lines (91 loc) · 2.1 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# Marker file indicating this folder is a Bazel package.
# Needed so that tsconfig.json can be referenced from BUILD rules.
package(default_visibility = ["//visibility:public"])
exports_files(["tsconfig.json"])
load("@build_bazel_rules_nodejs//:defs.bzl", "node_modules_filegroup")
alias(
name = "install",
actual = "@yarn//:yarn",
)
node_modules_filegroup(
name = "node_modules",
packages = [
"express",
"hapi",
"jasmine",
"rxjs",
"tsickle",
"tslib",
"tsutils",
"typescript",
"zone.js",
"@angular",
"@types",
"angular-oauth2-oidc",
"jsrsasign",
],
)
node_modules_filegroup(
name = "express_runtime_deps",
packages = [
"express",
"depd",
"merge-descriptors",
"finalhandler",
"debug",
"ms",
"encodeurl",
"parseurl",
"statuses",
"unpipe",
"array-flatten",
"path-to-regexp",
"qs",
"ee-first",
"on-finished",
"escape-html",
"utils-merge",
"methods",
"setprototypeof",
"content-disposition",
"content-type",
"send",
"http-errors",
"inherits",
"destroy",
"etag",
"fresh",
"range-parser",
"proxy-addr",
"forwarded",
"ipaddr.js",
"accepts",
"negotiator",
"mime-types",
"mime-db",
"type-is",
"media-typer",
"cookie-signature",
"cookie",
"vary",
"bytes",
"serve-static",
"body-parser",
]
)
ANGULAR_TESTING = [
"node_modules/@angular/*/bundles/*-testing.umd.js",
# We use AOT, so the compiler and the dynamic platform-browser should be
# visible only in tests
"node_modules/@angular/compiler/bundles/*.umd.js",
"node_modules/@angular/platform-browser-dynamic/bundles/*.umd.js",
]
filegroup(
name = "angular_bundles",
srcs = glob(
[
"node_modules/@angular/*/bundles/*.umd.js",
],
exclude = ANGULAR_TESTING,
),
)