forked from improbable-eng/ts-protoc-gen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWORKSPACE
43 lines (37 loc) · 1.38 KB
/
WORKSPACE
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
workspace(name = "ts_protoc_gen")
git_repository(
name = "io_bazel_rules_go",
commit = "6bee898391a42971289a7989c0f459ab5a4a84dd", # master as of May 10th, 2018
remote = "https://github.com/bazelbuild/rules_go.git",
)
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()
git_repository(
name = "io_bazel_rules_webtesting",
tag = "0.2.1",
remote = "https://github.com/bazelbuild/rules_webtesting",
)
load("@io_bazel_rules_webtesting//web:repositories.bzl", "browser_repositories", "web_test_repositories")
web_test_repositories()
git_repository(
name = "build_bazel_rules_nodejs",
remote = "https://github.com/bazelbuild/rules_nodejs.git",
tag = "0.15.0",
)
load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories", "npm_install")
node_repositories(preserve_symlinks = True) # hermetic version of node
npm_install(
name = "npm",
package_json = "@ts_protoc_gen//:package.json",
package_lock_json = "@ts_protoc_gen//:package-lock.json",
)
git_repository(
name = "build_bazel_rules_typescript",
tag = "0.20.3",
remote = "https://github.com/bazelbuild/rules_typescript",
)
load("@build_bazel_rules_typescript//:package.bzl", "rules_typescript_dependencies")
rules_typescript_dependencies()
load("@build_bazel_rules_typescript//:defs.bzl", "ts_setup_workspace")
ts_setup_workspace()