Skip to content

Commit fa9f37e

Browse files
publish-to-bcr-bot[bot]Sahin Yortalexeagle
authored andcommitted
Release: https://github.com/aspect-build/rules_ts/releases/tag/v3.5.1 _Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_ --------- Co-authored-by: Sahin Yort <[email protected]> Co-authored-by: Alex Eagle <[email protected]>
1 parent e8d5715 commit fa9f37e

File tree

5 files changed

+98
-1
lines changed

5 files changed

+98
-1
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
"aspect-build/rules_ts"
2+
3+
module(
4+
name = "aspect_rules_ts",
5+
version = "3.5.1",
6+
compatibility_level = 1,
7+
)
8+
9+
# Lower-bounds (minimum) versions for direct runtime dependencies
10+
bazel_dep(name = "aspect_bazel_lib", version = "2.9.3")
11+
bazel_dep(name = "aspect_rules_js", version = "2.0.0")
12+
bazel_dep(name = "bazel_skylib", version = "1.5.0")
13+
bazel_dep(name = "platforms", version = "0.0.5")
14+
15+
# TODO(4.x): remove support for non-toolchainized protoc
16+
bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf")
17+
18+
# Similar to rules_python/MODULE.bazel, see https://github.com/bazelbuild/rules_python/pull/832
19+
# These are loaded only when using ts_proto_library
20+
bazel_dep(name = "rules_proto", version = "6.0.0")
21+
22+
####### Dev dependencies ########
23+
24+
bazel_dep(name = "aspect_rules_lint", version = "1.2.1", dev_dependency = True)
25+
bazel_dep(name = "buildifier_prebuilt", version = "6.4.0", dev_dependency = True)
26+
bazel_dep(name = "rules_go", version = "0.46.0", dev_dependency = True, repo_name = "io_bazel_rules_go")
27+
bazel_dep(name = "rules_nodejs", version = "6.2.0", dev_dependency = True)
28+
bazel_dep(name = "stardoc", version = "0.7.1", dev_dependency = True, repo_name = "io_bazel_stardoc")
29+
bazel_dep(name = "toolchains_protoc", version = "0.3.0", dev_dependency = True)
30+
31+
# Should not be required, stardoc leaks a dependency
32+
bazel_dep(name = "rules_java", version = "7.6.1", dev_dependency = True)
33+
34+
register_toolchains(
35+
"//tools/toolchains:all",
36+
dev_dependency = True,
37+
)
38+
39+
npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm", dev_dependency = True)
40+
npm.npm_translate_lock(
41+
name = "npm",
42+
npmrc = "//:.npmrc",
43+
pnpm_lock = "//examples:pnpm-lock.yaml",
44+
verify_node_modules_ignored = "//:.bazelignore",
45+
)
46+
use_repo(npm, "npm")
47+
48+
# Allow us to do 'bazel run @pnpm -- --dir=$PWD install'
49+
pnpm = use_extension("@aspect_rules_js//npm:extensions.bzl", "pnpm", dev_dependency = True)
50+
use_repo(pnpm, "pnpm")
51+
52+
rules_ts_ext = use_extension("@aspect_rules_ts//ts:extensions.bzl", "ext", dev_dependency = True)
53+
rules_ts_ext.deps(ts_version_from = "//examples:package.json")
54+
use_repo(rules_ts_ext, "npm_typescript")
55+
56+
go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk", dev_dependency = True)
57+
go_sdk.download(version = "1.19.3")
58+
use_repo(
59+
go_sdk,
60+
go_sdk = "go_default_sdk",
61+
)
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
===================================================================
2+
--- a/MODULE.bazel
3+
+++ b/MODULE.bazel
4+
@@ -1,9 +1,9 @@
5+
"aspect-build/rules_ts"
6+
7+
module(
8+
name = "aspect_rules_ts",
9+
- version = "0.0.0",
10+
+ version = "3.5.1",
11+
compatibility_level = 1,
12+
)
13+
14+
# Lower-bounds (minimum) versions for direct runtime dependencies
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
bcr_test_module:
2+
module_path: 'e2e/bzlmod'
3+
matrix:
4+
bazel: ['7.x', '6.x']
5+
platform: ['debian10', 'macos', 'ubuntu2004']
6+
tasks:
7+
run_tests:
8+
name: 'Run test module'
9+
bazel: ${{ bazel }}
10+
platform: ${{ platform }}
11+
test_targets:
12+
- '//...'
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"integrity": "sha256-1YTkvIBnTQRpOFY2eBF9F9+WL+EFOV9rHv4uiiSLgQA=",
3+
"strip_prefix": "rules_ts-3.5.1",
4+
"url": "https://github.com/aspect-build/rules_ts/releases/download/v3.5.1/rules_ts-v3.5.1.tar.gz",
5+
"patches": {
6+
"module_dot_bazel_version.patch": "sha256-ohSU6y7Qp7bfCbXhbST0ipytxsc22fLp6M0I+sTffsg="
7+
},
8+
"patch_strip": 1
9+
}

modules/aspect_rules_ts/metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@
6969
"3.3.1",
7070
"3.3.2",
7171
"3.4.0",
72-
"3.5.0"
72+
"3.5.0",
73+
"3.5.1"
7374
],
7475
"yanked_versions": {}
7576
}

0 commit comments

Comments
 (0)