@reliverse/relifso 1.1.1 → 1.1.3
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/bin/impl/subindex.d.ts +7 -2
- package/bin/impl/subindex.js +103 -2
- package/package.json +3 -3
package/bin/impl/subindex.d.ts
CHANGED
|
@@ -1,7 +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 { mkdirSync } 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";
|
|
5
5
|
export { default as vacuum } from "./external/vacuum.js";
|
|
6
6
|
export { copy, copySync } from "./lib/copy/index.js";
|
|
7
7
|
export { emptyDir, emptyDirSync } from "./lib/empty/index.js";
|
|
@@ -19,7 +19,12 @@ export { mapStructure, mapStructureOrdered } from "./fs/map-structure.js";
|
|
|
19
19
|
export { readLines, readLinesSync } from "./fs/read-lines.js";
|
|
20
20
|
export { readText, readTextSync } from "./fs/read-text.js";
|
|
21
21
|
export { writeFile } from "./fs/write-file.js";
|
|
22
|
-
export
|
|
22
|
+
export { readJson, readJson as readJSON, // Alias
|
|
23
|
+
readJsonSync, readJsonSync as readJSONSync, // Alias
|
|
24
|
+
writeJson, writeJson as writeJSON, // Alias
|
|
25
|
+
writeJsonSync, writeJsonSync as writeJSONSync, // Alias
|
|
26
|
+
outputJson, outputJson as outputJSON, // Alias
|
|
27
|
+
outputJsonSync, outputJsonSync as outputJSONSync } from "./json.js";
|
|
23
28
|
/**
|
|
24
29
|
* Resolve a child file of a folder.
|
|
25
30
|
* @param path The parent folder path
|
package/bin/impl/subindex.js
CHANGED
|
@@ -1,5 +1,93 @@
|
|
|
1
1
|
export * from "./fs/index.js";
|
|
2
|
-
export {
|
|
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";
|
|
3
91
|
export { default as vacuum } from "./external/vacuum.js";
|
|
4
92
|
export { copy, copySync } from "./lib/copy/index.js";
|
|
5
93
|
export { emptyDir, emptyDirSync } from "./lib/empty/index.js";
|
|
@@ -30,7 +118,20 @@ export { readLines, readLinesSync } from "./fs/read-lines.js";
|
|
|
30
118
|
export { readText, readTextSync } from "./fs/read-text.js";
|
|
31
119
|
export { writeFile } from "./fs/write-file.js";
|
|
32
120
|
import * as fs from "./fs/index.js";
|
|
33
|
-
export
|
|
121
|
+
export {
|
|
122
|
+
readJson,
|
|
123
|
+
readJson as readJSON,
|
|
124
|
+
readJsonSync,
|
|
125
|
+
readJsonSync as readJSONSync,
|
|
126
|
+
writeJson,
|
|
127
|
+
writeJson as writeJSON,
|
|
128
|
+
writeJsonSync,
|
|
129
|
+
writeJsonSync as writeJSONSync,
|
|
130
|
+
outputJson,
|
|
131
|
+
outputJson as outputJSON,
|
|
132
|
+
outputJsonSync,
|
|
133
|
+
outputJsonSync as outputJSONSync
|
|
134
|
+
} from "./json.js";
|
|
34
135
|
export function resolve(path, child) {
|
|
35
136
|
if (path.endsWith("/") || path.endsWith("\\")) {
|
|
36
137
|
return path + child;
|
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.
|
|
11
|
+
"version": "1.1.3",
|
|
12
12
|
"keywords": [
|
|
13
13
|
"fs",
|
|
14
14
|
"file",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@cspotcode/source-map-support": "^0.8.1",
|
|
40
40
|
"@eslint/js": "^9.26.0",
|
|
41
41
|
"@reliverse/cli-cfg": "^1.6.5",
|
|
42
|
-
"@reliverse/dler": "^1.2.
|
|
42
|
+
"@reliverse/dler": "^1.2.6",
|
|
43
43
|
"@reliverse/relidler-cfg": "^1.1.3",
|
|
44
44
|
"@rollup/plugin-alias": "^5.1.1",
|
|
45
45
|
"@rollup/plugin-babel": "^6.0.4",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"klaw-sync": "^7.0.0",
|
|
74
74
|
"knip": "^5.56.0",
|
|
75
75
|
"minimist": "^1.2.8",
|
|
76
|
-
"mocha": "^11.
|
|
76
|
+
"mocha": "^11.3.0",
|
|
77
77
|
"nyc": "^17.1.0",
|
|
78
78
|
"proxyquire": "^2.1.3",
|
|
79
79
|
"read-dir-files": "^0.1.1",
|