2018-03-13 14:00:53 -04:00
|
|
|
load("//tools:defaults.bzl", "npm_package")
|
2018-03-07 12:04:27 -05:00
|
|
|
|
|
|
|
npm_package(
|
|
|
|
name = "npm_package",
|
2019-02-19 19:15:06 -05:00
|
|
|
srcs = glob(
|
|
|
|
["*"],
|
|
|
|
exclude = ["yarn.lock"],
|
|
|
|
) + [
|
2018-03-07 12:04:27 -05:00
|
|
|
"//packages/bazel/src:package_assets",
|
2019-02-19 19:15:06 -05:00
|
|
|
"//packages/bazel/src/api-extractor:package_assets",
|
2018-09-14 10:03:29 -04:00
|
|
|
"//packages/bazel/src/builders:package_assets",
|
2019-02-19 19:15:06 -05:00
|
|
|
"//packages/bazel/src/ng_package:package_assets",
|
|
|
|
"//packages/bazel/src/ngc-wrapped:package_assets",
|
|
|
|
"//packages/bazel/src/protractor:package_assets",
|
2018-09-14 10:03:29 -04:00
|
|
|
"//packages/bazel/src/schematics:package_assets",
|
2019-02-19 19:15:06 -05:00
|
|
|
"//packages/bazel/third_party/github.com/bazelbuild/bazel/src/main/protobuf:package_assets",
|
2018-03-07 12:04:27 -05:00
|
|
|
],
|
2018-10-16 16:20:00 -04:00
|
|
|
packages = [
|
|
|
|
"//packages/bazel/docs",
|
|
|
|
],
|
2019-02-19 19:15:06 -05:00
|
|
|
replacements = {
|
|
|
|
"(#|\/\/)\\s+BEGIN-DEV-ONLY[\\w\W]+?(#|\/\/)\\s+END-DEV-ONLY": "",
|
|
|
|
"//packages/bazel/": "//",
|
|
|
|
"angular/packages/bazel/": "npm_angular_bazel/",
|
|
|
|
},
|
2018-03-30 16:48:47 -04:00
|
|
|
tags = ["release-with-framework"],
|
2018-12-11 19:53:42 -05:00
|
|
|
# Do not add more to this list.
|
|
|
|
# Dependencies on the full npm_package cause long re-builds.
|
|
|
|
visibility = ["//visibility:private"],
|
2018-10-16 16:20:00 -04:00
|
|
|
deps = [
|
2019-02-19 19:15:06 -05:00
|
|
|
"//packages/bazel/src/api-extractor:lib",
|
2018-11-16 14:36:17 -05:00
|
|
|
"//packages/bazel/src/builders",
|
2018-10-16 16:20:00 -04:00
|
|
|
"//packages/bazel/src/ng_package:lib",
|
|
|
|
"//packages/bazel/src/ngc-wrapped:ngc_lib",
|
|
|
|
"//packages/bazel/src/protractor/utils",
|
2019-01-28 14:03:04 -05:00
|
|
|
"//packages/bazel/src/schematics/ng-add",
|
2018-09-14 10:03:29 -04:00
|
|
|
"//packages/bazel/src/schematics/ng-new",
|
2018-10-16 16:20:00 -04:00
|
|
|
],
|
2018-03-07 12:04:27 -05:00
|
|
|
)
|