Skip to content

Releases: vastec/ember-unused-components

lime-cobra

07 May 15:34
Compare
Choose a tag to compare

1.2.2 (May 7, 2024)

FIX:

  • #190 Fixed ignored files not being ignored

MAINTENANCE:

  • #191 Update package-lock.json

red-corral-snake

02 Aug 11:45
Compare
Choose a tag to compare

1.2.1 (August 2, 2023)

FEATURES:

  • #189 Support typescript files and component colocation

aqua-brown-snake

28 Jan 11:48
Compare
Choose a tag to compare

1.2.0 (January 28, 2020)

FEATURES:

  • #52 [EXPERIMENTAL] - Search for unused compnents from addons 🔥 Maybe you don't need that addon anymore?

REFACTOR:

  • #52 Improvements to components detection + internal restructuring that sets things in the right direction for future development

Special thanks to @jkeen for his huge work on the refactor and the experimental feature!

MAINTENANCE:

  • (#39) Bump ava from 2.3.0 to 2.4.0
  • (#42) Bump colors from 1.3.3 to 1.4.0
  • (#43, #61) Bump eslint-plugin-prettier from 3.1.0 to 3.1.2
  • (#45, #65) Bump yargs from 14.0.0 to 15.1.0
  • (#48, #62) Bump eslint from 6.3.0 to 6.8.0
  • (#49, #64) Bump eslint-config-prettier from 6.2.0 to 6.9.0
  • (#63) Bump eslint-plugin-node from 10.0.0 to 11.0.0

purple-green-snake

10 Sep 08:10
Compare
Choose a tag to compare

1.1.0 (September 10, 2019)

Although, there are no breaking changes this version is released as a new minor version (not a patch version). It introduces a new option (failOnUnused) which is switched off by default but in general can be dangerous for some projects. The package files were reduced so it also introduces some danger here.

FEATURES:

  • (#31) New option failOnUnused which throws and error when unused components were found (useful for CI)

MAINTENANCE:

  • (#32) Bump eslint from 6.2.2 to 6.3.0
  • (#33 #36) Bump eslint-plugin-node from 9.1.0 to 10.0.0
  • (#34) Improve a hint how to use tests-app in development
  • (#35) Bump eslint-config-prettier from 6.1.0 to 6.2.0
  • (#38) Specify library files in package.json - npm package size reduced from 2.2MB to 42.1kB (unpacked)

black-python

27 Aug 19:44
Compare
Choose a tag to compare

1.0.4 (August 27, 2019)

MAINTENANCE:

  • (#19) Bump eslint-config-prettier from 4.3.0 to 6.1.0
  • (#20) [Security] Bump lodash.merge from 4.6.1 to 4.6.2
  • (#21 #28) Bump eslint from 5.16.0 to 6.2.2
  • (#22) [Security] Bump lodash from 4.17.11 to 4.17.15
  • (#23) Bump ava from 2.1.0 to 2.3.0
  • (#24) Bump fs-extra from 8.0.1 to 8.1.0
  • (#25) Bump yargs from 13.2.4 to 14.0.0
  • (#26) Bump prettier from 1.17.1 to 1.18.2
  • (#29) [Security] Bump eslint-utils from 1.3.1 to 1.4.2

gray-python

26 Jun 18:03
Compare
Choose a tag to compare

1.0.3 (June 26, 2019)

FIX:

  • Support POD structure when podModulePrefix is empty

blue-brown-snake

05 Jun 20:52
Compare
Choose a tag to compare

1.0.2 (June 5, 2019)

FIX:

  • Prepared to be run in an empty project (no usage in percentage calculations etc...)

MAINTENANCE:

purple-boa

24 May 09:55
Compare
Choose a tag to compare

1.0.1 (May 24, 2019)

FIX:

  • ember-addon removed from keywords in package.json to prevent ember from running index.js on startup

red-rat-snake

24 May 08:26
Compare
Choose a tag to compare

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

blue-cobra

29 Jun 06:19
Compare
Choose a tag to compare

0.2.0 (June 29, 2018)

BUG FIXES:

  • Better match mechanism for finding component occurrences