Releases: aspect-build/rules_ts
Releases · aspect-build/rules_ts
v0.10.0
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
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
Full Changelog: v0.8.0...v0.9.0
v0.8.0
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
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
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
- feat: add worker support to ts_project by @thesayyn in #26
- fix: tsc tries to read files that is no longer a src by @thesayyn in #40
- fix: use tsconfig, outDir, declarationDir, and rootDir in worker key by @thesayyn in #42
- fix: cache source diagnostics by @thesayyn in #43
- cleanup: remove ts_declaration by @alexeagle in #44
- Configure Renovate by @renovate in #45
- chore: update to rules_js 0.12.1 by @gregmagolan in #49
New Contributors
Full Changelog: v0.5.0...v0.6.0
v0.5.0
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
- refactor: remove rules_swc dep, point to bazel-examples by @alexeagle in #36
- chore: update to rules_js 0.11.0 by @gregmagolan in #38
Full Changelog: v0.4.0...v0.5.0
v0.4.0
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
- chore: update to rules_js 0.10.0 by @gregmagolan in #34
Full Changelog: v0.3.3...v0.4.0
v0.3.3
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
- Add missing ts_project docstring by @alexeagle in #33
Full Changelog: v0.3.2...v0.3.3
v0.3.1
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
- @gregmagolan made their first contribution in #28
Full Changelog: v0.3.0...v0.3.1
v0.3.0
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
- Example with ts_project depending on another ts_project by @jfirebaugh in #24
- fix: set declaration dir to "." when it is empty by @thesayyn in #25
- chore: update rules_js by @alexeagle in #27
New Contributors
- @jfirebaugh made their first contribution in #24
Full Changelog: v0.2.1...v0.3.0