chore(deps): update dependency aspect_rules_ts to v2 #240
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.4.5
->v2.0.0
Release Notes
aspect-build/rules_ts
v2.0.0
Compare Source
Welcome to the first major release of rules_ts since 1.0.0.
We'll update these release notes periodically as we get feedback from users.
New Features
We now support Protocol Buffers and gRPC. See https://github.com/aspect-build/rules_ts/blob/main/docs/proto.md
We no longer default to a Persistent Worker mode to make the developer round-trip fast, as this was buggy and we don't have the resources to maintain a custom TypeScript compiler wrapper. Instead, we recommend using a faster transpiler. The upgrade flow will print some error messages on the first run to help you migrate.
We now check for rules_ts updates as part of running
rules_ts_dependencies
, see https://github.com/aspect-build/rules_ts/blob/main/docs/repositories.md#rules_ts_dependencies-check_for_updates. You can opt-out of the data collection by setting this attribute toFalse
.Breaking Changes
skipLibCheck
flag, as there is no good default - you can either be fast or correct. Instructions are printed to the terminal on the first build.transpiler
attribute. Again, there is no good default since the choices are to be fast or compatible. Documentation is at https://github.com/aspect-build/rules_ts/blob/main/docs/transpiler.mdtsc
compiler program, and we don't have the resources or funding to deal with the bugs this brings. We think that choosing a faster transpiler is a better solution. If your organization would like support for worker mode, you can fund the maintenance work. Or, if you'd like to take over the persistent worker Node.js program, we are open to relocating the code to a separate repository.supports_workers
attribute onts_project
is now a tri-state[-1, 0, 1]
rather than a boolean.--define=VERBOSE_LOGS
no longer has an effect, use the--@​aspect_rules_ts//ts:verbose=true
flag insteadload("@​aspect_rules_ts//ts:repositories.bzl", "LATEST_VERSION")
withLATEST_TYPESCRIPT_VERSION
ts_project
macro now produces ats_project
rule. Any bazel query expressions, aspect implementations, or other "leaky abstractions" that keyed on the kind of the underlying rule being "ts_project_rule" will need to be updated to the new name "ts_project".Using Bzlmod with Bazel 6:
Add to your
MODULE.bazel
file:Using WORKSPACE
Paste this snippet into your
WORKSPACE
file:What's Changed
New Contributors
Full Changelog: aspect-build/rules_ts@v1.3.3...v2.0.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.