Skip to content

Commit 941388d

Browse files
authored
refactor: remove WORKSPACE (#3899)
Upgrade the repo to Bazel 9 We only need to develop with bzlmod. At this point we still have some WORKSPACE testing in e2e though
1 parent e55e899 commit 941388d

8 files changed

Lines changed: 6 additions & 167 deletions

File tree

.aspect/workflows/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ tasks:
1616
name: Bazel 9
1717
id: bazel-9
1818
env:
19-
USE_BAZEL_VERSION: 9.*
19+
USE_BAZEL_VERSION: 9.x
2020
notifications:
2121
github: {}

.bazelrc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
# TODO: migrate all root WORKSPACE dependencies to MODULE.bazel
2-
# https://github.com/bazel-contrib/rules_nodejs/issues/3695
3-
common --noenable_bzlmod
4-
common --enable_workspace
5-
61
# Specifies desired output mode for running tests.
72
# Valid values are
83
# 'summary' to output only test status summary

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.5.0
1+
9.0.0

.bcr/presubmit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
bcr_test_module:
22
module_path: "e2e/smoke"
33
matrix:
4-
bazel: ["7.x", "8.x", "9.*"]
4+
bazel: ["7.x", "8.x", "9.x"]
55
platform: ["debian11", "macos", "ubuntu2204", "windows"]
66
tasks:
77
run_tests:

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
matrix:
1616
os: [ubuntu-latest, macos-latest, windows-latest]
1717
bazel:
18-
- 9.*
18+
- 9.x
1919
folder:
2020
- e2e/headers
2121
- e2e/smoke

WORKSPACE

Lines changed: 0 additions & 91 deletions
This file was deleted.

internal/tsc.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ def tsc(name, srcs, tsconfig, **kwargs):
3434
"--outDir",
3535
"$(RULEDIR)",
3636
]),
37-
toolchains = ["//nodejs:toolchain_type"] if _TOOLCHAIN_TYPES_SUPPORTED else ["@node16_toolchains//:resolved_toolchain"],
37+
toolchains = ["//nodejs:toolchain_type"] if _TOOLCHAIN_TYPES_SUPPORTED else ["@nodejs_toolchains//:resolved_toolchain"],
3838
tools = ([] if _TOOLCHAIN_TYPES_SUPPORTED else [
39-
"@node16_toolchains//:resolved_toolchain",
39+
"@nodejs_toolchains//:resolved_toolchain",
4040
]) + [
4141
"@npm_typescript",
4242
"@npm_types_node",

repositories.bzl

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)