@holochain/hc-spin 0.400.0-rc.0 → 0.400.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/README.md CHANGED
@@ -4,31 +4,23 @@ CLI to run Holochain apps in development mode.
4
4
 
5
5
  ## Installation
6
6
 
7
- To install the latest version compatible with **holochain 0.1.x**:
8
-
9
- ⚠️ Requires `@holochain/client 0.12.6` or newer ⚠️
10
-
11
- ```
12
- npm install --save-dev @holochain/hc-spin@">=0.100.0 <0.200.0"
13
- ```
14
-
15
- To install the latest version compatible with **holochain 0.2.x**:
7
+ To install the latest version compatible with **holochain 0.3.x**:
16
8
 
17
- ⚠️ Requires `@holochain/client 0.16.2` or newer ⚠️
9
+ ⚠️ Requires `@holochain/client 0.17.0-dev.5` or newer ⚠️
18
10
 
19
11
  ```
20
- npm install --save-dev @holochain/hc-spin@">=0.200.0 <0.300.0"
12
+ npm install --save-dev @holochain/hc-spin@">=0.300.0 <0.400.0"
21
13
  ```
22
14
 
23
- To install the latest version compatible with **holochain 0.3.x**:
15
+ To install the latest version compatible with **holochain 0.4.x**:
24
16
 
25
- ⚠️ Requires `@holochain/client 0.17.0-dev.5` or newer ⚠️
17
+ ⚠️ Requires `@holochain/client 0.18.0-rc.1` or newer ⚠️
26
18
 
27
19
  ```
28
- npm install --save-dev @holochain/hc-spin@">=0.300.0 <0.400.0"
20
+ npm install --save-dev @holochain/hc-spin@">=0.400.0 <0.500.0"
29
21
  ```
30
22
 
31
- ## Usage (holochain 0.2)
23
+ ## Usage (holochain 0.4)
32
24
 
33
25
  ```
34
26
  Usage: hc-spin [options] <path>
@@ -52,6 +44,7 @@ Options:
52
44
  --ui-port <number> Port pointing to a localhost dev server that serves your UI assets.
53
45
  --signaling-url <url> Url of the signaling server to use. By default, hc spin spins up a local development signaling server for you
54
46
  but this argument allows you to specify a custom one.
47
+ --open-devtools Automatically open the devtools on startup.
55
48
  -h, --help display help for command
56
49
  ```
57
50
 
package/dist/cli.js CHANGED
File without changes
@@ -786,18 +786,18 @@ var CapAccessType;
786
786
  CapAccessType2["Transferable"] = "Transferable";
787
787
  CapAccessType2["Assigned"] = "Assigned";
788
788
  })(CapAccessType || (CapAccessType = {}));
789
- var DhtOpType;
790
- (function(DhtOpType2) {
791
- DhtOpType2["StoreRecord"] = "StoreRecord";
792
- DhtOpType2["StoreEntry"] = "StoreEntry";
793
- DhtOpType2["RegisterAgentActivity"] = "RegisterAgentActivity";
794
- DhtOpType2["RegisterUpdatedContent"] = "RegisterUpdatedContent";
795
- DhtOpType2["RegisterUpdatedRecord"] = "RegisterUpdatedRecord";
796
- DhtOpType2["RegisterDeletedBy"] = "RegisterDeletedBy";
797
- DhtOpType2["RegisterDeletedEntryAction"] = "RegisterDeletedEntryAction";
798
- DhtOpType2["RegisterAddLink"] = "RegisterAddLink";
799
- DhtOpType2["RegisterRemoveLink"] = "RegisterRemoveLink";
800
- })(DhtOpType || (DhtOpType = {}));
789
+ var ChainOpType;
790
+ (function(ChainOpType2) {
791
+ ChainOpType2["StoreRecord"] = "StoreRecord";
792
+ ChainOpType2["StoreEntry"] = "StoreEntry";
793
+ ChainOpType2["RegisterAgentActivity"] = "RegisterAgentActivity";
794
+ ChainOpType2["RegisterUpdatedContent"] = "RegisterUpdatedContent";
795
+ ChainOpType2["RegisterUpdatedRecord"] = "RegisterUpdatedRecord";
796
+ ChainOpType2["RegisterDeletedBy"] = "RegisterDeletedBy";
797
+ ChainOpType2["RegisterDeletedEntryAction"] = "RegisterDeletedEntryAction";
798
+ ChainOpType2["RegisterAddLink"] = "RegisterAddLink";
799
+ ChainOpType2["RegisterRemoveLink"] = "RegisterRemoveLink";
800
+ })(ChainOpType || (ChainOpType = {}));
801
801
  const anyMap = /* @__PURE__ */ new WeakMap();
802
802
  const eventsMap = /* @__PURE__ */ new WeakMap();
803
803
  const producersMap = /* @__PURE__ */ new WeakMap();
@@ -13074,6 +13074,44 @@ const menu = electron.Menu.buildFromTemplate([
13074
13074
  accelerator: "CommandOrControl+R"
13075
13075
  }
13076
13076
  ]
13077
+ },
13078
+ {
13079
+ label: "Edit",
13080
+ submenu: [
13081
+ {
13082
+ label: "Undo",
13083
+ role: "undo",
13084
+ accelerator: "CommandOrControl+Z"
13085
+ },
13086
+ {
13087
+ label: "Redo",
13088
+ role: "redo",
13089
+ accelerator: "CommandOrControl+Shift+Z"
13090
+ },
13091
+ {
13092
+ type: "separator"
13093
+ },
13094
+ {
13095
+ label: "Cut",
13096
+ role: "cut",
13097
+ accelerator: "CommandOrControl+X"
13098
+ },
13099
+ {
13100
+ label: "Copy",
13101
+ role: "copy",
13102
+ accelerator: "CommandOrControl+C"
13103
+ },
13104
+ {
13105
+ label: "Paste",
13106
+ role: "paste",
13107
+ accelerator: "CommandOrControl+V"
13108
+ },
13109
+ {
13110
+ label: "Select All",
13111
+ role: "selectAll",
13112
+ accelerator: "CommandOrControl+A"
13113
+ }
13114
+ ]
13077
13115
  }
13078
13116
  ]);
13079
13117
  const rustUtils = require("@holochain/hc-spin-rust-utils");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@holochain/hc-spin",
3
- "version": "0.400.0-rc.0",
4
- "holochainVersion": "0.4.0-rc.2",
3
+ "version": "0.400.1",
4
+ "holochainVersion": "0.4.0",
5
5
  "description": "CLI to run Holochain aps 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.18.0-rc.1",
39
- "@holochain/hc-spin-rust-utils": "0.400.0-rc.1",
38
+ "@holochain/client": "0.18.0",
39
+ "@holochain/hc-spin-rust-utils": "0.400.0",
40
40
  "@msgpack/msgpack": "^2.8.0",
41
41
  "bufferutil": "4.0.8",
42
42
  "commander": "11.1.0",
package/src/main/menu.ts CHANGED
@@ -48,4 +48,42 @@ export const menu = Menu.buildFromTemplate([
48
48
  },
49
49
  ],
50
50
  },
51
+ {
52
+ label: 'Edit',
53
+ submenu: [
54
+ {
55
+ label: 'Undo',
56
+ role: 'undo',
57
+ accelerator: 'CommandOrControl+Z',
58
+ },
59
+ {
60
+ label: 'Redo',
61
+ role: 'redo',
62
+ accelerator: 'CommandOrControl+Shift+Z',
63
+ },
64
+ {
65
+ type: 'separator',
66
+ },
67
+ {
68
+ label: 'Cut',
69
+ role: 'cut',
70
+ accelerator: 'CommandOrControl+X',
71
+ },
72
+ {
73
+ label: 'Copy',
74
+ role: 'copy',
75
+ accelerator: 'CommandOrControl+C',
76
+ },
77
+ {
78
+ label: 'Paste',
79
+ role: 'paste',
80
+ accelerator: 'CommandOrControl+V',
81
+ },
82
+ {
83
+ label: 'Select All',
84
+ role: 'selectAll',
85
+ accelerator: 'CommandOrControl+A',
86
+ },
87
+ ],
88
+ },
51
89
  ]);