-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publish aspect-build/[email protected] (#1115)
Co-authored-by: Sahin Yort <[email protected]>
- Loading branch information
1 parent
4d80a22
commit a30eaf4
Showing
5 changed files
with
64 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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") |
14 changes: 14 additions & 0 deletions
14
modules/aspect_rules_ts/2.0.1/patches/module_dot_bazel_version.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: | ||
- '//...' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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": {} | ||
} |