Repository navigation
v2.0.2
Using Bzlmod with Bazel 6 or later:
Add to your MODULE.bazel file:
bazel_dep(name = "aspect_rules_jasmine", version = "2.0.2")Using WORKSPACE
Paste this snippet into your WORKSPACE.bazel file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_jasmine",
sha256 = "d6a37ae49989d5046b6aabd3d501023e3f3caec7d319d1d189db74f0d67c7c16",
strip_prefix = "rules_jasmine-2.0.2",
url = "https://github.com/aspect-build/rules_jasmine/releases/download/v2.0.2/rules_jasmine-v2.0.2.tar.gz",
)
######################
# aspect_rules_jasmine setup #
######################
# Fetches the aspect_rules_jasmine 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_jasmine//jasmine:dependencies.bzl", "rules_jasmine_dependencies")
# Fetch dependencies which users need as well
rules_jasmine_dependencies()
load("@aspect_rules_js//js:toolchains.bzl", "DEFAULT_NODE_VERSION", "rules_js_register_toolchains")
rules_js_register_toolchains(node_version = DEFAULT_NODE_VERSION)
load("@aspect_rules_js//npm:repositories.bzl", "npm_translate_lock")
npm_translate_lock(
name = "npm",
npmrc = "//:.npmrc",
pnpm_lock = "//:pnpm-lock.yaml",
verify_node_modules_ignored = "//:.bazelignore",
)
load("@npm//:repositories.bzl", "npm_repositories")
npm_repositories()What's Changed
- chore: add bcr publish gha by @jbedard in #183
- chore: remove aspect-cli bazelisk config by @jbedard in #185
- fix: change TAG assignment to use workflow argument by @alexeagle in #187
Full Changelog: v2.0.1...v2.0.2