Skip to content

Commit

Permalink
Implement expandGlob() and expandGlobSync()
Browse files Browse the repository at this point in the history
fs/glob.ts:
- Improve prototypes for expandGlob() and expandGlobSync() from #604.
- Rename glob() to globToRegExp().
- Add normalizeGlob() and joinGlobs().
- Extract GlobToRegExpOptions from GlobOptions, remove the strict
  and filepath options.

fs/globrex.ts:
- Add GlobrexOptions.

fs/path/constants.ts:
- Add SEP_PATTERN.

fs/walk.ts:
- Add WalkOptions::includeFiles
- Default WalkOptions::includeDirs to true.
- Don't traverse directories matching a skip pattern.
- Remove walkSync()'s default root value.

prettier:
- Refactor to use expandGlob().

testing:
- Make findTestModules() an async generator.
  • Loading branch information
nayeemrmn committed Oct 2, 2019
1 parent 3b1b189 commit eb666fd
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit eb666fd

Please sign in to comment.