这是indexloc提供的服务,不要输入任何密码
Skip to content

cleanup: replace fs-extra with node:fs #1216

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

Merged
merged 1 commit into from
Sep 19, 2024
Merged

cleanup: replace fs-extra with node:fs #1216

merged 1 commit into from
Sep 19, 2024

Conversation

pralkarz
Copy link
Contributor

@pralkarz pralkarz commented Sep 18, 2024

This PR is a suggestion to replace fs-extra with the native node:fs. In projects that only support modern Node versions, fs-extra is effectively deprecated and unnecessary for the most part.

EDIT: It's only a minuscule improvement for DX since fs-extra is a dev dependency, but worthwhile nonetheless, imo.

Copy link

codesandbox bot commented Sep 18, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

vercel bot commented Sep 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tsup ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 18, 2024 2:05pm

Copy link

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: npm/fs-extra@11.2.0

View full report↗︎

Copy link

pkg-pr-new bot commented Sep 19, 2024

Open in Stackblitz

pnpm add https://pkg.pr.new/egoist/tsup@1216

commit: 2dff130

@sxzz sxzz merged commit e36f400 into egoist:main Sep 19, 2024
12 checks passed
@pralkarz pralkarz deleted the remove-fs-extra branch September 19, 2024 11:02
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.

2 participants