Skip to content

Commit

Permalink
Publish aspect-build/rules_ts@v2.0.1 (#1115)
Browse files Browse the repository at this point in the history
Co-authored-by: Sahin Yort <sahin@aspect.dev>
  • Loading branch information
publish-to-bcr-bot[bot] and Sahin Yort committed Nov 10, 2023
1 parent 4d80a22 commit a30eaf4
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 1 deletion.
29 changes: 29 additions & 0 deletions modules/aspect_rules_ts/2.0.1/MODULE.bazel
@@ -0,0 +1,29 @@
"aspect-build/rules_ts"

module(
name = "aspect_rules_ts",
version = "2.0.1",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.4.1")
bazel_dep(name = "aspect_rules_js", version = "1.29.2")
bazel_dep(name = "aspect_bazel_lib", version = "1.29.2")

# Similar to rules_python/MODULE.bazel, see https://github.com/bazelbuild/rules_python/pull/832
# These are loaded only when using ts_proto_library
bazel_dep(name = "rules_proto", version = "5.3.0-21.7")

# Only needed because rules_proto doesn't provide the protoc toolchain yet.
# TODO(alex/sahin): remove in the future
bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf")

bazel_dep(name = "buildifier_prebuilt", version = "6.0.0.1", dev_dependency = True)
bazel_dep(name = "rules_nodejs", version = "5.8.2", dev_dependency = True)

rules_ts_ext = use_extension(
"@aspect_rules_ts//ts:extensions.bzl",
"ext",
dev_dependency = True,
)
rules_ts_ext.deps(ts_version_from = "//examples:package.json")
@@ -0,0 +1,14 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,9 +1,9 @@
"aspect-build/rules_ts"

module(
name = "aspect_rules_ts",
- version = "0.0.0",
+ version = "2.0.1",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.4.1")
10 changes: 10 additions & 0 deletions modules/aspect_rules_ts/2.0.1/presubmit.yml
@@ -0,0 +1,10 @@
bcr_test_module:
module_path: 'e2e/bzlmod'
matrix:
platform: ['debian10', 'macos', 'ubuntu2004', 'windows']
tasks:
run_tests:
name: 'Run test module'
platform: ${{ platform }}
test_targets:
- '//...'
9 changes: 9 additions & 0 deletions modules/aspect_rules_ts/2.0.1/source.json
@@ -0,0 +1,9 @@
{
"integrity": "sha256-D0PQawKJX4JawYpgkB6JnZGyKhHUTEAIyDg62mCWpKk=",
"strip_prefix": "rules_ts-2.0.1",
"url": "https://github.com/aspect-build/rules_ts/releases/download/v2.0.1/rules_ts-v2.0.1.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-fxDPHoirUrWF+D6V4OH4RW+aXPan1Fw60PnAW1CapUw="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/aspect_rules_ts/metadata.json
Expand Up @@ -38,7 +38,8 @@
"2.0.0-beta1",
"2.0.0-rc0",
"2.0.0-rc1",
"2.0.0"
"2.0.0",
"2.0.1"
],
"yanked_versions": {}
}

0 comments on commit a30eaf4

Please sign in to comment.