v0.11.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 = "04373a49e49a97521a9fcf35dbca43360c94a84a51553ffbd754d6778a0b512d",
strip_prefix = "rules_ts-0.11.0",
url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v0.11.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: fix declaration file output with out_dir set by @jbedard in #71
- fix: disable ts worker if custom tsc is provided by @jbedard in #78
- test: add case for types output_group by @thesayyn in #83
- test: add case for declaration_only by @thesayyn in #82
- fix: allow tsc worker read outputs by @thesayyn in #81
- fix: re-enable error when no outputs configured by @alexeagle in #84
- test: add case for declaration_dir, out_dir and root_dir by @thesayyn in #87
- fix: give better error when ts_project should be js_library by @alexeagle in #86
- test: add case for jsx by @thesayyn in #89
- fix: support package.json with type=module by @thesayyn in #90
- perf: minimize the amount fs calls worker makes by @thesayyn in #77
- test: test rootDirs + outDir by @jbedard in #74
- feat: add support for .mts and .cts source files by @jbedard in #92
- chore: format BUILD files with buildifier by @thesayyn in #93
- fix: correctly invalidate failed lookups by @thesayyn in #91
- test: add example of ts_project .d.ts source by @jbedard in #98
- chore: add additional examples and TODOs for issues by @gregmagolan in #100
- chore: update to aspect_bazel_lib 1.8.0 by @gregmagolan in #104
- chore: update to aspect_rules_js to latest commit hash by @gregmagolan in #105
- chore: update to aspect_bazel_lib 1.8.1 by @gregmagolan in #106
- docs: one more reason why ts_project could produce no output by @thesayyn in #107
- chore: update to aspect_bazel_lib 1.9.1 by @gregmagolan in #109
New Contributors
Full Changelog: v0.10.0...v0.11.0