-
Notifications
You must be signed in to change notification settings - Fork 54
/
BUILD.bazel
60 lines (53 loc) · 1.41 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
# BEGIN-INTERNAL
load("//:package.bzl", "NPM_PACKAGE_SUBSTITUTIONS")
load("//tools:defaults.bzl", "pkg_npm")
load("@npm//@bazel/typescript:index.bzl", "ts_config")
load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary")
exports_files([
"package.json",
".yarnrc.yml",
])
ts_config(
name = "tsconfig",
src = "tsconfig.json",
visibility = ["//visibility:public"],
)
nodejs_binary(
name = "yarn_berry_vendored",
data = [".yarn/releases/yarn-4.5.3.cjs"],
entry_point = ".yarn/releases/yarn-4.5.3.cjs",
visibility = ["//bazel/integration/tests:__subpackages__"],
)
nodejs_binary(
name = "yarn_classic_vendored",
data = [".yarn/releases/yarn-1.22.17.cjs"],
entry_point = ".yarn/releases/yarn-1.22.17.cjs",
visibility = ["//bazel/integration/tests:__subpackages__"],
)
package_group(
name = "npm",
packages = [
"//",
],
)
pkg_npm(
name = "npm_package",
package_name = "@angular/build-tooling",
srcs = [
"BUILD.bazel",
"package.json",
"tsconfig.json",
":index.bzl",
"//bazel:static_files",
"//lint-rules/stylelint:static_files",
"//lint-rules/tslint:static_files",
"//shared-scripts:static_files",
],
substitutions = NPM_PACKAGE_SUBSTITUTIONS,
deps = [
"//lint-rules/stylelint:lib",
"//lint-rules/tslint:lib",
],
)
# END-INTERNAL
exports_files(["tsconfig.json"])