forked from player-ui/tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWORKSPACE
More file actions
41 lines (32 loc) · 951 Bytes
/
WORKSPACE
File metadata and controls
41 lines (32 loc) · 951 Bytes
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
workspace(
name = "player",
managed_directories = {
"@npm": ["node_modules"],
},
)
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_player",
strip_prefix = "rules_player-0.10.0",
urls = ["https://github.com/player-ui/rules_player/archive/refs/tags/v0.10.0.tar.gz"],
sha256 = "73597c76a5ceb6c1f84735e0e086792e4695759c62c22f45e13041862c6b0c33"
)
load("@rules_player//:workspace.bzl", "deps")
deps()
load("@rules_player//:conf.bzl", "apple", "javascript", "kotlin")
#####################
# Yarn Dependencies #
#####################
javascript()
load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories", "yarn_install")
node_repositories(
node_version = "16.12.0",
yarn_version = "1.22.17",
)
yarn_install(
name = "npm",
included_files = [],
package_json = "//:package.json",
strict_visibility = False,
yarn_lock = "//:yarn.lock",
)