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

Commit

Permalink
Upgrade rules_nodjes and rules_typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorcloudy committed Nov 19, 2020
1 parent e57493a commit 39bc9bd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
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": "^0.38.2",
"protobufjs": "5.0.3",
"typescript": "^3.3.1"
}
Expand Down

0 comments on commit 39bc9bd

Please sign in to comment.