Re-export the "module_name" attribute of ts_library as a provider.
Re-export the "module_name" attribute of ts_library as a provider.

This lets downstream rules like Angular see the module_name and use it for packaging.

Note that we also have a module_mapping aspect which collects up a mapping usable for TypeScript pathMapping, but this doesn't indicate which key belongs to this target vs. its dependencies.

PiperOrigin-RevId: 192685304

bazelbuild/rules_typescript,bazelbuild/rules_typescript,bazelbuild/rules_typescript