Skip to content

Releases: duniul/clean-modules

v3.1.1

01 Oct 14:45
Compare
Choose a tag to compare

Patch Changes

v3.1.0

01 Oct 14:22
Compare
Choose a tag to compare

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

v3.0.5

04 Mar 10:07
Compare
Choose a tag to compare

Patch Changes

v3.0.4

10 Aug 12:15
Compare
Choose a tag to compare

Patch Changes

v3.0.3

07 Aug 08:55
Compare
Choose a tag to compare

Patch Changes

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

v3.0.2

09 Jul 17:16
Compare
Choose a tag to compare

(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

v3.0.1

09 Jul 17:10
Compare
Choose a tag to compare

Unpublished, see v3.0.2 instead.

v3.0.0

09 Jul 16:48
Compare
Choose a tag to compare

Unpublished, see v3.0.2 instead.

v2.0.6

11 Aug 17:14
Compare
Choose a tag to compare

2.0.6

Patch Changes

v2.0.5

01 Jul 23:44
Compare
Choose a tag to compare

2.0.5 (2022-07-01)

Bug Fixes

  • fix path issues on Windows (6a7fb5c)