Skip to content

Commit 177e9ee

Browse files
authored
chore: bazel-lib 3 and drop stardoc
1 parent 1d3538e commit 177e9ee

24 files changed

+52
-411
lines changed

.bazelignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Nested modules
2-
docs/
32
e2e/
43

54
# TODO(bazel 8): move to REPO.bazel

.gitattributes

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# In code review, collapse generated files
2-
docs/rules.md linguist-generated
3-
docs/repositories.md linguist-generated
42
examples/**/*_pb.d.ts linguist-generated
53

64
####################################

.github/workflows/ci.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,6 @@ jobs:
122122
folder: .
123123
- os: windows
124124
folder: e2e/worker
125-
include:
126-
# Additional docs tests
127-
- bazel-version:
128-
major: 7
129-
version: 7.3.2
130-
bzlmod: 1
131-
folder: docs
132-
os: ubuntu
133125

134126
# Steps represent a sequence of tasks that will be executed as part of the job
135127
steps:

.github/workflows/release_prep.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ echo "\`\`\`"
5151

5252
cat <<EOF
5353
54-
To use rules_ts with bazel-lib 2.x, you must additionally register the coreutils toolchain.
54+
To use rules_ts with bazel-lib 2.x or greater, you must additionally register the coreutils toolchain.
5555
5656
\`\`\`starlark
57-
load("@aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains")
57+
load("@bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains")
5858
5959
register_coreutils_toolchains()
6060
\`\`\`

.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
docs/*.md
21
**/pnpm-lock.yaml
32
**/*_pb.d.ts
43
**/*_connectquery.d.ts

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ module(
66
)
77

88
# Lower-bounds (minimum) versions for direct runtime dependencies
9-
bazel_dep(name = "aspect_bazel_lib", version = "2.14.0")
109
bazel_dep(name = "aspect_tools_telemetry", version = "0.2.8")
1110
bazel_dep(name = "aspect_rules_js", version = "2.0.0")
11+
bazel_dep(name = "bazel_lib", version = "3.0.0")
1212
bazel_dep(name = "bazel_skylib", version = "1.8.1")
1313
bazel_dep(name = "platforms", version = "0.0.5")
1414

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ If you'd like an example added, you can fund a [Feature Request](https://github.
3434

3535
## Usage
3636

37-
See the API documentation in [the docs/ folder](https://github.com/aspect-build/rules_ts/tree/main/docs).
37+
See the API documentation at https://registry.bazel.build/docs/aspect_rules_ts.
3838

3939
### From a BUILD file
4040

41-
The most common use is with the [`ts_project` macro](./docs/rules.md#ts_project) which invokes a
41+
The most common use is with the `ts_project` macro which invokes a
4242
transpiler you configure to transform source files like `.ts` files into outputs such as `.js` and `.js.map`,
4343
and the [`tsc` CLI](https://www.typescriptlang.org/docs/handbook/compiler-options.html) to type-check
4444
the program and produce `.d.ts` files.

docs/.bazelrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/.bazelversion

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/BUILD.bazel

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

0 commit comments

Comments
 (0)