@reliverse/relifso 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [sponsor](https://github.com/sponsors/blefnk) — [discord](https://discord.gg/Pb8uKbwpsJ) — [npm](https://npmjs.com/package/@reliverse/relifso) — [repo](https://github.com/reliverse/relifso)
4
4
 
5
- > **@reliverse/relifso** is a modern filesystem toolkit for builders. Drop-in replacement for `node:fs` and `fs-extra` — powered by native promises, built with ES modules, and packed with Bun-specific features and DX-focused utilities.
5
+ > **@reliverse/relifso** is a modern filesystem toolkit for builders. Drop-in replacement for `node:fs` and `fs-extra` — powered by native promises, built with ES modules, and packed with DX-focused utilities.
6
6
 
7
7
  - 🪄 Everything you love from `fs-extra` — now simpler, cleaner, and more beginner-friendly
8
8
  - ⚙️ Drop-in replacement for `node:fs` — with native `Promise`, `async/await`, and sync variants
@@ -15,13 +15,23 @@
15
15
  - 🧪 **Soon**: Ready for upcoming Node.js v22+ experimental features
16
16
  - ✌️ **Soon**: Bun v1.2+ ready — ships with Bun-aware enhancements out of the box
17
17
  - 🔥 **Soon**: Bun-specific features are exposed via `fs.*` when running on Bun
18
- - ✂️ **Soon**: We plan to divide Relifso into smaller packages like `-legacy`, `-bun`, `-cjs`, etc.
19
18
 
20
19
  ## Install
21
20
 
22
21
  ```bash
23
- bun add @reliverse/relifso
24
22
  # bun • pnpm • yarn • npm
23
+ bun add @reliverse/relifso
24
+ ```
25
+
26
+ **Migrate**:
27
+
28
+ ```bash
29
+ bun rm fs-extra
30
+ bun rm @types/fs-extra
31
+ # soon:
32
+ # bun add -D @reliverse/dler
33
+ # bun dler relifso node-fs to relifso
34
+ # bun dler relifso fs-extra to relifso
25
35
  ```
26
36
 
27
37
  **Coming soon**:
@@ -284,6 +294,4 @@ If `@reliverse/relifso` reduced the number of lines in your codebase:
284
294
 
285
295
  ## License
286
296
 
287
- Welcome to the Reliverse — we build tools that builders want.
288
-
289
297
  [MIT](./LICENSE) © 2025 [Nazar Kornienko (blefnk)](https://github.com/blefnk)
@@ -1,6 +1,7 @@
1
1
  export type * from "../types.js";
2
2
  export type { CopyOptions, CopyOptionsSync, EnsureDirOptions, SymlinkType, MoveOptions, JsonOutputOptions, } from "fs-extra";
3
3
  export * from "./fs/index.js";
4
+ export { access, appendFile, chmod, chown, close, copyFile, cp, createReadStream, createWriteStream, fchmod, fchown, fdatasync, fstat, ftruncate, futimes, lchmod, lchown, link, lstat, lutimes, mkdir, mkdtemp, open, openAsBlob, opendir, read, readFile, readv, readdir, realpath, rename, rm, rmdir, stat, statfs, symlink, truncate, unlink, unwatchFile, utimes, watch, watchFile, write, writev, accessSync, appendFileSync, chmodSync, chownSync, closeSync, copyFileSync, cpSync, existsSync, fchmodSync, fchownSync, fdatasyncSync, fstatSync, fsync, fsyncSync, ftruncateSync, futimesSync, lchmodSync, lchownSync, linkSync, lstatSync, lutimesSync, mkdirSync, mkdtempSync, openSync, opendirSync, readSync, readFileSync, readlinkSync, readvSync, readdirSync, realpathSync, renameSync, rmSync, rmdirSync, statSync, statfsSync, symlinkSync, truncateSync, unlinkSync, utimesSync, writeFileSync, writeSync, writevSync } from "./fs/index.js";
4
5
  export { default as vacuum } from "./external/vacuum.js";
5
6
  export { copy, copySync } from "./lib/copy/index.js";
6
7
  export { emptyDir, emptyDirSync } from "./lib/empty/index.js";
@@ -1,4 +1,93 @@
1
1
  export * from "./fs/index.js";
2
+ export {
3
+ access,
4
+ appendFile,
5
+ chmod,
6
+ chown,
7
+ close,
8
+ copyFile,
9
+ cp,
10
+ createReadStream,
11
+ createWriteStream,
12
+ fchmod,
13
+ fchown,
14
+ fdatasync,
15
+ fstat,
16
+ ftruncate,
17
+ futimes,
18
+ lchmod,
19
+ lchown,
20
+ link,
21
+ lstat,
22
+ lutimes,
23
+ mkdir,
24
+ mkdtemp,
25
+ open,
26
+ openAsBlob,
27
+ opendir,
28
+ read,
29
+ readFile,
30
+ readv,
31
+ readdir,
32
+ realpath,
33
+ rename,
34
+ rm,
35
+ rmdir,
36
+ stat,
37
+ statfs,
38
+ symlink,
39
+ truncate,
40
+ unlink,
41
+ unwatchFile,
42
+ utimes,
43
+ watch,
44
+ watchFile,
45
+ write,
46
+ writev,
47
+ accessSync,
48
+ appendFileSync,
49
+ chmodSync,
50
+ chownSync,
51
+ closeSync,
52
+ copyFileSync,
53
+ cpSync,
54
+ existsSync,
55
+ fchmodSync,
56
+ fchownSync,
57
+ fdatasyncSync,
58
+ fstatSync,
59
+ fsync,
60
+ fsyncSync,
61
+ ftruncateSync,
62
+ futimesSync,
63
+ lchmodSync,
64
+ lchownSync,
65
+ linkSync,
66
+ lstatSync,
67
+ lutimesSync,
68
+ mkdirSync,
69
+ mkdtempSync,
70
+ openSync,
71
+ opendirSync,
72
+ readSync,
73
+ readFileSync,
74
+ readlinkSync,
75
+ readvSync,
76
+ readdirSync,
77
+ realpathSync,
78
+ renameSync,
79
+ rmSync,
80
+ rmdirSync,
81
+ statSync,
82
+ statfsSync,
83
+ symlinkSync,
84
+ truncateSync,
85
+ unlinkSync,
86
+ utimesSync,
87
+ writeFileSync,
88
+ writeSync,
89
+ writevSync
90
+ } from "./fs/index.js";
2
91
  export { default as vacuum } from "./external/vacuum.js";
3
92
  export { copy, copySync } from "./lib/copy/index.js";
4
93
  export { emptyDir, emptyDirSync } from "./lib/empty/index.js";
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "license": "MIT",
9
9
  "name": "@reliverse/relifso",
10
10
  "type": "module",
11
- "version": "1.1.0",
11
+ "version": "1.1.2",
12
12
  "keywords": [
13
13
  "fs",
14
14
  "file",
@@ -89,7 +89,7 @@
89
89
  "typescript": "^5.8.3",
90
90
  "typescript-eslint": "^8.32.1",
91
91
  "universalify": "^2.0.1",
92
- "unplugin-swc": "^1.5.2",
92
+ "unplugin-swc": "^1.5.3",
93
93
  "verror": "^1.10.1"
94
94
  },
95
95
  "exports": {