diff --git a/modules/aspect_rules_esbuild/0.15.3/MODULE.bazel b/modules/aspect_rules_esbuild/0.15.3/MODULE.bazel new file mode 100644 index 00000000000..5f352420693 --- /dev/null +++ b/modules/aspect_rules_esbuild/0.15.3/MODULE.bazel @@ -0,0 +1,25 @@ +"aspect-build/rules_esbuild" + +module( + name = "aspect_rules_esbuild", + version = "0.15.3", + compatibility_level = 1, +) + +bazel_dep(name = "bazel_skylib", version = "1.4.1") +bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True) +bazel_dep(name = "gazelle", version = "0.29.0", dev_dependency = True, repo_name = "bazel_gazelle") +bazel_dep(name = "buildifier_prebuilt", version = "6.0.0.1", dev_dependency = True) +bazel_dep(name = "aspect_bazel_lib", version = "1.29.2") +bazel_dep(name = "aspect_rules_js", version = "1.29.2") +bazel_dep(name = "rules_nodejs", version = "5.8.2") +bazel_dep(name = "platforms", version = "0.0.5") + +esbuild = use_extension("@aspect_rules_esbuild//esbuild:extensions.bzl", "esbuild") +esbuild.toolchain( + name = "esbuild", + esbuild_version = "0.16.7", +) +use_repo(esbuild, "esbuild_toolchains") + +register_toolchains("@esbuild_toolchains//:all") diff --git a/modules/aspect_rules_esbuild/0.15.3/patches/module_dot_bazel_version.patch b/modules/aspect_rules_esbuild/0.15.3/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..87900cd8ff2 --- /dev/null +++ b/modules/aspect_rules_esbuild/0.15.3/patches/module_dot_bazel_version.patch @@ -0,0 +1,15 @@ +Index: MODULE.bazel +=================================================================== +--- MODULE.bazel ++++ MODULE.bazel +@@ -1,9 +1,9 @@ + "aspect-build/rules_esbuild" + + module( + name = "aspect_rules_esbuild", +- version = "0.0.0", ++ version = "0.15.3", + compatibility_level = 1, + ) + + bazel_dep(name = "bazel_skylib", version = "1.4.1") diff --git a/modules/aspect_rules_esbuild/0.15.3/presubmit.yml b/modules/aspect_rules_esbuild/0.15.3/presubmit.yml new file mode 100644 index 00000000000..e76a8bb7b09 --- /dev/null +++ b/modules/aspect_rules_esbuild/0.15.3/presubmit.yml @@ -0,0 +1,10 @@ +bcr_test_module: + module_path: 'e2e/smoke' + matrix: + platform: ['debian10', 'macos', 'ubuntu2004', 'windows'] + tasks: + run_tests: + name: 'Run test module' + platform: ${{ platform }} + test_targets: + - '//...' diff --git a/modules/aspect_rules_esbuild/0.15.3/source.json b/modules/aspect_rules_esbuild/0.15.3/source.json new file mode 100644 index 00000000000..d1a2155289a --- /dev/null +++ b/modules/aspect_rules_esbuild/0.15.3/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-hEGYaOQ8cUwNkJ3KcwOeLyVCf8BPNS0vT3NDyjP2Des=", + "strip_prefix": "rules_esbuild-0.15.3", + "url": "https://github.com/aspect-build/rules_esbuild/releases/download/v0.15.3/rules_esbuild-v0.15.3.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-6HOGY8RdlvSAEG4MlL/fPbo0ql/hE7bKH00HEsfqoDU=" + }, + "patch_strip": 0 +} diff --git a/modules/aspect_rules_esbuild/metadata.json b/modules/aspect_rules_esbuild/metadata.json index dd9c8bc613a..e8c241239c4 100644 --- a/modules/aspect_rules_esbuild/metadata.json +++ b/modules/aspect_rules_esbuild/metadata.json @@ -14,7 +14,8 @@ "0.14.0", "0.14.3", "0.14.4", - "0.15.0" + "0.15.0", + "0.15.3" ], "yanked_versions": {} }