Skip to content

Commit 3ad8369

Browse files
authored
Merge pull request #1 from thomscoder/virtualGit
Virtual git
2 parents 60fcb27 + 87caa4b commit 3ad8369

32 files changed

+1640
-271
lines changed

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,34 @@ Either upload or create one or multiple new files, double click to open and star
1313

1414
<img src="https://i.ibb.co/gy07sQ3/Schermata-2022-09-25-alle-16-40-12.png" width=80% />
1515

16+
17+
### Harmony now supports commits and branches.
18+
19+
20+
21+
https://user-images.githubusercontent.com/78874117/193081985-4414305a-9d46-4246-9ef3-297ee09348dd.mov
22+
23+
24+
Create branches,
25+
create files,
26+
upload files,
27+
change them,
28+
save them,
29+
commit them,
30+
switch branches,
31+
repeat.
32+
1633
Simply refresh the page to restart anew.
34+
35+
#### Run it locally
36+
Requires `pnpm`, `go`,
37+
38+
- Install go packages -
39+
40+
```bash
41+
$ pnpm dev
42+
```
43+
This will compile (`make`) and also spin up a reverse proxy
44+
45+
### Important
46+
> Prepend `http://0.0.0.0:5000` to the repo url in `functions.go` (to not incur in CORS errors)

client/actions/wasmReader.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

client/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
</head>
1010
<body>
1111
<div id="root"></div>
12-
<script type="module" src="/src/main.tsx"></script>
1312
<script>
1413
// @ts-ignore
1514
const go = new Go();
@@ -18,5 +17,6 @@
1817
go.run(result.instance);
1918
});
2019
</script>
20+
<script type="module" src="/src/main.tsx"></script>
2121
</body>
2222
</html>

client/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,18 @@
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12+
"@babel/core": ">=7.0.0 <8.0.0",
1213
"@react-icons/all-files": "^4.1.0",
1314
"add": "^2.0.6",
15+
"core@^7.0.0": "link:babel/core@^7.0.0",
1416
"monaco-editor": "^0.34.0",
1517
"monaco-languageclient": "^4.0.0",
1618
"react": "^18.2.0",
1719
"react-dom": "^18.2.0",
1820
"react-monaco-editor": "^0.50.1",
19-
"react-tooltip": "^4.2.21",
21+
"react-select": "^5.4.0",
22+
"reactjs-popup": "^2.0.5",
23+
"recoil": "^0.7.5",
2024
"vscode-oniguruma": "^1.6.2",
2125
"vscode-textmate": "^7.0.1"
2226
},

0 commit comments

Comments
 (0)