angular-cn/packages/bazel/test
Paul Gschwendtner 5c2a90814b fix(bazel): ng_package rule creates incorrect UMD module exports (#35792)
The `ng_package` rule currently creates incorrect UMD module exports
if an entry-point has a module name with numbers included.

For example, consider an entry-point called `@angular/cdk/a11y`. The UMD
module name should be `ng.cdk.a11y`. Instead, `ng_package` currently generates
an UMD module export called `ng.cdk.a11Y`.

This is because the logic for converting dash-case to camel case is
invalid as it uses Starlark's `title()` method. The title method
converts text to title case while we actually just want to capitalize
the first letter of a dash-case segment.

Fixes angular/components#18652.

PR Close #35792
2020-03-02 08:15:01 -08:00
..
ng_package fix(bazel): ng_package rule creates incorrect UMD module exports (#35792) 2020-03-02 08:15:01 -08:00
ngc-wrapped build(bazel): update //packages/bazel/test/ngc-wrapped:ngc_test test (#31325) 2019-07-01 14:16:42 -07:00