Skip to content

util to help shuffle hardly used bits off code off their mortal coil

Notifications You must be signed in to change notification settings

one19/arum-aruff

Repository files navigation

ARUM-ARUFF

Maintenance status published on npm!
Known Vulnerabilities Testing Status Test Coverage Maintainability


WHAT IT DO:

Builds a tree of your app, and tells you what components/packages should/might be easiest to delete!

HOW TO RUN IT:

  # if this fails on node10, swap to 8 for the install
  npm i -g arum-aruff
  cd SOME_PROJECT_FOLDER
  # don't forget to swap back to node 10 when running it!
  arum-aruff

DEV NOTES:

  • Tests are a nightmare. fs mocking with generally non-serial ava means any test failures will look horrifying and nonsensical. You'll never be able to tell what's wrong for the most part. Just assume any changes that start failing are the latest thing you've done.

TODO:

  1. fsPromises fail to work well with package.json files, refactoring when mock-fs works correctly would be nice.
  2. package.json deps that aren't imported anywhere reporting
  3. a happy little svg icon of a pupper and a glass of rum
  4. export strength mapping
  5. tracing imports & exports from file to function name
  6. Baller d3 web
  7. _size reporting for tree/single-file lines of code/bits
  8. parsing test configs or allowing to have a -i input to allow ignoring any regex
  9. promisify instead of using node10 promises fs because it's 1000% a beta technology yet
  10. Add node8 support once rightly promisified

About

util to help shuffle hardly used bits off code off their mortal coil

Resources

Stars

Watchers

Forks

Packages

No packages published