Skip to content

Commit d0f4d92

Browse files
VanTanevAndarist
andauthored
Replace fs-extra with node:fs/promises (#225)
* Replace fs-extra with node:fs/promises * Update .changeset/thick-panthers-smile.md --------- Co-authored-by: Mateusz Burzyński <[email protected]>
1 parent 045f7d7 commit d0f4d92

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.changeset/thick-panthers-smile.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@manypkg/cli": minor
3+
---
4+
5+
Replace `fs-extra` with native `node:fs/promises`

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"prettier-plugin-packagejson": "^2.3.0",
4141
"typescript": "^5.3.2"
4242
},
43+
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
4344
"engines": {
4445
"node": ">=14.18.0"
4546
},

packages/cli/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"chalk": "^2.4.2",
1818
"detect-indent": "^6.0.0",
1919
"find-up": "^4.1.0",
20-
"fs-extra": "^8.1.0",
2120
"normalize-path": "^3.0.0",
2221
"p-limit": "^2.2.1",
2322
"package-json": "^8.1.0",

packages/cli/src/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as fs from "fs-extra";
1+
import fs from "node:fs/promises";
22
import { Package, Tool } from "@manypkg/get-packages";
33
import path from "path";
44
import spawn from "spawndamnit";

0 commit comments

Comments
 (0)