Skip to content

Conversation

@rschristian
Copy link
Member

What kind of change does this PR introduce?

Chore

Did you add tests for your changes?

No

Summary

Moves away from manually calling promisify on any part of the fs API. require('fs').promises has been good to use since v10.1.0.

Also tried to standardize default vs named imports of fs (methods), as there was a mix. Just went all-in on named, but not really opinionated there.

Does this PR introduce a breaking change?

No, only breaks in Node versions < 10.1.0, and we've set the minimum supported version to 12

@rschristian rschristian requested a review from a team as a code owner May 30, 2021 04:00
@changeset-bot
Copy link

changeset-bot bot commented May 30, 2021

🦋 Changeset detected

Latest commit: b430ac4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
preact-cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ForsakenHarmony ForsakenHarmony merged commit 022d9a8 into master Jun 14, 2021
@ForsakenHarmony ForsakenHarmony deleted the chore/fs branch June 14, 2021 20:57
@preact-bot preact-bot mentioned this pull request Jun 14, 2021
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.

4 participants