@peerbit/shared-fs-cli 0.0.2 → 0.0.4

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.
Files changed (2) hide show
  1. package/README.md +4 -1
  2. package/package.json +3 -3
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.2",
3
+ "version": "0.0.4",
4
4
  "author": "dao.xyz",
5
5
  "repository": "https://github.com/dao-xyz/peerbit-examples",
6
6
  "license": "Apache-2.0",
@@ -35,9 +35,9 @@
35
35
  "dependencies": {
36
36
  "@multiformats/multiaddr": "^13.0.1",
37
37
  "chalk": "^5.3.0",
38
- "peerbit": "^5.2.19",
38
+ "peerbit": "^5.2.20",
39
39
  "yargs": "^17.7.2",
40
- "@peerbit/shared-fs": "0.0.2"
40
+ "@peerbit/shared-fs": "0.0.4"
41
41
  },
42
42
  "devDependencies": {
43
43
  "typescript": "^5.6.3"