v7.0.0-beta.7
Pre-release
Pre-release
·
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()
fromapi/commit
now takes an options
object as the second parameter instead of aprefix
. 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 excludesnode_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 });