From a30eaf469ab546c87a7b8f4b20c819a6a7a1072f Mon Sep 17 00:00:00 2001 From: "publish-to-bcr-bot[bot]" <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> Date: Thu, 9 Nov 2023 19:21:13 -0800 Subject: [PATCH] Publish aspect-build/rules_ts@v2.0.1 (#1115) Co-authored-by: Sahin Yort --- modules/aspect_rules_ts/2.0.1/MODULE.bazel | 29 +++++++++++++++++++ .../patches/module_dot_bazel_version.patch | 14 +++++++++ modules/aspect_rules_ts/2.0.1/presubmit.yml | 10 +++++++ modules/aspect_rules_ts/2.0.1/source.json | 9 ++++++ modules/aspect_rules_ts/metadata.json | 3 +- 5 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 modules/aspect_rules_ts/2.0.1/MODULE.bazel create mode 100644 modules/aspect_rules_ts/2.0.1/patches/module_dot_bazel_version.patch create mode 100644 modules/aspect_rules_ts/2.0.1/presubmit.yml create mode 100644 modules/aspect_rules_ts/2.0.1/source.json diff --git a/modules/aspect_rules_ts/2.0.1/MODULE.bazel b/modules/aspect_rules_ts/2.0.1/MODULE.bazel new file mode 100644 index 00000000000..6f8e7a87502 --- /dev/null +++ b/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") diff --git a/modules/aspect_rules_ts/2.0.1/patches/module_dot_bazel_version.patch b/modules/aspect_rules_ts/2.0.1/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..71f593df20a --- /dev/null +++ b/modules/aspect_rules_ts/2.0.1/patches/module_dot_bazel_version.patch @@ -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") diff --git a/modules/aspect_rules_ts/2.0.1/presubmit.yml b/modules/aspect_rules_ts/2.0.1/presubmit.yml new file mode 100644 index 00000000000..cbcfdbb23fd --- /dev/null +++ b/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: + - '//...' diff --git a/modules/aspect_rules_ts/2.0.1/source.json b/modules/aspect_rules_ts/2.0.1/source.json new file mode 100644 index 00000000000..ac2b0fadb4c --- /dev/null +++ b/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 +} diff --git a/modules/aspect_rules_ts/metadata.json b/modules/aspect_rules_ts/metadata.json index d16955f6bd5..e361b696308 100644 --- a/modules/aspect_rules_ts/metadata.json +++ b/modules/aspect_rules_ts/metadata.json @@ -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": {} }