-
Notifications
You must be signed in to change notification settings - Fork 201
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
perf: switch to tinyglobby to drop 15 dependencies #1558
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
benmccann
changed the title
chore: switch to tinyglobby to drop 15 dependencies
perf: switch to tinyglobby to drop 15 dependencies
Aug 25, 2024
dsherret
approved these changes
Oct 5, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I think the even better solution though would be to move globbing into user land.
Ship has sailed.
Going to revert this one in #1595 -- Maybe in a few years once things have played out with tinyglobby I'll switch back to that. |
4 tasks
renovate bot
added a commit
to mmkal/expect-type
that referenced
this pull request
Jan 26, 2025
##### [v25.0.0](https://github.com/dsherret/ts-morph/releases/tag/25.0.0) #### What's Changed - feat: TypeScript 5.7.2 dsherret/ts-morph#1594 - fix: switch back to fast-glob for stability dsherret/ts-morph#1595 - fix: properly insert async keyword in arrow function dsherret/ts-morph#1597 - fix: throw descriptive error when inserting variable statement with no declarations dsherret/ts-morph#1598 - fix: removing last named import/export should not remove or change declaration dsherret/ts-morph#1599 **Full Changelog**: dsherret/ts-morph@24.0.0...25.0.0 ##### [v24.0.0](https://github.com/dsherret/ts-morph/releases/tag/24.0.0) #### What's Changed - perf: remove mkdirp dependency by [@benmccann](https://github.com/benmccann) in dsherret/ts-morph#1549 - perf: switch to tinyglobby to drop 15 dependencies by [@benmccann](https://github.com/benmccann) in dsherret/ts-morph#1558 - fix: getDerivedClasses() isn't correct in some cases by [@jmyrick02](https://github.com/jmyrick02) in dsherret/ts-morph#1557 - fix: getBodyText() doesn't work as would be expected by [@jmyrick02](https://github.com/jmyrick02) in dsherret/ts-morph#1560 - feat: TypeScript 5.6 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1576 #### New Contributors - [@benmccann](https://github.com/benmccann) made their first contribution in dsherret/ts-morph#1549 - [@jmyrick02](https://github.com/jmyrick02) made their first contribution in dsherret/ts-morph#1557 **Full Changelog**: dsherret/ts-morph@23.0.0...24.0.0
renovate bot
added a commit
to mmkal/expect-type
that referenced
this pull request
Jan 28, 2025
##### [v25.0.0](https://github.com/dsherret/ts-morph/releases/tag/25.0.0) #### What's Changed - feat: TypeScript 5.7.2 dsherret/ts-morph#1594 - fix: switch back to fast-glob for stability dsherret/ts-morph#1595 - fix: properly insert async keyword in arrow function dsherret/ts-morph#1597 - fix: throw descriptive error when inserting variable statement with no declarations dsherret/ts-morph#1598 - fix: removing last named import/export should not remove or change declaration dsherret/ts-morph#1599 **Full Changelog**: dsherret/ts-morph@24.0.0...25.0.0 ##### [v24.0.0](https://github.com/dsherret/ts-morph/releases/tag/24.0.0) #### What's Changed - perf: remove mkdirp dependency by [@benmccann](https://github.com/benmccann) in dsherret/ts-morph#1549 - perf: switch to tinyglobby to drop 15 dependencies by [@benmccann](https://github.com/benmccann) in dsherret/ts-morph#1558 - fix: getDerivedClasses() isn't correct in some cases by [@jmyrick02](https://github.com/jmyrick02) in dsherret/ts-morph#1557 - fix: getBodyText() doesn't work as would be expected by [@jmyrick02](https://github.com/jmyrick02) in dsherret/ts-morph#1560 - feat: TypeScript 5.6 by [@dsherret](https://github.com/dsherret) in dsherret/ts-morph#1576 #### New Contributors - [@benmccann](https://github.com/benmccann) made their first contribution in dsherret/ts-morph#1549 - [@jmyrick02](https://github.com/jmyrick02) made their first contribution in dsherret/ts-morph#1557 **Full Changelog**: dsherret/ts-morph@23.0.0...24.0.0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
https://npmgraph.js.org/?q=fast-glob - 17 dependencies
https://npmgraph.js.org/?q=tinyglobby - 2 dependencies
I think the even better solution though would be to move globbing into user land. The users who want globbing can invoke it on their own and pass the result into
addSourceFilesAtPaths
so that users who don't need globbing don't have to pay that cost.