You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(api/commit): add support for excluding directories in ls.dirs()
BREAKING CHANGE: `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:
```ts
// Before
ls.dirs('./packages', 'my-prefix');
// After
ls.dirs('./packages', { prefix: 'my-prefix' });
```
BREAKING CHANGE: `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\`:
```ts
// Before
ls.dirs('./packages');
// After
ls.dirs('./packages', { exclude: null });
```
0 commit comments