Skip to content

v7.0.0-beta.7

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 09 Dec 21:46
· 66 commits to beta since this release

7.0.0-beta.7 (2022-12-09)

Features

  • api/commit: add support for excluding directories in ls.dirs() (8648a39)

BREAKING CHANGES

  • api/commit: ls.dirs() from api/commit now takes an options
    object as the second parameter instead of a prefix. If you're using
    a prefix you'll need to make the following change:
// Before
ls.dirs('./packages', 'my-prefix');

// After
ls.dirs('./packages', { prefix: 'my-prefix' });
  • api/commit: ls.dirs() now excludes node_modules directories
    by default. If for some reason you want to include `node_modules`,
    you'll need to explicitly set `exclude` to `null`:
// Before
ls.dirs('./packages');

// After
ls.dirs('./packages', { exclude: null });