-
Notifications
You must be signed in to change notification settings - Fork 524
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
fix(typescript): ts_project transpiler produces js_library #3187
Conversation
78d76a4
to
3bbfe21
Compare
internal/js_library/js_library.bzl
Outdated
runfiles = ctx.runfiles( | ||
files = all_files, | ||
transitive_files = depset( | ||
transitive = files_depsets + typings_depsets, | ||
transitive = files_depsets, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted in #3189 for reference
2a2d0f7
to
3cf389b
Compare
ts_project( | ||
name = "transpile_with_typeerror", | ||
srcs = ["typeerror.ts"], | ||
# The transpile_with_typeerror.check target will have a build failure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does the build failure get ignored on CI with this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the manual tag gets propagated to the build targets, so we don't run them. The test explicitly asks for the js_library which passes because typecheck action doesn't run
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤦 I was starring right at it and didn't see the "manual"
tag
This is needed so the .js files produced by the alternate transpiler are passed down the dependency graph.
3cf389b
to
0f308ac
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🌮 🚀
This is needed so the .js files produced by the alternate transpiler
are passed down the dependency graph.