@holochain/hc-spin 0.300.3 → 0.300.4
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 +8 -15
- package/dist/main/index.js +38 -0
- package/package.json +1 -1
- package/src/main/menu.ts +38 -0
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.
|
|
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.
|
|
9
|
+
⚠️ Requires `@holochain/client 0.17.0-dev.5` or newer ⚠️
|
|
18
10
|
|
|
19
11
|
```
|
|
20
|
-
npm install --save-dev @holochain/hc-spin@">=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.
|
|
15
|
+
To install the latest version compatible with **holochain 0.4.x**:
|
|
24
16
|
|
|
25
|
-
⚠️ Requires `@holochain/client 0.
|
|
17
|
+
⚠️ Requires `@holochain/client 0.18.0-rc.1` or newer ⚠️
|
|
26
18
|
|
|
27
19
|
```
|
|
28
|
-
npm install --save-dev @holochain/hc-spin@">=0.
|
|
20
|
+
npm install --save-dev @holochain/hc-spin@">=0.400.0 <0.500.0"
|
|
29
21
|
```
|
|
30
22
|
|
|
31
|
-
## Usage (holochain 0.
|
|
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/main/index.js
CHANGED
|
@@ -13020,6 +13020,44 @@ const menu = electron.Menu.buildFromTemplate([
|
|
|
13020
13020
|
accelerator: "CommandOrControl+R"
|
|
13021
13021
|
}
|
|
13022
13022
|
]
|
|
13023
|
+
},
|
|
13024
|
+
{
|
|
13025
|
+
label: "Edit",
|
|
13026
|
+
submenu: [
|
|
13027
|
+
{
|
|
13028
|
+
label: "Undo",
|
|
13029
|
+
role: "undo",
|
|
13030
|
+
accelerator: "CommandOrControl+Z"
|
|
13031
|
+
},
|
|
13032
|
+
{
|
|
13033
|
+
label: "Redo",
|
|
13034
|
+
role: "redo",
|
|
13035
|
+
accelerator: "CommandOrControl+Shift+Z"
|
|
13036
|
+
},
|
|
13037
|
+
{
|
|
13038
|
+
type: "separator"
|
|
13039
|
+
},
|
|
13040
|
+
{
|
|
13041
|
+
label: "Cut",
|
|
13042
|
+
role: "cut",
|
|
13043
|
+
accelerator: "CommandOrControl+X"
|
|
13044
|
+
},
|
|
13045
|
+
{
|
|
13046
|
+
label: "Copy",
|
|
13047
|
+
role: "copy",
|
|
13048
|
+
accelerator: "CommandOrControl+C"
|
|
13049
|
+
},
|
|
13050
|
+
{
|
|
13051
|
+
label: "Paste",
|
|
13052
|
+
role: "paste",
|
|
13053
|
+
accelerator: "CommandOrControl+V"
|
|
13054
|
+
},
|
|
13055
|
+
{
|
|
13056
|
+
label: "Select All",
|
|
13057
|
+
role: "selectAll",
|
|
13058
|
+
accelerator: "CommandOrControl+A"
|
|
13059
|
+
}
|
|
13060
|
+
]
|
|
13023
13061
|
}
|
|
13024
13062
|
]);
|
|
13025
13063
|
const rustUtils = require("@holochain/hc-spin-rust-utils");
|
package/package.json
CHANGED
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
|
]);
|