Skip to content
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

refactor(cli): remove usage of @ionic/utils-fs #7762

Merged
merged 2 commits into from
Nov 20, 2024
Merged

Conversation

jcesarmobile
Copy link
Member

@jcesarmobile jcesarmobile commented Nov 15, 2024

@ionic/utils-fs is mostly a wrapper around fs-extra and uses a very old version of it.

Replace usages of the @ionic/utils-fs functions that were just wrappers and use the fs-extra original ones.

readdirp was not a wrapper but a @ionic/utils-fs function, so I've created a new simplified readdirp function in utils/fs that does (almost) the same but using node's readdir internally which from node 20 accepts the recursive option.

@jcesarmobile jcesarmobile merged commit 0a0dd1a into main Nov 20, 2024
6 checks passed
@jcesarmobile jcesarmobile deleted the remove-utils-fs branch November 20, 2024 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants