Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support ts_project with transpiler and no declarations for type-checking #698

Merged
merged 1 commit into from
Sep 21, 2024

Conversation

jbedard
Copy link
Member

@jbedard jbedard commented Sep 20, 2024

Now that --noEmit can be used to typecheck without any output files it can also be used when a custom transpiler is used along with no dts outputs.


Changes are visible to end-users: no

Test plan

  • Covered by existing test cases
  • New test cases added

Copy link

aspect-workflows bot commented Sep 20, 2024

Test

All tests were cache hits

91 tests (100.0%) were fully cached saving 8s.


Buildifier      Format

ts/private/ts_lib.bzl Outdated Show resolved Hide resolved
Copy link
Collaborator

@dzbarsky dzbarsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only skimmed the example, rule change lgtm

Copy link
Member

@gregmagolan gregmagolan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Possible scenarios include: noEmit, transpiler+noEmitDeclarations.
@jbedard jbedard merged commit 7cdd9a5 into aspect-build:main Sep 21, 2024
23 checks passed
@jbedard jbedard deleted the allow-no-outs branch September 21, 2024 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants