Releases: fremtind/rules_vitest
Releases · fremtind/rules_vitest
v0.2.4 (coverage path)
v0.2.4-coverage-patch fix: add experimental_config as attribute
v0.2.3
Using Bzlmod with Bazel 6 or greater
- (Bazel 6 only) Enable with
common --enable_bzlmodin.bazelrc. - Add to your
MODULE.bazelfile:
bazel_dep(name = "fremtind_rules_vitest", version = "0.2.3")Using WORKSPACE
Paste this snippet into your WORKSPACE.bazel file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "fremtind_rules_vitest",
sha256 = "d2f6fe1291ce4af91979a728aeb32af4284c5f685374acd15b7e49c9a6f00813",
strip_prefix = "rules_vitest-0.2.3",
url = "https://github.com/fremtind/rules_vitest/releases/download/v0.2.3/rules_vitest-v0.2.3.tar.gz",
)
####################
# fremtind_rules_vitest setup #
####################
# Fetches the fremtind_rules_vitest 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("@fremtind_rules_vitest//vitest:dependencies.bzl", "rules_vitest_dependencies")
rules_vitest_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()
# rules_shell
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_shell",
sha256 = "e6b87c89bd0b27039e3af2c5da01147452f240f75d505f5b6880874f31036307",
strip_prefix = "rules_shell-0.6.1",
url = "https://github.com/bazelbuild/rules_shell/releases/download/v0.6.1/rules_shell-v0.6.1.tar.gz",
)
load("@rules_shell//shell:repositories.bzl", "rules_shell_dependencies", "rules_shell_toolchains")
rules_shell_dependencies()
rules_shell_toolchains()v0.2.2
Using Bzlmod with Bazel 6 or greater
- (Bazel 6 only) Enable with
common --enable_bzlmodin.bazelrc. - Add to your
MODULE.bazelfile:
bazel_dep(name = "fremtind_rules_vitest", version = "0.2.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 = "fremtind_rules_vitest",
sha256 = "eb02835c46b2fd52041ce05e7c91db2f0caaaccab0b39ff71fdc9970085467f8",
strip_prefix = "rules_vitest-0.2.2",
url = "https://github.com/fremtind/rules_vitest/releases/download/v0.2.2/rules_vitest-v0.2.2.tar.gz",
)
####################
# fremtind_rules_vitest setup #
####################
# Fetches the fremtind_rules_vitest 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("@fremtind_rules_vitest//vitest:dependencies.bzl", "rules_vitest_dependencies")
rules_vitest_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()
# rules_shell
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_shell",
sha256 = "e6b87c89bd0b27039e3af2c5da01147452f240f75d505f5b6880874f31036307",
strip_prefix = "rules_shell-0.6.1",
url = "https://github.com/bazelbuild/rules_shell/releases/download/v0.6.1/rules_shell-v0.6.1.tar.gz",
)
load("@rules_shell//shell:repositories.bzl", "rules_shell_dependencies", "rules_shell_toolchains")
rules_shell_dependencies()
rules_shell_toolchains()v0.2.1
Using Bzlmod with Bazel 6 or greater
- (Bazel 6 only) Enable with
common --enable_bzlmodin.bazelrc. - Add to your
MODULE.bazelfile:
bazel_dep(name = "fremtind_rules_vitest", version = "0.2.1")Using WORKSPACE
Paste this snippet into your WORKSPACE.bazel file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "fremtind_rules_vitest",
sha256 = "5565ef6ce0953d02e0fd645842841f94b3547b09bbff0e08ae27d6bbd350b952",
strip_prefix = "rules_vitest-0.2.1",
url = "https://github.com/fremtind/rules_vitest/releases/download/v0.2.1/rules_vitest-v0.2.1.tar.gz",
)
####################
# fremtind_rules_vitest setup #
####################
# Fetches the fremtind_rules_vitest 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("@fremtind_rules_vitest//vitest:dependencies.bzl", "rules_vitest_dependencies")
rules_vitest_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
Full Changelog: v0.2.0...v0.2.1
v0.2.0
Using Bzlmod with Bazel 6 or greater
- (Bazel 6 only) Enable with
common --enable_bzlmodin.bazelrc. - Add to your
MODULE.bazelfile:
bazel_dep(name = "fremtind_rules_vitest", version = "0.2.0")Using WORKSPACE
Paste this snippet into your WORKSPACE.bazel file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "fremtind_rules_vitest",
sha256 = "b9713b368a09e8b2c546cb0612be30e809bd5aa5030930ff7f50b9829e3935fc",
strip_prefix = "rules_vitest-0.2.0",
url = "https://github.com/fremtind/rules_vitest/releases/download/v0.2.0/rules_vitest-v0.2.0.tar.gz",
)
####################
# fremtind_rules_vitest setup #
####################
# Fetches the fremtind_rules_vitest 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("@fremtind_rules_vitest//vitest:dependencies.bzl", "rules_vitest_dependencies")
rules_vitest_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
- Set correct repo reference in MODULE.bazel by @hjellek in #13
- Added Magnus Raaum as maintainer by @hjellek in #12
- Upgrade to rules_js 2.0 by @hjellek in #16
Full Changelog: v0.1.0...v0.2.0
v0.1.0
Using Bzlmod with Bazel 6 or greater
- (Bazel 6 only) Enable with
common --enable_bzlmodin.bazelrc. - Add to your
MODULE.bazelfile:
bazel_dep(name = "fremtind_rules_vitest", version = "0.1.0")Using WORKSPACE
Paste this snippet into your WORKSPACE.bazel file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "fremtind_rules_vitest",
sha256 = "b4cf44ec735b3dc1476a83c7bfeec8410e0f2e1346f0143cc88f8b3f9e3ebff8",
strip_prefix = "rules_vitest-0.1.0",
url = "https://github.com/fremtind/rules_vitest/releases/download/v0.1.0/rules_vitest-v0.1.0.tar.gz",
)
####################
# fremtind_rules_vitest setup #
####################
# Fetches the fremtind_rules_vitest 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("@fremtind_rules_vitest//vitest:dependencies.bzl", "rules_vitest_dependencies")
rules_vitest_dependencies()
load("@rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains")
nodejs_register_toolchains(
name = "nodejs",
node_version = DEFAULT_NODE_VERSION,
)
load("@aspect_rules_js//npm:npm_import.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
- Rewrite Jest to Vitest by @hjellek in #4
- Use specific version of release workflow by @hjellek in #7
- Fix windows build failure by @hjellek in #8
- Fix release prep script by @hjellek in #10
- Create SECURITY.md by @hjellek in #9
- Align rules_js and bazel_lib versions throughout the project by @hjellek in #11
New Contributors
Full Changelog: https://github.com/fremtind/rules_vitest/commits/v0.1.0