Skip to content

Commit 8bbad35

Browse files
arrdemjbedard
authored andcommitted
chore: turn on tools_telemetry
1 parent bf3ee6f commit 8bbad35

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

MODULE.bazel

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,15 @@ module(
1010
# Lower-bounds (minimum) versions for direct runtime dependencies.
1111
# Do not bump these unless rules_js requires a newer version to function.
1212
bazel_dep(name = "aspect_bazel_lib", version = "2.14.0")
13+
bazel_dep(name = "aspect_tools_telemetry", version = "0.2.2")
1314
bazel_dep(name = "bazel_features", version = "1.9.0")
1415
bazel_dep(name = "bazel_skylib", version = "1.5.0")
1516
bazel_dep(name = "platforms", version = "0.0.5")
1617
bazel_dep(name = "rules_nodejs", version = "6.3.0")
1718

19+
tel = use_extension("@aspect_tools_telemetry//:extension.bzl", "telemetry")
20+
use_repo(tel, "aspect_tools_telemetry_report")
21+
1822
node = use_extension("@rules_nodejs//nodejs:extensions.bzl", "node")
1923
use_repo(node, "nodejs_toolchains")
2024
use_repo(node, "nodejs_darwin_amd64")

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,3 +167,7 @@ This third approach has trade-offs.
167167
and must ensure that sources are copied there first.
168168
This forces users to pass a `BAZEL_BINDIR` in the environment of every node action.
169169
https://github.com/bazelbuild/bazel/issues/15470 suggests a way to improve that, avoiding that imposition on users.
170+
171+
# Telemetry & privacy policy
172+
173+
This ruleset collects limited usage data via [`tools_telemetry`](https://github.com/aspect-build/tools_telemetry), which is reported to Aspect Build Inc and governed by our [privacy policy](https://www.aspect.build/privacy-policy).

npm/extensions.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ See https://bazel.build/docs/bzlmod#extension-definition
44

55
load("@aspect_bazel_lib//lib:repo_utils.bzl", "repo_utils")
66
load("@aspect_bazel_lib//lib:utils.bzl", bazel_lib_utils = "utils")
7+
load("@aspect_tools_telemetry_report//:defs.bzl", "TELEMETRY") # buildifier: disable=load
78
load("@bazel_features//:features.bzl", "bazel_features")
89
load("//npm:repositories.bzl", "npm_import", "pnpm_repository", _DEFAULT_PNPM_VERSION = "DEFAULT_PNPM_VERSION", _LATEST_PNPM_VERSION = "LATEST_PNPM_VERSION")
910
load("//npm/private:exclude_package_contents_default.bzl", "exclude_package_contents_default")

0 commit comments

Comments
 (0)