Commit Graph

26 Commits

Author SHA1 Message Date
Mia
ca6d979e5a Update npm scripts
Some checks failed
Node.js CI / build (22.x) (push) Has been cancelled
2025-08-21 20:56:42 -05:00
Guangcong Luo
a56f1f160f Upgrade to ESLint 9
Following the upgrade in Client and Server; you know the drill.

(ESLint 9 requires minimum Node version 18, hence the GitHub Actions
version bump.)
2025-02-25 21:28:46 -08:00
Mia
853413ecaf Bump @types/node for v20 2024-10-22 11:14:54 -05:00
Guangcong Luo
fe53f73b62 Update Google log-in API
Previous one was deprecated and being phased out.
2024-10-18 02:09:36 +00:00
Mia
b50e377e50 Bump mysql2 version 2024-04-13 00:44:45 -05:00
Guangcong Luo
2355507a4d Update typescript and eslint
We were getting some errors that I didn't really know how to fix, but
considering the warnings about them being outdated, and updating them
fixing it, it does seem like this was the right call.
2023-12-16 16:40:53 -05:00
Guangcong Luo
58818ad547 Update for new Replays database
Catastrophic database failure is always a great time to migrate
onto a nicer schema...
2023-12-07 21:56:00 +00:00
Mia
d380afdb82
Add an action to query teams from a database (#19) 2023-09-24 21:12:15 -05:00
Mia
970aec08b1 Add pg to package.json 2023-03-27 09:38:22 -05:00
Guangcong Luo
81451173b7
Refactor server.ts 2023-03-11 23:41:50 -08:00
Guangcong Luo
317c0623db
Remove sql-template-strings dependency
Frivolous dependencies are bad for perf and bad for security.

The usual justification for frivolous dependencies is something like
"a community-maintained package is more likely to be bug-free and
maintained than something you wrote yourself", but:

1. frivolous dependencies are usually maintained by Just Some Random
   Guy, not by some community
2. you are probably more likely to introduce a bug using some guy's API
   incorrectly, than by writing a few lines of raw JavaScript that you
   understand inside and out
3. if that guy deprecates his package, or decides to ragequit, or
   whatever, you do not want to be depending on it
4. debugging becomes a lot more annoying
5. the dependency is full of unnecessary complexity to support use
   cases we're not even using

Anyway, yeah, there's no need for this dependency.
2023-03-06 21:31:35 -08:00
Mia
547add910a Readd editorconfig, set up tests 2022-12-29 21:22:53 -06:00
Mia
7e0a9d62d6 many fixes 2021-11-25 17:17:57 -06:00
Mia
4a4a2f0d31 Reorganize management commands 2021-11-20 12:02:20 -06:00
Mia
fe3451ce10 Use mysql2 2021-11-19 21:40:08 -06:00
Mia
3cd8ba7402 Fix TS5055 issue 2021-11-15 07:56:31 -06:00
Mia
2734cc9270 Attempt 2 2021-11-14 20:22:10 -06:00
Mia
943bd42a62
dumb 2021-11-14 20:18:14 -06:00
Mia
aaaa8f212f
update pm2 name 2021-11-14 19:47:35 -06:00
Mia
cd1bd7d01d
use --name 2021-11-14 19:44:12 -06:00
Mia
de23c47dcc
update scripts 2021-11-14 11:57:28 -06:00
Mia
266b545748 remove extra build 2021-11-14 11:39:59 -06:00
Mia
3998ae3da2 add reload script 2021-11-14 11:30:08 -06:00
Mia
d38e5e62ec Turn on checkJs 2021-10-30 22:12:16 -05:00
Mia
fdbf9198d0 Run tsc in tests 2021-10-11 20:53:16 -05:00
Mia
794f814bf2 WIP 2021-10-11 20:47:59 -05:00