Skip to content

Latest commit

 

History

History
144 lines (82 loc) · 8.72 KB

CHANGELOG.md

File metadata and controls

144 lines (82 loc) · 8.72 KB

clean-modules

3.1.1

Patch Changes

3.1.0

Minor Changes

  • Add default patterns for GitHub Pages, JetBrains, airtap, husky, bmp, release-it, Windows, and GNU COPYING. #35 89fcb28 @sdavids

Patch Changes

  • Include up to 2 fraction digits when reporting reduced size. 89dd555 @duniul

3.0.5

Patch Changes

3.0.4

Patch Changes

3.0.3

Patch Changes

  • Fix import.meta.url not being transpiled to an equivalent value for CJS builds. #22 efa65b5 @duniul

3.0.2

(includes 3.0.0 and 3.0.1, which were unpublished)

Major Changes

  • BREAKING Replace -i,--include and -e,--exclude with globs passed as positional arguments. This makes them consistent with the glob file patterns. de47cf2 @duniul

    To migrate, move included and excluded globs to the end of the command, and prefix any exclusion globs with !.

    # before
    clean-modules --include "foo" "bar" --exclude "baz" "qux"
    
    # after
    clean-modules "foo" "bar" "!baz" "!qux"
  • BREAKING Replace old programmatic API with one that better correspond to the CLI commands. See the README for information on how to import them. 6c8dfff @duniul

  • BREAKING Drop support for Node 12, require Node >= 14. 0ebf930 @duniul

Patch Changes

  • Replace yargs with clipanion for CLI parsing. de47cf2 @duniul
  • Don't remove tsconfig.json files by default, as they can be shared. 17603eb @duniul
  • Update pretty-bytes, pretty-ms and supports-color. e198b46 @duniul
  • Remove arg as a runtime dependency. 95b0dcf @duniul
  • Try to avoid test util files when cleaning up test files. cf7ede5 @duniul
  • Fix issue where --glob-file could be passed as an array, causing a crash. de47cf2 @duniul

2.0.6

Patch Changes

2.0.5

Patch Changes

2.0.4

Patch Changes

  • Remove custom help and version options in favor of yargs builtins. #10 0f5fa14 @duniul

2.0.3

Patch Changes

2.0.2

Patch Changes

2.0.1

Patch Changes

2.0.0

BREAKING CHANGES

  • Node versions lower than 12 are no longer supported. #5 d6c66f2 @duniul
  • A path to node_modules should now be supplied to the --directory option instead of a positional. #5 6aa9d55 @duniul
  • The --analyze option has been replaced by a separate command. #5 6aa9d55 @duniul

Minor Changes

1.0.4

Patch Changes

1.0.3

Patch Changes

1.0.2

Patch Changes

1.0.1

Patch Changes