rules_ts
rules_ts copied to clipboard
[Bug]: `ts_config()` deps trigger type checking
What happened?
I noticed that adding an in-repo dependency to ts_config()
triggers type checking to run pre-maturely in dependencies as part of the TsValidateOptions
action. Are types/transitive types actually necessary for validation?
More details and a repro here.
Version
Development (host) and target OS/architectures:
Output of bazel --version
: aspect pro 5.11.0-alpha2.dev.41.gd94c177
Version of the Aspect rules, or other relevant rules from your
WORKSPACE
or MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "2.9.4")
bazel_dep(name = "rules_multitool", version = "1.0.0")
bazel_dep(name = "aspect_rules_js", version = "2.1.1")
bazel_dep(name = "aspect_rules_ts", version = "3.3.1")
bazel_dep(name = "aspect_rules_swc", version = "2.0.1")
Language(s) and/or frameworks involved: TypeScript
How to reproduce
See https://github.com/walkerburgin/tsconfig-package
Any other information?
No response