abcnews / aunty

A toolkit for working with ABC News projects
https://www.npmjs.com/package/@abcnews/aunty
MIT License
32 stars 5 forks source link

Just camelise component names #87

Closed colingourlay closed 5 years ago

colingourlay commented 5 years ago

The singularize method in the i package does little more than trim trailing "s" characters, which leads to incorrect component & file names when the component generator runs.

Using camelize directly instead of classify, removes singularize from the transform, and puts a little more responsibility on the author, but I think this is ultimately better.

Closes #86