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

[Bug]: Not clear what target to lint when ts_project#transpiler produces several targets #369

Open
alexeagle opened this issue Aug 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@alexeagle
Copy link
Member

What happened?

ts_project(name = "foo", transpiler=swc) will produce several targets, as documented: https://github.com/aspect-build/rules_ts/blob/main/docs/transpiler.md#macro-expansion

The :foo target is a js_library(srcs=[]) so there's no point linting it. The target with srcs=["my.ts"] is the :foo_typings target that doesn't appear in the BUILD file.

So an end-user will have a hard time linting a single ts_project in this case.

Version

All versions

How to reproduce

No response

Any other information?

No response

@alexeagle alexeagle added the bug Something isn't working label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant