Skip to content

red-rat-snake

Compare
Choose a tag to compare
@tniezurawski tniezurawski released this 24 May 08:26
· 126 commits to master since this release

1.0.0 (May 24, 2019)

COMPLETE REWRITE:

This is no longer an Ember addon but a NodeJS command-line script. The reasons for changing the approach were:

  • It's faster than ember-cli interface.
  • It gives more freedom when it comes to testing. Finally, we have multiple Ember app instances with a different configuration for testing purposes.
    That gives us more confidence when introducing changes.

FEATURES:

  • Support for <AngleBrackets> components (also nested ones, e.g. <User::UserCard/>)
  • Support for ember-light-table's way of defining cellComponent: 'component-name' and component: 'component-name'
  • Support for (component "component-name") helper used in templates
  • Support for Module Unification structure
  • Show percentage of unused components in the report
  • Stats module that shows:
    • The most used component
    • The number of components used just once
    • Usage of {{curly-braces}} vs <AngleBrackets> syntax
    • Usage of (component "component-name") helper in templates
    • Usage in JS files (e.g. through import or ELT)
  • Show occurrences of a component (use --occurrences or --o argument). Example:
user/user-card:

 > ./app/templates/application.hbs
  - {{user/user-card}}

MAINTENANCE:

  • Running Travis CI