@dbx-tools/fs 0.6.11 → 0.6.13
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 +4 -4
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @dbx-tools/fs
|
|
2
2
|
|
|
3
3
|
Node local-disk `FileSystem` implementation of the `@dbx-tools/shared-fs`
|
|
4
4
|
contract. Built on `BaseFileSystem`, so this package only owns host separator
|
|
@@ -16,13 +16,13 @@ Key features:
|
|
|
16
16
|
- Optional read-only mode
|
|
17
17
|
- Native append / copy / rename via Node when available
|
|
18
18
|
|
|
19
|
-
## Why
|
|
19
|
+
## Why Use This Over Native Node fs
|
|
20
20
|
|
|
21
21
|
Use this when callers should speak the portable `FileSystem` interface (the same
|
|
22
22
|
surface FTP, object storage, or Databricks mounts can implement) rather than
|
|
23
23
|
Node APIs directly. Reach for `node:fs` when you only need one-off local I/O.
|
|
24
24
|
|
|
25
|
-
## Quick
|
|
25
|
+
## Quick Start
|
|
26
26
|
|
|
27
27
|
```ts
|
|
28
28
|
import { LocalFileSystem, localFS } from "@dbx-tools/fs";
|
|
@@ -44,7 +44,7 @@ await work.init(); // only needed when handing the root to `node:fs` or a subpro
|
|
|
44
44
|
const skills = await localFS.rebuildFS("agent-skills", (scratch) => downloadInto(scratch.root));
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
##
|
|
47
|
+
## Modules
|
|
48
48
|
|
|
49
49
|
| Export | Role |
|
|
50
50
|
| ---------------------------------- | ------------------------------------------------------ |
|
package/package.json
CHANGED
|
@@ -11,16 +11,16 @@
|
|
|
11
11
|
"typescript": "^5.9.3"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@dbx-tools/
|
|
15
|
-
"@dbx-tools/
|
|
16
|
-
"@dbx-tools/shared-
|
|
14
|
+
"@dbx-tools/shared-core": "0.6.13",
|
|
15
|
+
"@dbx-tools/appkit": "0.6.13",
|
|
16
|
+
"@dbx-tools/shared-fs": "0.6.13"
|
|
17
17
|
},
|
|
18
18
|
"main": "./lib/index.js",
|
|
19
19
|
"license": "UNLICENSED",
|
|
20
20
|
"publishConfig": {
|
|
21
21
|
"access": "public"
|
|
22
22
|
},
|
|
23
|
-
"version": "0.6.
|
|
23
|
+
"version": "0.6.13",
|
|
24
24
|
"types": "./lib/index.d.ts",
|
|
25
25
|
"type": "module",
|
|
26
26
|
"exports": {
|