v1.0.0-rc1
Pre-release
Pre-release
github-actions
released this
28 Feb 18:38
·
97 commits
to main
since this release
Using Bzlmod with Bazel 6:
Add to your MODULE.bazel
file:
bazel_dep(name = "aspect_rules_swc", version = "1.0.0-rc1")
Using WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_swc",
sha256 = "d8b59d2addcddfaff8736f56fb663638129ccaec92481266e2e6c7fb4a5b68a4",
strip_prefix = "rules_swc-1.0.0-rc1",
url = "https://github.com/aspect-build/rules_swc/releases/download/v1.0.0-rc1/rules_swc-v1.0.0-rc1.tar.gz",
)
###################
# rules_swc setup #
###################
# Fetches the rules_swc dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@aspect_rules_swc//swc:dependencies.bzl", "rules_swc_dependencies")
rules_swc_dependencies()
# Fetches a SWC cli from
# https://github.com/swc-project/swc/releases
# If you'd rather compile it from source, you can use rules_rust, fetch the project,
# then register the toolchain yourself. (Note, this is not yet documented)
load("@aspect_rules_swc//swc:repositories.bzl", "LATEST_VERSION", "swc_register_toolchains")
swc_register_toolchains(
name = "swc",
swc_version = LATEST_VERSION,
)
What's Changed
- release: publish release artifact by @alexeagle in #165
- chore: mirror latest version by @alexeagle in #167
- chore: update to rules_js 1.19.0 by @gregmagolan in #168
- chore: update to swc v1.3.36 by @titanous in #169
- chore: update to aspect_bazel_lib 1.27.2 by @gregmagolan in #170
- chore: mirror latest swc release by @alexeagle in #171
- Fix sourcemaps by @alexeagle in #174
- chore: simplify WORKSPACE by @alexeagle in #172
Full Changelog: v1.0.0-rc0...v1.0.0-rc1