Skip to content

Commit

Permalink
fix: get rules_go dependency from build_bazel_rules_typescript
Browse files Browse the repository at this point in the history
we don't want to get this file through the npm package dependency
  • Loading branch information
alexeagle committed Aug 13, 2019
1 parent 9200c62 commit ea6ee0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
6 changes: 3 additions & 3 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,18 @@ install_bazel_dependencies()
# With http_archive it only sees releases/download/*.tar.gz urls
git_repository(
name = "build_bazel_rules_typescript",
commit = "ae6d6888ffb727f7d10918c2c2fee267de12aebb",
commit = "73ba7764363bbf760593a205329cb676095f53f9",
remote = "http://github.com/bazelbuild/rules_typescript.git",
)

# We have a source dependency on build_bazel_rules_typescript
# so we must repeat its transitive toolchain deps
load("@npm_bazel_typescript//:package.bzl", "rules_typescript_dev_dependencies")
load("@build_bazel_rules_typescript//:package.bzl", "rules_typescript_dev_dependencies")

rules_typescript_dev_dependencies()

load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
load("@io_bazel_rules_go//go:def.bzl", "go_register_toolchains", "go_rules_dependencies")
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")

gazelle_dependencies()

Expand Down
9 changes: 0 additions & 9 deletions package.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,6 @@ def rules_nodejs_dev_dependencies():
sha256 = "a3d6a8ba4c6dce86d3b3387a23b04cbdf4c435a58120bd9842588d3845fe689c",
)

# Needed by stardoc
http_archive(
name = "com_google_protobuf",
sha256 = "b404fe166de66e9a5e6dab43dc637070f950cdba2a8a4c9ed9add354ed4f6525",
strip_prefix = "protobuf-b4f193788c9f0f05d7e0879ea96cd738630e5d51",
# Commit from 2019-05-15, update to protobuf 3.8 when available.
url = "https://github.com/protocolbuffers/protobuf/archive/b4f193788c9f0f05d7e0879ea96cd738630e5d51.zip",
)

# Needed for com_google_protobuf
http_archive(
name = "zlib",
Expand Down

0 comments on commit ea6ee0b

Please sign in to comment.