Skip to content

v0.2.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 18 May 21:40
· 574 commits to main since this release

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "aspect_rules_ts",
    sha256 = "0da8f616f58bd79e8b7b0946f96d4adda8b02d3ec9aca33037cecfef316a1597",
    strip_prefix = "rules_ts-0.2.1",
    url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v0.2.1.tar.gz",
)

##################
# rules_ts setup #
##################
# Fetches the rules_ts 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_ts//ts:repositories.bzl", "LATEST_VERSION", "rules_ts_dependencies")

rules_ts_dependencies(ts_version = LATEST_VERSION)

# Fetch and register node, if you haven't already
load("@rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains")

nodejs_register_toolchains(
    name = "node",
    node_version = DEFAULT_NODE_VERSION,
)

What's Changed

  • Allow generated files mixed with sources by @alexeagle in #17
  • make ts_options_validator output deterministc by @alexeagle in #22
  • add example coverage for using 1p/3p deps with types by @alexeagle in #21

Full Changelog: v0.2.0...v0.2.1