Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Releases: aspect-build/rules_deno

v0.3.0

23 May 19:07
2603ed9
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "aspect_rules_deno",
    sha256 = "cfda7aeb308082a4525f391b66e81d4f15bd05c3f0a5131e4645e74ea1e32760",
    strip_prefix = "rules_deno-0.3.0",
    url = "https://github.com/aspect-build/rules_deno/archive/refs/tags/v0.3.0.tar.gz",
)

######################
# rules_deno setup #
######################

load(
    "@aspect_rules_deno//deno:repositories.bzl",
    "LATEST_VERSION",
    "deno_register_toolchains",
    "rules_deno_dependencies",
)

# Fetches the rules_deno 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.
rules_deno_dependencies()

deno_register_toolchains(
    name = "deno",
    deno_version = LATEST_VERSION,
)

What's Changed

  • Add deno_binary rule and update documentation by @stabai in #6
  • rename workspace to aspect_rules_deno, matching others by @alexeagle in #7

Full Changelog: v0.1.1...v0.3.0

v0.2.0

23 May 15:32
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "contrib_rules_deno",
    sha256 = "ea6ccf83ad8d7f871fd5925263f0fea45fdfd17494ab752c6fa0d0f3a536c177",
    strip_prefix = "rules_deno-0.2.0",
    url = "https://github.com/bazel-contrib/rules_deno/archive/refs/tags/v0.2.0.tar.gz",
)

# Fetches the rules_deno 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("@contrib_rules_deno//deno:repositories.bzl", "deno_register_toolchains", "rules_deno_dependencies")

rules_deno_dependencies()

# Choose a deno interpreter version
deno_register_toolchains(
    name = "deno1_14",
    deno_version = "1.14.2",
)

What's Changed

  • build: fix ci build caching by @kormide in #2
  • build: move ci cache flags to bazelrc by @kormide in #3
  • Update to match latest bazel-contrib/rules-template by @alexeagle in #4
  • Add Deno v1.21.3 to toolchain versions by @stabai in #5

New Contributors

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

v0.1.1

17 May 16:21
Compare
Choose a tag to compare
v0.1.1 Pre-release
Pre-release

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "contrib_rules_deno",
    sha256 = "9f266a8c2e37e10eb1b460bd0d227524962a0d819544da15bee9f2e053b56c82",
    strip_prefix = "rules_deno-0.1.1",
    url = "https://github.com/aspect-build/rules_deno/archive/refs/tags/v0.1.1.tar.gz",
)

# Fetches the rules_deno 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("@contrib_rules_deno//deno:repositories.bzl", "deno_register_toolchains", "rules_deno_dependencies")

rules_deno_dependencies()

# Choose a deno interpreter version
deno_register_toolchains(
    name = "deno1_14",
    deno_version = "1.14.2",
)

What's Changed

  • build: fix ci build caching by @kormide in #2
  • build: move ci cache flags to bazelrc by @kormide in #3
  • Update to match latest bazel-contrib/rules-template by @alexeagle in #4
  • Add Deno v1.21.3 to toolchain versions by @stabai in #5

New Contributors

Full Changelog: v0.1.0...v0.1.1

v0.1.0

04 Oct 05:58
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release
initial working release