-
Notifications
You must be signed in to change notification settings - Fork 581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement expandGlob() #617
Merged
Merged
Commits on Sep 28, 2019
-
prettier: Refactor to use expandGlob()
Regression. The prettier tests will fail until expandGlob() is fixed since they try to match absolute paths outside of CWD.
Configuration menu - View commit details
-
Copy full SHA for ff97903 - Browse repository at this point
Copy the full SHA ff97903View commit details -
testing: Refactor to resemble prettier
Should help later when extracting common functionality to expandGlob(), like exclusion. Makes findTestModules() an async generator.
Configuration menu - View commit details
-
Copy full SHA for 4729107 - Browse repository at this point
Copy the full SHA 4729107View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6af0a7 - Browse repository at this point
Copy the full SHA b6af0a7View commit details
Commits on Sep 29, 2019
-
Move exclude handling inside of expandGlob()
Adds an exclude field to ExpandGlopOptions. This should be the final API.
Configuration menu - View commit details
-
Copy full SHA for 17adf62 - Browse repository at this point
Copy the full SHA 17adf62View commit details -
fs/walk.ts: Don't traverse directories matching a skip pattern
In other words, support path prefixes when specifying excludes. This aligns with the file matchers of the test runner and prettier. It's less redundant since this cannot be achieved efficiently on the client-end.
Configuration menu - View commit details
-
Copy full SHA for eda4eb3 - Browse repository at this point
Copy the full SHA eda4eb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a71b0a3 - Browse repository at this point
Copy the full SHA a71b0a3View commit details -
fs/walk.ts: Add includeFiles to WalkOptions
It will help with expanding **
Configuration menu - View commit details
-
Copy full SHA for f2c329a - Browse repository at this point
Copy the full SHA f2c329aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f071a40 - Browse repository at this point
Copy the full SHA f071a40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dcde6a - Browse repository at this point
Copy the full SHA 0dcde6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a783ffc - Browse repository at this point
Copy the full SHA a783ffcView commit details
Commits on Sep 30, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 634b753 - Browse repository at this point
Copy the full SHA 634b753View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f2dbd3 - Browse repository at this point
Copy the full SHA 1f2dbd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d46b1a - Browse repository at this point
Copy the full SHA 9d46b1aView commit details
Commits on Oct 1, 2019
-
Configuration menu - View commit details
-
Copy full SHA for ceca937 - Browse repository at this point
Copy the full SHA ceca937View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8532c4e - Browse repository at this point
Copy the full SHA 8532c4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d74b3b - Browse repository at this point
Copy the full SHA 2d74b3bView commit details
Commits on Oct 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 5b72711 - Browse repository at this point
Copy the full SHA 5b72711View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7af9a0 - Browse repository at this point
Copy the full SHA b7af9a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b1b189 - Browse repository at this point
Copy the full SHA 3b1b189View commit details -
Implement expandGlob() and expandGlobSync()
fs/glob.ts: - Improve prototypes for expandGlob() and expandGlobSync() from denoland#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.
Configuration menu - View commit details
-
Copy full SHA for eb666fd - Browse repository at this point
Copy the full SHA eb666fdView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.