Skip to content

Releases: fremtind/rules_vitest

v0.2.1

19 Aug 07:38
7155116
Compare
Choose a tag to compare
v0.2.1 Pre-release
Pre-release

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6 only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
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

15 Aug 09:25
fa07953
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6 only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
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

Full Changelog: v0.1.0...v0.2.0

v0.1.0

26 Apr 12:04
d65fd5a
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6 only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
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

New Contributors

Full Changelog: https://github.com/fremtind/rules_vitest/commits/v0.1.0