@reliverse/relifso 1.0.0 → 1.1.0
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/LICENSE +1 -1
- package/README.md +13 -7
- package/package.json +23 -22
- /package/bin/{main.d.ts → mod.d.ts} +0 -0
- /package/bin/{main.js → mod.js} +0 -0
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) Nazar Kornienko (blefnk), Reliverse
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Relifso • Node.js Filesystem Toolkit Library
|
|
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
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.
|
|
6
6
|
|
|
@@ -24,9 +24,16 @@ bun add @reliverse/relifso
|
|
|
24
24
|
# bun • pnpm • yarn • npm
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
+
**Coming soon**:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
bun add -D @reliverse/dler
|
|
31
|
+
bun dler relifso init ...
|
|
32
|
+
```
|
|
33
|
+
|
|
27
34
|
## Usage
|
|
28
35
|
|
|
29
|
-
Check [./example/e-
|
|
36
|
+
Check [./example/e-mod.ts](./example/e-mod.ts) for a full example. You can clone this repo and run via `bun dev`.
|
|
30
37
|
|
|
31
38
|
Relifso works just like `fs-extra` — every method is promise-first, ergonomic, and future-ready.
|
|
32
39
|
|
|
@@ -251,8 +258,8 @@ All async methods return a `Promise` if no callback is passed.
|
|
|
251
258
|
|
|
252
259
|
## TODO
|
|
253
260
|
|
|
254
|
-
- [x] Create usage example in [./example/e-
|
|
255
|
-
- [ ] Ensure [./example/e-
|
|
261
|
+
- [x] Create usage example in [./example/e-mod.ts](./example/e-mod.ts)
|
|
262
|
+
- [ ] Ensure [./example/e-mod.ts](./example/e-mod.ts) works 100% correctly
|
|
256
263
|
- [ ] Consider using [@reliverse/repath](https://github.com/reliverse/repath) instead of just `node:path`.
|
|
257
264
|
- [ ] Pass all `fs-extra` tests with Bun/Vitest (+ fix & improve them).
|
|
258
265
|
- [ ] Convert all jsdoc comments to TypeScript types.
|
|
@@ -279,5 +286,4 @@ If `@reliverse/relifso` reduced the number of lines in your codebase:
|
|
|
279
286
|
|
|
280
287
|
Welcome to the Reliverse — we build tools that builders want.
|
|
281
288
|
|
|
282
|
-
MIT © 2025 [
|
|
283
|
-
`
|
|
289
|
+
[MIT](./LICENSE) © 2025 [Nazar Kornienko (blefnk)](https://github.com/blefnk)
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"name": "@reliverse/relifso",
|
|
10
10
|
"type": "module",
|
|
11
|
-
"version": "1.
|
|
11
|
+
"version": "1.1.0",
|
|
12
12
|
"keywords": [
|
|
13
13
|
"fs",
|
|
14
14
|
"file",
|
|
@@ -34,27 +34,21 @@
|
|
|
34
34
|
"promise"
|
|
35
35
|
],
|
|
36
36
|
"devDependencies": {
|
|
37
|
+
"@babel/plugin-transform-block-scoping": "^7.27.1",
|
|
37
38
|
"@biomejs/biome": "1.9.4",
|
|
38
|
-
"@
|
|
39
|
+
"@cspotcode/source-map-support": "^0.8.1",
|
|
40
|
+
"@eslint/js": "^9.26.0",
|
|
39
41
|
"@reliverse/cli-cfg": "^1.6.5",
|
|
42
|
+
"@reliverse/dler": "^1.2.5",
|
|
40
43
|
"@reliverse/relidler-cfg": "^1.1.3",
|
|
41
|
-
"@stylistic/eslint-plugin": "^4.2.0",
|
|
42
|
-
"@types/node": "^22.14.1",
|
|
43
|
-
"eslint": "^9.25.0",
|
|
44
|
-
"eslint-plugin-no-relative-import-paths": "^1.6.1",
|
|
45
|
-
"eslint-plugin-perfectionist": "^4.11.0",
|
|
46
|
-
"knip": "^5.50.5",
|
|
47
|
-
"typescript": "^5.8.3",
|
|
48
|
-
"typescript-eslint": "^8.30.1",
|
|
49
|
-
"@babel/plugin-transform-block-scoping": "^7.27.0",
|
|
50
|
-
"@cspotcode/source-map-support": "^0.8.1",
|
|
51
44
|
"@rollup/plugin-alias": "^5.1.1",
|
|
52
45
|
"@rollup/plugin-babel": "^6.0.4",
|
|
53
46
|
"@rollup/plugin-commonjs": "^28.0.3",
|
|
54
47
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
55
48
|
"@rollup/plugin-replace": "^6.0.2",
|
|
56
49
|
"@rollup/plugin-terser": "^0.4.4",
|
|
57
|
-
"@
|
|
50
|
+
"@stylistic/eslint-plugin": "^4.2.0",
|
|
51
|
+
"@swc/core": "^1.11.24",
|
|
58
52
|
"@types/eslint": "^9.6.1",
|
|
59
53
|
"@types/fs-extra": "^11.0.4",
|
|
60
54
|
"@types/graceful-fs": "^4.1.9",
|
|
@@ -63,36 +57,43 @@
|
|
|
63
57
|
"@types/klaw-sync": "^6.0.5",
|
|
64
58
|
"@types/minimist": "^1.2.5",
|
|
65
59
|
"@types/mocha": "^10.0.10",
|
|
60
|
+
"@types/node": "^22.15.18",
|
|
66
61
|
"@types/proxyquire": "^1.3.31",
|
|
67
62
|
"@types/universalify": "^1.0.3",
|
|
68
63
|
"@types/verror": "^1.10.11",
|
|
69
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
70
|
-
"@typescript-eslint/parser": "^8.
|
|
64
|
+
"@typescript-eslint/eslint-plugin": "^8.32.1",
|
|
65
|
+
"@typescript-eslint/parser": "^8.32.1",
|
|
71
66
|
"@uwx/fsxt-rollup-plugin-dts": "^6.0.2",
|
|
67
|
+
"eslint": "^9.26.0",
|
|
72
68
|
"eslint-config-google": "^0.14.0",
|
|
69
|
+
"eslint-plugin-no-relative-import-paths": "^1.6.1",
|
|
70
|
+
"eslint-plugin-perfectionist": "^4.13.0",
|
|
73
71
|
"graceful-fs": "^4.2.11",
|
|
74
72
|
"klaw": "^4.1.0",
|
|
75
73
|
"klaw-sync": "^7.0.0",
|
|
74
|
+
"knip": "^5.56.0",
|
|
76
75
|
"minimist": "^1.2.8",
|
|
77
|
-
"mocha": "^11.
|
|
76
|
+
"mocha": "^11.2.2",
|
|
78
77
|
"nyc": "^17.1.0",
|
|
79
78
|
"proxyquire": "^2.1.3",
|
|
80
79
|
"read-dir-files": "^0.1.1",
|
|
81
80
|
"rimraf": "^6.0.1",
|
|
82
|
-
"rollup": "^4.40.
|
|
81
|
+
"rollup": "^4.40.2",
|
|
83
82
|
"rollup-plugin-bundle-size": "^1.0.3",
|
|
84
83
|
"rollup-plugin-typescript-paths": "^1.5.0",
|
|
85
84
|
"ts-node": "^10.9.2",
|
|
86
85
|
"tsconfig-paths": "^4.2.0",
|
|
87
86
|
"tslib": "2.8.1",
|
|
88
|
-
"typedoc": "^0.28.
|
|
87
|
+
"typedoc": "^0.28.4",
|
|
89
88
|
"typedoc-plugin-missing-exports": "^4.0.0",
|
|
89
|
+
"typescript": "^5.8.3",
|
|
90
|
+
"typescript-eslint": "^8.32.1",
|
|
90
91
|
"universalify": "^2.0.1",
|
|
91
|
-
"unplugin-swc": "^1.5.
|
|
92
|
+
"unplugin-swc": "^1.5.2",
|
|
92
93
|
"verror": "^1.10.1"
|
|
93
94
|
},
|
|
94
95
|
"exports": {
|
|
95
|
-
".": "./bin/
|
|
96
|
+
".": "./bin/mod.js"
|
|
96
97
|
},
|
|
97
98
|
"files": [
|
|
98
99
|
"bin",
|
|
@@ -100,8 +101,8 @@
|
|
|
100
101
|
"README.md",
|
|
101
102
|
"LICENSE"
|
|
102
103
|
],
|
|
103
|
-
"main": "./bin/
|
|
104
|
-
"module": "./bin/
|
|
104
|
+
"main": "./bin/mod.js",
|
|
105
|
+
"module": "./bin/mod.js",
|
|
105
106
|
"publishConfig": {
|
|
106
107
|
"access": "public"
|
|
107
108
|
}
|
|
File without changes
|
/package/bin/{main.js → mod.js}
RENAMED
|
File without changes
|