v2.0.0-rc0
Pre-release
Pre-release
github-actions
released this
22 May 01:10
·
18 commits
to main
since this release
Important
This release requires requires rules_js 2.x. It is not compatible with rules_js 1.x. rules_js 2 is currently in RC: https://github.com/aspect-build/rules_js/releases/tag/v2.0.0-rc0
Using Bzlmod with Bazel 6 or later:
Add to your MODULE.bazel
file:
bazel_dep(name = "aspect_rules_jasmine", version = "2.0.0-rc0")
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 = "384bc59275ace06c27ca7f37cd7b738a4dfa633888195936d55ac376d86aebd8",
strip_prefix = "rules_jasmine-2.0.0-rc0",
url = "https://github.com/aspect-build/rules_jasmine/releases/download/v2.0.0-rc0/rules_jasmine-v2.0.0-rc0.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
- feat: upgrade to rules_js 2.0 by @gregmagolan in #144
Full Changelog: v1.2.0...v2.0.0-rc0