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

Remove dependency on rifraf #1

Merged
merged 1 commit into from
Mar 4, 2025
Merged

Remove dependency on rifraf #1

merged 1 commit into from
Mar 4, 2025

Conversation

jeffalo
Copy link

@jeffalo jeffalo commented Jan 17, 2025

Address 11ty/eleventy/issues/3622

Swap to use fs.promises.rm with { recursive: true, force: true }, which should work pretty much identically (just without a 4MB dependency tree).

Automatic tests pass (tested on Node 23), but I haven't done anything else to test this yet. Any ideas?

Swap to use `fs.promises.rm` with `{ recursive: true, force: true }`,
which should work pretty much identically (just without a 4MB dependency
tree).

Automatic tests pass, but I haven't done anything else to test this yet.
@zachleat zachleat added this to the Recursive Copy v4.0.0 milestone Mar 4, 2025
@zachleat zachleat marked this pull request as ready for review March 4, 2025 19:22
@zachleat
Copy link
Member

zachleat commented Mar 4, 2025

This looks great to me. Let’s roll with it as we modernize more of this package for a major version bump in v4.0.0

@zachleat zachleat merged commit 081ff6b into 11ty:master Mar 4, 2025
@zachleat
Copy link
Member

zachleat commented Mar 4, 2025

Thank you! This will roll up with v4.0.0 of @11ty/recursive-copy which will change the minimum node version to 18 (though this change only necessitated Node 14.14+: https://nodejs.org/docs/latest/api/fs.html#fspromisesrmpath-options)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants