Skip to content

Commit f4998d2

Browse files
Update RH to use TS file instead of shit
1 parent 507469f commit f4998d2

19 files changed

Lines changed: 375 additions & 101 deletions

File tree

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,15 @@ This is our third edition of [Ruby](https://github.com/ruby-network/ruby-v1). Th
8484

8585
- [x] Basic Password protection for the website (you can set a password in the settings page)
8686

87-
- [ ] Customizable apps and games
88-
89-
- [ ] Partners page for all of our wonderful partners
90-
9187
- [ ] Apps
9288

93-
- [x] History page
89+
- [x] History page
90+
91+
- [ ] Keybinds cheat sheet
9492

9593
- [ ] Backgrounds, using Particles.js and other libraries
9694

97-
- [ ] Multiple Users when self hosting in private mode
95+
- [x] Multiple Users when self hosting in private mode
9896

9997
---
10098

build.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,2 @@
1-
import exec from 'child_process';
2-
import chalk from 'chalk';
3-
import fs from 'fs';
4-
import path from 'path';
5-
const __dirname = path.resolve();
61
import buildRH from './buildFiles/rhbuild.js';
72
buildRH();

buildFiles/rhbuild.js

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

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"progress-estimator": "^0.3.1",
2727
"rammerhead": "https://github.com/Ruby-Network/rammerhead/releases/download/v1/rammerhead-2.tgz",
2828
"sass": "^1.62.1",
29+
"typescript": "^5.3.3",
2930
"yaml": "^2.3.1"
3031
}
3132
}

postgres.yml

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

rammerhead/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
# Rammerhead source files for the browser. Compiled for older browsers via [ESBuild](https://esbuild.github.io/).
1+
# Rammerhead source files for browser.
22

3+
- The `rh.ts` file is compiled to `rh.js` and the put into [src/public/js/rh](../src/public/js/rh/).
4+
- Build command is: `yarn build:rh`
5+
- The other folder [./oldJS/](./oldJS/) contains old files that were crappier versions of `rh.ts`
File renamed without changes.

0 commit comments

Comments
 (0)