@holochain/hc-spin 0.600.0-dev.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/.github/workflows/test.yaml +8 -2
- package/CHANGELOG.md +11 -0
- package/README.md +15 -7
- package/dist/main/index.js +309 -295
- package/docs/DEVSETUP.md +12 -21
- package/electron.vite.config.ts +6 -0
- package/flake.lock +234 -0
- package/flake.nix +31 -0
- package/package.json +9 -8
- package/src/main/index.ts +30 -20
- package/src/main/menu.ts +23 -23
- package/src/main/validateArgs.ts +16 -1
- package/src/main/vite-env.d.ts +3 -0
- package/src/main/windows.ts +6 -5
- package/tsconfig.node.json +3 -2
|
@@ -10,8 +10,14 @@ jobs:
|
|
|
10
10
|
# Checks out a copy of your repository on the ubuntu-latest machine
|
|
11
11
|
- uses: actions/checkout@v3
|
|
12
12
|
|
|
13
|
-
- name: Install dependencies
|
|
14
|
-
run: yarn
|
|
13
|
+
- name: Install dependencies
|
|
14
|
+
run: yarn
|
|
15
|
+
|
|
16
|
+
- name: Lint
|
|
17
|
+
run: yarn lint:check
|
|
18
|
+
|
|
19
|
+
- name: Build
|
|
20
|
+
run: yarn build
|
|
15
21
|
|
|
16
22
|
ci_pass:
|
|
17
23
|
if: ${{ always() }}
|
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
|
9
9
|
### Changed
|
|
10
10
|
### Removed
|
|
11
11
|
|
|
12
|
+
## 2025-11-06: v0.600.0-rc.0
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
- A new argument `--target-arc-factor` to support overriding the conductor configuration `network.target_arc_factor` in all launched conductors.
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
- Fixed development environment setup and developer documentation outlining how to use it.
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
- Check linting in CI workflow
|
|
22
|
+
|
|
12
23
|
## 2025-10-13: v0.600.0-dev.0
|
|
13
24
|
|
|
14
25
|
### Changed
|
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
|
```
|