- Update package.json to use latest version of
modclean-patterns-default
- New! Added options to ignore symlinked modules (@ben8p) #15
- Added
followSymlinkconfiguration option. - Added
-f,--follow-symlinkCLI option.
- Added
- Added
.eslintrc.ymlfile to help enforce rules. - Minor cleanup
- Added
emptyDirFilterconfiguration option. - Use
Object.assigninstead ofextendmodule.- Removed
extenddependency.
- Removed
- Removed unused
paddependency. - Removed duplicate call to
clean()in shortcut method. - Misc. cleanup
- Breaking Change: All error events (
error,fileErrorandemptyDirsError) now return error object. - New! Added
errorsproperty on the ModClean class which contains all errors that occurred. - Moved documentation to the Wiki.
- Complete rewrite using ES6 and some breaking changes (now requires Node v6.9+)
- No longer includes
patterns.jsonfile, instead uses plugins to allow further customization. - Breaking Change:
patternsoption now takes array of pattern plugins instead of patterns. See README for more information. - Breaking Change:
ignoreoption has been renamed toignorePatterns. - Breaking Change:
processoption now is sync with only 1 argument and async with 2. - New! Added
additionalPatternsoption that takes array of glob patterns to use with any provided pattern plugins. - New! Added
dotFilesoption that allows disabling of removing dot files. - New! Added
processevent which will be fired before the files start processing. - New! When finding empty directories, it will now ignore
.DS_StoreandThumbs.dbfiles. - New! Added
beforeFindevent. - New! Added
beforeEmptyDirsevent. - New! Added
emptyDirsevent. - New! Added
emptyDirErrorevent. - New! Added
afterEmptyDirsevent. - New! Added
deletedEmptyDirevent. - Removed utility functions in favor for micro-packages.
- Removed unused dependencies.
- Replaced
node-dirdependency withsubdirs. - Replaced
colorsdependency withchalk. - Added
empty-dirdependency. - Added
async-each-seriesdependency. - Added
extenddependency. - Added
lodash.uniqdependency.
- Updated all dependcies to their latest versions.
- Benchmarks updated for 2017.
- Rewrite using ES6 with new features and bug fixes.
- Breaking Change:
-n, --patternsoption now takes list of plugins instead of a pattern rule name. - Removed:
-d, --emptyoption. - New! Added
-D, --modules-diroption. - New! Added
-a, --additional-patternsoption. - New! Added
-k, --keep-emptyoption. - New! Added
--no-dotfilesoption. - Removed
inquirerdependency in favor ofcluiand utility functions. - Reduced memory usage of the CLI.
- Logging has been rewritten to handle stack overflow errors.
- Updated some text.
If you still need to support Node < v6.9, use ModClean 1.3.0 instead. For more information about these changes, refer to the README.
- Added
noDirsoption to exclude directories from being removed (#8)- Added
--no-dirsoption to CLI (#8)
- Added
- Added
ignoreoption to exclude array of glob patterns from being removed (#8)- Added
-I, --ignoreoption to CLI to pass in comma-separated list of glob patterns (#8)
- Added
- Changed the
*.mapsafe pattern to*.js.map(#10) - Moved
*.mapto danger patterns (#10) - Skip inital logging if not verbose to prevent stack overflow (#9)
- Added additional patterns #6 (@KenRmk)
- Added Node 4.0 and 4.1 to
.travis.yml - Updated dependencies:
- glob@7.0.0
- inquirer@0.12.0
- update-notifier@0.6.1
- Fix a deprecated function in inquirer that was missed during testing (#5)
- Added ability to disable progress bar in CLI (#5)
- Updated dependencies:
- inquirer@0.9.0
- update-notifier@0.5.0
- colors@1.1.2
- commander@2.8.1
- glob@5.0.14
- node-dir@0.1.9
- rimraf@2.4.2
- Updated dev dependencies:
- should@7.0.4
- mocha@2.2.5
- Removed
.binpattern from safe patterns (#4)
- Adjusted
history*pattern (#3)
- Removed lingering
console.log.
- Added several new patterns to
patterns.json. - Added ability to delete empty directories.
- Added
ModClean()._removeEmpty(). - Added
removeEmptyDirsoption. - Added
-d, --emptyflags to the CLI to toggleremoveEmptyDirson.
- Added
- Added
node-dirdependency. - Added
BENCHMARK.mdfile to store a list of benchmarks. - Updated
.travis.ymlto include io.js - Updated and fixed
README.md. - Updated tests.
- Fixed line endings for OS X and Linux systems
- Exposes
modclean.patternsobject. - Changed
patterns.jsonto be an object with 3 different levels of file matching. - Changed
options.patternsto default tomodclean.patterns.safe. options.patternscan now be an Array of Arrays that will be flattened.- Added additional safe patterns to
patterns.json. - modclean CLI now takes option
-n, --patterns [patterns]. - Updated tests and README.
- Initial release