@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.
@@ -12,7 +12,7 @@ jobs:
12
12
 
13
13
  - name: Install dependencies
14
14
  run: yarn
15
-
15
+
16
16
  - name: Lint
17
17
  run: yarn lint:check
18
18
 
@@ -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,5 @@
1
+ <component name="ProjectCodeStyleConfiguration">
2
+ <state>
3
+ <option name="USE_PER_PROJECT_SETTINGS" value="true" />
4
+ </state>
5
+ </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>
@@ -0,0 +1,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
5
+ </profile>
6
+ </component>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/hc-spin.iml" filepath="$PROJECT_DIR$/.idea/hc-spin.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="PrettierConfiguration">
4
+ <option name="myConfigurationMode" value="AUTOMATIC" />
5
+ </component>
6
+ </project>
package/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -8,5 +8,5 @@
8
8
  "[json]": {
9
9
  "editor.defaultFormatter": "esbenp.prettier-vscode"
10
10
  },
11
- "editor.formatOnSave": true,
11
+ "editor.formatOnSave": true
12
12
  }
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
@@ -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.2-rc.0"} (built for holochain ${"0.6.1-rc.0"})`).argument(
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": 1768873933,
6
- "narHash": "sha256-CfyzdaeLNGkyAHp3kT5vjvXhA1pVVK7nyDziYxCPsNk=",
5
+ "lastModified": 1778106249,
6
+ "narHash": "sha256-cM/AuKy5tMhwOOQIbha8ZRRMHVfNf7cv2aljIw+qoCg=",
7
7
  "owner": "ipetkov",
8
8
  "repo": "crane",
9
- "rev": "0bda7e7d005ccb5522a76d11ccfbf562b71953ca",
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": 1768135262,
24
- "narHash": "sha256-PVvu7OqHBGWN16zSi6tEmPwwHQ4rLPU9Plvs8/1TUBY=",
23
+ "lastModified": 1778716662,
24
+ "narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
25
25
  "owner": "hercules-ci",
26
26
  "repo": "flake-parts",
27
- "rev": "80daad04eddbbf5a4d883996a73f3f542fa437ac",
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": 1769104114,
40
- "narHash": "sha256-Ebh8YW7J4VRAwhK9XQDf98nWAIvciddzdx7LbhZiwdI=",
39
+ "lastModified": 1778766006,
40
+ "narHash": "sha256-1Kz8XjX3cbDrNTDlg7h69KmELyVqRezlMT3DTuaxWD0=",
41
41
  "owner": "holochain",
42
42
  "repo": "scaffolding",
43
- "rev": "6749c80d54306e4c1ad5831ce2dbdbb9a283ee0c",
43
+ "rev": "d312db8a2e65157afa82d01f7bcc6edb40bc5000",
44
44
  "type": "github"
45
45
  },
46
46
  "original": {
47
47
  "owner": "holochain",
48
- "ref": "v0.600.1-rc.0",
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": 1769035817,
57
- "narHash": "sha256-PVUIsifOy6fRcceBZraLKrPwq83MzRYyfuxDCohv514=",
56
+ "lastModified": 1778596880,
57
+ "narHash": "sha256-uUJZkeqBAZgXtDf0juCRpKOUO3yY1gWEKWGqatWcVjY=",
58
58
  "owner": "holochain",
59
59
  "repo": "holochain",
60
- "rev": "b499bd881580f9e0dd8f4494aafd4b2093a06168",
60
+ "rev": "3bdeaccd1c54fa351e76f7347601dfbc061d5bd4",
61
61
  "type": "github"
62
62
  },
63
63
  "original": {
64
64
  "owner": "holochain",
65
- "ref": "holochain-0.6.1-rc.0",
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": 1769121828,
83
- "narHash": "sha256-o1GUUg9FUADcTOU4gzDDtiuJo61PyrQHCn0e64HRJYU=",
82
+ "lastModified": 1778848447,
83
+ "narHash": "sha256-vLM/fq8v/chMY/hDqRRMCgaasjkRmhoC9m2+wMcuC64=",
84
84
  "owner": "holochain",
85
85
  "repo": "holonix",
86
- "rev": "3e2a4b96b177aaaa233fd744ba82bfe308e85635",
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": 1768402558,
100
- "narHash": "sha256-v7uEmcVGC6tDjrkEZHMJa9DdXnqXwwVxJx9GkZq9P/U=",
99
+ "lastModified": 1778073766,
100
+ "narHash": "sha256-/hG+/9VlZiC1u/UASbIOH0oeiUmKlzqvur++CWSVAbQ=",
101
101
  "owner": "holochain",
102
102
  "repo": "kitsune2",
103
- "rev": "2b809bcf0bff3d493cd5ba230677240432fff58a",
103
+ "rev": "b33fa55606f8bd5020cffacf1ffae41f92d4d296",
104
104
  "type": "github"
105
105
  },
106
106
  "original": {
107
107
  "owner": "holochain",
108
- "ref": "2b809bcf0bff3d493cd5ba230677240432fff58a",
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": 1768940263,
133
- "narHash": "sha256-sJERJIYTKPFXkoz/gBaBtRKke82h4DkX3BBSsKbfbvI=",
132
+ "lastModified": 1778430510,
133
+ "narHash": "sha256-Ti+ZBvW6yrWWAg2szExVTwCd4qOJ3KlVr1tFHfyfi8Q=",
134
134
  "owner": "nixos",
135
135
  "repo": "nixpkgs",
136
- "rev": "3ceaaa8bc963ced4d830e06ea2d0863b6490ff03",
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": 1765674936,
149
- "narHash": "sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo=",
148
+ "lastModified": 1777168982,
149
+ "narHash": "sha256-GOkGPcboWE9BmGCRMLX3worL4EMnsnG8MyKmXNeYuhQ=",
150
150
  "owner": "nix-community",
151
151
  "repo": "nixpkgs.lib",
152
- "rev": "2075416fcb47225d9b68ac469a5c4801a9c4dd85",
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": 1768963622,
183
- "narHash": "sha256-n6VHiUgrYD9yjagzG6ncVVqFbVTsKCI54tR9PNAFCo0=",
173
+ "lastModified": 1778728594,
174
+ "narHash": "sha256-+gIOsOzqWNfn+ThCXBQGcLHVEnaGQW59XjghE9JUIYk=",
184
175
  "owner": "oxalica",
185
176
  "repo": "rust-overlay",
186
- "rev": "2ef5b3362af585a83bafd34e7fc9b1f388c2e5e2",
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.600.3-rc.0",
4
- "holochainVersion": "0.6.1-rc.0",
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.1-rc.0",
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