@peerbit/shared-fs-cli 0.0.2 → 0.0.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/README.md +4 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -35,11 +35,14 @@ authorize that writer.
|
|
|
35
35
|
Install the CLI, then make sure the native adapter is installed:
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
-
npm install -g @peerbit/shared-fs-cli
|
|
38
|
+
npm install -g --omit=peer @peerbit/shared-fs-cli
|
|
39
39
|
peerbit-fs install-adapter
|
|
40
40
|
peerbit-fs status
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
+
`--omit=peer` keeps npm from auto-installing optional browser and React Native
|
|
44
|
+
peer packages that are not needed by the Node.js CLI.
|
|
45
|
+
|
|
43
46
|
`peerbit-fs install-adapter` downloads a prebuilt
|
|
44
47
|
`peerbit-shared-fs-native` binary into `~/.peerbit/shared-fs/bin`. The global
|
|
45
48
|
package install also tries this automatically, but the explicit command is safe
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peerbit/shared-fs-cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"author": "dao.xyz",
|
|
5
5
|
"repository": "https://github.com/dao-xyz/peerbit-examples",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"chalk": "^5.3.0",
|
|
38
38
|
"peerbit": "^5.2.19",
|
|
39
39
|
"yargs": "^17.7.2",
|
|
40
|
-
"@peerbit/shared-fs": "0.0.
|
|
40
|
+
"@peerbit/shared-fs": "0.0.3"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"typescript": "^5.6.3"
|