Skip to content

v0.3.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Jun 12:53
· 566 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 = "2a9805f83498d63dfac62175740f1c49ec58ca62e7cf93e23c8b50a9cff4f73d",
    strip_prefix = "rules_ts-0.3.1",
    url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v0.3.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

  • chore: update to rules_js 0.9.1 by @gregmagolan in #28
  • refactor: only set tsconfig.json as the default if the file exists by @alexeagle in #29

New Contributors

Full Changelog: v0.3.0...v0.3.1