Move bazelrc to new location
Bazel 0.18 warns about the tools/bazel.rc file
Closes #302
PiperOrigin-RevId: 217397650
diff --git a/.bazelrc b/.bazelrc
index 50c8fc4..1141edf 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -1 +1,7 @@
-import %workspace%/tools/bazel.rc
\ No newline at end of file
+build --strategy=TypeScriptCompile=worker
+test --test_output=errors
+
+# Enable debugging tests with --config=debug
+test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results
+
+build --workspace_status_command=./tools/bazel_stamp_vars.sh
diff --git a/.circleci/bazel.rc b/.circleci/bazel.rc
index 56cdacc..75e6ee7 100644
--- a/.circleci/bazel.rc
+++ b/.circleci/bazel.rc
@@ -9,7 +9,7 @@
# Print all the options that apply to the build.
# This helps us diagnose which options override others
-# (e.g. /etc/bazel.bazelrc vs. tools/bazel.rc)
+# (e.g. /etc/bazel.bazelrc vs. /.bazelrc)
build --announce_rc
# Enable experimental CircleCI bazel remote cache proxy
diff --git a/README.md b/README.md
index 9660ec2..6a7d25b 100644
--- a/README.md
+++ b/README.md
@@ -25,8 +25,8 @@
{
...
"devDependencies": {
- "@bazel/typescript": "0.20.2",
- "@bazel/karma": "0.20.2",
+ "@bazel/typescript": "0.20.3",
+ "@bazel/karma": "0.20.3",
...
},
...
@@ -46,8 +46,8 @@
```python
http_archive(
name = "build_bazel_rules_typescript",
- url = "https://github.com/bazelbuild/rules_typescript/archive/0.20.2.zip",
- strip_prefix = "rules_typescript-0.20.2",
+ url = "https://github.com/bazelbuild/rules_typescript/archive/0.20.3.zip",
+ strip_prefix = "rules_typescript-0.20.3",
)
# Fetch our Bazel dependencies that aren't distributed on npm
diff --git a/package.bzl b/package.bzl
index 16b7080..f2e223e 100644
--- a/package.bzl
+++ b/package.bzl
@@ -24,7 +24,7 @@
# It will be automatically synced via the npm "version" script
# that is run when running `npm version` during the release
# process. See `Releasing` section in README.md.
-VERSION = "0.20.2"
+VERSION = "0.20.3"
def rules_typescript_dependencies():
"""
@@ -38,8 +38,8 @@
_maybe(
http_archive,
name = "build_bazel_rules_nodejs",
- urls = ["https://github.com/bazelbuild/rules_nodejs/archive/0.15.0.zip"],
- strip_prefix = "rules_nodejs-0.15.0",
+ urls = ["https://github.com/bazelbuild/rules_nodejs/archive/0.15.1.zip"],
+ strip_prefix = "rules_nodejs-0.15.1",
)
# ts_web_test depends on the web testing rules to provision browsers.
diff --git a/package.json b/package.json
index c4d4eb9..e4323aa 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"description": "Monorepo for TypeScript Bazel support. Published packages are in subdirectories under internal/",
"private": true,
- "version": "0.20.2",
+ "version": "0.20.3",
"dependencies": {
"jasmine-core": "2.8.0",
"karma": "alexeagle/karma#fa1a84ac881485b5657cb669e9b4e5da77b79f0a",
diff --git a/tools/bazel.rc b/tools/bazel.rc
deleted file mode 100644
index 1141edf..0000000
--- a/tools/bazel.rc
+++ /dev/null
@@ -1,7 +0,0 @@
-build --strategy=TypeScriptCompile=worker
-test --test_output=errors
-
-# Enable debugging tests with --config=debug
-test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results
-
-build --workspace_status_command=./tools/bazel_stamp_vars.sh