@holochain/hc-spin 0.600.0-rc.0 → 0.600.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/README.md +15 -7
- package/dist/main/index.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -8,21 +8,29 @@ To install the latest version compatible with **holochain 0.4.x**:
|
|
|
8
8
|
|
|
9
9
|
⚠️ Requires `@holochain/client 0.18.0` or newer ⚠️
|
|
10
10
|
|
|
11
|
-
```
|
|
11
|
+
```sh
|
|
12
12
|
npm install --save-dev @holochain/hc-spin@">=0.400.0 <0.500.0"
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
To install the latest version compatible with **holochain 0.5.x**:
|
|
16
16
|
|
|
17
|
-
⚠️ Requires `@holochain/client 0.19.0
|
|
17
|
+
⚠️ Requires `@holochain/client 0.19.0` or newer ⚠️
|
|
18
18
|
|
|
19
|
-
```
|
|
19
|
+
```sh
|
|
20
20
|
npm install --save-dev @holochain/hc-spin@">=0.500.0 <0.600.0"
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
To install the latest version compatible with **holochain 0.6.x**:
|
|
24
24
|
|
|
25
|
+
⚠️ Requires `@holochain/client 0.20.0` or newer ⚠️
|
|
26
|
+
|
|
27
|
+
```sh
|
|
28
|
+
npm install --save-dev @holochain/hc-spin@">=0.600.0 <0.700.0"
|
|
25
29
|
```
|
|
30
|
+
|
|
31
|
+
## Usage (holochain 0.6)
|
|
32
|
+
|
|
33
|
+
```txt
|
|
26
34
|
Usage: hc-spin [options] <path>
|
|
27
35
|
|
|
28
36
|
CLI to run Holochain apps during development.
|
|
@@ -52,18 +60,18 @@ Options:
|
|
|
52
60
|
|
|
53
61
|
Run a .happ file with 2 agents connected to the UI of your dev server running on port 8888:
|
|
54
62
|
|
|
55
|
-
```
|
|
63
|
+
```sh
|
|
56
64
|
hc-spin -n 2 --ui-port 8888 path/to/your/happ-file.happ
|
|
57
65
|
```
|
|
58
66
|
|
|
59
67
|
Run a fully packaged .webhapp for 2 agents:
|
|
60
68
|
|
|
61
|
-
```
|
|
69
|
+
```sh
|
|
62
70
|
hc-spin -n 2 path/to/your/webhapp-file.webhapp
|
|
63
71
|
```
|
|
64
72
|
|
|
65
73
|
Run a .happ file with 2 agents connected to the UI assets residing at the provided path:
|
|
66
74
|
|
|
67
|
-
```
|
|
75
|
+
```sh
|
|
68
76
|
hc-spin -n 2 --ui-path path/to/directory/containing/ui/assets path/to/your/happ-file.happ
|
|
69
77
|
```
|
package/dist/main/index.js
CHANGED
|
@@ -12563,7 +12563,7 @@ function setLinkOpenHandlers(browserWindow) {
|
|
|
12563
12563
|
}
|
|
12564
12564
|
const rustUtils = require("@holochain/hc-spin-rust-utils");
|
|
12565
12565
|
const cli = new commander.Command();
|
|
12566
|
-
cli.name("hc-spin").description("CLI to run Holochain apps during development.").version(`${"0.600.0
|
|
12566
|
+
cli.name("hc-spin").description("CLI to run Holochain apps during development.").version(`${"0.600.0"} (built for holochain ${"0.6.0"})`).argument(
|
|
12567
12567
|
"<path>",
|
|
12568
12568
|
"Path to .webhapp or .happ file to launch. If a .happ file is passed, either a UI path must be specified via --ui-path or a port pointing to a localhost server via --ui-port"
|
|
12569
12569
|
).option(
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holochain/hc-spin",
|
|
3
|
-
"version": "0.600.0
|
|
4
|
-
"holochainVersion": "0.6.0
|
|
3
|
+
"version": "0.600.0",
|
|
4
|
+
"holochainVersion": "0.6.0",
|
|
5
5
|
"description": "CLI to run Holochain apps during development.",
|
|
6
6
|
"author": "matthme",
|
|
7
7
|
"homepage": "https://developer.holochain.org",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@electron-toolkit/preload": "^3.0.0",
|
|
37
37
|
"@electron-toolkit/utils": "^3.0.0",
|
|
38
|
-
"@holochain/client": "^0.20.0
|
|
39
|
-
"@holochain/hc-spin-rust-utils": "0.600.0
|
|
38
|
+
"@holochain/client": "^0.20.0",
|
|
39
|
+
"@holochain/hc-spin-rust-utils": "0.600.0",
|
|
40
40
|
"@msgpack/msgpack": "^2.8.0",
|
|
41
41
|
"bufferutil": "4.0.8",
|
|
42
42
|
"commander": "11.1.0",
|