Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Upgrade rules_nodjes and rules_typescript #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,11 @@ go_repository(
# BEGIN: Typescript dependencies
# http_archive(
# name = "build_bazel_rules_nodejs",
# urls = [
# "https://github.com/bazelbuild/rules_nodejs/releases/download/0.35.0/rules_nodejs-0.35.0.tar.gz",
# ],
# sha256 = "6625259f9f77ef90d795d20df1d0385d9b3ce63b6619325f702b6358abb4ab33",
# sha256 = "84abf7ac4234a70924628baa9a73a5a5cbad944c4358cf9abdb4aab29c9a5b77",
# urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/1.7.0/rules_nodejs-1.7.0.tar.gz"],
# )

# load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories", "yarn_install")
# load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories", "yarn_install")

# yarn_install(
# name = "npm",
Expand Down
8 changes: 3 additions & 5 deletions generate_workspace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,11 @@ go_repository(
# BEGIN: Typescript dependencies
http_archive(
name = "build_bazel_rules_nodejs",
urls = [
"https://github.com/bazelbuild/rules_nodejs/releases/download/0.35.0/rules_nodejs-0.35.0.tar.gz",
],
sha256 = "6625259f9f77ef90d795d20df1d0385d9b3ce63b6619325f702b6358abb4ab33",
sha256 = "84abf7ac4234a70924628baa9a73a5a5cbad944c4358cf9abdb4aab29c9a5b77",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/1.7.0/rules_nodejs-1.7.0.tar.gz"],
)

load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories", "yarn_install")
load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories", "yarn_install")

yarn_install(
name = "npm",
Expand Down
2 changes: 1 addition & 1 deletion typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"devDependencies": {
"@bazel/hide-bazel-files": "latest",
"@bazel/typescript": "^0.35.0",
"@bazel/typescript": "^1.7.0",
"protobufjs": "5.0.3",
"typescript": "^3.3.1"
}
Expand Down