Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Commit

Permalink
Update to nodejs rules 0.31.1
Browse files Browse the repository at this point in the history
nodejs_binary entry_point is now a label
  • Loading branch information
gregmagolan committed Jun 7, 2019
1 parent 4ae7cda commit 7389ce2
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ run --nolegacy_external_runfiles
test --nolegacy_external_runfiles

# Enable the "Managed Directories" feature
build --experimental_allow_incremental_repository_updates
common --experimental_allow_incremental_repository_updates

# Opt-in to upcoming breaking change
build --incompatible_depset_is_not_iterable
4 changes: 2 additions & 2 deletions internal/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ nodejs_binary(
"@npm//source-map-support",
"@npm//typescript",
],
entry_point = "typescript/lib/tsc.js",
entry_point = "@npm//node_modules/typescript:lib/tsc.js",
visibility = ["//internal:__subpackages__"],
)

Expand Down Expand Up @@ -88,7 +88,7 @@ nodejs_binary(
"@npm//typescript",
"//third_party/github.com/bazelbuild/bazel/src/main/protobuf:worker_protocol.proto",
],
entry_point = "build_bazel_rules_typescript/internal/tsc_wrapped/tsc_wrapped.js",
entry_point = ":tsc_wrapped/tsc_wrapped.ts",
visibility = ["//visibility:public"],
)

Expand Down
4 changes: 2 additions & 2 deletions package.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def rules_typescript_dev_dependencies():
_maybe(
http_archive,
name = "build_bazel_rules_nodejs",
sha256 = "bc180118b9e1c7f2b74dc76a8f798d706fe9fc53470ef9296728267b4cd29441",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/0.30.2/rules_nodejs-0.30.2.tar.gz"],
sha256 = "e04a82a72146bfbca2d0575947daa60fda1878c8d3a3afe868a8ec39a6b968bb",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/0.31.1/rules_nodejs-0.31.1.tar.gz"],
)

# For protocol buffers
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"@bazel/bazel": "^0.26.0",
"@bazel/buildifier": "^0.20.0",
"@bazel/ibazel": "^0.2.0",
"@bazel/jasmine": "^0.30.0",
"@bazel/typescript": "^0.30.0",
"@bazel/jasmine": "^0.31.1",
"@bazel/typescript": "^0.31.1",
"@types/jasmine": "^2.8.2",
"@types/long": "^4.0.0",
"@types/node": "7.0.18",
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,19 @@
resolved "https://registry.yarnpkg.com/@bazel/ibazel/-/ibazel-0.2.0.tgz#c119aef4344a789cef5e792caaee52264123e71c"
integrity sha1-wRmu9DRKeJzvXnksqu5SJkEj5xw=

"@bazel/jasmine@^0.30.0":
version "0.30.2"
resolved "https://registry.yarnpkg.com/@bazel/jasmine/-/jasmine-0.30.2.tgz#113325e2f30b9dbdf7cf8cd422a22f01259705cc"
integrity sha512-cDyrKrfsga8jRsr8iOE4xCMiJSr/iDyLDS8GeZZPB9nIjBAVrcgnPyflMhvtIERJCOX1WBZ0NKQOo659dZhmig==
"@bazel/jasmine@^0.31.1":
version "0.31.1"
resolved "https://registry.yarnpkg.com/@bazel/jasmine/-/jasmine-0.31.1.tgz#da3de10760fe1e29e9fc748fabc4fcf604f4356a"
integrity sha512-heKo8qzm6DTm8eOlfL69RJJi1GLI9vJDSmBGYgol18K7oXz6JrspGWUL9/TlCYbRUUCt22kqX7f3R+QlD0KrCg==
dependencies:
jasmine "~3.3.1"
jasmine-core "~3.3.0"
v8-coverage "1.0.9"

"@bazel/typescript@^0.30.0":
version "0.30.2"
resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-0.30.2.tgz#962eb122b80d3ef4805cf0520fc0a50d069ecb21"
integrity sha512-SIYHbg05Zyh7lrB8msnRjJ9hQSAHMOOWEV8seCKmCOx0noGP1Q00zXc4VRfi3uQCyCLZSFJvI4BXxnnKDwl61g==
"@bazel/typescript@^0.31.1":
version "0.31.1"
resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-0.31.1.tgz#2ccf9997d97903c51e73f82e29433fe444b8d672"
integrity sha512-jUTJjwdc4JSDMt4kIj74gGtctu8xe0YZPJuPxOIS4TdrWcn+dG9Fy7Z8bJLXhePheig1JLY7NBP6BGwrtggzPQ==
dependencies:
protobufjs "6.8.8"
semver "5.6.0"
Expand Down

0 comments on commit 7389ce2

Please sign in to comment.