Restore some changes which were made directly on GitHub and later overwritten by Copybara.

PiperOrigin-RevId: 186814719
diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml
new file mode 100644
index 0000000..051d00c
--- /dev/null
+++ b/.bazelci/presubmit.yml
@@ -0,0 +1,27 @@
+---
+platforms:
+  ubuntu1404:
+    run_targets:
+    - "@yarn//:yarn"
+    build_targets:
+    - "..."
+    test_flags:
+    - "--test_tag_filters=-browser:Chrome"
+    test_targets:
+    - "..."
+  ubuntu1604:
+    run_targets:
+    - "@yarn//:yarn"
+    build_targets:
+    - "..."
+    test_flags:
+    - "--test_tag_filters=-browser:Chrome"
+    test_targets:
+    - "..."
+  macos:
+    run_targets:
+    - "@yarn//:yarn"
+    build_targets:
+    - "..."
+    test_targets:
+    - "..."
diff --git a/README.md b/README.md
index 973cce6..53c0d0e 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
 
 Circle CI | Bazel CI
 :---: | :---:
-[![CircleCI](https://circleci.com/gh/bazelbuild/rules_typescript.svg?style=svg)](https://circleci.com/gh/bazelbuild/rules_typescript) | [![Build Status](http://ci.bazel.io/buildStatus/icon?job=rules_typescript)](http://ci.bazel.io/job/rules_typescript)
+[![CircleCI](https://circleci.com/gh/bazelbuild/rules_typescript.svg?style=svg)](https://circleci.com/gh/bazelbuild/rules_typescript) | [![Build status](https://badge.buildkite.com/7f98e137cd86baa5a4040a7e750bef87ef5fd293092fdaf878.svg)](https://buildkite.com/bazel/typescript-rules-typescript-postsubmit)
 
 **WARNING: this is an early release with limited features. Breaking changes are likely. Not recommended for general use.**
 
diff --git a/WORKSPACE b/WORKSPACE
index 4c34ab6..96dfa15 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -14,10 +14,15 @@
 
 workspace(name = "build_bazel_rules_typescript")
 
-git_repository(
+# Using a pre-release snapshot to pick up a commit that makes all nodejs_binary
+# programs produce source-mapped stack traces.
+RULES_NODEJS_VERSION = "926349cea4cd360afcd5647ccdd09d2d2fb471aa"
+
+http_archive(
     name = "build_bazel_rules_nodejs",
-    remote = "https://github.com/bazelbuild/rules_nodejs",
-    commit = "7d4e13a7d1bbc5eded35df631338e9f0719a1737",
+    url = "https://github.com/bazelbuild/rules_nodejs/archive/%s.zip" % RULES_NODEJS_VERSION,
+    strip_prefix = "rules_nodejs-%s" % RULES_NODEJS_VERSION,
+    sha256 = "5ba3c8c209078c2e3f0c6aa4abd01a1a561f92a5bfda04e25604af5f4734d69d",
 )
 
 load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories")