@holochain/hc-spin 0.600.3-rc.0 → 0.601.1
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 +1 -1
- package/.idea/codeStyles/Project.xml +59 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/hc-spin.iml +8 -0
- package/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/prettier.xml +6 -0
- package/.idea/vcs.xml +6 -0
- package/.vscode/settings.json +1 -1
- package/CHANGELOG.md +22 -0
- package/dist/main/index.js +1 -1
- package/flake.lock +33 -42
- package/package.json +6 -4
- package/.envrc +0 -1
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<component name="ProjectCodeStyleConfiguration">
|
|
2
|
+
<code_scheme name="Project" version="173">
|
|
3
|
+
<HTMLCodeStyleSettings>
|
|
4
|
+
<option name="HTML_SPACE_INSIDE_EMPTY_TAG" value="true" />
|
|
5
|
+
</HTMLCodeStyleSettings>
|
|
6
|
+
<JSCodeStyleSettings version="0">
|
|
7
|
+
<option name="FORCE_SEMICOLON_STYLE" value="true" />
|
|
8
|
+
<option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
|
|
9
|
+
<option name="USE_DOUBLE_QUOTES" value="false" />
|
|
10
|
+
<option name="FORCE_QUOTE_STYlE" value="true" />
|
|
11
|
+
<option name="ENFORCE_TRAILING_COMMA" value="Remove" />
|
|
12
|
+
<option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
|
|
13
|
+
<option name="SPACES_WITHIN_IMPORTS" value="true" />
|
|
14
|
+
</JSCodeStyleSettings>
|
|
15
|
+
<TypeScriptCodeStyleSettings version="0">
|
|
16
|
+
<option name="FORCE_SEMICOLON_STYLE" value="true" />
|
|
17
|
+
<option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
|
|
18
|
+
<option name="USE_DOUBLE_QUOTES" value="false" />
|
|
19
|
+
<option name="FORCE_QUOTE_STYlE" value="true" />
|
|
20
|
+
<option name="ENFORCE_TRAILING_COMMA" value="Remove" />
|
|
21
|
+
<option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
|
|
22
|
+
<option name="SPACES_WITHIN_IMPORTS" value="true" />
|
|
23
|
+
</TypeScriptCodeStyleSettings>
|
|
24
|
+
<VueCodeStyleSettings>
|
|
25
|
+
<option name="INTERPOLATION_NEW_LINE_AFTER_START_DELIMITER" value="false" />
|
|
26
|
+
<option name="INTERPOLATION_NEW_LINE_BEFORE_END_DELIMITER" value="false" />
|
|
27
|
+
</VueCodeStyleSettings>
|
|
28
|
+
<codeStyleSettings language="HTML">
|
|
29
|
+
<option name="SOFT_MARGINS" value="100" />
|
|
30
|
+
<indentOptions>
|
|
31
|
+
<option name="INDENT_SIZE" value="2" />
|
|
32
|
+
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
|
33
|
+
<option name="TAB_SIZE" value="2" />
|
|
34
|
+
</indentOptions>
|
|
35
|
+
</codeStyleSettings>
|
|
36
|
+
<codeStyleSettings language="JavaScript">
|
|
37
|
+
<option name="SOFT_MARGINS" value="100" />
|
|
38
|
+
<indentOptions>
|
|
39
|
+
<option name="INDENT_SIZE" value="2" />
|
|
40
|
+
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
|
41
|
+
<option name="TAB_SIZE" value="2" />
|
|
42
|
+
</indentOptions>
|
|
43
|
+
</codeStyleSettings>
|
|
44
|
+
<codeStyleSettings language="TypeScript">
|
|
45
|
+
<option name="SOFT_MARGINS" value="100" />
|
|
46
|
+
<indentOptions>
|
|
47
|
+
<option name="INDENT_SIZE" value="2" />
|
|
48
|
+
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
|
49
|
+
<option name="TAB_SIZE" value="2" />
|
|
50
|
+
</indentOptions>
|
|
51
|
+
</codeStyleSettings>
|
|
52
|
+
<codeStyleSettings language="Vue">
|
|
53
|
+
<option name="SOFT_MARGINS" value="100" />
|
|
54
|
+
<indentOptions>
|
|
55
|
+
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
|
56
|
+
</indentOptions>
|
|
57
|
+
</codeStyleSettings>
|
|
58
|
+
</code_scheme>
|
|
59
|
+
</component>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="EMPTY_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager">
|
|
4
|
+
<content url="file://$MODULE_DIR$" />
|
|
5
|
+
<orderEntry type="inheritedJdk" />
|
|
6
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
7
|
+
</component>
|
|
8
|
+
</module>
|
package/.idea/vcs.xml
ADDED
package/.vscode/settings.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -4,16 +4,26 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
|
4
4
|
|
|
5
5
|
## \[Unreleased\]
|
|
6
6
|
|
|
7
|
+
## 2026-05-14: v0.601.0
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Bumped to holochain 0.6.1
|
|
12
|
+
|
|
7
13
|
## 2026-02-13: v0.600.3-rc.0
|
|
8
14
|
|
|
9
15
|
### Changed
|
|
16
|
+
|
|
10
17
|
- Holochain is now run with the iroh transport. The argument `--signaling-url` has been replaced with `--relay-url`.
|
|
18
|
+
|
|
11
19
|
### Removed
|
|
20
|
+
|
|
12
21
|
- Removed CLI option `--transport` as holochain is run with `quic` iroh transport.
|
|
13
22
|
|
|
14
23
|
## 2026-01-22: v0.600.2-rc.0
|
|
15
24
|
|
|
16
25
|
### Changed
|
|
26
|
+
|
|
17
27
|
- Added a CLI option `--transport` to choose between `quic` and `webrtc`. `quic` is used in combination with the iroh transport in Holochain, `webrtc` with tx5. The default transport in Holochain is iroh, so the default for hc-spin is `quic`. If no transport option is passed in on the command line, `quic` is used.
|
|
18
28
|
|
|
19
29
|
## 2026-01-22: v0.600.1-rc.0
|
|
@@ -25,37 +35,49 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
|
25
35
|
## 2025-11-06: v0.600.0-rc.0
|
|
26
36
|
|
|
27
37
|
### Added
|
|
38
|
+
|
|
28
39
|
- A new argument `--target-arc-factor` to support overriding the conductor configuration `network.target_arc_factor` in all launched conductors.
|
|
29
40
|
|
|
30
41
|
### Fixed
|
|
42
|
+
|
|
31
43
|
- Fixed development environment setup and developer documentation outlining how to use it.
|
|
32
44
|
|
|
33
45
|
### Changed
|
|
46
|
+
|
|
34
47
|
- Check linting in CI workflow
|
|
35
48
|
|
|
36
49
|
## 2025-10-13: v0.600.0-dev.0
|
|
37
50
|
|
|
38
51
|
### Changed
|
|
52
|
+
|
|
39
53
|
- Bumped to holochain 0.6.0-dev.28
|
|
40
54
|
|
|
41
55
|
## 2025-07-31: v0.500.3
|
|
56
|
+
|
|
42
57
|
### Fixed
|
|
58
|
+
|
|
43
59
|
- The `--network-seed` argument to hc sandbox was not actually passed on to hc sandbox. Fixed with [#33](https://github.com/holochain/hc-spin/pull/33)
|
|
44
60
|
|
|
45
61
|
## 2025-07-09: v0.500.2
|
|
62
|
+
|
|
46
63
|
### Fixed
|
|
64
|
+
|
|
47
65
|
- Fixes issue [#31](https://github.com/holochain/hc-spin/issues/30) that made initial zome calls fail in cases where the UI loaded faster than the zome call signing logic was ready (PR [#31](https://github.com/holochain/hc-spin/pull/31))
|
|
48
66
|
|
|
49
67
|
## 2025-04-30: v0.500.1
|
|
68
|
+
|
|
50
69
|
### Fixed
|
|
70
|
+
|
|
51
71
|
- Fixed an error that could prevent hc-spin to start up properly (`ERROR: error: invalid value 'undefined' for '--bootstrap <BOOTSTRAP>': relative URL without a base`) ([#25](https://github.com/holochain/hc-spin/pull/25))
|
|
52
72
|
|
|
53
73
|
## 2025-04-10: v0.500.0-rc.0
|
|
54
74
|
|
|
55
75
|
### Changed
|
|
76
|
+
|
|
56
77
|
- Updated to be compatible with holochain 0.5.0-rc.0
|
|
57
78
|
|
|
58
79
|
## 2025-03-05: v0.500.0-dev.1
|
|
59
80
|
|
|
60
81
|
### Changed
|
|
82
|
+
|
|
61
83
|
- Updated `@holochain/client` and `@holochain/hc-spin-rust-utils` to be compatible with holochain 0.5.0-dev.21
|
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.
|
|
12566
|
+
cli.name("hc-spin").description("CLI to run Holochain apps during development.").version(`${"0.601.1"} (built for holochain ${"0.6.1"})`).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/flake.lock
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"nodes": {
|
|
3
3
|
"crane": {
|
|
4
4
|
"locked": {
|
|
5
|
-
"lastModified":
|
|
6
|
-
"narHash": "sha256-
|
|
5
|
+
"lastModified": 1778106249,
|
|
6
|
+
"narHash": "sha256-cM/AuKy5tMhwOOQIbha8ZRRMHVfNf7cv2aljIw+qoCg=",
|
|
7
7
|
"owner": "ipetkov",
|
|
8
8
|
"repo": "crane",
|
|
9
|
-
"rev": "
|
|
9
|
+
"rev": "6d015ea29630b7ad2402841386da2cb617a470a7",
|
|
10
10
|
"type": "github"
|
|
11
11
|
},
|
|
12
12
|
"original": {
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"nixpkgs-lib": "nixpkgs-lib"
|
|
21
21
|
},
|
|
22
22
|
"locked": {
|
|
23
|
-
"lastModified":
|
|
24
|
-
"narHash": "sha256-
|
|
23
|
+
"lastModified": 1778716662,
|
|
24
|
+
"narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
|
|
25
25
|
"owner": "hercules-ci",
|
|
26
26
|
"repo": "flake-parts",
|
|
27
|
-
"rev": "
|
|
27
|
+
"rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
|
|
28
28
|
"type": "github"
|
|
29
29
|
},
|
|
30
30
|
"original": {
|
|
@@ -36,16 +36,16 @@
|
|
|
36
36
|
"hc-scaffold": {
|
|
37
37
|
"flake": false,
|
|
38
38
|
"locked": {
|
|
39
|
-
"lastModified":
|
|
40
|
-
"narHash": "sha256-
|
|
39
|
+
"lastModified": 1778766006,
|
|
40
|
+
"narHash": "sha256-1Kz8XjX3cbDrNTDlg7h69KmELyVqRezlMT3DTuaxWD0=",
|
|
41
41
|
"owner": "holochain",
|
|
42
42
|
"repo": "scaffolding",
|
|
43
|
-
"rev": "
|
|
43
|
+
"rev": "d312db8a2e65157afa82d01f7bcc6edb40bc5000",
|
|
44
44
|
"type": "github"
|
|
45
45
|
},
|
|
46
46
|
"original": {
|
|
47
47
|
"owner": "holochain",
|
|
48
|
-
"ref": "v0.
|
|
48
|
+
"ref": "v0.601.0",
|
|
49
49
|
"repo": "scaffolding",
|
|
50
50
|
"type": "github"
|
|
51
51
|
}
|
|
@@ -53,16 +53,16 @@
|
|
|
53
53
|
"holochain": {
|
|
54
54
|
"flake": false,
|
|
55
55
|
"locked": {
|
|
56
|
-
"lastModified":
|
|
57
|
-
"narHash": "sha256-
|
|
56
|
+
"lastModified": 1778596880,
|
|
57
|
+
"narHash": "sha256-uUJZkeqBAZgXtDf0juCRpKOUO3yY1gWEKWGqatWcVjY=",
|
|
58
58
|
"owner": "holochain",
|
|
59
59
|
"repo": "holochain",
|
|
60
|
-
"rev": "
|
|
60
|
+
"rev": "3bdeaccd1c54fa351e76f7347601dfbc061d5bd4",
|
|
61
61
|
"type": "github"
|
|
62
62
|
},
|
|
63
63
|
"original": {
|
|
64
64
|
"owner": "holochain",
|
|
65
|
-
"ref": "holochain-0.6.1
|
|
65
|
+
"ref": "holochain-0.6.1",
|
|
66
66
|
"repo": "holochain",
|
|
67
67
|
"type": "github"
|
|
68
68
|
}
|
|
@@ -79,11 +79,11 @@
|
|
|
79
79
|
"rust-overlay": "rust-overlay"
|
|
80
80
|
},
|
|
81
81
|
"locked": {
|
|
82
|
-
"lastModified":
|
|
83
|
-
"narHash": "sha256-
|
|
82
|
+
"lastModified": 1778848447,
|
|
83
|
+
"narHash": "sha256-vLM/fq8v/chMY/hDqRRMCgaasjkRmhoC9m2+wMcuC64=",
|
|
84
84
|
"owner": "holochain",
|
|
85
85
|
"repo": "holonix",
|
|
86
|
-
"rev": "
|
|
86
|
+
"rev": "a6f839604fc7078d689ce683b88582b08c75b171",
|
|
87
87
|
"type": "github"
|
|
88
88
|
},
|
|
89
89
|
"original": {
|
|
@@ -96,16 +96,16 @@
|
|
|
96
96
|
"kitsune2": {
|
|
97
97
|
"flake": false,
|
|
98
98
|
"locked": {
|
|
99
|
-
"lastModified":
|
|
100
|
-
"narHash": "sha256
|
|
99
|
+
"lastModified": 1778073766,
|
|
100
|
+
"narHash": "sha256-/hG+/9VlZiC1u/UASbIOH0oeiUmKlzqvur++CWSVAbQ=",
|
|
101
101
|
"owner": "holochain",
|
|
102
102
|
"repo": "kitsune2",
|
|
103
|
-
"rev": "
|
|
103
|
+
"rev": "b33fa55606f8bd5020cffacf1ffae41f92d4d296",
|
|
104
104
|
"type": "github"
|
|
105
105
|
},
|
|
106
106
|
"original": {
|
|
107
107
|
"owner": "holochain",
|
|
108
|
-
"ref": "
|
|
108
|
+
"ref": "v0.4.1",
|
|
109
109
|
"repo": "kitsune2",
|
|
110
110
|
"type": "github"
|
|
111
111
|
}
|
|
@@ -129,11 +129,11 @@
|
|
|
129
129
|
},
|
|
130
130
|
"nixpkgs": {
|
|
131
131
|
"locked": {
|
|
132
|
-
"lastModified":
|
|
133
|
-
"narHash": "sha256-
|
|
132
|
+
"lastModified": 1778430510,
|
|
133
|
+
"narHash": "sha256-Ti+ZBvW6yrWWAg2szExVTwCd4qOJ3KlVr1tFHfyfi8Q=",
|
|
134
134
|
"owner": "nixos",
|
|
135
135
|
"repo": "nixpkgs",
|
|
136
|
-
"rev": "
|
|
136
|
+
"rev": "8fd9daa3db09ced9700431c5b7ad0e8ba199b575",
|
|
137
137
|
"type": "github"
|
|
138
138
|
},
|
|
139
139
|
"original": {
|
|
@@ -145,11 +145,11 @@
|
|
|
145
145
|
},
|
|
146
146
|
"nixpkgs-lib": {
|
|
147
147
|
"locked": {
|
|
148
|
-
"lastModified":
|
|
149
|
-
"narHash": "sha256-
|
|
148
|
+
"lastModified": 1777168982,
|
|
149
|
+
"narHash": "sha256-GOkGPcboWE9BmGCRMLX3worL4EMnsnG8MyKmXNeYuhQ=",
|
|
150
150
|
"owner": "nix-community",
|
|
151
151
|
"repo": "nixpkgs.lib",
|
|
152
|
-
"rev": "
|
|
152
|
+
"rev": "f5901329dade4a6ea039af1433fb087bd9c1fe14",
|
|
153
153
|
"type": "github"
|
|
154
154
|
},
|
|
155
155
|
"original": {
|
|
@@ -160,30 +160,21 @@
|
|
|
160
160
|
},
|
|
161
161
|
"root": {
|
|
162
162
|
"inputs": {
|
|
163
|
-
"flake-parts": [
|
|
164
|
-
"holonix",
|
|
165
|
-
"flake-parts"
|
|
166
|
-
],
|
|
163
|
+
"flake-parts": ["holonix", "flake-parts"],
|
|
167
164
|
"holonix": "holonix",
|
|
168
|
-
"nixpkgs": [
|
|
169
|
-
"holonix",
|
|
170
|
-
"nixpkgs"
|
|
171
|
-
]
|
|
165
|
+
"nixpkgs": ["holonix", "nixpkgs"]
|
|
172
166
|
}
|
|
173
167
|
},
|
|
174
168
|
"rust-overlay": {
|
|
175
169
|
"inputs": {
|
|
176
|
-
"nixpkgs": [
|
|
177
|
-
"holonix",
|
|
178
|
-
"nixpkgs"
|
|
179
|
-
]
|
|
170
|
+
"nixpkgs": ["holonix", "nixpkgs"]
|
|
180
171
|
},
|
|
181
172
|
"locked": {
|
|
182
|
-
"lastModified":
|
|
183
|
-
"narHash": "sha256
|
|
173
|
+
"lastModified": 1778728594,
|
|
174
|
+
"narHash": "sha256-+gIOsOzqWNfn+ThCXBQGcLHVEnaGQW59XjghE9JUIYk=",
|
|
184
175
|
"owner": "oxalica",
|
|
185
176
|
"repo": "rust-overlay",
|
|
186
|
-
"rev": "
|
|
177
|
+
"rev": "83a17ebffcfacb17b49e1b5e9dc15eed07936648",
|
|
187
178
|
"type": "github"
|
|
188
179
|
},
|
|
189
180
|
"original": {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holochain/hc-spin",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"holochainVersion": "0.6.1
|
|
3
|
+
"version": "0.601.1",
|
|
4
|
+
"holochainVersion": "0.6.1",
|
|
5
5
|
"description": "CLI to run Holochain apps during development.",
|
|
6
6
|
"author": "matthme",
|
|
7
7
|
"homepage": "https://developer.holochain.org",
|
|
@@ -24,19 +24,21 @@
|
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"format": "prettier --write .",
|
|
27
|
+
"format:check": "prettier --check .",
|
|
27
28
|
"lint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix",
|
|
28
29
|
"lint:check": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts",
|
|
29
30
|
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
|
|
30
31
|
"typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false",
|
|
31
32
|
"typecheck": "yarn run typecheck:node && yarn run typecheck:web",
|
|
32
33
|
"start": "node dist/cli.js",
|
|
33
|
-
"build": "rimraf dist && yarn run typecheck && electron-vite build && mv ./out ./dist && cp ./cli/cli.js ./dist/cli.js && node ./scripts/replace-electron-version.js"
|
|
34
|
+
"build": "rimraf dist && yarn run typecheck && electron-vite build && mv ./out ./dist && cp ./cli/cli.js ./dist/cli.js && node ./scripts/replace-electron-version.js",
|
|
35
|
+
"prepublishOnly": "npm run format:check && npm run lint:check && npm run build"
|
|
34
36
|
},
|
|
35
37
|
"dependencies": {
|
|
36
38
|
"@electron-toolkit/preload": "^3.0.0",
|
|
37
39
|
"@electron-toolkit/utils": "^3.0.0",
|
|
38
40
|
"@holochain/client": "^0.20.0",
|
|
39
|
-
"@holochain/hc-spin-rust-utils": "0.601.
|
|
41
|
+
"@holochain/hc-spin-rust-utils": "0.601.3",
|
|
40
42
|
"@msgpack/msgpack": "^2.8.0",
|
|
41
43
|
"bufferutil": "4.0.8",
|
|
42
44
|
"commander": "11.1.0",
|
package/.envrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
use flake
|