Skip to content

Releases: aspect-build/rules_ts

v0.10.0

28 Jun 19:33
Compare
Choose a tag to compare
v0.10.0 Pre-release
Pre-release

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "aspect_rules_ts",
    sha256 = "57aa473c5b4d300adea8eda9c8306519344c4acfcc86a42530cdf23e35cb63d7",
    strip_prefix = "rules_ts-0.10.0",
    url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v0.10.0.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

  • docs: add example of using 3p npm dep by @alexeagle in #69
  • fix: relative path computation handles parent dir by @alexeagle in #70

Full Changelog: v0.9.0...v0.10.0

v0.9.0

28 Jun 04:31
Compare
Choose a tag to compare
v0.9.0 Pre-release
Pre-release

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "aspect_rules_ts",
    sha256 = "679bfe547296d64a5f8bbd25a4b8acbc6b41336ee38d8fcfaab5eba75cf6670f",
    strip_prefix = "rules_ts-0.9.0",
    url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v0.9.0.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

  • ci: auto-publish to bcr on release by @kormide in #62

Full Changelog: v0.8.0...v0.9.0

v0.8.0

21 Jun 05:17
Compare
Choose a tag to compare
v0.8.0 Pre-release
Pre-release

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "aspect_rules_ts",
    sha256 = "4a1afbbdfbdecfa476d1884268ce99a2f88330270022fee329dfe36600619483",
    strip_prefix = "rules_ts-0.8.0",
    url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v0.8.0.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

  • feat: make rules_ts compatible with bzlmod by @kormide in #54
  • chore: use skylib paths join instead of custom _join helper by @gregmagolan in #55
  • chore(deps): update actions/checkout action to v3 by @renovate in #47
  • chore(deps): update actions/cache action to v3 by @renovate in #46
  • fix: remove unnecessary additional typescript package copy by @gregmagolan in #58
  • docs: --spawn_strategy does not take a mnemonic, use --strategy by @mattem in #59

New Contributors

Full Changelog: v0.7.0...v0.8.0

v0.7.0

15 Jun 14:56
Compare
Choose a tag to compare
v0.7.0 Pre-release
Pre-release

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "aspect_rules_ts",
    sha256 = "991a5ccad5fd276164ea64c01ae0b67820a5d514fbf37ae3f7ac8701a84b9f5a",
    strip_prefix = "rules_ts-0.7.0",
    url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v0.7.0.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

  • fix: handle option changes and implement default lib cache by @thesayyn in #51
  • fix: ts_config rule needs to copy files to bin by @alexeagle in #52
  • chore: update to rules_js 0.13.0 by @gregmagolan in #53

Full Changelog: v0.6.0...v0.7.0

v0.6.0

10 Jun 23:43
976434a
Compare
Choose a tag to compare
v0.6.0 Pre-release
Pre-release

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "aspect_rules_ts",
    sha256 = "b79eca71668f1d5e318c25a25a5f9a150d351cbfab1ea9e225b0ee7a9f16763d",
    strip_prefix = "rules_ts-0.6.0",
    url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v0.6.0.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

New Contributors

Full Changelog: v0.5.0...v0.6.0

v0.5.0

03 Jun 23:16
b55b860
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "aspect_rules_ts",
    sha256 = "1f4854ac104881b62d341c19d6150d32ba582351b24a1f0b761c218456057017",
    strip_prefix = "rules_ts-0.5.0",
    url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v0.5.0.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

Full Changelog: v0.4.0...v0.5.0

v0.4.0

03 Jun 17:34
da5d96f
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "aspect_rules_ts",
    sha256 = "8e420a00e7b2fc8bdbb5dbabdbc796cafa277c057054571855260799cc8c63d0",
    strip_prefix = "rules_ts-0.4.0",
    url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v0.4.0.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

Full Changelog: v0.3.3...v0.4.0

v0.3.3

03 Jun 00:09
14367a7
Compare
Choose a tag to compare
v0.3.3 Pre-release
Pre-release

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "aspect_rules_ts",
    sha256 = "04b77afa128953fb0efe0105a168dfc233561dee84388251910876123be8ef43",
    strip_prefix = "rules_ts-0.3.3",
    url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v0.3.3.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

Full Changelog: v0.3.2...v0.3.3

v0.3.1

02 Jun 12:53
Compare
Choose a tag to compare
v0.3.1 Pre-release
Pre-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

v0.3.0

31 May 21:14
cea4cdb
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_ts",
    sha256 = "af82df74c1143581417d3ba61232255e678a3d2f9ce3b523b85386d3e21d810e",
    strip_prefix = "rules_ts-0.3.0",
    url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v0.3.0.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

New Contributors

Full Changelog: v0.2.1...v0.3.0