2017-12-06 09:56:49 -05:00
|
|
|
workspace(name = "bazel_integration_test")
|
|
|
|
|
2018-05-29 18:35:48 -04:00
|
|
|
#
|
|
|
|
# Download Bazel toolchain dependencies as needed by build actions
|
|
|
|
#
|
2018-06-25 14:22:23 -04:00
|
|
|
|
|
|
|
local_repository(
|
|
|
|
name = "angular",
|
2018-08-21 04:37:09 -04:00
|
|
|
path = "../..",
|
2018-06-25 14:22:23 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
local_repository(
|
|
|
|
name = "rxjs",
|
|
|
|
path = "node_modules/rxjs/src",
|
|
|
|
)
|
|
|
|
|
2018-10-04 16:14:14 -04:00
|
|
|
load("@angular//packages/bazel:package.bzl", "rules_angular_dependencies")
|
|
|
|
|
|
|
|
rules_angular_dependencies()
|
|
|
|
|
2018-05-29 18:35:48 -04:00
|
|
|
#
|
2018-10-04 16:14:14 -04:00
|
|
|
# Setup dependencies loaded above
|
2018-05-29 18:35:48 -04:00
|
|
|
#
|
|
|
|
|
2018-10-04 16:14:14 -04:00
|
|
|
load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_repositories", "yarn_install")
|
2018-05-29 18:35:48 -04:00
|
|
|
|
2018-09-14 12:48:55 -04:00
|
|
|
check_bazel_version("0.17.0")
|
2018-09-05 15:38:53 -04:00
|
|
|
node_repositories(
|
|
|
|
package_json = ["//:package.json"],
|
2018-09-11 21:11:32 -04:00
|
|
|
node_version = "10.9.0",
|
|
|
|
yarn_version = "1.9.2",
|
2018-09-05 15:38:53 -04:00
|
|
|
)
|
2018-05-29 18:35:48 -04:00
|
|
|
|
2018-10-04 16:14:14 -04:00
|
|
|
yarn_install(
|
|
|
|
name = "npm",
|
|
|
|
package_json = "//:package.json",
|
|
|
|
yarn_lock = "//:yarn.lock",
|
|
|
|
)
|
|
|
|
|
2018-05-29 18:35:48 -04:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
|
|
|
|
|
|
|
|
go_rules_dependencies()
|
|
|
|
go_register_toolchains()
|
|
|
|
|
|
|
|
load("@io_bazel_rules_webtesting//web:repositories.bzl", "browser_repositories", "web_test_repositories")
|
|
|
|
|
|
|
|
web_test_repositories()
|
|
|
|
browser_repositories(
|
|
|
|
chromium = True,
|
|
|
|
firefox = True,
|
|
|
|
)
|
|
|
|
|
2018-01-17 17:49:08 -05:00
|
|
|
load("@build_bazel_rules_typescript//:defs.bzl", "ts_setup_workspace")
|
2017-12-06 09:56:49 -05:00
|
|
|
|
2017-12-22 12:36:47 -05:00
|
|
|
ts_setup_workspace()
|
2017-12-06 09:56:49 -05:00
|
|
|
|
2018-06-04 13:45:27 -04:00
|
|
|
load("@io_bazel_rules_sass//sass:sass_repositories.bzl", "sass_repositories")
|
2018-05-29 18:35:48 -04:00
|
|
|
|
|
|
|
sass_repositories()
|
|
|
|
|
2018-05-11 02:35:21 -04:00
|
|
|
load("@angular//:index.bzl", "ng_setup_workspace")
|
|
|
|
|
|
|
|
ng_setup_workspace()
|